d5855df0e349
latestOpenAPI 3.1.02026-08-12128104480.9 KBGuest Wallets
Create an accountless prepaid wallet checkout
Create a one-use hosted checkout after the user confirms $10-$250 USD. The request creates no charge. It returns a paid-read API key without an Xquik account. Idempotent replays return the same key.
post/guest-wallets
Headers
Idempotency-Keystring required
Generate a cryptographically random UUID v4. Reuse it only to retry the same wallet and amount request. Initial wallet creation can recover the API key from this value, so store it as a secret and never log it.
Request body
Example request
{
"amount_minor": 1000
}Response
Hosted checkout, guest API key, and API status URL.
Example response
{
"amount": {
"amount_minor": 1000
},
"api_key": "xq_example_returned_once",
"authorization": {
"header": "Authorization",
"scheme": "Bearer"
},
"checkout_url": "https://checkout.example/guest/example",
"credits": "66666",
"expires_at": "2026-07-13T13:00:00.000Z",
"purchase_id": "gp_example",
"status": "pending",
"wallet_id": "gw_example"
}