Create a Quote
This call guarantees a conversion rate to let you Create a Quoted Conversion.
Body parameters
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).
Note: For conversions between client wallets, the quote cannot have Fees
specified.
Max. length: 255 characters
Custom 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.
Allowed values: 300
, 3600
The 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
, EXPIRED
The status of the quote:
ACTIVE
– The quote can be used to execute a quoted conversion.EXPIRED
– The quote can’t be used because theExpirationDate
is passed.
Information about the debited funds.
Information about the credited funds.
Information about the conversion rate used during the transaction.
Max. length: 255 characters
Custom 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.
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