Billing
Debit the wallet
Scope: none. Every app can call it.
Takes amount from your app’s wallet on the store, for usage your
app charges as it sees fit. The merchant reads description in the
wallet’s transactions, after your app’s name.
amountis a string of US dollars, more than zero, with up to 6 decimals ("0.05","0.000001").- The
Idempotency-Keyheader is required. The same key again answers201with the first debit andIdempotent-Replayed: true, and takes nothing, even if the wallet, the subscription or your app changed since. The same key with anotheramountordescriptionanswers422 idempotency_key_reused. - The balance never goes below zero: a wallet that does not cover the
amount answers
402 insufficient_balance. - A new debit is refused while the subscription is
suspended(402 payment_required). - Your app can never add to the wallet: only the merchant tops it up.
POST
cURL
Authorizations
An access token from the OAuth flow (eo_at_...). It lasts one hour;
refresh it with the refresh token. See Authentication.
Headers
Body
application/json