Credits
Check balance
Top up credits
Step 1: Request payment details
402 response with payment requirements:
Step 2: Sign and submit payment
Sign a USDCTransferWithAuthorization (EIP-3009 / EIP-712) using the details from Step 1, encode the payment as base64, and resend the request with an X-PAYMENT header:
The
dria topup CLI command handles this entire flow automatically. Use the API directly only if you need custom integration.