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
    • WooCommerce (WordPress)
Powered by GitBook
On this page
  1. Documentation
  2. Invoices

Create static wallet

POST https://app.thedex.cloud/api/v1/wallets/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

monetary*

String

Wallet monetary (cryptocurrency)

merchantId*

String

You can find it on page 'Merchants' in your account

clientId*

String

An arbitrary identifier for the client

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 callback url for receiving events about created invoice on wallet

Response JSON attributes:

"walletId"

String

Unique identifier of the created wallet

"monetary"

String

Cryptocurrency of the created wallet

"clientId"

String

Arbitrary identifier of the client

"successUrl"

String

Success url to redirect customer after successful payment

"failureUrl"

String

Failure url to redirect customer after failed payment

"callbackUrl"

String

Callback url to receive webhook about created invoices after successful / failed deposit of wallet

"address"

String

Generated crypto address for accepting payments

"minAmount"

String

Minimum amount required to accept a payment

"isActive"

Boolean

Indicates whether the wallet is active.

"payUrl"

String

Pay url

Request curl:

curl --location 'https://app.thedex.cloud/api/v1/wallets/create' \
--header 'X-EX-APIKEY: <string>' \
--header 'X-EX-PAYLOAD: <string>' \
--header 'X-EX-SIGNATURE: <string>' \
--header 'Content-Type: application/json' \
--header 'Accept: */*' \
--data '{
    "monetary": "String",
    "clientId": "String",
    "successUrl": "String",
    "failureUrl": "String",
    "callbackUrl": "String",
    "address": "String",
    "minAmount": "String",
    "isActive": "Boolean",
    "payUrl": "String"
}'
{
    "walletId": "String",
    "monetary": "String",
    "clientId": "String",
    "successUrl": "String",
    "failureUrl": "String",
    "callbackUrl": "String",
    "address": "String",
    "minAmount": "String",
    "isActive": "Boolean",
    "payUrl": "String"
}

PreviousGet invoicesNextGet static wallet

Last updated 7 months ago