Skip to content

Payment status request (Payout)

The query contains certain fields:

Field Description
merchant unique merchant ID;
payout_id outgoing payment number in the merchant’s system;
sign digital signature with the merchant’s key. Available fields are: “merchant” and “payout_id”. It is hashed using the MD5 method (for more details read the “Digital signature in requests” section).
POST /merchant/api/payout_status
https://<provided url>
/merchant/api/payout_status
Examples of the request:

application/json

{
    "merchant" : "M1VJDHSI6DYXS",
    "payout_id" : "000002",
    "sign" : "XXXXXXXXXXXXXXXXXX"
}

In response to the request the data is returned in the JSON format:

Field Description
status transaction status:

Success – the payment is completed successfully (final status)
Pending – the payment is new or is in the line for processing
Blocked – the payment is canceled (final status)
Error – received data error (signature in the response is empty “sign” = “”);
payout_id outgoing payment number in the merchant’s system;
code payment status code;
description status description;
sign digital signature with the merchant’s key.
Example of the response – Success status:

application/json

{
    "status" : "Success",
    "payout_id" : 000002,
    "code" : "0",
    "description" : "Payment successful. Status final",
    "sign" : "XXXXXXXXXXXXXXXXXX"
}
Example of the response – Error status:

application/json

{
    "status" : "Success",
    "payout_id" : 000002,
    "code" : "0",
    "description" : "Payment successful. Status final",
    "sign" : "XXXXXXXXXXXXXXXXXX"
}
Example of the response – Blocked status:

application/json

{
    "status" : "Blocked",
    "payout_id" : 000002,
    "code" : "80",
    "description" : "Payment error. Status final",
    "sign" : "XXXXXXXXXXXXXXXXXX"
}