Invoices

An invoice is a request for payment in cryptocurrency which contains a unique BTC, LTC, ETH or XRP address and the amount that has to be paid while the invoice is valid.

Invoice price can be expressed either in cryptocurrency or fiat currency.

curl -X POST \
https://business-sandbox.cryptopay.me/api/invoices \
-H 'Authorization: HMAC ***' \
-H 'Content-Type: application/json' \
-H 'Date: Tue, 19 Mar 2019 10:11:40 GMT' \
-d '{"price_amount":"100", "price_currency":"EUR", "pay_currency":"BTC", "custom_id":"209584732"}'

price_currency

validity period

EUR and other fiat currencies

10 minutes

BTC LTC ETH XRP

2 hours

A list of all supported currencies can be found here.