Addresses
Create a deposit address
POST
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.
application/json- body
asset*stringnetwork*V2NetworkValue 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*stringFormat
urinotify_detected?booleanSend payment.detected.
Default
trueconfirmations?integerRange
1 <= value <= 1000Default
1priority?stringDefault
"default"any_token?booleanAccept every supported token of the network.
Default
falsemetadata?Up to 20 string values of at most 256 characters, echoed on the object and in every event.
The existing address.
application/json- response
object?stringid?stringdeposit_address?stringasset?stringnetwork?stringdestination?array<>webhook_url?stringnotify_detected?booleanconfirmations?integerpriority?stringany_token?booleanminimum_amount?stringMultiplied for splits.
metadata?Up to 20 string values of at most 256 characters, echoed on the object and in every event.
qr_code_url?stringcreated_at?stringFormat
date-timecurl -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"}