Chingchingpay Payment Gateway
  1. 支付網關
Chingchingpay Payment Gateway
  • 支付網關
    • 查詢交易狀態
      POST
    • 發起支付交易
      POST
    • 發起退款交易
      POST
    • 創建PaymentLink H5 頁面
      POST
    • 獲取Settlement列表
      GET
    • Merchant/下載Settlement文件
      GET
  1. 支付網關

發起退款交易

测试环境
https://test-api.chingchingpay.com/gateway
测试环境
https://test-api.chingchingpay.com/gateway
POST
https://test-api.chingchingpay.com/gateway
/api/v1/payments/transactions/refund
Last modified:2025-07-15 16:02:05
發起退款交易

Request

Header Params

Body Params application/json

Example
{
    "amount": 0,
    "callback_url": "string",
    "currency": "string",
    "description": "string",
    "merchant_reference": "string",
    "original_merchant_reference": "string",
    "transaction_id": "string",
    "transaction_type": "string"
}

Request 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 'https://test-api.chingchingpay.com/gateway/api/v1/payments/transactions/refund' \
--header 'x-api-key: ' \
--header 'x-signature;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "amount": 0,
    "callback_url": "string",
    "currency": "string",
    "description": "string",
    "merchant_reference": "string",
    "original_merchant_reference": "string",
    "transaction_id": "string",
    "transaction_type": "string"
}'

Responses

🟢200OK
application/json
OK
Body

Example
{
    "code": 0,
    "data": {
        "amount": 0,
        "cancel_url": "string",
        "channel_id": 0,
        "complete_url": "string",
        "created_at": 0,
        "currency": "string",
        "description": "string",
        "device_id": "string",
        "extra": "string",
        "merchant_id": "string",
        "merchant_reference": "string",
        "original_merchant_reference": "string",
        "original_payment_reference": "string",
        "original_transaction_id": "string",
        "payed_time": 0,
        "payer_id": "string",
        "payment_id": "string",
        "payment_method": "string",
        "payment_reference": "string",
        "platform": "string",
        "status": "string",
        "store_id": "string",
        "transaction_id": "string",
        "transaction_type": "string",
        "updated_at": 0
    },
    "message": "string"
}
Modified at 2025-07-15 16:02:05
Previous
發起支付交易
Next
創建PaymentLink H5 頁面
Built with