Skip to main content
This example creates a 100 USDT invoice for ORDER-1001.

What to store

Store the returned invoice ID with your order before redirecting the customer. Also retain the order number, idempotency key, status, and expiration time.

What to do next

Redirect the customer to invoice_url, then implement callback handling.