Invoice Cancellation
In order to cancel an invoice, you need to send a POST request.
Invoice cancellation
POST
https://api.cryptocloud.plus/v2/invoice/merchant/canceled
To cancel an invoice, send a request specifying a unique identifier. The request will be successful only if the invoice has a status of created.
Request Body
Name
Type
Description
uuid*
string
Unique invoice identifier (INV-XXXXXXXX or XXXXXXXX)
{
"status": "success",
"result": [
"ok"
]
}
Request examples
These examples show how you can submit a request to cancel an invoice. Note that you need to provide your API key in the Authorization
header to successfully authorize the request.
curl -X POST https://api.cryptocloud.plus/v2/invoice/merchant/canceled \
-H "Authorization: Token <API KEY>" \
-H "Content-Type: application/json" \
-d '{"uuid":"INV-XXXXXXXX"}'
Last updated
Was this helpful?