Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A method for initiating the transfer of funds to the recipient's card. Creates a payment with type A2C and status WAITING_COMPLETE, and a transaction with type RECEIVE and status NEEDS_COMPLETE. After that, you can perform the action TestA2C A2C Complete - завершення ініціювання зарахування or TestA2C Cancel - скасування ініціювання зарахування completion of funds transfer initiation or A2C Cancel - cancellation of funds transfer initiation .

Info

If not one of the methods is called by the client within 1 hour, it will be called automatically TestA2C A2C Cancel - скасування ініціювання зарахуванняcancellation of funds transfer initiation .

Request method - POST

Request path - /api/p2p/payments/a2c/initiate

Parameters for forming the request body in JSON format

Key

Data type

ObligatedRequired?

Description

Example

params.sessionId

string

yes

client session id

"445fb296-8653-4646-8475-5796c97d16ff"

params.externalId

string

yes

unique external id in the client's system that will be assigned to the created operation, no more than 255 characters

"116f3329-63b8-4eef-9e88-272bd8f697ac"

params.amount

number

yes

payment amount, in kopecks

15000

params.currency

string

yes

digital currency code, ISO 4217 standard, currently only hryvnia is available - "980"

"980"

params.description

string

no

description of the payment, no more than 255 characters

"Order №54321"

params.callbackUrl

string

no

The URL to which the callback will be sent, no more than 255 characters

"https://client-domain.ua/receive-postback/54321"

...