Create
You can create invoices if you want to receive the exact amount of fiat.
post
https://my.cryptopayments.pro
/api/v2/invoice/new
Create invoice
Field | Required | Description | Type |
amount | YES | fiat amount | number |
fiat_currency | YES | EUR | string |
url_success | NO | | string |
url_failure | NO | | string |
allow_paid_expired | NO | Default false | boolean |
disable_convert | NO | disable convert invoice to fiat | boolean |
curl -X POST https://my.cryptopayments.pro/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","allow_paid_expired":true}'
curl -X POST https://my.cryptopayments.pro/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","url_success":"https://success.com","url_failure":"https://failure.io"}'
For web address invoice compile https://my.cryptopayments.pro/invoice/{invoice_id}
Last modified 2yr ago