Transfer balances between your virtual/fiat currency wallets.
Token transfer request
Successfully transfered balance(s).
Invalid request.
Unauthorized access.
Service unavailable or server error.
{- "source": "USD",
- "amount": 123,
- "target": "TOK",
- "reference_type": "invoicing.token_exchange.id",
- "reference_id": "vtok_2Acn1Y46LaM9csSoEWYqUyESwi7"
}
{- "status": "Success",
- "message": [ ],
- "codes": [ ],
- "payload": {
- "received_amount": 1000,
- "received_currency": "TOK",
- "balance_transfer_response": {
- "account_id": "acct_2TiDFXHVFMlAuyy7ovvz3YPKv9b",
- "balance_transfer_type": "facilitator_currency_swap",
- "balance_transfer_id": "bt_2V2QRiOuoXSntU4aEkW4RHSttmt",
- "invoice_id": "inv_2V2XDLW6zogChdShdFh8WKOhHii",
- "transfer_items": [
- {
- "source_wallet_id": "wal_2V2cKKIT5fKwlYVYNBRLaWZGmQX",
- "source_account_id": "acct_2TiDFXHVFMlAuyy7ovvz3YPKv9b",
- "destination_wallet_id": "wal_2V2cKMJI4AtLkF8eQaVi1NAl9wL",
- "destination_account_id": "acct_2UU7yuHWGs2vwShyoUKeebMk5E5",
- "amount": 10000,
- "currency": "TOK",
- "transfer_item_type": "facilitator_currency_swap_source_virtual",
- "description": "integrator's TOK source wallet -> integrator's TOK facilitator wallet"
}, - {
- "source_wallet_id": "wal_2V2cKPhz9mEMnlVmAAsurzkfa9o",
- "source_account_id": "acct_2TiDFXHVFMlAuyy7ovvz3YPKv9b",
- "destination_wallet_id": "wal_2V2cKKKnzmnVvJCl02O0Bc9KnfV",
- "destination_account_id": "acct_2UU7yuHWGs2vwShyoUKeebMk5E5",
- "amount": 1000,
- "currency": "USD",
- "transfer_item_type": "facilitator_currency_swap_sink_fiat",
- "description": "integrator's USD facilitator wallet -> integrator's USD sink wallet"
}
], - "reference_type": "",
- "reference_id": "",
- "description": "Token transfer",
- "metadata": null,
- "failure_reason": ""
}
}
}