curl --request DELETE \
--url https://api.royalti.io/payment-request/{id} \
--header 'Authorization: Bearer <token>'{
"message": "Payment request deleted successfully."
}Delete Payment Request
curl --request DELETE \
--url https://api.royalti.io/payment-request/{id} \
--header 'Authorization: Bearer <token>'{
"message": "Payment request 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-request/{id} endpoint deletes a specific payment request.
Method:DELETE
Path Parameter:
| Parameter | Type | Description |
|---|---|---|
| id | string | The unique identifier of the payment request |
const response = await fetch('https://api.royalti.io/payment-request/example-id', {
method: 'DELETE',
headers: {
'Authorization': `Bearer ${token}`,
},
});
const data = await response.json();
console.log(data);