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

    7. Error code list

    Note: Error code represents only the result of an action, not the disbursement itself.
    Please use trxState to determine the status of the disbursement.
    codemessage
    200success
    400Bad request
    401Invalid signature
    402Verify signature failed
    403Repeated msgId
    404Not found
    406Requests are too frequent
    410Configuration error
    411Lack of configuration
    412Illegal parameter
    413Duplicate notification
    414Invalid merchant status,Please contact your Business Manager for assistance
    415merchant not opened disburse
    416merchant not opened repay
    417merchant not open this payType
    418Invalid Bank
    419Quer Bank List Fail
    420Unsupported Currency
    426Protocol does not support
    427Parse Third Params Error
    503System is busy
    511Transaction is in the process.
    512Transaction blocked. Avoid repeated disbursement to this user within 10 minutes. Please verify or retry after 10 minutes.
    513Could not found this merchant, please check the mchId input
    514Service not support, please check your request parameters
    558The order mismatch
    565The disburse order is null
    566The repayment order is null
    577System maintenance in progress
    Previous
    6.9 Repayment Cancel
    Next
    8. 3rd Party Error Code List
    Built with