Skip to main content
POST
This call guarantees a conversion rate for a quoted conversion. If the quote is for a client wallet conversion then the quote:
  • Can’t include Fees – the conversion attempt will return a 400 error if its QuoteId includes fees
  • Shouldn’t include UserMargin – the conversion attempt will not be blocked but UserMargin is disregarded – in the ConversionRateResponse (the user’s FinalRate is the same as the platform’s ClientRate)

Body parameters

object
required
Information about the debited funds.
object
required
Information about the credited funds.
object
Information about the fees taken by the platform for this transaction (and hence transferred to the Fees Wallet).
object
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.
string
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.
integer
required
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

string
Max length: 128 characters (see data formats for details)The unique identifier of the object.
Unix timestamp
The date and time at which the object was created.
Unix timestamp
The date and time at which the quote expires and can no longer be used.
string
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 the ExpirationDate is passed.
object
Information about the debited funds.
object
Information about the credited funds.
object
Information about the Fees sent in the request.
object
Information about the MarketRate used to convert funds and other indicative rates.
object
Information about the margins calculated for the transaction.
string
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.