Fetch static wallet
Returns a static wallet address by walletId or by a combination of clientId + merchantId + blockchain
POST https://app.thedex.cloud/api/v1/wallets/one
Search modes
A wallet can be fetched in one of two ways:
By
walletId– returns the wallet with the given ID regardless of its status (active or inactive).By a combination of fields (
clientId+merchantId+blockchain) – returns only the active wallet.
Either walletId or a combination of fields must be provided.
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
Option 1: by walletId
{
"walletId": "String"
}Option 2: by a combination of fields (Blockchain-based mode)
Request JSON attributes
walletId
String
The unique identifier of the requested wallet. Required if the combination of fields is not used. The wallet is returned regardless of its status.
clientId
String
Arbitrary identifier of the client. Required when searching by a combination of fields.
merchantId
String
Identifier of the merchant. Required when searching by a combination of fields.
blockchain
String
Blockchain network of the wallet. Required when searching by a combination of fields.
Response Body
200 response
Response JSON attributes
"walletId"
String
Unique identifier of the wallet
"blockchain"
String
Blockchain network of the wallet. Returned only if the wallet was created in Blockchain-based mode
"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 for payment notifications
"address"
String
Wallet address
"minAmount"
String
Minimum payment amount
"isActive"
Boolean
Indicates whether the wallet is active. Always true when the wallet is fetched by a combination of fields.
"payUrl"
String
Pay url
"qrBase64"
String
A Base64-encoded PNG image of a QR code that encodes the wallet address for payment
"fiatCurrency"
String
Default = USD
Reach out all available fiat currencies by endpoint: /api/v1/info/currencies
Primary used for recalculation of paid_amount_fiat.
Errors
400
Invalid walletId format, or required fields are missing: either walletId or a combination of clientId, merchantId and blockchain.
401
The merchantId does not belong to the authorized merchant.
422
Wallet not found.
Request Curl (by walletId)
Request Curl (by combination of fields)
Example Curl (by walletId)
Example Curl (by combination of fields)
Last updated