Documentation
Address API
Create an address

Create an address

Creates a new cryptocurrency address. This endpoint only allows JSON data.

Endpoint

POST https://api.sellgate.io/v1/address

Run In Postman (opens in a new tab)

Request body

ParameterTypeRequiredDescription
cryptoobjectYesThe cryptocurrency to accept (e.g., BTC, ETH, USDT).
webhookstringYesURL to receive payment notifications on your server.

Example request

{
  "crypto": {
    "network": "ETH",
    "coin": "ETH",
    "address": "0xB1DA646D1cD015d205a99198e809724D5C78109d"
  },
  "webhook": "https://example.com/webhook"
}

Example response

{
  "success": true,
  "receive_address": "0x65eB4b85C9fE20c5254a21EA9246b0cB245883ca",
  "payout_address": "0xB1DA646D1cD015d205a99198e809724D5C78109d",
  "webhook": "https://example.com/webhook"
}

Example code

curl -X POST 'https://api.sellgate.io/v1/address' \
-H 'Content-Type: application/json' \
-d '{
    "crypto": {
      "network": "ETH",
      "coin": "ETH",
      "address": "0xB1DA646D1cD015d205a99198e809724D5C78109d"
    },
    "webhook": "https://example.com/webhook"
}'