Withdrawal crypto

Your users can withdrawal crypto from your crypto balance.

post
Withdrawal crypto

https://b2b.daowallet.com/api/v2/withdrawal/crypto
Request
Response
Request
Headers
X-Processing-Signature
required
string
signature
X-Processing-Key
required
string
api key
Content-type
required
string
application/json
Body Parameters
optional
string
Json raw object
Response
200: OK
{"data": {
"id": 800,
"foreign_id": "first-withdrawal-user",
"type": "withdrawal",
"status": "processing",
"amount": 0.01
}
}
403: Forbidden
{"statusCode":403,"message":"Insufficient funds. Current balance 0"}

Field

Required

Description

foreign_id

YES

Any string. Max 128 chars.

currency

YES

BTC | ETH

amount

YES

number in human-friendly format

address

YES

target ETH | BTC address

CURL example

curl -X POST https://b2b.daowallet.com/api/v2/withdrawal/crypto \
-H 'Content-type: application/json' \
-H 'X-Processing-Key: zyj0tEv...FQlO5OArdQD' \
-H 'X-Processing-Signature: 779ed1a6d19...82bbe7ad53fb19d9c'
-d '{"foreign_id":"first-withdrawal-user","currency":"ETH","amount":0.01,"address":"0x9b0d5e8e4125353a0ad30f6a16ece43ac0a5ee9f"}'