Creating a new PayOut wallet address
The method allows you to create a new PayOut 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
aliasstring | nullOptionalExample:
Address alias
My address alias
commentstring | nullOptionalExample:
Comment to the address
My some address comment.
Responses
200Success
application/json
post
POST /api-gateway/create-payout-address HTTP/1.1
Host: ocp.onchainpay.io
Content-Type: application/json
Accept: */*
Content-Length: 100
{
"currency": "USDT",
"network": "USDT",
"alias": "My address alias",
"comment": "My some address comment."
}
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