curl --request POST \
--url "https://api.stablepay.co/api/v1/fund/deposits/{deposit_id}/confirm" \
--header "Authorization: Bearer <API_KEY>" \
--header "X-StablePay-Timestamp: <TIMESTAMP>" \
--header "X-StablePay-Nonce: <NONCE>" \
--header "X-StablePay-Signature: <SIGNATURE>" \
--header "Content-Type: application/json" \
--data '{
"merchant_id": "2000000001",
"wallet_type": "exchange",
"exchange": "binance"
}'
const response = await fetch("https://api.stablepay.co/api/v1/fund/deposits/{deposit_id}/confirm", {
method: "POST",
headers: {
"Authorization": "Bearer <API_KEY>",
"X-StablePay-Timestamp": "<TIMESTAMP>",
"X-StablePay-Nonce": "<NONCE>",
"X-StablePay-Signature": "<SIGNATURE>",
"Content-Type": "application/json"
},
body: JSON.stringify({
"merchant_id": "2000000001",
"wallet_type": "exchange",
"exchange": "binance"
})
});
console.log(await response.json());
{
"deposit_id": "9000000070",
"merchant_id": "2000000001",
"account_no": "00000001",
"currency": "USDC",
"network": "solana",
"address": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YymTvAVmRoz",
"wallet_type": "exchange",
"exchange": "binance",
"tx_hash": "5uQ3Xw8Zp2Km7Tn4Vr9Yb6Nc1Hs5Jd3Fg0Lk8Pi2Ou7Ty4Re9Wq6Ew3",
"amount": 10000,
"status": "completed",
"credited_at": 1718726405,
"created": 1718726398
}
Global Accounts API
Add Travel Rule funding source details
Add Travel Rule funding source details
POST
/
api
/
v1
/
fund
/
deposits
/
{deposit_id}
/
confirm
curl --request POST \
--url "https://api.stablepay.co/api/v1/fund/deposits/{deposit_id}/confirm" \
--header "Authorization: Bearer <API_KEY>" \
--header "X-StablePay-Timestamp: <TIMESTAMP>" \
--header "X-StablePay-Nonce: <NONCE>" \
--header "X-StablePay-Signature: <SIGNATURE>" \
--header "Content-Type: application/json" \
--data '{
"merchant_id": "2000000001",
"wallet_type": "exchange",
"exchange": "binance"
}'
const response = await fetch("https://api.stablepay.co/api/v1/fund/deposits/{deposit_id}/confirm", {
method: "POST",
headers: {
"Authorization": "Bearer <API_KEY>",
"X-StablePay-Timestamp": "<TIMESTAMP>",
"X-StablePay-Nonce": "<NONCE>",
"X-StablePay-Signature": "<SIGNATURE>",
"Content-Type": "application/json"
},
body: JSON.stringify({
"merchant_id": "2000000001",
"wallet_type": "exchange",
"exchange": "binance"
})
});
console.log(await response.json());
{
"deposit_id": "9000000070",
"merchant_id": "2000000001",
"account_no": "00000001",
"currency": "USDC",
"network": "solana",
"address": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YymTvAVmRoz",
"wallet_type": "exchange",
"exchange": "binance",
"tx_hash": "5uQ3Xw8Zp2Km7Tn4Vr9Yb6Nc1Hs5Jd3Fg0Lk8Pi2Ou7Ty4Re9Wq6Ew3",
"amount": 10000,
"status": "completed",
"credited_at": 1718726405,
"created": 1718726398
}
See authentication, signing, data conventions, and errors. Regenerate the timestamp, nonce, and signature on every retry.
POST /fund/deposits/{deposit_id}/confirm Records the funding source: wallet type, plus the exchange when applicable.
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
required
Deposit ID
string
10 digits; omit for merchant apps, required for service-provider apps
string
required
wallet or exchange
string
Required when
wallet_type=exchangeResponse
string
required
Deposit ID, 10 digits
string
required
Merchant ID
string
Credited account number
string
required
Stablecoin
string
required
Network
string
required
Deposit address
string
Memo or tag
string
wallet or exchange
string
Exchange identifier
string
Transaction hash
integer
required
Amount, smallest unit
string
required
pending or completed
integer
Credit time
integer
required
First observed time
Status and errors
400 invalid parameters; 404 unknown record.curl --request POST \
--url "https://api.stablepay.co/api/v1/fund/deposits/{deposit_id}/confirm" \
--header "Authorization: Bearer <API_KEY>" \
--header "X-StablePay-Timestamp: <TIMESTAMP>" \
--header "X-StablePay-Nonce: <NONCE>" \
--header "X-StablePay-Signature: <SIGNATURE>" \
--header "Content-Type: application/json" \
--data '{
"merchant_id": "2000000001",
"wallet_type": "exchange",
"exchange": "binance"
}'
const response = await fetch("https://api.stablepay.co/api/v1/fund/deposits/{deposit_id}/confirm", {
method: "POST",
headers: {
"Authorization": "Bearer <API_KEY>",
"X-StablePay-Timestamp": "<TIMESTAMP>",
"X-StablePay-Nonce": "<NONCE>",
"X-StablePay-Signature": "<SIGNATURE>",
"Content-Type": "application/json"
},
body: JSON.stringify({
"merchant_id": "2000000001",
"wallet_type": "exchange",
"exchange": "binance"
})
});
console.log(await response.json());
{
"deposit_id": "9000000070",
"merchant_id": "2000000001",
"account_no": "00000001",
"currency": "USDC",
"network": "solana",
"address": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YymTvAVmRoz",
"wallet_type": "exchange",
"exchange": "binance",
"tx_hash": "5uQ3Xw8Zp2Km7Tn4Vr9Yb6Nc1Hs5Jd3Fg0Lk8Pi2Ou7Ty4Re9Wq6Ew3",
"amount": 10000,
"status": "completed",
"credited_at": 1718726405,
"created": 1718726398
}
Last modified on October 29, 2026
Was this page helpful?
