API Doc
languages
languages
  • English
  • 简体中文
languages
languages
  • English
  • 简体中文
  1. 8. Refund
  • API Signature Process
  • API General Code
  • 1. Account
    • 1. Check Account Balance
      POST
    • 2. Report Download
      POST
  • 2. Payout
    • Disbursement Product Flow Chart
    • Disburse Channel List
    • 1. Account Validation
      POST
    • 2. Check Account Validation Order Status
      POST
    • 3. Disburse
      POST
    • 4. Check Disburse Status
      POST
    • 5. Disburse Notification
      POST
  • 3. Static VA
    • VA ChannelCode List
    • 1. Static VA Create
      POST
    • 2. Static VA Collection Query
      POST
    • 3. Static VA Collection Notification
      POST
    • 4. Static VA Collection Verification
      POST
  • 4. Dynamic VA
    • Payment ChannelCode List
    • 1. Collection Request
      POST
    • 2. Collection Transaction List
      POST
    • 3. Collection Notification
      POST
  • 5. Payment QR
    • QR Code ChannelCode List
    • 1. QR Code Create
    • 2. QR Code Detail
    • 3. QR Code Payment List
    • 4. QR Code Payment Notification
  • 6. Web Payment
    • Payment Channel List
    • 1. Create Payment
    • 2. Check Payment Status
    • 3. Payment Notification
  • 7. Split Payment
    • Split Payment Enumeration
    • 1. Relationship Proof File Upload
    • 2. Add Split Payment Receiver
    • 3. Query Split Payment Receiver
    • 4. Delete Split Payment Receiver
    • 5. Query Unsplit Amount
    • 6. Split Payment
    • 7. Query Split Payment Result
    • 8. Split Payment Return
    • 9. Query Split Payment Return Result API
  • 8. Refund
    • Refund Support Channel List
    • Refund Status Enum
    • 1. Refund
      POST
    • 2. Get Refund Payments
      POST
    • 3. Refund Notification
      POST
  1. 8. Refund

1. Refund

POST
/open-api/payment/refund

Request

Body Params application/json

Example
{
    "appId": "733b887a4a784708bb369524db5b6ded",
    "sign": "A5Vd8NcQvU3QT41Yee2jCIK58jDAKZ6kP5gEE4q7Yu92hUCY3k00FKTSlCNU+CcZm0LSrGbEMFMID3p7uvXaqy5khNv3kPndrgp7MIRHUmQnMgRK+g1XG7PzWdnrqlXc3g+L+kqVja+qrFRz+uVS6GLKLR1P4AtgTa9dok6NU7YTWOnG9r/FwIVx/At4czfEpI10pvg2TptVpiANmseGmz4G30hkaYTTNahkcOMQJn6PDFjivHvjNLZNJVOqHQzVUa+kca1yZZMPHtgxR647KjoY2oAjjl0Y45GL6zP9qHD/eVwcPPAPrRZ4K2o05OJnPf67fAcWNVqpnu6ZGQIXhQ==",
    "param": "{\"originalTransactionId\":\"CU518563189147832780\",\"mchRefundOrderId\":\"refund488455057142\",\"refundAmount\":10000,\"refundReason\":\"testRefund\",\"refundCallbackUrl\":\"http://www.test.com\",\"timestamp\":1722415059}"
}

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 '/open-api/payment/refund' \
--header 'Content-Type: application/json' \
--data '{
    "appId": "733b887a4a784708bb369524db5b6ded",
    "sign": "A5Vd8NcQvU3QT41Yee2jCIK58jDAKZ6kP5gEE4q7Yu92hUCY3k00FKTSlCNU+CcZm0LSrGbEMFMID3p7uvXaqy5khNv3kPndrgp7MIRHUmQnMgRK+g1XG7PzWdnrqlXc3g+L+kqVja+qrFRz+uVS6GLKLR1P4AtgTa9dok6NU7YTWOnG9r/FwIVx/At4czfEpI10pvg2TptVpiANmseGmz4G30hkaYTTNahkcOMQJn6PDFjivHvjNLZNJVOqHQzVUa+kca1yZZMPHtgxR647KjoY2oAjjl0Y45GL6zP9qHD/eVwcPPAPrRZ4K2o05OJnPf67fAcWNVqpnu6ZGQIXhQ==",
    "param": "{\"originalTransactionId\":\"CU518563189147832780\",\"mchRefundOrderId\":\"refund488455057142\",\"refundAmount\":10000,\"refundReason\":\"testRefund\",\"refundCallbackUrl\":\"http://www.test.com\",\"timestamp\":1722415059}"
}'

Responses

🟢200成功
application/json
Bodyapplication/json

Example
{
    "code": 10000,
    "message": "Success",
    "data": {
        "mchRefundOrderId": "refund488455057142",
        "refundTransactionId": "1818566685947728",
        "refundCreateTime": "2024-07-31 16:37:40",
        "refundAmount": 10000,
        "refundStatus": "PENDING"
    }
}
Modified at 2026-05-22 09:50:08
Previous
Refund Status Enum
Next
2. Get Refund Payments
Built with