NullPay
  1. Withdraw
NullPay
  • Private
    • Transaction
      • Transaction History
      • Create Transaction
      • Transaction Detail
    • Merchant
      • Balances
      • Coin Settings
      • Update Coin Settings
    • Withdraw
      • Withdrawal History
        GET
      • Withdraw
        POST
      • Fiat Withdraw
        POST
  • Public
    • Health Check
      GET
    • Get Coins
      GET
    • Get Currencies
      GET
  • IPN Webhooks
    • IPN Handler
      POST
  1. Withdraw

Withdraw

POST
/api/v1/p/withdraw
Withdraw the coin to the address.

Request

Header Params

Body Params application/json

Example
{
    "coinId": 1,
    "amount": "0.01",
    "address": "0x12345678901"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.nullpay.net/api/v1/p/withdraw' \
--header 'x-api-key;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "coinId": 1,
    "amount": "0.01",
    "address": "0x12345678901"
}'

Responses

🟢201Success
application/json
Body

Example
{}
🟠400Bad request, please check the request payload.
🟠401Unauthorized request, please check the API key.
🟠408Request timeout, please try again later.
🟠429Too many requests, please try again later.
Modified at 2024-07-20 10:32:28
Previous
Withdrawal History
Next
Fiat Withdraw
Built with