Quotes
Create a Quote
POST
This call guarantees a conversion rate for a quoted conversion. If the quote is for a client wallet conversion then the quote:Documentation Index
Fetch the complete documentation index at: https://docs.mangopay.com/llms.txt
Use this file to discover all available pages before exploring further.
- Can’t include
Fees– the conversion attempt will return a 400 error if itsQuoteIdincludes fees - Shouldn’t include
UserMargin– the conversion attempt will not be blocked butUserMarginis disregarded – in theConversionRateResponse(the user’sFinalRateis the same as the platform’sClientRate)
Body parameters
- Quote for User Wallets
- Quote for Client Wallets
Information about the debited funds.
Information about the credited funds.
Information about the fees taken by the platform for this transaction (and hence transferred to the Fees Wallet).
Information about an indicative margin your platform can calculate and charge to the user after conversion. These values are used to calculate the
ConversionRateResponse.FinalRate and the MarginsResponse.User in the API response.Max. length: 255 charactersCustom data that you can add to this object.
For transactions (pay-in, transfer, payout), you can use this parameter to identify corresponding information regarding the user, transaction, or payment methods on your platform.
For transactions (pay-in, transfer, payout), you can use this parameter to identify corresponding information regarding the user, transaction, or payment methods on your platform.
Allowed values:
300, 3600The time in seconds during which the quote is active and can be used for conversions.By default, quotes are available for a duration of 5 or 60 minutes, as agreed between Mangopay and the platform.Responses
200 - Active
200 - Active
Max length: 128 characters (see data formats for details)The unique identifier of the object.
The date and time at which the object was created.
The date and time at which the quote expires and can no longer be used.
Returned values:
ACTIVE, EXPIREDThe status of the quote:ACTIVE– The quote can be used to execute a quoted conversion.EXPIRED– The quote can’t be used because theExpirationDateis passed.
Information about the debited funds.
Information about the credited funds.
Information about the
Fees sent in the request.Information about the
MarketRate used to convert funds and other indicative rates.Information about the margins calculated for the transaction.
Max. length: 255 charactersCustom data that you can add to this object.
For transactions (pay-in, transfer, payout), you can use this parameter to identify corresponding information regarding the user, transaction, or payment methods on your platform.
For transactions (pay-in, transfer, payout), you can use this parameter to identify corresponding information regarding the user, transaction, or payment methods on your platform.
403 - Duration not allowed
403 - Duration not allowed
403 - Currency not activated
403 - Currency not activated
403 - Quoted conversion feature not activated
403 - Quoted conversion feature not activated
400 - Amount not sent in either DebitedFunds or CreditedFunds
400 - Amount not sent in either DebitedFunds or CreditedFunds
400 - Amount sent in both DebitedFunds CreditedFunds
400 - Amount sent in both DebitedFunds CreditedFunds