Thedex
  • Introduction
    • Merchant Payment Gateway
    • Currencies and networks
    • Confirmations and limits
  • Documentation
    • API Overview
    • Invoices
      • Create full invoice
      • Define full invoice crypto-currency
      • Create quick crypto invoice
      • Create quick fiat invoice
      • Get Invoice
      • Get invoices
      • Create static wallet
      • Get static wallet
      • Deprecated
        • Create quick invoice
    • Payouts
      • Create a payout
      • Create fiat-to-crypto payout
      • Get payout
      • Get payouts
    • Swaps
      • Get swaps
    • Balances
      • Get all user balances
    • Informational
      • Get status definitions for Invoice and payout
      • Get active crypto and fiat currencies
      • Get cryptocurrency to fiat-currency rate
      • Get fiat currency amount limits on invoice creation
      • Get fiat currency amount limits on payout creation
      • Get cryptocurrency amount limits on invoice creation
      • Get cryptocurrency amount limits on payout creation
      • Get Invoice creation ways
    • Commissions
      • Get payout commissions
      • Get invoice commissions
    • Merchant Preferences
      • Get merchant wallet whitelist
      • Add wallet to whitelist
      • Remove wallet to whitelist
  • E-Commerce plugins
    • WHMCS
Powered by GitBook
On this page
  1. Documentation
  2. Informational

Get Invoice creation ways

Lists all ways on invoice creation

POST https://app.thedex.cloud/api/v1/info/invoice/creation/ways

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

nonce*

String

request*

String

[
   {
      "name":"String",
      "value":"Integer"
   }
]

Example:

[
   {
      "name": "UI",
      "value": 0
   },
   {
      "name": "API",
      "value": 1
   },
   {
      "name": "MERCHANT",
      "value": 2
   },
   {
      "name": "WALLET_STATIC",
      "value": 3
   },
   {
      "name": "PAYMENT_BUTTON_WAY",
      "value": 4
   },
   {
      "name": "DONATION_BUTTON_WAY",
      "value": 5
   },
   {
      "name": "EMAIL_CONFIRM_WAY",
      "value": 6
   }
]

Request curl:

curl --location 'https://app.thedex.cloud/api/v1/info/invoice/creation/ways' \
--header 'X-EX-APIKEY: <string>' \
--header 'X-EX-PAYLOAD: <string>' \
--header 'X-EX-SIGNATURE: <string>' \
--header 'Content-Type: application/json' \
--header 'Accept: */*' \
--data '{
  "nonce": "<string>",
  "request": "<string>"
}'

Response JSON attributes:

"name"

String

Name of invoice creation way

"value"

Integer

Index of creation way

PreviousGet cryptocurrency amount limits on payout creationNextCommissions

Last updated 1 year ago