API · Notifications
Confirm payment transaction
XML 2.9 onlyPOST
confirmPaymentTransactionDescription
Request and response
Examples come from OpenAPI and are read-only here. Run requests in the Sandbox section.
The specification has no examples for this operation.
XML 2.9 request fields
confirmPaymentTransaction| Request fields | Type | Req. | Description |
|---|---|---|---|
ConfirmPaymentTransactionRequest | object & object | required | |
ProjectID | integer (int32) | required | Project ID in the Platform system. Assigned during project setup. |
ClientIP | string | optional | |
InvoiceInfo | object | required | +6 |
AdditionalParameters | object | optional | +3 |
Parameter | array<object> | optional | +2 |
name | string | required | |
value | string | required | |
InvoiceID | string | optional | |
MerchantOrderID | string | optional | Order ID in Merchant's system |
PaymentTransactionInfo | object | required | +1 |
TransactionID | string | optional | |
Header | object | required | Request header with authentication. Included in every API request. |
Authentication | object | required | Request authentication data. All three fields are mandatory for every request. |
Login | string | required | Merchant Login assigned by the Platform |
NowUtc | string | required | Current UTC time in yyyyMMddHHmmss format. Must not differ from platform system time by more than 20 minutes. |
Signature | string | required | HMAC request signature. Calculated as: LOWERCASE(HMACSHA256(Password, Login + LOWERCASE(HMACSHA256(Password, NowUtc)))) |
RequestAttempt | integer (int32) | optional | Ordinal invoice request number (for idempotency). Starting from 0. |
Gateway | object | optional | +3 |
Signature | string | optional | |
ContractInfo | object | optional | +1 |
DesiredExpirationTimeUtc | string (date-time) | optional |
Parameters and headers
| Name | In | Required | Description |
|---|---|---|---|
Callisto-Protocol-Version | header | yes | |
SignatureVersion | header | no |
Responses
200
Ответ платформы
Full error codes are in Error codes.