Skip to main content

Check Payments Status API

The following endpoint checks the status of a single Payment

/payments/:id/status

Path parameters#

Fieldis required?Description
idmandatoryinteger Unique identifier of the Payment to be retrieved

Example#

curl -u <YOUR_SECRET_KEY> \
-X GET https://api.durianpay.id/v1/payments/pay_B14sdfwAdmmSDF24a/status \
-H "content-type: application/json"'

Response#

{
"data": {
"status": "completed",
"is_completed": true,
"signature": "9e892f199d026d06a56669e658a56f264610431d24e8b4d07f7bd46f6d5062d2"
}
}