paycools-my
Languages
Languages
  • 简体中文
  • English
Languages
Languages
  • 简体中文
  • English
  1. 2. Disbursement
  • Merchant Unified API Param
  • API Code Collection
  • Unified API Param
  • 1. Account
    • 1.1 Balance Inquiry
      POST
  • 2. Disbursement
    • Disburse API Supported Types
    • Account Verification Related Enum List
    • 2.1 Account Validation
      POST
    • 2.2 Check Account Validation Order Status
      POST
    • 2.3 Create Payout
      POST
    • 2.4 Check Payout Status
      POST
    • 2.5 Disburse callback notification api
      POST
  • 3. QR Code
    • QR Code Channel Code List
    • 3.1 QR Code Create
      POST
    • 3.2 QR Code Detail
      POST
    • 3.3 QR Code Payment List
      POST
    • 3.4 QR Code Payment Notification
      POST
  • 4. WebPay
    • WebPay Channel Code List
    • 4.1 WebPay Create
      POST
    • 4.2 Retrieve WebPay Status
      POST
    • 4.3 WebPay Payment Notification
      POST
  • 5. Refund
    • Refund Support Channel List
    • Refund Status Enum
    • 5.1 Refund
      POST
    • 5.2 Get Refund Payments
      POST
    • 5.3 Refund Notification
      POST
  1. 2. Disbursement

2.5 Disburse callback notification api

POST
/callbacks/disbursement
This endpoint is implemented by the merchant. Its path and server are import placeholders.
param is a JSON-serialized string. The table below describes its decoded logical fields.
parameter nameIs it mandatorytype of datadescription
eventNamemandatorystringEvent name( disbursement.success , disbursement.failed )
mchOrderIdmandatorystringMerchant order id
transactionIdmandatorystringtransaction id
amountmandatoryintegeramount
transactionStatusmandatorystringTransaction status( PENDING , COMPLETED , FAILED )
createTimemandatorystringTransaction create time
returnTimemandatorystringTransaction complete time
remarkmandatorystringremark
failedCodeoptionalintegerFailed Code
failedMessageoptionalstringFailed Message
Source documentation: https://docs.paycools.com.my/en/Disbursement/DisburseNotification.html

请求参数

Body 参数application/json必填

示例
{
    "param": "{\"amount\":10000,\"createTime\":\"2023-03-02 09:25:12\",\"eventName\":\"disbursement.success\",\"mchOrderId\":\"TestMchOrderIdD0001\",\"remark\":\"remark\",\"returnTime\":\"2023-03-02 09:25:12\",\"transactionId\":\"D1631118424367169536\", \"transactionStatus\":\"COMPLETED\"}",
    "sign": "abcdef"
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location '/callbacks/disbursement' \
--header 'Content-Type: application/json' \
--data '{
    "param": "{\"amount\":10000,\"createTime\":\"2023-03-02 09:25:12\",\"eventName\":\"disbursement.success\",\"mchOrderId\":\"TestMchOrderIdD0001\",\"remark\":\"remark\",\"returnTime\":\"2023-03-02 09:25:12\",\"transactionId\":\"D1631118424367169536\", \"transactionStatus\":\"COMPLETED\"}",
    "sign": "abcdef"
}'

返回响应

🟢200
application/json
Business result
Bodyapplication/json

示例
{
    "code": 10000,
    "message": "Success"
}
修改于 2026-09-09 02:46:54
上一页
2.4 Check Payout Status
下一页
QR Code Channel Code List
Built with