Invoice callback schema
- Invoice callback
- Invoice callback with conversion data
Order ID in your system. Must be unique for each new invoice.
255"389d4f2c-46b9-4164-bcc4-fbd51e00d445"
Unique shop identifier in the Avanor system.
202203
Invoice status:
success— paid and credited;rejected— rejected by the client or the payment system;hold— held.
success, hold, rejected "success"
Unique identifier of the issued invoice in Avanor system
12
Additional information from the payment system in the JSON Lines format.
Mandatory field - payer's account ps_payer_account.
Other fields depend on the payment system.
In case of payment tokens, the payment_token parameter will also be represented in this field.
"{\"ps_payer_account\": \"411111XXXXXX1111\", \"bill_id\": \"7766\", \"amount\": \"190.99\", \"status\": \"success\"}"
Payway in Avanor system used by the user for payment
150^[A-Za-z_,\[\]]+$Payment description
"Invoice for user_id=7766"
Invoice creation date and time
"2020-04-21T20:07:02"
Invoice status change date and time (payment or rejection)
"2020-04-21T20:09:02"
Date and time of invoice transfer to the final status
"2020-04-21T20:09:03"
Invoice amount, in the invoice currency
267
Amount paid by the client, in the payment system currency.
272.34
Avanor API error code. 0 in cases there is no any error. Other codes can be found here: Description of error codes
0
Amount credited to the shop's balance. If there is no transactional conversion, the balance currency is equal to the account currency (shop_currency).
In case of transactional conversion of turnover, the currency of the shop balance (settlement_currency) and the exchange rate (settlement_rate) will be sent in the notification additionally
User parameters sent by the shop when creating an invoice in JSON Lines format.
Request signature