Cancel Order

This endpoint is requested to cancel or update the total order amount while order status on authorised (before the order is captured or shipping process is done). The order status value will be canceled or updated based on the modification applied to the total amount.

Path Params
uuid
required
Defaults to ff776045-513b-4cd7-8b4f-e60673daad84

Unique Tamara order_id, obtained from the response of create checkout/in-store checkout session endpoint.

Body Params
total_amount
object
required

Total amount to be charged back to consumer.

shipping_amount
object

Total amount for the shipping of the order.

tax_amount
object

Total amount of taxes, if additionally applied.

discount_amount
object
items
array of objects
Defaults to [object Object]
items
string
required
≤ 255

Product name. <=255 characters

number
required

How many of this specific item is being purchased

string
required

The unique id of the item from merchant's side

string
required
≤ 128

Product SKU. <= 128 characters

uri
≤ 1024

URL of the item from merchant's website. <= 1024 characters

uri
≤ 1024

URL to an image of the product that can be later displayed to the customer. <= 1024 characters
Size = 2-3 MB maximum
Resolution WxH = 1024xY (the Y height of image should be small).

unit_price
object
tax_amount
object
discount_amount
object
total_amount
object
required
string
required
Responses

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