curl --request GET \
--url "https://api.stablepay.co/api/v1/fiat/account_details?currency=<CURRENCY>" \
--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/fiat/account_details?currency=<CURRENCY>", {
method: "GET",
headers: {
"Authorization": "Bearer <API_KEY>",
"X-StablePay-Timestamp": "<TIMESTAMP>",
"X-StablePay-Nonce": "<NONCE>",
"X-StablePay-Signature": "<SIGNATURE>"
}
});
console.log(await response.json());
{
"account_details": {
"merchant_id": "2000000001",
"currency": "USD",
"type": "fiat_account_details",
"details": {
"bank_name": "StablePay Partner Bank",
"account_holder_name": "STABLEPAY PTE. LTD.",
"account_number": "0123456789",
"routing_number": "026009593",
"reference_code": "SP-MCH-000001-USD"
},
"instructions": "Include reference_code SP-MCH-000001-USD in the transfer reference."
}
}
Stablecoin Exchange API
Retrieve fiat collection details and reference code
Retrieve fiat collection details and reference code
GET
/
api
/
v1
/
fiat
/
account_details
curl --request GET \
--url "https://api.stablepay.co/api/v1/fiat/account_details?currency=<CURRENCY>" \
--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/fiat/account_details?currency=<CURRENCY>", {
method: "GET",
headers: {
"Authorization": "Bearer <API_KEY>",
"X-StablePay-Timestamp": "<TIMESTAMP>",
"X-StablePay-Nonce": "<NONCE>",
"X-StablePay-Signature": "<SIGNATURE>"
}
});
console.log(await response.json());
{
"account_details": {
"merchant_id": "2000000001",
"currency": "USD",
"type": "fiat_account_details",
"details": {
"bank_name": "StablePay Partner Bank",
"account_holder_name": "STABLEPAY PTE. LTD.",
"account_number": "0123456789",
"routing_number": "026009593",
"reference_code": "SP-MCH-000001-USD"
},
"instructions": "Include reference_code SP-MCH-000001-USD in the transfer reference."
}
}
See authentication, signing, data conventions, and errors. Regenerate the timestamp, nonce, and signature on every retry.
GET /fiat/account_details Returns local clearing details and the attribution code; fields vary by currency.
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
Fiat currency, ISO 4217
Response
object
required
Collection details
string
required
Merchant ID
string
required
Currency
string
required
Always
fiat_account_detailsobject
required
Bank fields such as
bank_name, account_number, reference_codestring
Where to put the reference code
Status and errors
404 unsupported currency.curl --request GET \
--url "https://api.stablepay.co/api/v1/fiat/account_details?currency=<CURRENCY>" \
--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/fiat/account_details?currency=<CURRENCY>", {
method: "GET",
headers: {
"Authorization": "Bearer <API_KEY>",
"X-StablePay-Timestamp": "<TIMESTAMP>",
"X-StablePay-Nonce": "<NONCE>",
"X-StablePay-Signature": "<SIGNATURE>"
}
});
console.log(await response.json());
{
"account_details": {
"merchant_id": "2000000001",
"currency": "USD",
"type": "fiat_account_details",
"details": {
"bank_name": "StablePay Partner Bank",
"account_holder_name": "STABLEPAY PTE. LTD.",
"account_number": "0123456789",
"routing_number": "026009593",
"reference_code": "SP-MCH-000001-USD"
},
"instructions": "Include reference_code SP-MCH-000001-USD in the transfer reference."
}
}
Last modified on October 29, 2026
Was this page helpful?
