Payment integration
Copy Page
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
MerchantStoreAssetView
OneTimeSecretResponse
SourceAmount
MerchantStoreView
MerchantSourceAmountView
VerifyWebhookBinding
WebhookBindingView
Payment integration
MCP
Copy Page
Cancel a Payment
POST
/v1/payments/{payment_id}/cancel
Try it
Run in Apidog
Run in Apidog
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
Generate Code
Responses
🟢
200
OK
application/json
Payment cancelled, or current status returned for a repeated cancellation
Headers
Generate Code
Body
application/json
Generate Code
🟠
401
Unauthorized
🟠
403
Forbidden
🟠
404
Record Not Found
🟠
409