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"
}

Last updated