POST
/
transfer
/
withdraw
curl --request POST \
  --url https://staging-api.getpartna.com/v4/transfer/withdraw \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --header 'x-api-user: <api-key>' \
  --data '{
  "accountNumber": "07999292929",
  "address": "0xA0b86991c6218b36c1d19D4a2e9eb0cE3606eB48",
  "amount": 2,
  "bankCode": "00011",
  "currency": "USDC",
  "fromAccount": "user1",
  "network": "ethereum",
  "transactionReference": "1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d",
  "type": "crypto"
}'
{
  "data": {},
  "message": "request completed"
}

Authorizations

x-api-key
string
header
required
x-api-user
string
header
required

Body

application/json
amount
number
required

amount in number

currency
enum<string>
required

Currency

Available options:
BNB,
BTC,
ETH,
USDC,
USDT,
CUSD,
NGN,
GHS
fromAccount
string
required

From account

type
enum<string>
required

Specify the type of withdrawal

Available options:
crypto,
naira,
ghanaiancedis
accountNumber
string

Specify a valid account number for the supported currencies

address
string

Valid crypto address, only required when a crypto currency is to be withdrawn

bankCode
string

Specify a valid bank code for the supported currencies

network
enum<string>

Valid crypto network, only required when a crypto currency is to be withdrawn

Available options:
avalanche,
binance,
bitcoin,
celo,
ethereum,
polygon,
tron,
solana
transactionReference
string

Transaction reference in hexadecimal

Response

200
application/json
withdraw success
data
object
message
string