Conversions
Create a Quoted Conversion between Client Wallets
Changed onThis call triggers a conversion at the rate defined in its quote. The debited funds (sell currency), credited funds (buy currency), and amounts are defined in the quote. The Client Wallets to debit and credit are defined in the conversion.
Each quoted conversion requires a dedicated Quote object, linked in the QuoteId.
Quoted conversions between client wallets:
- 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).
post/v2.01/{ClientId}/clients/conversions/quoted-conversion
Request
- Base URLhttps://api.sandbox.mangopay.com
- URLhttps://api.sandbox.mangopay.com/v2.01/{ClientId}/clients/conversions/quoted-conversion
- AuthHTTP bearer
Path parameters
ClientIdstring required
Platform's API account identifier, associated with the API key.
Request body
Response
Success
Changes
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
oauth2was added to the API
- warning
- info
api operation id
create_quoted_conversion_client_walletsremoved and replaced withconversions_create_quoted_conversion_client_wallets
- info