Invoices
An invoice is a request for a cryptocurrency payment which contains a unique BTC, LTC, ETH or XRP address and the amount that has to be paid while the invoice is valid.
The invoice price can be expressed either in cryptocurrency or fiat currency.
The list of all supported currencies can be found here.
1
curl -X POST \
2
https://business-sandbox.cryptopay.me/api/invoices \
3
-H 'Authorization: HMAC ***' \
4
-H 'Content-Type: application/json' \
5
-H 'Date: Tue, 19 Mar 2019 10:11:40 GMT' \
6
-d '{"price_amount":"100", "price_currency":"EUR", "pay_currency":"BTC", "custom_id":"209584732"}'
Copied!
price_currency
validity period
EUR and other fiat currencies
10 minutes
BTC LTC ETH XRP
2 hours
Last modified 1yr ago
Copy link