Dark Mode

Check Payments Status API


The following endpoint checks the status of a single Payment

/payments/:id/status

Run in Postman

Path Attributes

id

Integer
Mandatory

Unique identifier of the Payment to be retrieved

Example
curl -X GET \
  https://api.durianpay.id/v1/payments/pay_wA2X2Mvm2d4965/status \
  -H 'authorization: [Base64({Your_Server_Key}:)]' \
  -H 'content-type: application/json' \

Response Code

200 - Success

1
2
3
4
5
6
7
{
    "data": {
        "status": "completed",
        "is_completed": true,
        "signature": "9e892f199d026d06a56669e658a56f264610431d24e8b4d07f7bd46f6d5062d2"
    }
}

401 - Unauthorized Access

500 - Internal Server Error