Invoice Cancellation

The method allows you to cancel a specific created invoice by sending a POST request.

What the method allows you to do

  • Cancels an invoice with the created status

Endpoint

POST https://api.cryptocloud.plus/v2/invoice/merchant/canceled

Headers

Name
Type
Example
Description

Authorization*

string

Token eyJ0eXAiOiJK<...>4npi1ksS8tSY

Project API key

Request Body

Key parameters

Name
Type
Example
Description

uuid*

string

INV-89UX09KA

Unique invoice identifier

Request examples

These examples show how to send a request to cancel an invoice. Note that the invoice must have the created status.

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"}'

Response examples

A successful request returns a response with the status success and a result object.

Response parameters

A successful request returns a response with the status success and a result object.

Name
Type
Example
Description

status

string

success

Response status

result

string

ok

An object describing a successful response or an error

Last updated

Was this helpful?