get https://sandbox.ecartpay.com/api/orders/
Retrieve an order to verify the payment status and any transactions associated with it.
With this endpoint you can obtain a detailed order information. The most critical information is described below.
Value | Type | Description |
---|---|---|
id | string | The order ID. |
account_id | string | The account ID that received the payment. |
authorization_id | string | An ID assigned by Ecart Pay to determined if it was authorized. |
number | string | Order number GUI purpose. |
status | string | Values: created, paid, refunded***,*** partially_refunded |
risk_score | int | A risk score assigned by Ecart Pay from 0-100 (100 meaning very risky.) |
risk_notes | string | If there are any risk notes added by Ecart Pay. |
fee | int | The amount charged by Ecart Pay. |
notify_url | string | The url where you will receive updates. |