创建一次性支付
Create a one-time payment with an existing payment instrument. Use either productId and priceId, or amount and currency.
Documentation Index
Fetch the complete documentation index at: https://docs.clinkbill.com/llms.txt
Use this file to discover all available pages before exploring further.
授权
Your secret API key obtained from the Clink dashboard (Developers section)
Current timestamp in milliseconds since Unix epoch (required for request signing)
请求体
Parameters required to create a one-time payment by API. Provide at least one customer identifier. Provide either priceId with productId, or amount with currency.
Existing payment instrument ID.
Payment method type. Supported values are uppercase.
ALIPAY, CARD, CASHAPP, GCASH, KAKAO, PROMPTPAY, QRIS, TNG, WECHAT URL where the customer is redirected after required payment actions.
Existing customer ID. At least one customer identifier is required.
Customer email. Used to resolve or create a customer when customerId is not provided.
Merchant-side customer ID used to resolve, create, or bind a customer.
Predefined one-time price ID. If provided, productId is required.
Product ID. Required when priceId is provided.
Product and price line items for direct amount payments or display/risk data.
Direct payment amount. Required with currency when priceId is not provided.
Direct payment currency. Required with amount when priceId is not provided.
Merchant-side reference ID for reconciliation.
Promotion code to apply.
Merchant metadata. Values must be strings.
Platform type. Supported values are WEB and WAP.
WEB, WAP Device type. Supported values are Android and iOS.
Android, iOS 响应
Payment created successfully
Response status code, 200 when success
200
Brief description of what happened, 'success' when happy case
"success"
Response data returned after creating a one-time payment. It contains the order and session identifiers, together with the payment flow result.