curl --request DELETE \
--url "https://api.stablepay.co/api/v1/recipient/{recipient_id}" \
--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/recipient/{recipient_id}", {
method: "DELETE",
headers: {
"Authorization": "Bearer <API_KEY>",
"X-StablePay-Timestamp": "<TIMESTAMP>",
"X-StablePay-Nonce": "<NONCE>",
"X-StablePay-Signature": "<SIGNATURE>"
}
});
console.log(response.status);
Global Accounts API
Delete a recipient
Delete a recipient
DELETE
/
api
/
v1
/
recipient
/
{recipient_id}
curl --request DELETE \
--url "https://api.stablepay.co/api/v1/recipient/{recipient_id}" \
--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/recipient/{recipient_id}", {
method: "DELETE",
headers: {
"Authorization": "Bearer <API_KEY>",
"X-StablePay-Timestamp": "<TIMESTAMP>",
"X-StablePay-Nonce": "<NONCE>",
"X-StablePay-Signature": "<SIGNATURE>"
}
});
console.log(response.status);
See authentication, signing, data conventions, and errors. Regenerate the timestamp, nonce, and signature on every retry.
DELETE /recipient/{recipient_id} Deletes a recipient; existing withdrawals and transfers keep their snapshots.
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
Recipient ID
string
10 digits; omit for merchant apps, required for service-provider apps
Response
204 No Content on success; no bodyStatus and errors
204 with no body; 404 when missing.curl --request DELETE \
--url "https://api.stablepay.co/api/v1/recipient/{recipient_id}" \
--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/recipient/{recipient_id}", {
method: "DELETE",
headers: {
"Authorization": "Bearer <API_KEY>",
"X-StablePay-Timestamp": "<TIMESTAMP>",
"X-StablePay-Nonce": "<NONCE>",
"X-StablePay-Signature": "<SIGNATURE>"
}
});
console.log(response.status);
Last modified on October 29, 2026
Was this page helpful?
