Withdraw Funds

To initiate a withdrawal, the process is carried out in two steps:

  1. You initiate a withdrawal by sending a request to /balance/withdraw/request. The API returns a unique identifier for that request.

  2. You finalize the payout by calling /balance/withdraw/confirm passing only the previously received identifier.


1. Create a withdraw Request

POST /balance/withdraw/request

Create a Withdraw Request and get some interesting data.

Headers

Name
Value

Content-Type

application/json

X-API-KEY

<token>

Body

Name
Type
Description

currency*

string

address*

string

Address to send

amount*

number

Amount to send

Response

{
  "identifier": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "currency": "USDTBEP20",
  "address": "0x...",
  "amount": 0,
  "amount_usd": 0,
  "service_fee": 0,
  "service_fee_usd": 0,
  "expires_at": "2025-06-12T10:04:32.962319Z"
}

Example

curl -X POST "https://api.nord-pay.com/balance/withdraw/request" \
     -H "Content-Type: application/json" \
     -H "X-API-KEY: YOUR_API_KEY" \
     -d '{
       "currency": "USDTBEP20",
       "address": "0x1234...abcd",
       "amount": 100.0
     }'

2. Confirm the Withdrawal

POST /balance/withdraw/confirm

Confirming Withdraw Request and sent money.

Headers

Name
Value

Content-Type

application/json

X-API-KEY

<token>

Body

Name
Type
Description

identifier*

string

UUID Of your Withdraw Request

Response

{
    "detail": "Withdrawal request created and waiting for admin approval", 
    "status": "pending,
    "id": 1
}

Example

curl -X POST "https://api.nord-pay.com/balance/withdraw/confirm" \
     -H "Content-Type: application/json" \
     -H "X-API-KEY: YOUR_API_KEY" \
     -d '{
       "identifier": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
     }'

Last updated