ECommPay Gate API
ECommPay Gate API
post

/v2/payment/card/sale

Request for purchase from the customer’s card

Request Body

Schema
object
$schema: http://json-schema.org/draft-04/schema#
general
object

Object that contains general request details

required
card
object

Object that contains the customer’s card details that is used for payment

required
customer
object

Object that contains full customer details

required
merchant
object

Object that contains additional information from merchant, for example, customer ID, phone number, etc. that is sent to the issuing bank and is used for issuing more detailed bank statement for customers

avs_data
object

Object that contains customer details for verification with the Address Verification Service. For more information, see AVS Check

payment
object

Object that contains payment details

required
return_url
object

Object that contains the URLs to which customer is redirected while or after payment performing

cash_voucher_data
object

Object that contains single position details to be sent in fiscal receipt after payment is processed. For more information, see Fiscal receipts compliance with Russian Federation regulations

recurring
object

Object that contains recurring payment details and conditions

recurring_register
boolean

Parameter that indicates whether this payment should be registered as recurring

interface_type
integer
receipt_data
object

Object that contains details to be sent to customer in receipt after payment performing

callback
object

Object that contains additional callback sending conditions

addendum
object

Available only if MCC is 3501-3999 or 7011

acs_return_url
object
authentication_data
object

Object that contains 3DS Authentication Data from merchant

Responses

OK

Schema
object

Object that contains information about request acceptance or execution in the payment platform

$schema: http://json-schema.org/draft-04/schema#
status
string

Request registration status

1 validation + required
request_id
string

Identifier of the request in the payment platform

1 validation + required
project_id
integer

Identifier of merchant project received from ECommPay

required
payment_id
string

Identifier of the payment, must be unique within project. Any letters, digits, and symbols in UTF-8 encoding can be used

1 validation + required

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
$$.env
No $$.env variables are being used in this request.