Наша команда поддержки готова помочь вам 24/7.

Служба поддержки и технические вопросы

telegram

Связаться в Telegram

API for developers
Payment data retrieval

Initialization of the debit process

Endpoint: /api/einvoice/process

Parameters to be passed (at least one of the parameters is mandatory):

Field Discription
payment_id Tracking number of the payment order in the client's accounting system
tracking Tracking number of the order in the gateway's accounting system

Example request: { "payment_id": 6, "tracking": "6EEB-220B-FB62-3405-0C57-65FA-0C4C-F6D4" }

Example of successful execution: { "payment_id": "1234", "tracking": "229E-A48C-CA08-0222-9780-F68C-2C64-2009", "pay_form" : "

....
", "pay_link": "https://…..", "status" : "PAYIN" }

List of returned fields:

Field Discription
error Error description
tracking Tracking number in the gateway's accounting system
payment_id Tracking number in the client's accounting system
status Payment status. Possible values: PAYIN - system awaits payment for the invoice
pay_link URL to which the user should be redirected for payment
pay_form Form that the user should submit to proceed with the payment

The response may contain both pay_link and pay_form elements, but if both are present, preference should be given to pay_form.

If cryptocurrency payment is accepted, the response will include a crypto object.

Example of the crypto object: { "crypto": { "address": "3HaazHQCuLfpRxPSF123ALiisMSqGYjYcSd", "current_confirmations": "1", "success_confirmations": 4 } }

Field Discription
address The address to which the user should transfer the funds
current_confirmations The current number of confirmations by the network for the transfer
success_confirmations The number of confirmations at which the funds will be credited to the cash register account