Get advanced balance by id

Get info about advanced balance by its id

Get advanced balance by id

post
Header parameters
x-api-public-keystringOptional

Public API-key

x-api-signaturestringOptional

Signing the request body with a private API-key

Content-typestringOptional

Request content type

Example: application/json
Body
objectOptional

Request body for getting the advance balance

Responses
200Success
application/json
post
POST /api-gateway/advanced-balance HTTP/1.1
Host: ocp.onchainpay.io
Content-Type: application/json
Accept: */*
Content-Length: 2

{}
200Success
{
  "success": true,
  "response": {
    "advancedBalanceId": "b6a16714-ac8c-4c81-b46e-8153d192e1f5",
    "currency": "USD",
    "blocked": true,
    "blockReason": null,
    "balance": "4711.33",
    "availableCurrenciesForDeposit": [
      "USDT"
    ],
    "tariffs": [
      {
        "id": "e9aa1162-d9e2-4243-a13d-48990f01f09d",
        "action": "EXCHANGE_AUTO",
        "amount": "0.03",
        "type": "PERCENT",
        "minAmount": "0.1",
        "maxAmount": "3000",
        "invoiceAdditionalFee": true
      }
    ]
  }
}

Last updated