Cancel all or part of an authorized Intent
Status of AUTHORIZED. You cannot cancel an Intent if it has been captured in part (PARTIALLY_CAPTURED) or full (CAPTURED).
ExternalData, then the full Amount of the intent is canceled (all line items). The ExternalData is optional and can be provided if the cancellation follows an event from the third-party PSP.In a full cancellation, the Status becomes CANCELLED, indicating that no further actions are possible on the Intent.200 - Response parameters
LineItems.PlatformFees value must the sum of all line item Seller.FeesAmount values.Status may differ from the Status of Intent LineItems.Intent Status values:AUTHORIZED – The Intent Amount was authorized for acquisition by the PSP and can be captured or canceled.PARTIALLY_CAPTURED – Part of the Intent Amount from one or more LineItems was captured. The other parts are either still available for capture or cancel.CAPTURED – All of the Intent Amount was captured. Part of it may have been subsequently refunded or disputed.CANCELLED – All of the Intent Amount was canceled.REFUNDED – All of the CapturedAmount of all LineItems was refunded.REFUND_REVERSED – The refund could not be completed and the funds were returned to the platform.DISPUTED – All of the CapturedAmount of all LineItems was disputed.DEFENDED – The dispute is being defended by the platform.DISPUTED_WON – The dispute was resolved in favor of the platform.DISPUTED_LOST – The dispute was resolved against the platform.Amount value. The total for each line items is calculated as ((UnitAmount x Quantity) - DiscountAmount), which is shown in the TotalLineItemAmount returned. The TaxAmount is indicative and included in the UnitAmount.The sum of all line item Seller.FeesAmount values must equal the Intent PlatformFees value.AUTHORIZED.400 - Intent must be AUTHORIZED to be canceled