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

Update Coin Settings

PATCH
/api/v1/p/coin-settings
Update the coin settings of the merchant.

Request

Header Params

Body Params application/json

Example
{
    "coinConfig": [
        {
            "coinId": 1,
            "discountRate": 0,
            "enabled": true
        }
    ]
}

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 PATCH 'https://api.nullpay.net/api/v1/p/coin-settings' \
--header 'x-api-key;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "coinConfig": [
        {
            "coinId": 1,
            "discountRate": 0,
            "enabled": true
        }
    ]
}'

Responses

🟢200Success
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:14
Previous
Coin Settings
Next
Withdrawal History
Built with