Getting a list of PayIn addresses
The method allows you to get PayIn address data (address, balance, identifier, etc.)
Header parameters
x-api-public-keystringOptional
Public API-key
x-api-signaturestringOptional
Signing the request body with a private API-key
Content-typestringOptionalExample:
Request content type
application/json
Body
objectOptional
Request body for getting the advance balance
Responses
200Success
application/json
post
POST /api-gateway/account-addresses HTTP/1.1
Host: ocp.onchainpay.io
Content-Type: application/json
Accept: */*
Content-Length: 2
{}
200Success
{
"success": true,
"response": [
{
"id": "3632eaf6-402b-4479-9b3d-a54c9eba4c95",
"advancedBalanceId": "b6a16714-ac8c-4c81-b46e-8153d192e1f5",
"currency": "USDT",
"network": "ethereum",
"address": "0x00000005707Bf50EfA35a2db020eDe9Ac0780b9f",
"tag": null,
"balance": "852.345527"
}
]
}
Last updated