1. 2. Signature
Starpay Merchant Disbursement API
  • 1. Revision History
  • 2. Signature
    • 2.1 API connection check
    • 2.2 Signing a message
    • 2.3 Use the SHA256WithRSA algorithm to calculate the To-Be-Signed String
    • 2.4 Sample
    • 2.5 Method of Signature
  • 3. Procedure Diagram
  • 4. API List
  • 5. Disbursement
    • 5.1 Fund Disbursement List
      POST
    • 5.2 Fund Disbursement
      POST
    • 5.3 Fund Disbursement (Starpay to Starpay Fund Transfer)
      POST
    • 5.4 Fund Disbursement Query
      POST
    • 5.5 Disbursement State Notification
      POST
    • 5.6 Disbursement Balance Query
      POST
    • 5.7 Scan QR
      POST
    • 5.8 Fund Disbursement (Pay P2M QR)
      POST
    • 5.9 Fund Disbursement (Pay P2P QR)
      POST
  • 6. Repayment
    • 6.1 Repayment
      POST
    • 6.2 Repayment State Query
      POST
    • 6.3 Repayment State Notification
      POST
    • 6.4 Repayment Static Qr Generate
      POST
    • 6.5 Repayment Static Qr Order Notify
      POST
    • 6.6 Repayment Balance Query
      POST
    • 6.7 Edit Repayment Static QR Status
      POST
    • 6.8 Repayment transaction Query through RefNo
      POST
    • 6.9 Repayment Cancel
      POST
  • 7. Error code list
  • 8. 3rd Party Error Code List
  • 9.Instapay Error Code List
  • 10. Appendix
    • 10.1 Test demo
  1. 2. Signature

2.2 Signing a message

To-Be-Signed String: Prepare the message to be sent to the system in the JSON Format. (Note: Do not Format JSON message. This sample message is only Formatted for display)
Signature Rules:
For signature generation, the order of fields used for signing must be exactly the same as the order of fields in the final API request payload.
{
    "msgId": "161415460871",
    "mchId": "105510000001",
    "acctNo": "acctNoxxx",
    "acctName": "acctNamrxx",
    "acctMiddleName": "acctMiddleNamexxx",
    "acctLastName": "acctLastNamexxx",
    "receivingBank": "Sun Savings Bank, Inc.",
    "trxAmount": "1000",
    "currency": "PHP",
    "service": "pay.starpay.instapay.disburse",
    "attach": "Disbursement"
}
Previous
2.1 API connection check
Next
2.3 Use the SHA256WithRSA algorithm to calculate the To-Be-Signed String
Built with