X402 Top Up
Top up your Venice credit balance using an X-402-Payment header. If the header is missing, the endpoint returns payment requirements.
This is the primary x402 payment endpoint. It currently returns Base and Solana USDC payment options in the accepts array. All inference endpoints (chat, image, audio, video) consume from the credit balance you establish here.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Signed x402 payment payload used to top up the wallet balance on a supported rail such as Base or Solana.
"eyJ4NDAyVmVyc2lvbiI6MiwicGF5bG9hZCI6Ii4uLiJ9"
Body
No JSON body required. Payment is sent via the X-402-Payment header. Send an empty POST to discover payment requirements.
The body is of type object.