Name | Type | Required | Description |
---|
id | String | Yes | Unique transaction ID (with prefix) |
{
"status": 200,
"data": {
"id": "...",
"externalId": "..."
"amount": 10000,
"status": "PENDING",
"attributes": { ... },
"createdAt": "...",
"paidAt": "...",
"expiredAt": "...",
"metadata": {}
}
}
{
"status": 200,
"data": {
"id": "QR_xxx",
"externalId": "...",
"amount": 10000,
"status": "EXPIRED",
"attributes": {
"qrData": "",
"nmid": "",
},
"createdAt": "2025-08-19T14:28:58+07:00",
"expiredAt": "...",
"paidAt": null,
"metadata": ""
}
}
{
"status": 200,
"data": {
"id": "EW_xxx",
"externalId": "...",
"amount": 10000,
"status": "EXPIRED",
"attributes": {
"code": "DANA",
"deeplink": "..."
},
"createdAt": "2025-08-19T14:28:58+07:00",
"expiredAt": "...",
"paidAt": null,
"metadata": ""
}
}
{
"status": 200,
"data": {
"id": "VA_xxx",
"amount": 10000,
"status": "PENDING",
"attributes": {
"code": "BCA",
"va_number": "VA_no",
"va_name": "VA_name"
},
"createdAt": "...",
"expiredAt": "...",
"paidAt": null,
"metadata": {}
}
}
{
"status": 200,
"data": {
"id": "xxx",
"amount": 10000,
"status": "COMPLETED",
"attributes": {
"bankAccountNo": "...",
"bankShortCode": "...",
"bankAccountHolderName": "...",
"bankName": "..."
},
"createdAt": "...",
"paidAt": "...",
"metadata": {}
}
}
Status | Meaning |
---|
PROCESSING | Transaction is created but not yet completed |
PAID | Successfully paid (for incoming payments) |
COMPLETED | Fully executed (for disbursements) |
EXPIRED | Transaction expired without payment |
FAILED | Failed due to provider error or rejection |
HTTP Code | Message | Description |
---|
404 | Transaction not found | ID does not exist or is invalid |
500 | Internal server error | Unexpected system or provider error |
401/403 | Unauthorized | API key or auth middleware failure (handled separately) |
Don't forget to Generate Public Access Token first