A Toman withdrawal pays Toman from your balance into a bank account, by its IBAN (Sheba). The IBAN must be registered on your SwapWallet account and be in your own name. Registering one needs identity verification at level «متوسط»: national ID, date of birth and a bank card in your own name. It takes about a minute in the app and is done once.
It takes two calls:
Amounts are whole Toman (IRT). A large withdrawal is paid in several bank transfers, one after another, listed in fiatWithdraw.transfers; a large daily total can be held for a manual review before it’s sent. The withdrawal stays PENDING until the bank has taken every transfer.
Balance and limit errors (INSUFFICIENT_USER_BALANCE, USER_DO_NOT_CONSIDER_NETWORK_FEE, LIMIT_DAILY_WITHDRAW_EXCEEDED, LIMIT_MONTHLY_WITHDRAW_EXCEEDED, USER_BALANCE_LOCKED) carry one more field, error.suggestionAmount: the most you can withdraw right now, as a Money object.
What a Toman withdrawal of a given amount to a given IBAN would look like.
feeMoneyRequiredWithdrawal fee for this amount and IBAN, in IRT.
numberdecimal stringRequiredThe amount as a decimal string. Trailing zeros are dropped, so 0.5, not 0.50.
unitstringRequiredThe token symbol, such as USDT, TON or BTC. IRT is the Toman; USD marks a value in US dollars.
receivedAmountMoneyRequiredamount − fee when feeDeductType is INTERNAL, amount when it’s EXTERNAL. Note that a withdrawal created with INTERNAL sends the full amount and takes fee from your balance on top.
numberdecimal stringRequiredThe amount as a decimal string. Trailing zeros are dropped, so 0.5, not 0.50.
unitstringRequiredThe token symbol, such as USDT, TON or BTC. IRT is the Toman; USD marks a value in US dollars.
isInstantWithdrawAvailablebooleanRequiredWhether this IBAN can be paid by an instant account-to-account transfer. Currently true only for Bank Saderat IBANs. Not a guarantee: the bank network has the last word.
minWithdrawMoneyRequiredSmallest amount you can withdraw.
numberdecimal stringRequiredThe amount as a decimal string. Trailing zeros are dropped, so 0.5, not 0.50.
unitstringRequiredThe token symbol, such as USDT, TON or BTC. IRT is the Toman; USD marks a value in US dollars.
maxWithdrawMoneyRequiredThe most you can withdraw to this IBAN now: what your Toman balance covers with the fees on top, within your daily and monthly limits.
numberdecimal stringRequiredThe amount as a decimal string. Trailing zeros are dropped, so 0.5, not 0.50.
unitstringRequiredThe token symbol, such as USDT, TON or BTC. IRT is the Toman; USD marks a value in US dollars.
ibanstringRequiredThe IBAN you asked about.
bankstringRequiredBank of the IBAN, such as SAMAN.
predictedDoneDateISO 8601 timestampRequiredNot an estimate yet: it currently returns the time of the request. Don’t rely on it.
{
"fee": {
"number": "2200",
"unit": "IRT"
},
"receivedAmount": {
"number": "4997800",
"unit": "IRT"
},
"isInstantWithdrawAvailable": false,
"minWithdraw": {
"number": "15000",
"unit": "IRT"
},
"maxWithdraw": {
"number": "48239100",
"unit": "IRT"
},
"iban": "IR040560611828005553419001",
"bank": "SAMAN",
"predictedDoneDate": "2026-11-20T10:30:12.551204Z"
}A Transaction object with type FIAT_WITHDRAW. Its supportCode is the whole request’s; fiatWithdraw holds the details.
idintegerRequiredTransaction ID; for a withdrawal paid in several transfers, the first transfer’s.
supportCodestringRequiredCode to quote to support, such as SW-K7NP2QR-MXVT.
timestampintegerRequiredWhen SwapWallet recorded the transaction, in Unix milliseconds. For a crypto deposit, the time it was credited, not its block time.
typeenumRequiredAlways FIAT_WITHDRAW.
Possible values
FIAT_WITHDRAWstatusenumRequiredWhere the withdrawal stands.
Possible values
PENDINGAt least one transfer hasn’t been taken by the bank yet.SUCCEEDThe bank has taken every transfer.networkenumRequiredAlways INTERNAL.
Possible values
INTERNALexchangeFeeMoneyRequiredTotal withdrawal fee, the sum of every transfer’s fee.
numberdecimal stringRequiredThe amount as a decimal string. Trailing zeros are dropped, so 0.5, not 0.50.
unitstringRequiredThe token symbol, such as USDT, TON or BTC. IRT is the Toman; USD marks a value in US dollars.
fiatWithdrawobjectRequiredWithdrawal details.
amountMoneyRequiredTotal amount sent to the bank account, in IRT, across all transfers.
numberdecimal stringRequiredThe amount as a decimal string. Trailing zeros are dropped, so 0.5, not 0.50.
unitstringRequiredThe token symbol, such as USDT, TON or BTC. IRT is the Toman; USD marks a value in US dollars.
valueMoneyRequiredValue in US dollars (USD) at the time of the transaction.
numberdecimal stringRequiredThe amount as a decimal string. Trailing zeros are dropped, so 0.5, not 0.50.
unitstringRequiredThe token symbol, such as USDT, TON or BTC. IRT is the Toman; USD marks a value in US dollars.
userCurrencyValueMoneyRequiredThe same value in your account's display currency, usually IRT. It's converted at the current rate each time you read it, so it moves with the market.
numberdecimal stringRequiredThe amount as a decimal string. Trailing zeros are dropped, so 0.5, not 0.50.
unitstringRequiredThe token symbol, such as USDT, TON or BTC. IRT is the Toman; USD marks a value in US dollars.
ibanstringRequiredDestination IBAN (Sheba).
bankstringRequiredBank of the IBAN, such as SAMAN or MELLAT.
holderNamestringRequiredAccount holder’s name.
predictedDoneTimeISO 8601 timestampWhen the bank is expected to settle it. Left out when there is no estimate still ahead.
publicReceiptUrlstringLink to the bank receipt. Present only for a single-transfer withdrawal that the bank has taken.
trackingCodestringBank tracking code. Present only for a single-transfer withdrawal that the bank has taken.
trackingCodeMethodenumWhich kind of code trackingCode is.
Possible values
A2AAccount-to-account; the code is a tracking number (شماره پیگیری).ACHPAYA; the code is a reference code (کد رهگیری).RTGSSATNA; the code is a reference code (کد رهگیری).transfersarray of objectsRequiredThe bank transfers the withdrawal is paid in. A large withdrawal is split into several, sent one after another.
idintegerRequiredID of this transfer.
amountMoneyRequiredAmount of this transfer.
numberdecimal stringRequiredThe amount as a decimal string. Trailing zeros are dropped, so 0.5, not 0.50.
unitstringRequiredThe token symbol, such as USDT, TON or BTC. IRT is the Toman; USD marks a value in US dollars.
feeMoneyRequiredWithdrawal fee for this transfer.
numberdecimal stringRequiredThe amount as a decimal string. Trailing zeros are dropped, so 0.5, not 0.50.
unitstringRequiredThe token symbol, such as USDT, TON or BTC. IRT is the Toman; USD marks a value in US dollars.
statusenumRequiredWhether the bank has taken this transfer.
Possible values
PENDINGNot yet sent to or taken by the bank.SUCCEEDThe bank has taken it.methodenumHow it’s paid. Left out until it’s sent.
Possible values
A2AAccount-to-account; the code is a tracking number (شماره پیگیری).ACHPAYA; the code is a reference code (کد رهگیری).RTGSSATNA; the code is a reference code (کد رهگیری).predictedDoneTimeISO 8601 timestampExpected settlement time, when there is one still ahead.
publicReceiptUrlstringLink to the bank receipt, once there is one.
trackingCodestringBank tracking code, once there is one.
trackingCodeMethodenumWhich kind of code trackingCode is.
Possible values
A2AAccount-to-account; the code is a tracking number (شماره پیگیری).ACHPAYA; the code is a reference code (کد رهگیری).RTGSSATNA; the code is a reference code (کد رهگیری).{
"id": 3052688,
"supportCode": "SW-W9FP3ZC-QL7M",
"timestamp": 1795170645000,
"type": "FIAT_WITHDRAW",
"status": "PENDING",
"network": "INTERNAL",
"exchangeFee": {
"number": "2200",
"unit": "IRT"
},
"fiatWithdraw": {
"amount": {
"number": "5000000",
"unit": "IRT"
},
"value": {
"number": "18.35536",
"unit": "USD"
},
"userCurrencyValue": {
"number": "5000000",
"unit": "IRT"
},
"iban": "IR040560611828005553419001",
"bank": "SAMAN",
"holderName": "مریم کاظمی",
"transfers": [
{
"id": 3052688,
"amount": {
"number": "5000000",
"unit": "IRT"
},
"fee": {
"number": "2200",
"unit": "IRT"
},
"status": "PENDING"
}
]
}
}/v1/bank/fiat-withdraw/configReturns the withdrawal fee for an amount and IBAN, the most you can withdraw to it right now, and its bank. Nothing is withdrawn. Call it before creating a withdrawal and pass the fee you get.
ibanstringRequiredIBAN registered on your account, such as IR040560611828005553419001.
amountdecimal stringRequiredAmount in Toman. The fee is worked out from it.
feeDeductTypeenumOnly changes how receivedAmount is worked out.
Possible values
INTERNALreceivedAmount is amount − fee.EXTERNALreceivedAmount is amount.Returns a Toman withdrawal preview object in result.
IBAN_NOT_FOUNDThe IBAN isn’t registered on your account.
MINIMUM_SETTLEMENT_DIDNT_MEETamount is below the minimum.
INSUFFICIENT_USER_BALANCEYour Toman balance doesn’t cover amount plus the fee.
LIMIT_DAILY_WITHDRAW_EXCEEDEDOver your daily Toman withdrawal limit.
LIMIT_MONTHLY_WITHDRAW_EXCEEDEDOver your monthly Toman withdrawal limit.
TEMPORARY_DISABLEDToman withdrawals are paused for now.
curl -G https://swapwallet.app/api/v1/bank/fiat-withdraw/config \
-H "Authorization: Bearer $SWAPWALLET_API_KEY" \
-d iban=IR040560611828005553419001 \
-d amount=5000000const response = await fetch('https://swapwallet.app/api/v1/bank/fiat-withdraw/config?iban=IR040560611828005553419001&amount=5000000', {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.SWAPWALLET_API_KEY}`,
},
});
const data = await response.json();
console.log(data.result);import os
import requests
response = requests.get(
"https://swapwallet.app/api/v1/bank/fiat-withdraw/config",
headers={"Authorization": f"Bearer {os.environ['SWAPWALLET_API_KEY']}"},
params={"iban": "IR040560611828005553419001", "amount": "5000000"},
)
print(response.json()["result"])<?php
$ch = curl_init('https://swapwallet.app/api/v1/bank/fiat-withdraw/config?iban=IR040560611828005553419001&amount=5000000');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('SWAPWALLET_API_KEY'),
],
]);
$data = json_decode(curl_exec($ch), true);
print_r($data['result']);package main
import (
"fmt"
"io"
"net/http"
"os"
)
func main() {
req, _ := http.NewRequest("GET", "https://swapwallet.app/api/v1/bank/fiat-withdraw/config?iban=IR040560611828005553419001&amount=5000000", nil)
req.Header.Set("Authorization", "Bearer "+os.Getenv("SWAPWALLET_API_KEY"))
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
data, _ := io.ReadAll(res.Body)
fmt.Println(string(data))
}{
"status": "OK",
"result": {
"fee": {
"number": "2200",
"unit": "IRT"
},
"receivedAmount": {
"number": "4997800",
"unit": "IRT"
},
"isInstantWithdrawAvailable": false,
"minWithdraw": {
"number": "15000",
"unit": "IRT"
},
"maxWithdraw": {
"number": "48239100",
"unit": "IRT"
},
"iban": "IR040560611828005553419001",
"bank": "SAMAN",
"predictedDoneDate": "2026-11-20T10:30:12.551204Z"
}
}/v1/bank/fiat-withdrawWithdraws Toman from your balance to an IBAN registered on your account. The amount and the fee leave your balance at once; the bank transfer follows.
Pass fee from the preview: if the fee has changed since, the request fails instead of charging the new fee.
With the default INTERNAL, the bank account receives the full amount and the fee is taken from your Toman balance on top. The preview’s receivedAmount assumes the opposite, so budget for amount + fee.
amountMoneyRequiredAmount to withdraw, in IRT.
numberdecimal stringRequiredThe amount as a decimal string. Trailing zeros are dropped, so 0.5, not 0.50.
unitstringRequiredThe token symbol, such as USDT, TON or BTC. IRT is the Toman; USD marks a value in US dollars.
ibanstringRequiredIBAN registered on your account, in your own name.
feeMoneynullableThe fee you expect, from the preview. If it doesn’t match, the request fails with TRANSACTION_FEE_HAS_CHANGED. Recommended.
numberdecimal stringRequiredThe amount as a decimal string. Trailing zeros are dropped, so 0.5, not 0.50.
unitstringRequiredThe token symbol, such as USDT, TON or BTC. IRT is the Toman; USD marks a value in US dollars.
feeDeductTypeenumnullableHow the fee is applied.
Possible values
INTERNALThe bank account receives amount; your balance goes down by amount + fee.EXTERNALThe fee for amount is added to the transfer itself, so the bank account receives amount + that fee, and the fee for the larger transfer is taken from your balance on top. Compare fee with that larger fee.remarkstringnullableA private note for your own records, saved on the transaction in the app.
Returns the Toman withdrawal transaction in result, with status PENDING.
IBAN_NOT_FOUNDThe IBAN isn’t registered on your account. Register it in the app; that needs identity verification at level «متوسط».
TRANSACTION_FEE_HAS_CHANGEDfee doesn’t match the current fee. Preview again.
MINIMUM_SETTLEMENT_DIDNT_MEETamount is below the minimum.
INSUFFICIENT_USER_BALANCEYour Toman balance doesn’t cover amount plus the fee.
LIMIT_DAILY_WITHDRAW_EXCEEDEDOver your daily Toman withdrawal limit.
LIMIT_MONTHLY_WITHDRAW_EXCEEDEDOver your monthly Toman withdrawal limit.
INVALID_TOKEN_ENUMamount.unit isn’t IRT.
USER_ACCOUNT_LIMITEDWithdrawals from your account are limited. Contact support.
TEMPORARY_DISABLEDToman withdrawals are paused for now.
curl -X POST https://swapwallet.app/api/v1/bank/fiat-withdraw \
-H "Authorization: Bearer $SWAPWALLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount": {
"number": "5000000",
"unit": "IRT"
},
"iban": "IR040560611828005553419001",
"fee": {
"number": "2200",
"unit": "IRT"
},
"remark": "Payroll, November"
}'const response = await fetch('https://swapwallet.app/api/v1/bank/fiat-withdraw', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.SWAPWALLET_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
amount: {
number: '5000000',
unit: 'IRT',
},
iban: 'IR040560611828005553419001',
fee: {
number: '2200',
unit: 'IRT',
},
remark: 'Payroll, November',
}),
});
const data = await response.json();
console.log(data.result);import os
import requests
response = requests.post(
"https://swapwallet.app/api/v1/bank/fiat-withdraw",
headers={"Authorization": f"Bearer {os.environ['SWAPWALLET_API_KEY']}"},
json={
"amount": {
"number": "5000000",
"unit": "IRT",
},
"iban": "IR040560611828005553419001",
"fee": {
"number": "2200",
"unit": "IRT",
},
"remark": "Payroll, November",
},
)
print(response.json()["result"])<?php
$ch = curl_init('https://swapwallet.app/api/v1/bank/fiat-withdraw');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('SWAPWALLET_API_KEY'),
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => json_encode([
'amount' => [
'number' => '5000000',
'unit' => 'IRT',
],
'iban' => 'IR040560611828005553419001',
'fee' => [
'number' => '2200',
'unit' => 'IRT',
],
'remark' => 'Payroll, November',
]),
]);
$data = json_decode(curl_exec($ch), true);
print_r($data['result']);package main
import (
"fmt"
"io"
"net/http"
"os"
"strings"
)
func main() {
body := strings.NewReader(`{
"amount": {
"number": "5000000",
"unit": "IRT"
},
"iban": "IR040560611828005553419001",
"fee": {
"number": "2200",
"unit": "IRT"
},
"remark": "Payroll, November"
}`)
req, _ := http.NewRequest("POST", "https://swapwallet.app/api/v1/bank/fiat-withdraw", body)
req.Header.Set("Authorization", "Bearer "+os.Getenv("SWAPWALLET_API_KEY"))
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
data, _ := io.ReadAll(res.Body)
fmt.Println(string(data))
}{
"status": "OK",
"result": {
"id": 3052688,
"supportCode": "SW-W9FP3ZC-QL7M",
"timestamp": 1795170645000,
"type": "FIAT_WITHDRAW",
"status": "PENDING",
"network": "INTERNAL",
"exchangeFee": {
"number": "2200",
"unit": "IRT"
},
"fiatWithdraw": {
"amount": {
"number": "5000000",
"unit": "IRT"
},
"value": {
"number": "18.35536",
"unit": "USD"
},
"userCurrencyValue": {
"number": "5000000",
"unit": "IRT"
},
"iban": "IR040560611828005553419001",
"bank": "SAMAN",
"holderName": "مریم کاظمی",
"transfers": [
{
"id": 3052688,
"amount": {
"number": "5000000",
"unit": "IRT"
},
"fee": {
"number": "2200",
"unit": "IRT"
},
"status": "PENDING"
}
]
}
}
}