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

創建PaymentLink H5 頁面

测试环境
https://test-api.chingchingpay.com/gateway
测试环境
https://test-api.chingchingpay.com/gateway
POST
https://test-api.chingchingpay.com/gateway
/api/v1/payments/link
Last modified:2025-07-15 16:02:05
創建PaymentLink H5 頁面

Request

Header Params

Body Params application/json

Example
{
    "amount": 0,
    "callback_url": "string",
    "cancel_url": "string",
    "complete_url": "string",
    "currency": "string",
    "description": "string",
    "device_id": "string",
    "expires_at": "string",
    "merchant_id": "string",
    "merchant_reference": "string",
    "payment_type": "string",
    "store_id": "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/link' \
--header 'x-api-key: ' \
--header 'x-signature;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "amount": 0,
    "callback_url": "string",
    "cancel_url": "string",
    "complete_url": "string",
    "currency": "string",
    "description": "string",
    "device_id": "string",
    "expires_at": "string",
    "merchant_id": "string",
    "merchant_reference": "string",
    "payment_type": "string",
    "store_id": "string"
}'

Responses

🟢200OK
application/json
OK
Body

Example
{
    "code": 0,
    "data": {
        "merchant_reference": "string",
        "payment_id": "string",
        "payment_link": "string",
        "status": "string"
    },
    "message": "string"
}
Modified at 2025-07-15 16:02:05
Previous
發起退款交易
Next
獲取Settlement列表
Built with