Billing
Create USDT invoice
Creates a USDT (TRC-20) invoice that tops up the balance of the organization that owns the API key.
amount is in USD, from 1 to 100000. Send exactly amount_required USDT to wallet_address before expires_at. Once paid, credits plus bonus_credits land on the balance (1 credit = 1 cent). Poll GET /api/v4/billing/invoices/{id} for the status.
At most 10 unpaid invoices per hour; the next one gets 400.
Production only: a request to the sandbox host or with Ds-Sandbox: true gets 403.
POST
Create USDT invoice
Body
application/json
Response
Created invoice.
PENDING: waiting for payment.PAID: payment received, credits added to the balance.EXPIRED: not paid beforeexpires_at. Create a new invoice.CANCELED: canceled by the payment provider.ERROR: the payment provider reported a failed payment.OTHER: the payment provider reported a status we do not recognize. Contact support.
Available options:
PENDING, PAID, EXPIRED, CANCELED, ERROR, OTHER Example:
"PENDING"