curl --request GET \
--url "https://api.stablepay.co/api/v1/fiat/deposits" \
--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/deposits", {
method: "GET",
headers: {
"Authorization": "Bearer <API_KEY>",
"X-StablePay-Timestamp": "<TIMESTAMP>",
"X-StablePay-Nonce": "<NONCE>",
"X-StablePay-Signature": "<SIGNATURE>"
}
});
console.log(await response.json());
{
"deposits": [
{
"fiat_deposit_id": "9000000090",
"merchant_id": "2000000001",
"currency": "USD",
"amount": 100500,
"reference_code": "SP-MCH-000001-USD",
"credited_at": 1718726400
}
],
"next_cursor": "eyJpZCI6IjkwMDAwMDAwOTAifQ"
}
Stablecoin Exchange API
List fiat deposit records
List fiat deposit records
GET
/
api
/
v1
/
fiat
/
deposits
curl --request GET \
--url "https://api.stablepay.co/api/v1/fiat/deposits" \
--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/deposits", {
method: "GET",
headers: {
"Authorization": "Bearer <API_KEY>",
"X-StablePay-Timestamp": "<TIMESTAMP>",
"X-StablePay-Nonce": "<NONCE>",
"X-StablePay-Signature": "<SIGNATURE>"
}
});
console.log(await response.json());
{
"deposits": [
{
"fiat_deposit_id": "9000000090",
"merchant_id": "2000000001",
"currency": "USD",
"amount": 100500,
"reference_code": "SP-MCH-000001-USD",
"credited_at": 1718726400
}
],
"next_cursor": "eyJpZCI6IjkwMDAwMDAwOTAifQ"
}
See authentication, signing, data conventions, and errors. Regenerate the timestamp, nonce, and signature on every retry.
GET /fiat/deposits Lists fiat deposits attributed to the merchant, cursor paginated.
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
Filter by currency
integer
Only records credited after this time
integer
Only records credited before this time
integer
Page size, default 20, max 100
string
Cursor from the previous page
Response
array
required
Deposit records
string
Returned when more pages exist
string
required
Deposit ID, 10 digits
string
required
Merchant ID
string
required
Fiat currency, ISO 4217
integer
required
Credited amount
string
required
Attribution code
integer
required
Credit time
Status and errors
400 on invalid parameters.curl --request GET \
--url "https://api.stablepay.co/api/v1/fiat/deposits" \
--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/deposits", {
method: "GET",
headers: {
"Authorization": "Bearer <API_KEY>",
"X-StablePay-Timestamp": "<TIMESTAMP>",
"X-StablePay-Nonce": "<NONCE>",
"X-StablePay-Signature": "<SIGNATURE>"
}
});
console.log(await response.json());
{
"deposits": [
{
"fiat_deposit_id": "9000000090",
"merchant_id": "2000000001",
"currency": "USD",
"amount": 100500,
"reference_code": "SP-MCH-000001-USD",
"credited_at": 1718726400
}
],
"next_cursor": "eyJpZCI6IjkwMDAwMDAwOTAifQ"
}
Last modified on October 29, 2026
Was this page helpful?
