Object
The transfer preview object
Result of a dry run that passed every check.
Fields
objectstringrequiredkindstringrequiredOne of
user_to_user,conversion,onramp,offramp.sourceobjectrequiredA resolved source or destination, as returned on a transfer.
source.typestringrequiredOne of
wallet,fiat,payout_account.source.wallet_idstringStarts with
wal_.source.payout_account_idstringStarts with
pa_.source.user_idstringOwner of the wallet or payout account. Absent for a fiat source.
Starts with
usr_.source.assetstringA wallet asset code. The set is data on
GET /routes. In 1.0 it holds two assets:ndeipi-points: Ndeipi Points, bought with fiat on Absa or PayPal at a fixed price per currency and cashed out the same way. Every user's default asset.ndeipi-coin: NdeipiCoin, opt-in. Its price moves. It is bought and sold only by converting points at a locked quote (POST /quotes), never directly with fiat. A wallet needsacknowledge_price_risk: trueto create.
source.currencystringLower-case ISO 4217 fiat currency code.
source.railstringA payment rail code, published by
GET /routes. Not an enum by design.destinationobjectrequiredA resolved source or destination, as returned on a transfer.
destination.typestringrequiredOne of
wallet,fiat,payout_account.destination.wallet_idstringStarts with
wal_.destination.payout_account_idstringStarts with
pa_.destination.user_idstringOwner of the wallet or payout account. Absent for a fiat source.
Starts with
usr_.destination.assetstringA wallet asset code. The set is data on
GET /routes. In 1.0 it holds two assets:ndeipi-points: Ndeipi Points, bought with fiat on Absa or PayPal at a fixed price per currency and cashed out the same way. Every user's default asset.ndeipi-coin: NdeipiCoin, opt-in. Its price moves. It is bought and sold only by converting points at a locked quote (POST /quotes), never directly with fiat. A wallet needsacknowledge_price_risk: trueto create.
destination.currencystringLower-case ISO 4217 fiat currency code.
destination.railstringA payment rail code, published by
GET /routes. Not an enum by design.amountstringrequiredNon-negative decimal string. Precision is limited per asset or currency (see
Route).estimatedobjectrequiredIndicative figures at the current rate; not a quote.
estimated.ratestringestimated.feesarray of objectestimated.amount_creditedstringNon-negative decimal string. Precision is limited per asset or currency (see
Route).estimated.amount_paid_outstringNon-negative decimal string. Precision is limited per asset or currency (see
Route).estimated.settlement_time_secondsinteger
{
"object": "transfer_preview",
"kind": "user_to_user",
"source": {
"type": "wallet",
"wallet_id": "wal_01JA8Z4K2V9QW3H6Y7XKD2M0RS",
"user_id": "usr_01JA8Z2F5G6H7J8K9M0N1P2Q3R",
"asset": "ndeipi-points"
},
"destination": {
"type": "wallet",
"wallet_id": "wal_01JA8Z5B7C1DE2F3G4H5J6K7LM",
"user_id": "usr_01JA8Z3H6J7K8M9N0P1Q2R3S4T",
"asset": "ndeipi-points"
},
"amount": "25.00",
"estimated": {
"rate": "1",
"fees": [],
"amount_credited": "25.00",
"settlement_time_seconds": 0
}
}