Create

If you want get exactly fiat amount, then you can create invoice.

post
Create invoice

https://b2b.daowallet.com/api/v2/invoice/new
Request
Response
Request
Headers
Content-type
optional
string
application/json
X-Processing-Key
optional
string
api key
X-Processing-Signature
optional
string
signature
Body Parameters
optional
string
Json raw object
Response
200: OK
{
"foreign_id":"hzqky3SdrSG4CMwrOwT6bWakWGX1HAeY",
"status":"created",
"expired_at":"2020-06-09T10:14:13.047Z",
"client_amount":200,
"client_currency":"EUR",
"addresses":[
{
"address":"3BPnYXwMMeAt1UuHXUEomRByMWiUxDfZVn",
"expected_amount":0.02594724,
"crypto_currency":"BTC",
"rate_usd":0,
"rate_eur":7785.027
},
{
"address":"0xCDF64E06539390eF44a2E947BdDFC2a7606BaCC7",
"expected_amount":1.0333538,
"crypto_currency":"ETH",
"rate_usd":0,
"rate_eur":195.48
}
]
}

Field

Required

Description

amount

YES

fiat amount

fiat_currency

YES

EUR

curl -X POST https://b2b.daowallet.com/api/v2/invoice/new \
-H 'Content-type: application/json' \
-H 'X-Processing-Key: zyj0tEv5...PFQlO5OArdQD' \
-H 'X-Processing-Signature: 25d318a3ec541a426...b78d5a5414718cce8ad' \
-d '{"amount":200,"fiat_currency":"EUR"}'

For web address invoice compile https://b2b.daowallet.com/invoice/{invoice_id}

Example: https://b2b.daowallet.com/invoice/hzqky3SdrSG4CMwrOwT6bWakWGX1HAeY