Skip to main content
POST
/
api
/
v1
/
withdraw
Create Withdrawal
curl --request POST \
  --url https://sandbox.oumla.com/api/v1/withdraw \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "to": "<string>",
  "amount": "<string>",
  "from": [
    "<string>"
  ],
  "network": "tBTC",
  "clientShare": "<string>"
}
'
{
  "data": {
    "id": "<string>",
    "status": "pending",
    "hash": "<string>"
  }
}

Authorizations

x-api-key
string
header
required

API key for authentication. Obtain your API key from the dashboard.

Headers

x-sdk-version
string
default:1.0.0

SDK version header

Body

application/json

Request body for create withdrawal

Create withdraw request object

to
string
required
amount
string
required
from
string[]
required
network
enum<string>
required
Available options:
tBTC,
tETH,
AVAX,
FUJI,
SANDBOX
clientShare
string
required

Response

Withdrawal created successfully

Withdraw response object

data
object