How it works
The following diagram describes the different steps required to exchange funds internally with Equals. Click on the image to enlarge it.Exchange currencies within a budget
POST
/v2/orders/tradeBefore you start
To exchange currencies within a budget, you first need to create a quote where:type.fromandtype.toare set tobalance- at least one of
sourceCurrency.amountortargetCurrency.amountis provided sourceCurrency.currency.budgetIdandtargetCurrency.currency.budgetIdare set to the ID of the parent budget
GBP to USD:
Request
Use this request to exchange currencies within a budget, using theorderId and quoteRequestId returned when you created a quote.
Query parameters
string
required
The ID of the account that you’re creating an order for.Allowable values: An existing
accountIdRequest body schema
string
required
The ID of the order.Allowable values: An existing
orderId (≤ 36 characters)string
required
The ID of the quote request.Allowable values: An existing
quoteRequestId (≤ 36 characters)Response
If your request is successful, you’ll receive a200 response.