Void an authorized payment

A void describes the process of how merchants void funds for an authorized payment. A void is the second part of a two-part payment flow, and occurs after an authorized payment is finalized. Finalized payments have kind set to authorization. When a merchant wishes to cancel the order for an authorized transaction, Shopify sends a void request to a payments app, and the app can resolve or reject it.

void processing steps

  1. The merchant requests to void an authorized payment.
  2. Shopify sends a backend request to the payments app, specifying the void request.
  3. The app replies with a 201 and an empty response body.
  4. The app finalizes the void request using the voidSessionResolve or voidSessionReject mutation.
  5. Shopify updates the payment status.