Production environment: https://s2p-api.mpay.samsung.com/ext/v1
Register a session
Creates a new card provisioning session and, if successful, returns the 201 Created status code along with the registration session ID and the resources needed to display the welcome UI.
NoteCache the returned registration session ID in your server and reuse it throughout the entire provisioning flow.
Endpoint
POST /registrations
Request parameters
Parameter
Name
Type
Required/Optional
Description
Header
Request-Id
String
Required
Unique request ID.
Header
Partner-Id
String
Required
Unique partner ID, provided by Samsung during onboarding.
Request body (JSON)
Field
Type
Required/Optional
Description
registration.email
String
Optional
Customer's email address.
registration.enforceEmailMatching
Boolean
Optional
Whether card provisioning is allowed only when the email address provided in the request matches the email address associated with the Samsung Wallet account used to scan the QR code. If this field is provided, the registration.email field must also be provided. The default value is false.
registration.hideEmail
Boolean
Optional
Whether the Email field must be hidden on the welcome UI. The default value is false.
registration.phone
String
Optional
Customer's phone number. The value can include digits (0–9), plus signs (+), parentheses (()), hyphens (-), and spaces.
registration.enforcePhoneMatching
Boolean
Optional
Whether card provisioning is allowed only when the phone number provided in the request matches the phone number associated with the Samsung Wallet account used to scan the QR code. If this field is provided, the registration.phone field must also be provided. The default value is false.
registration.hidePhone
Boolean
Optional
Whether the Phone number field must be hidden on the welcome UI. The default value is false.
registration.welcomeCallbackUrl
String
Optional
URL for the issuer website to which the welcome UI redirects when it reaches a final state.
registration.allowOfflineCommunication
Boolean
Optional
Whether Samsung sends a link to the customer via email or SMS. The customer can use the link, instead of the welcome UI, to start the provisioning process. If this field is provided, the registration.email or registration.phone field must also be provided. The default value is false.
registration.data
Object
Optional
Arbitrary data that is passed unchanged to the device when the account is linked.
registration.custom.cardName
String
Required
Card name displayed on the welcome UI.
registration.custom.cardArtUrl
String
Required
URL of your card image displayed on the welcome UI.
registration.custom.partnerName
String
Required
Company name displayed on the welcome UI.
registration.custom.partnerLogoUrl
String
Required
URL of your company logo displayed on the welcome UI.
registration.custom.partnerTncUrl
String
Optional
URL of your terms and conditions page. A link to this page is displayed on the welcome UI.
Retrieves the status of an existing card provisioning session and, if successful, returns the 200 OK status code along with the URL for the latest welcome UI and its expiration information.
Endpoint
GET /registrations/{regId}
Request parameters
Parameter
Name
Type
Required/Optional
Description
Header
Partner-Id
String
Required
Unique partner ID, provided by Samsung during onboarding.
Path
regId
String
Required
Unique ID for the registration session whose details are to be retrieved.
We use cookies to improve your experience on our website and to show you relevant
advertising. Manage you settings for our cookies below.
Essential Cookies
These cookies are essential as they enable you to move around the website. This
category cannot be disabled.
Company
Domain
Samsung Electronics
developer.samsung.com, .samsung.com
Analytical/Performance Cookies
These cookies collect information about how you use our website. for example which
pages you visit most often. All information these cookies collect is used to improve
how the website works.
Company
Domain
Samsung Electronics
.samsung.com
Functionality Cookies
These cookies allow our website to remember choices you make (such as your user name, language or the region your are in) and
tailor the website to provide enhanced features and content for you.
Company
Domain
Samsung Electronics
developer.samsung.com, google.account.samsung.com
Preferences Submitted
You have successfully updated your cookie preferences.