added

[SG] 2023-10-13 Added Sender Information

Payments Callback Update

We will include the sender's details in the received funds information by 30th October 2023 (Mon)

Impacted Endpoints

  1. Webhook on Incoming Funds
  2. Get a Payment API response
  3. Get a List of Payments API response
New FieldsExplanation
senderInformationThis new addition grants you access to sender details.
accountHolderNameYou can now access the account holder's name associated with the transaction.
accountNumberRetrieve the account number related to the payment.
bankNameGet 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.
swiftBicSWIFT/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"
      }
    }
  }
}