added
[SG] 2023-10-13 Added Sender Information
12 months ago by Victor liew
Payments Callback Update
We will include the sender's details in the received funds information by 30th October 2023 (Mon)
Impacted Endpoints
- Webhook on Incoming Funds
- Get a Payment API response
- Get a List of Payments API response
New Fields | Explanation |
---|---|
senderInformation | This new addition grants you access to sender details. |
accountHolderName | You can now access the account holder's name associated with the transaction. |
accountNumber | Retrieve the account number related to the payment. |
bankName | Get the name of the bank involved in the transaction. Please note that this information may not be accessible if it is not provided by our provider. |
swiftBic | SWIFT/BIC code of the bank involved in the transaction |
As-Is
{
"data": {
"id": "order_3ffc7514-dee8-4756-a694-f26946a49584",
"type": "payment",
"attributes": {
"status": "completed",
"amount": "0.01",
"createdAt": "2023-10-12T11:31:10+08:00",
"description": null,
"expiredAt": null,
"referenceId": "SUBSCRIPTION_8586c9b6f80fc707960300cae6165083",
"fees": "0.0",
"paymentMethod": {
"id": "payment_method_89b27377-cb74-428e-8e2e-6e97ef48ef7b",
"type": "paynow",
"instructions": {
"extEndToEndId": "paynow9b86692b1662952470",
"qrCodeDisplayImage": "xxx"
},
"referenceId": "REF884"
}
}
}
}
}
To-Be
{
"data": {
"id": "order_3ffc7514-dee8-4756-a694-f26946a49584",
"type": "payment",
"attributes": {
"status": "completed",
"amount": "0.01",
"createdAt": "2023-10-12T11:31:10+08:00",
"description": null,
"expiredAt": null,
"referenceId": "SUBSCRIPTION_8586c9b6f80fc707960300cae6165083",
"fees": "0.0",
"paymentMethod": {
"id": "payment_method_89b27377-cb74-428e-8e2e-6e97ef48ef7b",
"type": "paynow",
"instructions": {
"extEndToEndId": "paynow9b86692b1662952470",
"qrCodeDisplayImage": "xxx"
},
"referenceId": "REF884"
},
"senderInformation": {
"accountHolderName": "Jonathan",
"accountNumber": "1234567890",
"bankName": "DBS Bank Ltd",
"swiftBic": "DBSSSGSGXXX"
}
}
}
}