Cancel an Intent
Authentication
Path parameters
Request
The amount of the cancellation, required for a partial cancellation. The cancellation Amount must equal the sum of its line items.
The amount of fees to be diverted to the platform’s Fees Wallet when the Intent is split. This value can be overridden when the Split is created.
The PlatformFeesAmount value must the sum of all line item Seller.FeesAmount values.
Information about the cancellation processed by the third-party PSP.
Response
The full amount authorized in the Intent, which must equal the sum of the total amounts of all LineItems.
The amount of fees to be diverted to the platform’s Fees Wallet when the Intent is split. This value can be overridden when the Split is created.
The PlatformFeesAmount value must the sum of all line item Seller.FeesAmount values.
The status of the Intent, as declared by the platform through Intent Captures, Refunds (and reversals), or Disputes (and decisions). Where partial actions occur, the top-level Intent Status may differ from the Status of Intent LineItems.
Intent Status values:
AUTHORIZED– The IntentAmountwas authorized for acquisition by the PSP and can be captured or canceled.PARTIALLY_CAPTURED– Part of the IntentAmountfrom one or moreLineItemswas captured. The other parts are either still available for capture or cancel.CAPTURED– All of the IntentAmountwas captured. Part of it may have been subsequently refunded or disputed.CANCELLED– All of the IntentAmountwas canceled.REFUNDED– All of theCapturedAmountof allLineItemswas refunded.REFUND_REVERSED– The refund could not be completed and the funds were returned to the platform.DISPUTED– All of theCapturedAmountof allLineItemswas 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.
Information about the transaction authorization processed by the third-party PSP.
Information about the items purchased in the transaction. A maximum of 100 line items can be created per Intent.
The sum of all line item amounts must equal the Intent 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 PlatformFeesAmount value.
Unix timestamp (UTC) of the date and time the object was created.
Unix timestamp (UTC) of the date and time the Intent moved to AUTHORIZED.