Callback in "payment rejected" case (iframe and host-2-host)¶
If the payment is failed, the missent payment data will be sent to the process_url store server using the POST method:
| Field | Description |
|---|---|
co_inv_id |
unique transaction number; |
co_inv_crt |
transaction creation date and time; |
co_inv_prc |
transaction processing date and time; |
co_inv_st |
payment processing status (“fail”); |
co_order_no |
transaction number in the merchant system (transferred by the merchant when payment is making); |
co_merchant_id |
unique merchant number; |
co_merchant_uuid |
unique merchant ID; |
co_error_resolution |
payment error description; |
co_sign |
digital signature with the merchant’s key (for more details read the “Digital signature in callback” section). |
In response to the package received, the merchant’s server must respond with two English letters OK.
Example:
application/json
{
"co_inv_id": "1111111",
"co_inv_crt": "2019-02-19 19:12:04",
"co_inv_prc": "2019-02-19 19:12:11",
"co_inv_st": " fail",
"co_order_no": "0001",
"co_merchant_id": "1",
"co_merchant_uuid": "M1VJDHSI6DYXS",
"co_error_resolution": "Not enough money on your bank card",
"co_sign": "pQQgUBfjz+XxRSpwo5srmw=="
}