Fetch static wallet
Returns a static wallet address by walletId
POST
https://app.thedex.cloud/api/v1/wallets/one
Headers
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
{
"walletId": "String"
}
Request JSON attributes
walletId*
String
The unique identifier of the requested wallet
Response Body
{
"walletId": "String",
"monetary": "String",
"clientId": "String",
"successUrl": "String",
"failureUrl": "String",
"callbackUrl": "String",
"address": "String",
"minAmount": "String",
"isActive": "Boolean",
"payUrl": "String",
"qrBase64": "String"
}
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
"qrBase64"
String
A Base64-encoded PNG image of a QR code that encodes the wallet address for payment
Request Curl
curl --location --request POST 'https://app.thedex.cloud/api/v1/wallets/one' \
--header 'X-EX-APIKEY: <string>' \
--header 'X-EX-PAYLOAD: <string>' \
--header 'X-EX-SIGNATURE: <string>' \
--header 'Content-Type: application/json' \
--header 'Accept: */*' \
--data '{
"walletId": "String",
}'
Example Curl
curl --location --request POST 'https://app.thedex.cloud/api/v1/wallets/one' \
--header 'X-EX-APIKEY: test_api_key_123456' \
--header 'X-EX-PAYLOAD: eyJ3YWxsZXRJZCI6ICJXQUxMRVRfMTIzIn0=' \
--header 'X-EX-SIGNATURE: dummy_signature_abc123' \
--header 'Content-Type: application/json' \
--header 'Accept: */*' \
--data-raw '{
"walletId": "WALLET_123"
}'
Last updated