Creating a new business wallet address
The method allows you to create a new business address.
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
Request body for creating a new address
currencystringRequiredExample:
Coin ticker
USDT
networkstringRequiredExample:
Network name
USDT
aliasstringRequiredExample:
Address alias
USDT
commentstringRequiredExample:
Comment to the address
USDT
Responses
200Success
application/json
post
POST /api-gateway/business-address HTTP/1.1
Host: ocp.onchainpay.io
Content-Type: application/json
Accept: */*
Content-Length: 68
{
"currency": "USDT",
"network": "USDT",
"alias": "USDT",
"comment": "USDT"
}
200Success
{
"success": true,
"response": [
{
"id": "258e95ed-a3c2-4c85-bf6f-09f8b8f1c0be",
"advancedBalanceId": "19539253-58da-4ab4-965f-3f23f0cd63f3",
"currency": "USDT",
"network": "ethereum",
"address": "0x00000005707Bf50EfA35a2db020eDe9Ac0780b9f",
"tag": null,
"balance": "852.345527",
"alias": "My address alias",
"comment": "My some address comment."
}
]
}
Last updated