Payment Response (Backend)
Superrich QR Pay will occasionally send backend responses to merchants as part of the payment flow for Superrich QR Pay integrations. Merchants receive payload messages below.
Payment Response via backend
Back End Payment Response
{
"id": 1,
"company_id": 1,
"client_id": 1,
"channel": "QRCODE",
"amount": 100,
"currency": "THB",
"invoice_no": "INV0001",
"reference1": "ref1",
"reference2": "reg2",
"remark": "reamrk",
"trx_id": "1233123",
"canceled_at": "2023-04-30T12:34:56Z",
"canceled_reason": "canceled_reason",
"status": "COMPLETED",
"created_at": "2023-04-30T12:34:56Z",
"expired_at": "2023-04-30T12:34:56Z",
"completed_at": "2023-04-30T12:34:56Z"
}
| Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
| id | number | Yes | Payment ID |
| company_id | number | Yes | Company ID |
| client_id | number | Yes | Client ID |
| channel | string | Yes | Payment Channel |
| amount | number | Yes | Payment Amount |
| currency | string | Yes | Payment Currency |
| invoice_no | string | Yes | Invoice Number |
| reference1 | string | Yes | Reference 1 |
| reference2 | string | Yes | Reference 2 |
| remark | string | Yes | Payment Remark |
| trx_id | string | Yes | Transaction ID |
| canceled_at | string | Yes | Canceled At |
| canceled_reason | string | Yes | Canceled Reason |
| status | string | Yes | Payment Status |
| created_at | string | Yes | Created At |
| expired_at | string | Yes | Expired At |
| completed_at | string | Yes | Completed At |