Create quick fiat invoice
POST
https://app.thedex.cloud/api/v1/invoices/create/quick/fiat
Headers
Name | Type | Description |
---|---|---|
X-EX-APIKEY* | String | Your API key |
X-EX-PAYLOAD* | String | Body to base64 |
X-EX-SIGNATURE* | String | Encrypted body with the secret key |
Request Body
Name | Type | Description |
---|---|---|
amount* | BigDecimal | To check minimal limit amount, use:
|
fiatCurrency* | String | Reach out all available fiat currencies by endpoint: |
payCurrency* | String | Reach out all available crypto currencies by endpoint: |
merchantId* | String | Merchant ID You can find it on page 'Merchants' in your account |
orderId | String | Order ID in your system |
String | Used as additional details for invoice.
Or | |
clientId | String | ID of your client |
title | String |
|
description | String |
|
recalculation | boolean | Default = false If 'amountInPayCurrency' and 'merchantBalance' of invoice will not be recalculated in the case of
If 'amountInPayCurrency' and 'merchantBalance' of invoice will be recalculated in the case of
Reach out all available invoice statuses by endpoint: |
successUrl | String | Custom successUrl for an invoice, that can be differ from merchant settings |
failureUrl | String | Custom failureUrl for an invoice, that can be differ from merchant settings |
callbackUrl | String | Custom callbackUrl for an invoice, that can be differ from merchant settings |
unfixAmount | boolean | Default = false If If |
Curl request:
Response JSON attributes:
|
| Invoice id |
|
| Merchant Id |
|
| Order id |
|
| Client id |
|
| Purse (crypto wallet) |
|
| Amount in fiat currency |
|
| Fiat currency |
|
| Pay currency (crypto currency) |
|
| Deposit blockchain fee |
|
| Amount in crypto currency |
|
| Rate |
|
| Rate with commission |
|
| Creation date |
|
| Modification date |
|
| reach out all accessed values by link: |
|
| Pay Url |
Last updated