Creating a new PayOut wallet address

The method allows you to create a new PayOut address.

Creating a new PayOut wallet address

post

/api-gateway/create-payout-address

Header parameters
x-api-public-keystring

Public API-key

x-api-signaturestring

Signing the request body with a private API-key

Content-typestring

Request content type

Example: application/json
Body
currencystringrequired

Coin ticker

Example: USDT
networkstringrequired

Network name

Example: USDT
aliasstring | null

Address alias

Example: My address alias
commentstring | null

Comment to the address

Example: My some address comment.
Responses
curl -L \
  --request POST \
  --url 'https://ocp.onchainpay.io/api-gateway/create-payout-address' \
  --header 'Content-Type: application/json' \
  --data '{"currency":"USDT","network":"USDT","alias":"My address alias","comment":"My some address comment."}'
{
  "success": true,
  "response": [
    {
      "id": "42a54680-0511-4aa0-ba46-5cf1b7de1fd3",
      "advancedBalanceId": "1503cf18-597f-447f-b172-112dfe377e1b",
      "currency": "USDT",
      "network": "ethereum",
      "address": "0x00000005707Bf50EfA35a2db020eDe9Ac0780b9f",
      "balance": "852.345527",
      "tag": null,
      "alias": "My address alias",
      "comment": "My some address comment."
    }
  ]
}

Last updated