Delete Payment Request
Description:
The /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 |
curl --request DELETE \
--url https://server26-dot-royalti-project.uc.r.appspot.com/payment-request/{id} \
--header 'Authorization: Bearer <token>'
{
"message": "Payment request deleted successfully."
}
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Payment Request ID
Success
The response is of type object
.
curl --request DELETE \
--url https://server26-dot-royalti-project.uc.r.appspot.com/payment-request/{id} \
--header 'Authorization: Bearer <token>'
{
"message": "Payment request deleted successfully."
}