Getting a list of PayOut addresses

The method allows you to get balances for this account.

Getting a list of PayOut addresses

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

Request body for getting the advance balance

advancedBalanceIdstringrequired

Advance balance identifier

Example: 50781c26-1005-4b1e-94ea-a19a17017e90
Responses
application/json
objectoptional

Successful response

post
POST /api-gateway/payout-balances HTTP/1.1
Host: ocp.onchainpay.io
Content-Type: application/json
Accept: */*
Content-Length: 60

{
  "advancedBalanceId": "50781c26-1005-4b1e-94ea-a19a17017e90"
}
200Success
{
  "success": true,
  "response": [
    {
      "id": "47ce6b06-bce3-4172-b2a4-ce5206487491",
      "advancedBalanceId": "50781c26-1005-4b1e-94ea-a19a17017e90",
      "currency": "USDT",
      "network": "ethereum",
      "address": "0x00000005707Bf50EfA35a2db020eDe9Ac0780b9f",
      "tag": null,
      "balance": "852.345527",
      "alias": "My address alias",
      "comment": "My some address comment."
    }
  ]
}

Last updated