Declare a transaction authorization processed by a third-party PSP
AUTHORIZED (as shown by the Status in the response), the Intent’s LineItems can be:
LineItems to an existing Intent by sending the same ExternalData.ExternalProviderReference as the existing Intent.
In a hybrid flow, where the ExternalProviderName is Mangopay, you can define the LineItems.SplitOriginWalletId in the Intent, otherwise it must be defined on POST Create an Intent Split.
LineItems.PlatformFees value must the sum of all line item Seller.FeesAmount values.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.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 Amount must equal sum of line items'
400 - LineItems.Seller.WalletId currency must match Intent Currency
400 - SplitOriginWalletId not available third-party acquirers