- get the
orderIdandpaymentDetailsreturned in the responseprotocolfield - generate the transaction data using the above two fields, as described in the
architecture section
- note that
paymentDetailsmight involve a different currency and amount from the ones requested via the /quote/v2 API - when directly using the transaction data generated by the API, that will include any needed swaps for converting the user’s input currency to the currency and amount specified by the order
- when the transaction data is generated by the integrator, it’s up to them to construct it in such a way so that the correct currency and amount ends up deposited
- note that
protocol object, as returned by the
/quote/v2 API: