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

查询Payment的交易明细

测试环境
https://test-api.chingchingpay.com/gateway
测试环境
https://test-api.chingchingpay.com/gateway
GET
https://test-api.chingchingpay.com/gateway
/api/v1/payments/detail/{paymentID}
Last modified:2025-07-15 16:02:05
查询Payment的交易明细

Request

Path Params

Header Params

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 GET 'https://test-api.chingchingpay.com/gateway/api/v1/payments/detail/' \
--header 'x-api-key: ' \
--header 'x-signature;'

Responses

🟢200OK
application/json
OK
Body

Example
{
    "code": 0,
    "data": {
        "callback_url": "string",
        "cancel_url": "string",
        "channels": [
            {
                "channel_id": 0,
                "sub_channel_id": [
                    "string"
                ]
            }
        ],
        "complete_url": "string",
        "created_at": 0,
        "currency": "string",
        "description": "string",
        "device_id": "string",
        "expires_at": 0,
        "merchant": {
            "contact_email": "string",
            "contact_name": "string",
            "contact_phone": "string",
            "merchant_id": "string",
            "merchant_name": "string",
            "status": 0
        },
        "merchant_id": "string",
        "merchant_reference": "string",
        "payment_id": "string",
        "refunded_amount": 0,
        "status": "string",
        "store": {
            "merchant_id": "string",
            "other_store_info": "string",
            "status": 0,
            "store_id": "string",
            "store_location": "string",
            "store_name": "string",
            "store_type": "string"
        },
        "store_id": "string",
        "total_amount": 0,
        "transactions": [
            {
                "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
            }
        ],
        "updated_at": 0
    },
    "message": "string"
}
Modified at 2025-07-15 16:02:05
Previous
創建PaymentLink H5 頁面
Next
發起Payment退款交易
Built with