Callback
Webhook
To promptly inform merchants about changes in the status of processed orders, we send POST requests with order data to the merchant's endpoint.
We include a control signature in the headers, api-notification-sign
(SHA512), to safeguard the security and authenticity of the data received.
See how to configure callback.
Request
- application/json
Body
- Array [
- instrumentType=card
- instrumentType=bank_transfer
- instrumentType=wallet
- instrumentType=crypto_wallet
- The first 6 and last 4 digits, with the intervening digits replaced by asterisks (e.g., 123456******1234)
- Only the last 4 digits (e.g., **** **** **** 1234)
- ]
data object
The internal unique identifier of the order within the system. Used for referencing the order when contacting technical support in case of any issues.
The unique identifier of the shop initiating the order.
A unique identifier for the order, generated by the merchant, and specific to each shopId
.
Possible values: [in_progress
, failed
, completed
, rejected
, cancelled
, refunded
, need_action
]
Status of the order. Description of Statuses
cost objectrequired
Container for cost-related information.
Total cost of the order, formatted as a decimal string with a period (.) as the decimal separator.
Please note that the final amount may differ from the original value specified during order creation, as some providers allow customers to modify the payment amount or may adjust the order amount slightly themselves. This field always reflects the most up-to-date order amount."
Specifies the currency in ISO 4217 alphabetic code format, consisting of 3 uppercase letters.
Payment timelimit for the order in RFC 3339 format including the UTC zone.
Date and time the order was created, in RFC 3339 format including the UTC zone.
Date and time the order was paid, in RFC 3339 format including the UTC zone.
true
for one-stage payments where funds are automatically captured. false
for two-stage payments requiring manual capture. How to work with two-stage payments
payments object[]required
An array of payment objects related to the order. If the array is empty, it indicates that no payments have been made for the order yet. If an order is paid with multiple payments, there will be one object per payment in the array. If a refund has been issued for a payment, the array will include an object with paymentType
set to refund
Identifier for the specific payment assigned by our system.
Possible values: [payment
, refund
, registered
]
The type of operation. payment
for payments, refund
for refunds (🚧 refund in development), registered
is a service status used only in webhooks and does not signify anything.
Used only for refunds: refers to the original paymentId
that was refunded. This field is not needed for paymentType
== payment
.
cost objectrequired
Financial details of the payment or refund.
The amount of the transaction. For refunds (paymentType
== refund
), this will be the refund amount. Formatted as a decimal string with a period (.) as the decimal separator.
Specifies the currency in ISO 4217 alphabetic code format, consisting of 3 uppercase letters.
acquirer objectrequired
Information about the acquirer for this payment.
Acquirer code.
provider object
Information about the provider for this payment.
Provider code.
Possible values: [card
, bank_transfer
, wallet
, crypto_wallet
, voucher
]
Specifies the payment instrument. See available payment instruments
paymentStatus objectrequired
Contains the status of the payment, including detailed information in case of payment failure.
Possible values: [in_progress
, completed
, cancelled
, failed
]
The current state of the payment. Description of Statuses
details objectnullable
Provides additional error details if the payment fails.
A unique identifier for the error generated by the system, used for tracking and troubleshooting.
An error message provided by the payment provider, offering insight into the reason for the failure.
An internal error code used by the system to categorize the type of error that occurred.
paymentDetails object nullable
Describes the details of the payment, which vary according to the instrumentType
selected.
Possible values: [visa
, mastercard
, jcb
, amex
, dсi
, unionpay
, upi
, mir
, discover
, redcompra
, elo
, hipercard
]
Brand of the card used in the transaction.
visa - "Visa"
mastercard - "MasterCard"
jcb - "JCB"
amex - "American Express"
dci - "Diners Club International"
unionpay - "UnionPay"
upi - "UnionPay International"
mir - "Mir"
discover - "Discover"
redcompra - "Redcompra"
elo - "Elo"
hipercard - "Hipercard"
Authorization code for the payment
Retrieval Reference Number for the payment.
This field displays a partially obscured version of the card number to maintain security and privacy. Depending on the provider, the masked card number might show:
Possible values: [swift
, sepa
, bank_wire
, card2card
, pix
, sbp
, online_banking
, open_finance
, virtual_account
, qris
, promptpay
, thaiqr
, spei
, vietnambanksqr
, vietqr
, khipu
, paysafecard
, multibanco
, bancontact
, blik
, p24
, rapidtransfer
, upi
, thb_qr
, sberbank
, giropay
, eps
, account2card
]
Specifies the type of bank transfer used. See details about transferType
Describes the purpose of the transfer, providing details on the reason or the underlying transaction for the bank transfer.
The account number used in the transaction.
The identifier for the wallet used in the transaction.
The sender's cryptocurrency wallet address.
The transaction hash of the cryptocurrency payment.
Identifier for the specific payment assigned by the payment provider.
Identifier for the specific transaction assigned by the payment provider.
customer objectnullable
Container for customer-specific information.
An identifier for the customer provided when creating the order or payout. If customerId
was not specified during order/payout creation but name
and surname
were provided, the system will generate a customerId
in the format of a GUID (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) and return it here.
First name of the customer.
Last name of the customer.
Middle name of the customer, if applicable.
Customer's phone number, in international format.
Email address of the customer.