Get Payment status

There are two ways to get this done.

  • Listening for payment webhooks
    We covered how to create a webhook listener here in the getting setup guide - if you haven't done this already, go back to this step to get ready to receive webhooks.
  • Retrieve the order by it’s ID
    GET /orders/{orderID} You can retrieve directly the latest status by specifying the order ID in the GET Request.
{
    "status": "success",
    "data": {
        "orderId": "OR-241127051434371",
        "type": "payin",
        "depositCurrency": "ETH",
        "depositAmount": 5,
        "withdrawCurrency": "USDT",
        "withdrawAmount": 12638.55,
        "status": "initiated",
        "senderName": {
            "firstName": "John",
            "lastName": "Doe"
        },
        "fees": {
            "networkFee": 0,
            "processingFee": 0
        },
        "partnerContext": {},
        "partnerId": "",
        "bankTxnId": []
    }
}