Retry without duplicates
Reuse the same idempotency key when retrying a payment request, and you get the original payment back instead of a duplicate.
Create a payment with one API call, send the customer to Checkout and update the order when a signed webhook arrives.
Signed webhook
Simulated data
Direct integration
Your server creates payments and listens for updates. Checkout, blockchain monitoring and confirmation tracking run on TLY Pay.
Reuse the same idempotency key when retrying a payment request, and you get the original payment back instead of a duplicate.
Verify each webhook signature before updating an order. If a webhook does not arrive, fetch the latest payment status from the API.
API docs and AI support
The TLY Pay API reference covers endpoints, fields and webhook signatures.
Build a custom integration with Hosted or Embedded Checkout. Read the setup steps, website requirements, code examples and TLY Pay API reference.
Open API docsPaste this prompt into your AI coding tool.
Read https://api-docs.tlypay.com/llms.txt and follow its links for the TLY Pay API documentation. Help me integrate Payments and verify signed Webhooks using the documented endpoints and fields.
Integration flow
One payment ID ties the request, the webhook and the order together, so every update can be traced.
/v1/payments
Authorization: Bearer tly_example
Idempotency-Key: ORDER-EXAMPLE-1048
{
"order_ref": "ORDER-EXAMPLE-1048",
"source_amount": {
"kind": "fiat",
"currency": "USD",
"amount_raw": "12800"
}
}Verify the webhook signature, then fetch the latest status before updating the order.
Sign up free, generate an API key and create your first payment.