capabilities.work

Order Status Cancel

A 2-step recipe with Tamara. We can help you get access.

Recipe · 2 steps

Order Status Cancel

with Tamara

Cancel a Tamara order when its status shows it is still cancellable.

  1. Read the order so the workflow can branch on whether it is still in a cancellable state (approved or authorised) before capture.
  2. Cancel the authorised order or reduce its total amount before capture, returning the cancellation id and updated amount.
What you'll need to have ready
  • merchantToken: Tamara-issued merchant API bearer token.
  • orderId: The Tamara order_id (uuid) to inspect and cancel.
  • cancelAmount: Money object (amount + currency) to cancel or reduce by.
  • items: Optional line items affected by the cancellation.
For your developer

Arazzo workflow tamara:order-status-cancel, 2 operations: getOrderDetails → cancelOrder. Specs on APIs.io.