1. 支付接入
简体中文
  • 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
    • MerchantStoreSourceView
    • MerchantStoreView
    • OneTimeSecretResponse
    • SourceAmount
    • VerifyWebhookBinding
    • WebhookBindingView
  1. 支付接入

关闭 Checkout 访问

DELETE
/v1/payments/{payment_id}/consumer-access
需要 API 密钥具备 payment:write 作用域.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Responses

🟢204No Content
Checkout 访问已关闭, 或此前已关闭
Headers

This response does not have a body.
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE '/v1/payments//consumer-access' \
--header 'Authorization: Bearer <token>'
Response Response Example
401 - Example 1
{
    "err": "string",
    "msg": "string",
    "retryable": true
}
Previous
取消 Payment
Next
检查计价配置
Built with