Samsung Pay for Payment Setup API
Beta
Last updated: November 4, 2026
To accept Samsung Pay payments, you must:
- Create a payment setup.
- Update the payment setup with the Samsung Pay token.
- Confirm the payment.
Call the Create a payment setup endpoint.
Information
The Payment Setup API supports idempotency. You can safely retry API requests without the risk of duplicate requests.
Information
Your base URL's {prefix} value is unique to your account and environment. To learn how to retrieve your base URLs for the sandbox and production environments, see API endpoints.
post
https://{prefix}.api.checkout.com/payments/setups
1{2"processing_channel_id": "pc_wzjki6hw5puepb5fnvqlizj2e4",3"currency": "GBP",4"amount": 2000,5"reference": "ORDER_01234",6"description": "Samsung Pay payment",7"payment_type": "regular",8"settings": {9"success_url": "https://example.com/payments/success",10"failure_url": "https://example.com/payments/failure"11}12}
In the request body, provide the following:
processing_channel_id– The processing channel's unique identifieramount– The payment amountcurrency– The payment currency
1{2"id": "set_rcmepwrchqab2wsergcafvijfy",3"processing_channel_id": "pc_wzjki6hw5puepb5fnvqlizj2e4",4"amount": 2000,5"currency": "GBP",6"payment_type": "regular",7"reference": "ORDER_01234",8"description": "Samsung Pay payment",9"payment_methods": {10"samsungpay": {11"status": "action_required",12"flags": [13"token_required"14]15}16},17"available_payment_methods": [18"samsungpay"19],20"settings": {21"success_url": "https://example.com/payments/success",22"failure_url": "https://example.com/payments/failure"23}24}
The response returns a payment_methods object, which contains the payment methods enabled on your account.
For Samsung Pay, payment_methods contains the following fields:
status– The status of the payment method.flags– An array of error codes or indicators that highlight missing or invalid information. Thetoken_requiredflag indicates that you must provide a Checkout.com token.
When the customer selects Samsung Pay as the payment method on the checkout page:
- Retrieve the Samsung Pay payment credential and tokenize it with a Checkout.com token. For more information, see Samsung Pay for Unified Payments API.
- Call the Update a payment setup endpoint to submit the token.
Provide the following fields:
| Field | Description |
|---|---|
number | The payment amount, in the minor currency unit. |
string | Three-letter ISO 4217 currency code. |
object | The Checkout.com Samsung Pay token. If you do not provide it, the payment method returns the |
string | The processing channel's unique identifier. |
string | The URL to redirect the customer after a failed authorization. |
string | The URL to redirect the customer after a successful authorization. |
string | The city from which the payment was made. |
string | A dynamic description of the payment. |
string | The account holder's company name. |
string | The account holder's first name. |
string | The account holder's last name. |
string | The token identifier, prefixed by |
string | The first line of the billing address. |
string | The second line of the billing address. |
string | The city of the billing address. |
string | The two-letter ISO 3166 country code of the billing address. |
string | The state of the billing address. |
string | The zip or postal code of the billing address. |
object | The billing descriptor shown on the customer's statement. |
string | The reference shown on the statement. |
string | The customer's email address. |
string | The customer's unique identifier. |
string | The international dialing code for the customer's phone number. |
string | The customer's phone number. |
string | A description of the payment. |
object | The Samsung Pay account holder details. |
boolean | Indicates whether to perform an account name inquiry. |
string | The account holder's middle name. |
string | The account holder type.
|
boolean | Indicates whether to store the payment details for future use. If set to |
string | The date and time at which the token expires. |
string | The type of payment.
|
string | The payment reference. |
1{2"processing_channel_id": "pc_wzjki6hw5puepb5fnvqlizj2e4",3"currency": "GBP",4"amount": 2000,5"reference": "ORDER_01234",6"description": "Samsung Pay payment",7"payment_type": "regular",8"settings": {9"success_url": "https://example.com/payments/success",10"failure_url": "https://example.com/payments/failure"11},12"payment_methods": {13"samsungpay": {14"token": {15"id": "tok_hilxnnylkxtutoswkxx2425lzi",16"expires_on": "2026-11-02T16:12:05Z"17}18}19}20}
1{2"id": "set_rcmepwrchqab2wsergcafvijfy",3"processing_channel_id": "pc_wzjki6hw5puepb5fnvqlizj2e4",4"amount": 2000,5"currency": "GBP",6"payment_type": "regular",7"reference": "ORDER_01234",8"description": "Samsung Pay payment",9"payment_methods": {10"samsungpay": {11"status": "ready",12"flags": [],13"token": {14"id": "tok_hilxnnylkxtutoswkxx2425lzi",15"expires_on": "2026-11-02T16:12:05Z"16}17}18},19"available_payment_methods": [20"samsungpay"21],22"settings": {23"success_url": "https://example.com/payments/success",24"failure_url": "https://example.com/payments/failure"25}26}
The response returns a ready status when the token has been successfully validated. The payment is ready to confirm.
If the token has expired, the response returns an invalid status with the token_expired flag. Tokenize the Samsung Pay credential again and resubmit the new token.
When the payment status changes to ready, confirm the payment by calling the Confirm a payment setup endpoint and provide:
- The payment setup
idas the{id}path parameter. samsungpayas the{payment_method_name}path parameter.
post
https://{prefix}.api.checkout.com/payments/setups/{id}/confirm/samsungpay