Creating a new business wallet address

The method allows you to create a new business address.

Creating a new business wallet address

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 creating a new address

currencystringRequired

Coin ticker

Example: USDT
networkstringRequired

Network name

Example: USDT
aliasstringRequired

Address alias

Example: USDT
commentstringRequired

Comment to the address

Example: 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