1. Payment integration
English
  • English
  • įŽ€äŊ“中文
  • TLY Pay API
    • Getting started
    • HTTP conventions and payment status
    • Webhook verification and recovery
    • Payment integration
      • Create a Payment
        POST
      • Get Payment status
        GET
      • Cancel a Payment
        POST
      • Disable Checkout access
        DELETE
      • Check pricing configuration
        GET
      • Configure a Webhook endpoint
        POST
      • Verify a Webhook signing Secret
        POST
  • Schemas
    • CreatePayment
    • CreatedPayment
    • ErrorResponse
    • BootstrapWebhook
    • MerchantPaymentView
    • MerchantStoreSourceView
    • MerchantStoreView
    • OneTimeSecretResponse
    • SourceAmount
    • MerchantSourceAmountView
    • VerifyWebhookBinding
    • WebhookBindingView
  1. Payment integration

Disable Checkout access

DELETE
/v1/payments/{payment_id}/consumer-access
Requires API Key scope 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 access disabled or already disabled
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
Cancel a Payment
Next
Check pricing configuration
Built with