Skip to main content
GET
Get a conversion by id

Authorizations

Authorization
string
header
required

Enter Auth0 JWT token

Headers

Zuba-Account-Id
string<uuid>

Optional. Names an owned sub-account (UUID) to read as: a conversion booked on any other account's balance, the master's included, returns 404. Omit to read any conversion of the master (tenant) and its sub-accounts. The master's own account id acts as no header. Naming an account this key does not own returns 403 not_account_owner.

Path Parameters

id
string
required

Response

The conversion.

createdAt
string
required

Created at (ISO 8601)

fee
string
required

Per-conversion fee charged on the source leg, in feeCurrency, as locked on the quote: the greater of the basis-point charge and the fixed floor from your pricing, "0.0000" when your pricing carries none. Part of the source amount, not added to it.

Example:

"0.0000"

feeCurrency
string
required

Fee currency

Example:

"USD"

id
string
required

Conversion id

Example:

"uuid"

rate
string
required

All-in rate applied: source units per 1 target unit

Example:

"1.09860000"

sourceAmount
string
required

Debited from the source balance

Example:

"500.0000"

sourceCurrency
string
required

Source currency

Example:

"USD"

status
enum<string>
required

pending while the conversion is in flight, with the source amount already debited; completed once the target amount is credited; failed when nothing was converted and the source amount is back on the source balance

Available options:
completed,
failed,
pending
Example:

"completed"

targetAmount
string
required

Credited to the target balance

Example:

"455.1200"

targetCurrency
string
required

Target currency

Example:

"EUR"

accountId
string<uuid>

Owning sub-account; present when the conversion was made in a sub-account context (Zuba-Account-Id header) and booked on that sub-account's balance. Absent = the conversion booked on your master account.