支付接入
Copy Page
简体中文
English
简体中文
TLY Pay API
快速开始
HTTP 约定和支付状态
Webhook 验签和恢复
支付接入
创建 Payment
POST
查询 Payment 状态
GET
取消 Payment
POST
关闭 Checkout 访问
DELETE
检查计价配置
GET
配置 Webhook
POST
验证 Webhook 签名密钥
POST
Schemas
BootstrapWebhook
CreatePayment
CreatedPayment
ErrorResponse
MerchantPaymentView
MerchantSourceAmountView
MerchantStoreAssetView
MerchantStoreSourceView
MerchantStoreView
OneTimeSecretResponse
SourceAmount
VerifyWebhookBinding
WebhookBindingView
支付接入
MCP
Copy Page
取消 Payment
POST
/v1/payments/{payment_id}/cancel
Try it
Run in Apidog
Run in Apidog
需要 API 密钥具备
payment:write
作用域.
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
Generate Code
Responses
🟢
200
OK
application/json
Payment 已取消, 或重复取消时返回当前状态
Headers
Generate Code
Body
application/json
Generate Code
🟠
401
Unauthorized
🟠
403
Forbidden
🟠
404
Record Not Found
🟠
409