Create an address
Creates a new cryptocurrency address. This endpoint only allows JSON data.
Endpoint
POST https://api.sellgate.io/v1/address
Request body
Parameter | Type | Required | Description |
---|---|---|---|
crypto | object | Yes | The cryptocurrency to accept (e.g., BTC, ETH, USDT). |
webhook | string | Yes | URL to receive payment notifications on your server. |
- A list of supported cryptocurrencies can be found here: Cryptocurrencies
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"
}'