The Intent object represents the declaration of a payment authorization made via a third-party PSP.
Read more about Mangopay Echo →
The unique identifier of the intent.
The full amount authorized in the Intent, which must equal the sum of the total amounts of all LineItems
.
The remaining amount of the Intent that can be split and transferred to the sellers’ wallets.
The currency of the intent.
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 PlatformFees
value must the sum of all line item Seller.FeesAmount
values.
The status of the Intent:
AUTHORIZED
– The Intent Amount
was authorized for acquisition by the PSP.PARTIALLY_CAPTURED
– Part of the Intent Amount
was captured and is expected in a Settlement.CAPTURED
– The full Intent Amount
was captured and is expected in a Settlement.CANCELED
– Some or all of the Amount
was canceled.REFUNDED
– Some or all of the Amount
was refunded.REFUND_REVERSED
– The refund could not be completed and the funds were returned to the platform.DISPUTED
– A dispute occurred on some or all of the Amount
.DEFENDED
– The disputed funds were returned to the platform temporarily until the dispute is resolved.DISPUTED_WON
– The dispute was resolved in favor of the platform.DISPUTED_LOST
– The dispute was resolved against the platform: funds permanently withdrawn to the buyer.The possible next actions on the intent.
Information about the transaction authorization processed by the third-party PSP.
Information about the buyer.
Information about the items purchased in the transaction.
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 PlatformFees
value.
The date and time at which the Intent was created.
The date and time at which the Intent moved to AUTHORIZED
.
Information about the amounts captured against the Intent.
Information about the amounts refunded against the intent
Information about the disputes created against against the intent
Information about the amounts split against the intent
The unique identifier of the Settlement linked to this Intent, if one has been successfully created by uploading a settlement file to POST Create a Settlement.