API

Top up balance

POST/api/crm/v2/payments.add_transactionv2
operationId: payments.addTransaction

Creates a top-up transaction for the amount specified in sum using the selected payment method.

Authorization

api-token + language + role

Request body application/json

object
sumnumberrequired

Example: 600

option_idintegerrequired

Example: 23

payment_settings_idinteger

Payment gateway configuration — payment_settings_id from the list in the /payments response; defines the payment currency

Example: 12

subscribeboolean

Example: true

Responses

OK

object
statusstringrequired

Values:successerror

Example: success

datastring

Example: https://securepayments.tinkoff.ru/lIEQRX0P