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

Fiat Withdraw

POST
/api/v1/p/withdraw/fiat
Withdraw the fiat currency, convert to the coin, and send to the address.

Request

Header Params

Body Params application/json

Example
{
    "coinId": 1,
    "fiatCurrency": "USD",
    "fiatAmount": "100",
    "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/fiat' \
--header 'x-api-key;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "coinId": 1,
    "fiatCurrency": "USD",
    "fiatAmount": "100",
    "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:29
Previous
Withdraw
Next
Health Check
Built with