Addresses

Create a deposit address

POST
/v2/addresses

One address per network and webhook_url: creating again with the same settings answers the same address with 200; the same webhook_url with other settings answers 409 webhook_url_in_use.

Request Body

application/json
  1. body
asset*string
network*V2Network
Value in"ethereum""bsc""polygon""base""arbitrum""optimism""avalanche""tron""solana""bitcoin""litecoin""bitcoincash""dogecoin"
destination*|array<>

One address, or up to 20 distinct ones whose shares sum to 1.

webhook_url*string
Formaturi
notify_detected?boolean

Send payment.detected.

Defaulttrue
confirmations?integer
Range1 <= value <= 1000
Default1
priority?string
Default"default"
any_token?boolean

Accept every supported token of the network.

Defaultfalse
metadata?

Up to 20 string values of at most 256 characters, echoed on the object and in every event.

Response Body

The existing address.

application/json
  1. response
object?string
id?string
deposit_address?string
asset?string
network?string
destination?array<>
webhook_url?string
notify_detected?boolean
confirmations?integer
priority?string
any_token?boolean
minimum_amount?string

Multiplied for splits.

metadata?

Up to 20 string values of at most 256 characters, echoed on the object and in every event.

qr_code_url?string
created_at?string
Formatdate-time
Example Request
curl -X POST 'https://api.noncepay.app/v2/addresses' \  -H 'Content-Type: application/json' \  -d '{  "asset": "string",  "network": "ethereum",  "destination": "string",  "webhook_url": "http://example.com"}'
Example Response
{  "object": "address",  "id": "string",  "deposit_address": "string",  "asset": "string",  "network": "string",  "destination": [    {      "address": "string",      "share": "string"    }  ],  "webhook_url": "string",  "notify_detected": true,  "confirmations": 0,  "priority": "string",  "any_token": true,  "minimum_amount": "string",  "metadata": {    "property1": "string",    "property2": "string"  },  "qr_code_url": "string",  "created_at": "2019-08-24T14:15:22Z"}