1. 6. Repayment
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. 6. Repayment

6.5 Repayment Static Qr Order Notify

POST
http://localhost:8080/notify
After the static QR code has been paid by the customer, the system will send a notification with the transaction information.
Note: Find the merchant's configuration channel based on service and merchant account routing.

Request

Body Params application/json

Example
{
    "request": {
        "code": "200",
        "message": "success",
        "trxDate": "2024-11-25T17:49:51+08:00",
        "trxAmount": 10000,
        "trxState": "SUCCESS",
        "originalMsgId": "202411251100630001",
        "orderNo": "202411251100630001",
        "mchId": "101510000001",
        "deviceInfo": "HWEWYJKU",
        "displayName": "displayName111",
        "payAcctBank": "GCash",
        "payAcctName": "Luke Lee",
        "payAcctNo": "639488881964",
        "recipientName": "Marid",
        "recipientNumber": "123212323232"
    },
    "signature": "xKpiiAf4sfH9T0l0EHnqmHddwP6XzohzZDTqFxXWaS+sjHUmH70RBBv+N2prF7Lr958K65ZpB/WLVxAGM+eKPSemQO4QNrU4KCk6/fHIBbXFctzFfvVtgDHF69EJPgsSE9UgDTKeVcdHTUZp11nGLI5FOwWkjMRBjmDtZgK9JqbxGA5fgV/6zpj5mpVFEYy+xtPMO//00OnjzkEYcrSR3j8UBLa/AOepD6DZhVKXSrobQ5ZCdyScYLsR9u6p5+s2LKoj2fPbZMTZyOGTrPeLBSTdGlrNv7I2YGmraBQxLY46DWvhA9bwtcikJ+NxaW79lYHdqwHbG0t4FwXEL7DVlA=="
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:8080/notify' \
--header 'Content-Type: application/json' \
--data-raw '{
    "request": {
        "code": "200",
        "message": "success",
        "trxDate": "2024-11-25T17:49:51+08:00",
        "trxAmount": 10000,
        "trxState": "SUCCESS",
        "originalMsgId": "202411251100630001",
        "orderNo": "202411251100630001",
        "mchId": "101510000001",
        "deviceInfo": "HWEWYJKU",
        "displayName": "displayName111",
        "payAcctBank": "GCash",
        "payAcctName": "Luke Lee",
        "payAcctNo": "639488881964",
        "recipientName": "Marid",
        "recipientNumber": "123212323232"
    },
    "signature": "xKpiiAf4sfH9T0l0EHnqmHddwP6XzohzZDTqFxXWaS+sjHUmH70RBBv+N2prF7Lr958K65ZpB/WLVxAGM+eKPSemQO4QNrU4KCk6/fHIBbXFctzFfvVtgDHF69EJPgsSE9UgDTKeVcdHTUZp11nGLI5FOwWkjMRBjmDtZgK9JqbxGA5fgV/6zpj5mpVFEYy+xtPMO//00OnjzkEYcrSR3j8UBLa/AOepD6DZhVKXSrobQ5ZCdyScYLsR9u6p5+s2LKoj2fPbZMTZyOGTrPeLBSTdGlrNv7I2YGmraBQxLY46DWvhA9bwtcikJ+NxaW79lYHdqwHbG0t4FwXEL7DVlA=="
}'

Responses

🟢200Success
application/json
Body

Example
{"code":"200","message":"success"}
Previous
6.4 Repayment Static Qr Generate
Next
6.6 Repayment Balance Query
Built with