Capture Order

This endpoint is requested to perform a full or partial capture of the order, confirming the fulfillment or shipment of the items to the customer. The order status value will be fully_captured or partially_captured based on the total amount value sent in the request.

📘

Note

If an order is not Captured within 21 days from when it is authorised, Tamara will auto-capture that order and it will be moved to fully captured status

Body Params
uuid
required
length between 36 and 36
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

The unique Tamara order_id, obtained from the response of the Create Checkout Session or In-store Checkout Session endpoint.

total_amount
object
required

The amount to be captured out of the authorised order total. If it equals the full order amount, the order status becomes fully_captured. If it is less, the order status becomes partially_captured.

shipping_info
object
required

Shipping details of the captured items. Capturing confirms the shipment or fulfillment of the items to the customer.

items
array of objects

Comprehensive details about the items being captured.

items
discount_amount
object

Total amount of discounts, if applied.

shipping_amount
object

Total amount for the shipping of the order.

tax_amount
object

Total amount of taxes, if additionally applied. Negative values should not be passed.

Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json