Bank
Estimate corridor transfer
Estimates the amounts for a bank transfer via specified corridor
post/api/v3/bank/estimate/{corridor}
Request
- Base URLhttps://api-baas.wirexapp.com
- URLhttps://api-baas.wirexapp.com/api/v3/bank/estimate/{corridor}
- Auth
- API key in header Authorization
- or API key in header X-Chain-Id and API key in header X-User-Wallet and API key in header Authorization
Path parameters
corridorstring required
Corridor name (sepa, ach, faster-payments, pix, spei, fedwire, swift, cips, chats, fps_hk, imps, etc.)
Request body */*
Example request
{
"account_id": "550e8400-e29b-41d4-a716-446655440000",
"destination_amount": 100,
"destination_currency": "INR",
"recipient_id": "550e8400-e29b-41d4-a716-446655440000",
"recipient_payment_details_id": "550e8400-e29b-41d4-a716-446655440000",
"source_tokens": [
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
]
}Response
OK
Example response
{
"amount": 100,
"currency": "INR",
"estimated_amounts": [
{
"amount": 109.41123037,
"fee_amount": 0.5,
"fee_precise_amount": "500000000000000000",
"precise_amount": "109411230370000000000",
"rate": 1.09345623,
"token_address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"token_symbol": "USDC"
}
],
"expires_at": 1617223200,
"id": "00000000-0000-0000-0000-000000000001"
}Changes
No recorded changes to this operation across all 2 revisions of this API.