For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create static wallet

Creates a static wallet address — a single, unchanging address used to receive payments in a specified cryptocurrency.

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

{
    "clientId": "String",
    "monetary": "String",
    "merchantId": "String",
    "fiatCurrecy": "String", //optional
    "successUrl": "String", // optional
    "failureUrl": "String", // optional
    "callbackUrl": "String" // optional
}

Request JSON attributes

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

fiatCurrency

String

Default = USD

Reach out all available fiat currencies by endpoint: /api/v1/info/currencies

Primary Used for recalculation of paid_amount_fiat.

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 Body

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

"fiatCurrency"

String

Wallet currency used for paid_amount_fiat

"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

"qrBase64"

String

A Base64-encoded PNG image of a QR code that encodes the wallet address for payment

Request curl

Example Curl

Last updated