capabilities.work

Order Status Refund

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

Recipe · 2 steps

Order Status Refund

with Tamara

Refund a Tamara order only when its status shows funds were captured.

  1. Read the order so the workflow can branch on whether funds have been captured (fully_captured or partially_captured) before refunding.
  2. Process a partial or full refund against the captured order using the modern simplified-refund surface (no capture ids required).
What you'll need to have ready
  • merchantToken: Tamara-issued merchant API bearer token.
  • orderId: The Tamara order_id (uuid) to inspect and refund.
  • refundAmount: Money object (amount + currency) to refund.
  • refundComment: Reason/comment recorded against the refund.
  • merchantRefundId: Optional merchant-side refund id for idempotency/reconciliation.
For your developer

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