curl --request DELETE \
--url https://api.royalti.io/payment-setting/{id} \
--header 'Authorization: Bearer <token>'{
"message": "Payment setting deleted successfully."
}Delete Payment Setting
curl --request DELETE \
--url https://api.royalti.io/payment-setting/{id} \
--header 'Authorization: Bearer <token>'{
"message": "Payment setting deleted successfully."
}Documentation Index
Fetch the complete documentation index at: https://apidocs.royalti.io/llms.txt
Use this file to discover all available pages before exploring further.
/payment-setting/{id} endpoint allows deletion of a specific payment setting.
Method:DELETE
Path Parameter:
| Parameter | Type | Description |
|---|---|---|
| id | string | The unique identifier of the payment setting |
const response = await fetch('https://api.royalti.io/payment-setting/example-id', {
method: 'DELETE',
headers: {
'Authorization': `Bearer ${token}`,
},
});
const data = await response.json();
console.log(data);