Create full invoice
POST
https://app.thedex.cloud/api/v1/invoices/create
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:
|
currency* | String | Reach out all available fiat 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 | email of your client | |
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 |
|
| Creation date |
|
| Modification date |
|
| reach out all accessed values by link: |
|
| Pay Url |
Last updated