Cancel an Order

This operation allows a user to cancel an order which has not yet been paid. The order cannot be reversed using this operation once reconciliation has taken place. The order can only be cancelled by the same user who originally submitted it. This is a secure request as indicated by the '/secure/' element in the URL path, therefore, an access token (authentication) is required.

NOTE: You must enter into a special agreement with GlobalGiving to use this API feature. Please contact us for more information if you wish to have this feature enabled.

HTTP Method:


Accept Type:

xml, json


Path Parameters:

{invoiceNumber} the string identifier for an invoice returned when the order was first submitted, replace with actual value, required

Query String Parameters:

&api_key described in the API Key section, required

&api_token described in the Access Token section, required

&is_test when set to true the order will not be cancelled in the GlobalGiving system

Query String Example:


HTTP DELETE Request using cURL:

                  curl -H "Accept: application/xml" -X DELETE ""

XML Response:

                  <?xml version="1.0" encoding="utf-8" standalone="yes"?>

NOTE: If successful, response contains <amount>, and <invoicedAmount> elements of value 0.