Transaction Verification
To know the status of a transaction, please retrieve the reference generated during the payment initialization. Use this URL:
https://payin.api-v2.paynah.com/v1/intents/{{reference}}/status- reference: Generated during payment initialization
Example of response when the transaction is in progress
{
"data": {
"status": "Pending",
"reference": "b2cdc7d1-5969-45ef-8fc1-abbad4e68a7b"
}
}Example of a successful response
{
"data": {
"status": "Approved",
"reference": "b2cdc7d1-5969-45ef-8fc1-abbad4e68a7b"
}
}Example of a failed response
{
"data": {
"status": "Declined",
"reference": "b2cdc7d1-5969-45ef-8fc1-abbad4e68a7b"
}
}