Cancels

The cancel resource represents and is used to create a cancellation on a charge with a status that is either awaiting or authorized. This can happen when a charge is made with the convienence store payment method or when an authorization on a credit card (including Apple Pay) is made.

For charges that are successful, please refer to refunds instead.

The cancel object

Fields
idstring (UUID)
The cancel object
store_idstring (UUID)
The id of the store the cancel is created for.
charge_idstring (UUID)
The id of the charge the cancel is created for.
statusstring
The status of the cancellation. One of pending, successful, failed or error.
error.codestring
The error code of why a charge failed or errored.
error.messagestring
A short description of why a a charge failed
error.detailstring
Additional details of why a charge failed
metadatajson
Any user defined metadata associated with the cancel.
modestring
live or test.
created_onstring (ISO-8601)
The date the refund was created on.