curl --request GET \
--url "https://api.stablepay.co/api/v1/fund/deposit_address?account_no=<ACCOUNT_NO>¤cy=<CURRENCY>&network=<NETWORK>" \
--header "Authorization: Bearer <API_KEY>" \
--header "X-StablePay-Timestamp: <TIMESTAMP>" \
--header "X-StablePay-Nonce: <NONCE>" \
--header "X-StablePay-Signature: <SIGNATURE>"
const response = await fetch("https://api.stablepay.co/api/v1/fund/deposit_address?account_no=<ACCOUNT_NO>¤cy=<CURRENCY>&network=<NETWORK>", {
method: "GET",
headers: {
"Authorization": "Bearer <API_KEY>",
"X-StablePay-Timestamp": "<TIMESTAMP>",
"X-StablePay-Nonce": "<NONCE>",
"X-StablePay-Signature": "<SIGNATURE>"
}
});
console.log(await response.json());
{
"deposit_address": {
"merchant_id": "2000000001",
"account_no": "00000001",
"currency": "USDC",
"network": "solana",
"address": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YymTvAVmRoz"
}
}
Global Accounts API
Retrieve a stablecoin deposit address
Retrieve a stablecoin deposit address
GET
/
api
/
v1
/
fund
/
deposit_address
curl --request GET \
--url "https://api.stablepay.co/api/v1/fund/deposit_address?account_no=<ACCOUNT_NO>¤cy=<CURRENCY>&network=<NETWORK>" \
--header "Authorization: Bearer <API_KEY>" \
--header "X-StablePay-Timestamp: <TIMESTAMP>" \
--header "X-StablePay-Nonce: <NONCE>" \
--header "X-StablePay-Signature: <SIGNATURE>"
const response = await fetch("https://api.stablepay.co/api/v1/fund/deposit_address?account_no=<ACCOUNT_NO>¤cy=<CURRENCY>&network=<NETWORK>", {
method: "GET",
headers: {
"Authorization": "Bearer <API_KEY>",
"X-StablePay-Timestamp": "<TIMESTAMP>",
"X-StablePay-Nonce": "<NONCE>",
"X-StablePay-Signature": "<SIGNATURE>"
}
});
console.log(await response.json());
{
"deposit_address": {
"merchant_id": "2000000001",
"account_no": "00000001",
"currency": "USDC",
"network": "solana",
"address": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YymTvAVmRoz"
}
}
See authentication, signing, data conventions, and errors. Regenerate the timestamp, nonce, and signature on every retry.
GET /fund/deposit_address Returns the single deposit address for an account, token, and network.
Request headers
string
required
Bearer API Key.
string
required
Unix seconds, within five minutes of server time.
string
required
Unique per request, 16–64 characters.
string
required
Lowercase hexadecimal HMAC-SHA256 signature for the exact request body.
Request parameters
string
10 digits; omit for merchant apps, required for service-provider apps
string
required
Destination account
string
required
Stablecoin
string
required
ethereum, tron, solana, base, polygon, arbitrum, bsc
Response
object
required
Deposit address object
string
required
Merchant ID
string
required
Account number
string
required
Currency
string
required
Network
string
required
Address
string
Memo or tag
Status and errors
400 unsupported currency or network; 404 unknown account.curl --request GET \
--url "https://api.stablepay.co/api/v1/fund/deposit_address?account_no=<ACCOUNT_NO>¤cy=<CURRENCY>&network=<NETWORK>" \
--header "Authorization: Bearer <API_KEY>" \
--header "X-StablePay-Timestamp: <TIMESTAMP>" \
--header "X-StablePay-Nonce: <NONCE>" \
--header "X-StablePay-Signature: <SIGNATURE>"
const response = await fetch("https://api.stablepay.co/api/v1/fund/deposit_address?account_no=<ACCOUNT_NO>¤cy=<CURRENCY>&network=<NETWORK>", {
method: "GET",
headers: {
"Authorization": "Bearer <API_KEY>",
"X-StablePay-Timestamp": "<TIMESTAMP>",
"X-StablePay-Nonce": "<NONCE>",
"X-StablePay-Signature": "<SIGNATURE>"
}
});
console.log(await response.json());
{
"deposit_address": {
"merchant_id": "2000000001",
"account_no": "00000001",
"currency": "USDC",
"network": "solana",
"address": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YymTvAVmRoz"
}
}
Last modified on October 29, 2026
Was this page helpful?
