capabilities.work

Capture and Legacy Refund

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

Recipe · 2 steps

Capture and Legacy Refund

with Tamara

Capture a Tamara order and refund against the resulting capture id.

  1. Perform a full or partial capture against the authorised order, confirming shipment or fulfilment of items to the customer, and surface the capture id.
  2. Process a refund against the named capture returned by the capture step using the legacy capture-scoped refund endpoint.
What you'll need to have ready
  • merchantToken: Tamara-issued merchant API bearer token.
  • orderId: The Tamara order_id (uuid) to capture then refund.
  • captureAmount: Money object (amount + currency) to capture.
  • shippingInfo: Shipping info (shipped_at, shipping_company, tracking_number, tracking_url).
  • refundAmount: Money object (amount + currency) to refund against the capture.
For your developer

Arazzo workflow tamara:capture-and-legacy-refund, 2 operations: captureOrder → refund. Specs on APIs.io.