Get the status of checkout and callback URL to PSP (Payment service provider).
GET {{baseUrl}}/approvals/:plan_id
This API will be used by the provider to get the status of checkout and callback URL to PSP (Payment service provider). This API should be used within 24 hours from the time the approval was posted.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"status":"COMPLETED","callbackUrl":"https://src.mastercard.com?action=COMPLETED\u0026checkoutResponse=EncryptedData"}