📬Order status
The DCM platform provides the ability to obtain information about the status of an order using a GET request.
Endpoint
{{url_host}}/api/v1/merchants/order/status?id={{order_id}}
Response 200 (example)
{
"amount": 11,
"amount_matched": true,
"callback_guid": null,
"code": null,
"currency": "UAH",
"order_id": "aec38a4d-4adb-4b31-8edf-aea9f907e2e7",
"payment_message_external_id": "",
"payment_message_guid": "fff5eb70-9d2f-4f14-b064-fd8715d07a67",
"purpose": "yar2prp75776557384",
"reason": "Order is paid",
"receiver_account_iban": "",
"ref_found": null,
"ref_number": "yar2ref34234654",
"sender_account_iban": "",
"status": "Success"
}
Response 400
{
}
Order Statuses in DCM platform:
Created: The order has been successfully created.
In Progress: A payment message with an assigned GUID has been successfully generated for the order.
Success: DCM platform has received confirmations from all participants (Initiating Bank, Receiving Bank, and Merchant) verifying that the order can be fulfilled.
Canceled: The order is automatically canceled once its validity period expires.