Инструменты страницы



Request for a payment using Samsung Pay, payment page on Merchant side (payment.do)

The request used for registering an order is payment.do. This request is used for payment via the website when the payment form is on the merchant 's page.

Currently this request is available through REST interface only.

Request parameters

Name Type Mandatory Description

mdOrder

ANS..36

Yes

Order number in the payment gateway. Unique within the payment gateway.

onFailedPaymentBackUrl

String

Yes

The URL to which the customer will be redirected if an error occurs or the waiting period is exceeded.

Response parameters

Name Type Mandatory Description

successful

String

Yes

A feature of the success of the operation, the following values are possible:

  • 1 (successful);
  • 0 (unsuccessful).

transactionId

String

Yes

The value that needs to be passed to Samsung Pay by calling the connect function.

href

String

Yes

The value that needs to be passed to Samsung Pay by calling the connect function.

mod

String

Yes

The value that needs to be passed to Samsung Pay by calling the connect function.

exp

String

Yes

The value that needs to be passed to Samsung Pay by calling the connect function.

keyId

String

Yes

The value that needs to be passed to Samsung Pay by calling the connect function.

serviceId

String

Yes

The value that needs to be passed to Samsung Pay by calling the connect function.

callbackUrl

String

Yes

The value that needs to be passed to Samsung Pay by calling the connect function.

cancelUrl

String

Yes

The value that needs to be passed to Samsung Pay by calling the connect function.

countryCode

String

Yes

The value that needs to be passed to Samsung Pay by calling the connect function.

resultType

String

Yes

Result of the operation. The following values are available:

  • SUCCESSFUL – the operation was successful;
  • WRONG_TRANSACTION_STATE – wrong status of the transaction;
  • CONNECTION_ERROR – connection error.