checkout.

Start here

Create your first checkout

Connect your server, set an amount, and send a customer to checkout.

1. Create your merchant account

Choose a business name and connect the wallet that will receive payments. Sign the registration message, then save your API key and webhook signing secret in your server environment. Signing in does not move funds.

Create account ↗

2. Connect your webhook

Add a public HTTPS route to your app that verifies Checkout signatures. It must accept integration.check events with a 2xx response without creating an order. Save its URL in Integration settings, then select Send connection check. Checkout creation becomes available after the check passes.

Build your webhook receiver ↗

3. Create a payment link

Run this request from your server or terminal with CHECKOUT_API_KEY set to your merchant API key. The hosted API is available at https://checkout.allensaji.dev. Amounts use six decimals: 100000 means 0.10 USDT. No SDK installation is needed for this request.

Shell
curl --fail-with-body https://checkout.allensaji.dev/v1/checkouts \
  -H "Authorization: Bearer $CHECKOUT_API_KEY" \
  -H "Content-Type: application/json" \
  --data '{"orderId":"workshop-001","title":"Studio workshop","amount":"100000"}'

4. Open the checkout

Open checkoutUrl from the response. Use a buyer wallet different from your payout wallet, with the required USDT on Whitechain Sepolia. Connect the wallet and authorize the displayed amount. Checkout covers the network fee. If payment processing is paused, you can inspect the checkout but cannot complete a new payment.

5. Complete the order

Your receiver gets payment.confirmed after settlement. Match the event to the order you stored, complete the purchase once, then acknowledge fulfillment using checkoutId from the event. Return 2xx only after saving the event or completing durable processing. A timeout is not proof that payment failed.

Handle confirmation and fulfillment ↗

Use the TypeScript SDK

The SDK wraps the same API and includes webhook verification. Install it from the source package, then use it in your server app.

SDK installation and coding-agent guide ↗