Delete Payment
Description:
The /payment/{id}
endpoint deletes a specific payment.
Method:
DELETE
Path Parameter:
Parameter | Type | Description |
---|---|---|
id | string | The unique identifier of the payment |
curl --request DELETE \
--url https://server26-dot-royalti-project.uc.r.appspot.com/payment/{id} \
--header 'Authorization: Bearer <token>'
{
"message": "Payment deleted successfully."
}
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Payment ID
Success
The response is of type object
.
curl --request DELETE \
--url https://server26-dot-royalti-project.uc.r.appspot.com/payment/{id} \
--header 'Authorization: Bearer <token>'
{
"message": "Payment deleted successfully."
}