Transactions

Cancel a transaction

Voids a transaction so it no longer contributes to your tax liability. No request body is needed, and the call is idempotent (re-cancelling returns the original cancelled_at).

post/transactions/{external_id}/cancel

Request

  • Base URL: https://api.getsphere.com/v1
  • URL: https://api.getsphere.com/v1/transactions/{external_id}/cancel
  • Auth: API key in header X-API-KEY

Path parameters

external_idstring required

The external_id you assigned to the record.

Response

external_idstring required
statusstring required
cancelled_atstring date-time nullable

Changes

No recorded changes to this operation across all 1 revision of this API.