Step 4 - Get the payment status
Last updated
Last updated
As you are aware, you can receive payments through webhooks too, so making an API call to obtain the same data isn't mandatory. However, it is highly recommended to implement both methods to ensure there is a fallback option should one of them fail.
There are two methods to retrieve the transaction status through an API call: by using the "Id" provided by the Remitee at the time of payment creation, or by using the "referenceId" generated by yourself.
Identifier.
GET /api/Payments/{id} HTTP/1.1
Host:
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"type": "C2C",
"createdAt": "2025-05-04T01:41:07.335Z",
"quoteId": "123e4567-e89b-12d3-a456-426614174000",
"payerId": 1,
"debitAmount": 1,
"debitCurrency": "text",
"fxRate": 1,
"amount": 1,
"currency": "text",
"collectMethod": "CASH_PICKUP",
"referenceId": "text",
"userInfo": {
"Dbtr": {
"StrdNm": {
"FirstNm": "text",
"LastNm": "text"
},
"PstlAdr": {
"Ctry": "text",
"CtrySubDvsn": "text",
"TwnNm": "text",
"AdrLine": "text",
"PstCd": "text"
},
"Id": {
"PrvtId": {
"Othr": {
"Id": "text",
"Issr": "text",
"SchmeNm": {
"Cd": "ARNU",
"Prtry": "text"
}
},
"DtAndPlcOfBirth": {
"BirthDt": "text",
"CtryOfBirth": "text"
}
},
"OrgId": {
"Othr": {
"Id": "text",
"Issr": "text",
"SchmeNm": {
"Cd": "ARNU",
"Prtry": "text"
}
}
}
},
"CtctDtls": {
"EmailAdr": "text",
"PhneNb": "text",
"Othr": "text"
},
"Nm": "text"
},
"Cdtr": {
"StrdNm": {
"FirstNm": "text",
"LastNm": "text"
},
"PstlAdr": {
"Ctry": "text",
"CtrySubDvsn": "text",
"TwnNm": "text",
"AdrLine": "text",
"PstCd": "text"
},
"Id": {
"PrvtId": {
"Othr": {
"Id": "text",
"Issr": "text",
"SchmeNm": {
"Cd": "ARNU",
"Prtry": "text"
}
},
"DtAndPlcOfBirth": {
"BirthDt": "text",
"CtryOfBirth": "text"
}
}
},
"CtctDtls": {
"EmailAdr": "text",
"PhneNb": "text",
"Othr": "text"
}
},
"CdtrAgt": {
"FinInstnId": {
"BICFI": "text"
},
"BrnchId": {
"Id": "text"
}
},
"CdtrAcct": {
"Id": {
"Othr": {
"Id": "text"
}
},
"Tp": {
"Cd": "SVGS"
}
},
"Purp": {
"Prtry": "FAMILY_SUPPORT"
},
"InstForCdtrAgt": {
"InstrInf": "text"
},
"PmtId": {
"TxId": "text"
}
},
"status": "CREATED",
"subState": "FORWARDED",
"lockDeclineReason": "text",
"lockDeclineDescription": "text",
"reverseReason": "text",
"withholdingPercentages": {
"vatWithholdingPercentage": 1,
"incomeWithholdingPercentage": 1,
"vatWithholdingReceiptUrl": "text",
"incomeWithholdingReceiptUrl": "text"
},
"payerPaymentCode": "text",
"transactionId": 1,
"lockedAt": "2025-05-04T01:41:07.335Z",
"lockDeclinedAt": "2025-05-04T01:41:07.335Z",
"expiredAt": "2025-05-04T01:41:07.335Z",
"settledAt": "2025-05-04T01:41:07.335Z",
"forwardedAt": "2025-05-04T01:41:07.335Z",
"awaitingCollectionSince": "2025-05-04T01:41:07.335Z",
"completedAt": "2025-05-04T01:41:07.335Z",
"reversedAt": "2025-05-04T01:41:07.335Z",
"liquidityError": true,
"invoiceUrl": "text"
}
reference.
GET /api/Payments/Find/{reference} HTTP/1.1
Host:
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"type": "C2C",
"createdAt": "2025-05-04T01:41:07.335Z",
"quoteId": "123e4567-e89b-12d3-a456-426614174000",
"payerId": 1,
"debitAmount": 1,
"debitCurrency": "text",
"fxRate": 1,
"amount": 1,
"currency": "text",
"collectMethod": "CASH_PICKUP",
"referenceId": "text",
"userInfo": {
"Dbtr": {
"StrdNm": {
"FirstNm": "text",
"LastNm": "text"
},
"PstlAdr": {
"Ctry": "text",
"CtrySubDvsn": "text",
"TwnNm": "text",
"AdrLine": "text",
"PstCd": "text"
},
"Id": {
"PrvtId": {
"Othr": {
"Id": "text",
"Issr": "text",
"SchmeNm": {
"Cd": "ARNU",
"Prtry": "text"
}
},
"DtAndPlcOfBirth": {
"BirthDt": "text",
"CtryOfBirth": "text"
}
},
"OrgId": {
"Othr": {
"Id": "text",
"Issr": "text",
"SchmeNm": {
"Cd": "ARNU",
"Prtry": "text"
}
}
}
},
"CtctDtls": {
"EmailAdr": "text",
"PhneNb": "text",
"Othr": "text"
},
"Nm": "text"
},
"Cdtr": {
"StrdNm": {
"FirstNm": "text",
"LastNm": "text"
},
"PstlAdr": {
"Ctry": "text",
"CtrySubDvsn": "text",
"TwnNm": "text",
"AdrLine": "text",
"PstCd": "text"
},
"Id": {
"PrvtId": {
"Othr": {
"Id": "text",
"Issr": "text",
"SchmeNm": {
"Cd": "ARNU",
"Prtry": "text"
}
},
"DtAndPlcOfBirth": {
"BirthDt": "text",
"CtryOfBirth": "text"
}
}
},
"CtctDtls": {
"EmailAdr": "text",
"PhneNb": "text",
"Othr": "text"
}
},
"CdtrAgt": {
"FinInstnId": {
"BICFI": "text"
},
"BrnchId": {
"Id": "text"
}
},
"CdtrAcct": {
"Id": {
"Othr": {
"Id": "text"
}
},
"Tp": {
"Cd": "SVGS"
}
},
"Purp": {
"Prtry": "FAMILY_SUPPORT"
},
"InstForCdtrAgt": {
"InstrInf": "text"
},
"PmtId": {
"TxId": "text"
}
},
"status": "CREATED",
"subState": "FORWARDED",
"lockDeclineReason": "text",
"lockDeclineDescription": "text",
"reverseReason": "text",
"withholdingPercentages": {
"vatWithholdingPercentage": 1,
"incomeWithholdingPercentage": 1,
"vatWithholdingReceiptUrl": "text",
"incomeWithholdingReceiptUrl": "text"
},
"payerPaymentCode": "text",
"transactionId": 1,
"lockedAt": "2025-05-04T01:41:07.335Z",
"lockDeclinedAt": "2025-05-04T01:41:07.335Z",
"expiredAt": "2025-05-04T01:41:07.335Z",
"settledAt": "2025-05-04T01:41:07.335Z",
"forwardedAt": "2025-05-04T01:41:07.335Z",
"awaitingCollectionSince": "2025-05-04T01:41:07.335Z",
"completedAt": "2025-05-04T01:41:07.335Z",
"reversedAt": "2025-05-04T01:41:07.335Z",
"liquidityError": true,
"invoiceUrl": "text"
}