Enquire Payment Method Status
Check the status of the saved payment methods. Parse in the unique checkoutId and PayNet will return the corresponding consent status and ID.
info
Use this API if to retrieve the consent status if you do not receive the webhook for Update Consent Status.
Process Flow
Step | Sender | Receiver | Process |
---|---|---|---|
1 | Acquirer | API Gateway | Acquirer initiates an enquiry via checkoutId for the status of the consent. |
2 | API Gateway | Acquirer | API Gateway will locate the consent status and response back to acquirer. |
Request
GET /v1/bw/consent/request?checkoutId=a7e2ed2a-b088-4495-8cf4-88da08f644f2
Attention
This API has a rate limit, therefore can only be called once every 30 seconds.
checkoutId | String | Max length: 36 | Required | |||
The unique external identifier (uuid v4) provided by the acquirer to PayNet when initiating a payment intent. |
Response
Data Object | ||||||
messageId | String | Max length: 35 | Required | |||
Unique message identification from RPP. This can be used to reconcile with RPP BackOffice or Reports. | ||||||
transactionStatus | String | Max length: 35 | Required | |||
Transaction Status: PDNG = Pending ACTV = Active CANC = Cancelled PDAU = Pending authorization | ||||||
consentId | String | Max length: 35 | Required | |||
The 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 | |||
Please refer to the list of reason codes. |
Sample Response:
{
"data": {
"messageId": "20240119M0000201814OBW00000005",
"transactionStatus": "PNDG",
"consentId": "M00002010012700006",
"issuer": "Affin Bank"
},
"message": "U000"
}