/Get QR Payment (v2)
/Get QR Payment Status (v2)
Request returns payment status and details for given payId
Checking payment status should be finished when one of the following final status values is returned:
• Succeeded
• Failed
• Expired
Authorization
| Authorization Type | Description |
|---|---|
| Bearer Token | access-token should be added to Authorization header |
Request Parameters
Header
| Parameter | Type | Description |
|---|---|---|
| apikey | string | developer app API key |
Path Parameters
| Parameter | Type | Description |
|---|---|---|
| payId | string | tpay payment identifier |
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| payId | string | Tpay payment identifier |
| status | string | Payment status The following values are allowed: Created Processing Succeeded Failed Expired returned |
| amount | decimal | transactionAmount |
| currency | string | Transaction currency |
| operationType | int | 0 - Standard QR 1 - BNPL 2 - Ertguli Points |
Error Handling
| HttpStatusCode | Title | Status | Detail |
|---|---|---|---|
| 401 | Unauthorized | 401 | Unauthorized |
| 404 | InvalidPayment | 404 | PaymentNotFound |
| 500 | Internal Server Error | 500 | An error occurred while processing your request |
Updated over 2 years ago
