How much to send for a given credit

What to send on network in currency so that amount reaches the wallet after the option's deposit fee. amount is in whole cents of the ledger currency: not positive is 400, more than two decimals 422 deposit_amount_invalid. Requires the wallet.read scope.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required
length ≤ 16

A network code, as GET /api/v1/wallet/deposit-options names it.

string
required
length ≤ 16

A stablecoin code, as GET /api/v1/wallet/deposit-options names it.

number
required

The credit wanted, in the ledger currency, in whole cents.

Headers
string
length ≤ 128
^[A-Za-z0-9._:-]{1,128}$

Your own correlation id, carried through Xegora's logs and audit records and returned in correlationId. Kept when it is 1–128 characters of ASCII letters, digits, ., _, : and -; anything else is replaced by an id of Xegora's.

string
enum

The language an error's message, title and detail are written in; without it, Accept-Language decides, then English. Successful responses are not translated.

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json