Enquire Checkout Details
In case the:
- Payment Status webhook in Initiate Payment Intent (One-Time Payment) and Initiate Checkout
- or Update Consent Details webhook in Initiate Payment Intent (Save Payment Method) and Initiate Consent
fails to receive, leverage this endpoint to retrieve the details that previously created during checkout. Utilize the 'endToEndId' parameter as part of the response in this API to fetch the checkout ID, enabling you to inquire about the payment status through the Payment Status or Payment Method Status.
Process Flow
Step | Sender | Receiver | Process |
---|---|---|---|
1 | Acquirer | API Gateway | Acquirer initiates an enquiry via endToEndId for the checkout details. |
2 | API Gateway | Acquirer | API Gateway will locate the checkout details and response back to acquirer. |
Request
GET /v1/bw/checkout?endToEndId=20240724M0037091861OBW05004745
Response
Below is the request if the endToEndId belongs to one-time payment.
Data Object | ||||||
checkoutId | String | Max length: 36 | Required | |||
The unique external identifier (uuid v4) provided by the acquirer to PayNet. | ||||||
rtpEndToEndId | String | Max length: 35 | Required | |||
Unique message identification from RPP. This can be used to reconcile with RPP BackOffice or Reports. | ||||||
issuer | String | Max length: 100 | Required | |||
Name of payer’s issuing bank / wallet. | ||||||
paymentMethod | String | Max length: 35 | Required | |||
Payer selected payment method: 01 - DuitNow Online Banking / Wallets | ||||||
End Data Object | ||||||
message | String | Max length: 1024 | Required | |||
Response with "OK" if successful. Otherwise, please refer to the reason codes in the appendix. |
Sample Response:
{
"data": {
"checkoutId": "a7e2ed2a-b088-4495-8cf4-88da08f644f2",
"rtpEndToEndId": "20240325M0000201861OBW00618197",
"issuer": "Affin Bank",
"paymentMethod": "01"
},
"message": "OK"
}
Response
Below is the request if the endToEndId belongs to save payment method.
Data Object | ||||||
checkoutId | String | Max length: 36 | Required | |||
The unique external identifier (uuid v4) provided by the acquirer to PayNet. | ||||||
consentEndToEndId | String | Max length: 35 | Required | |||
Unique message identification from RPP. This can be used to reconcile with RPP BackOffice or Reports. | ||||||
consentId | String | Max length: 36 | Required | |||
Consent that is authorized for AutoDebit payment. | ||||||
issuer | String | Max length: 100 | Required | |||
Name of payer’s issuing bank / wallet. | ||||||
End Data Object | ||||||
message | String | Max length: 1024 | Required | |||
Refer to the reason codes in the appendix. |
Sample Response:
{
"data": {
"checkoutId": "a7e2ed2a-b088-4495-8cf4-88da08f644f2",
"consentEndToEndId": "20240325M0000201811OBW00618197",
"consentId": M00002010012700006,
"issuer": "Affin Bank"
},
"message": "OK"
}