Withdraw From Account

POST https://api.sfox.com/v1/user/withdraw

Initiate a withdrawal from your sFOX account to a crypto address or wire transfer to your linked bank account.

Body Parameters

NameTypeDescription

currency required

string

The currency to withdraw

amount required

number

The amount of the currency to withdraw

address

string

The crypto address to withdraw to. Required if currency is NOT usd

isWire

boolean

Specify the bank withdrawal method. Possible values: true: Wire Transfer (default) false: ACH Transfer

memo

string

Optional description/memo field

Responses

200
{
    "success": true,
    "id": "5pauoj52osolwphwnioqxx2zcekikm23x2hyq2rkotockiysng3y5k245q",
    "atx_id": 1524562,
    "tx_status": 1100,
    "currency": "eth",
    "amount": 0.1,
    "address": "0x12345"
}

Example Requests

curl -H 'Authorization: Bearer <API_TOKEN>' \
-H 'Content-Type: application/json' \
-X POST \
--data '{"amount": 1, "currency": "eth", "address": "0x123456"}' \
'https://api.sfox.com/v1/user/withdraw'

Last updated