Your settlement wallets
GET
/merchants/wallets
const url = 'https://hub.stablezact.com/api/v1/merchants/wallets';const options = {method: 'GET', headers: {'X-Public-Key': '<X-Public-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://hub.stablezact.com/api/v1/merchants/wallets \ --header 'X-Public-Key: <X-Public-Key>'One entry per supported network, whether or not you have configured a wallet for it. isConfigured is the field that matters: a network with an empty walletAddress cannot accept payments, and creating one on that network is rejected.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Every network, with your wallet for it where set.
Media typeapplication/json
object
success
boolean
wallets
Array<object>
object
networkId
string
networkName
string
networkShortName
The value to send as network when creating a payment.
string
networkType
string
walletAddress
Empty string when not configured.
string
isConfigured
boolean
supportedTokens
Token symbols, for example USDC.
Array<string>
Examplegenerated
{ "success": true, "wallets": [ { "networkId": "example", "networkName": "example", "networkShortName": "example", "networkType": "example", "walletAddress": "example", "isConfigured": true, "supportedTokens": [ "example" ] } ]}Missing or invalid credentials.
Media typeapplication/json
object
success
boolean
error
required
Short machine-ish reason.
string
message
Longer explanation, when there is one.
string
Example
{ "error": "API credentials required. Use x-public-key header or x-api-key and x-api-secret headers."}