Skip to main content
POST
Create a drawdown
Create a drawdown from an existing window forward trade.
You need to have a valid forward trade_id to create a drawdown.

Authorizations

x-api-key
string
header
required

An API Key.

Headers

Authorization
string
required

The access token

X-Contact-ID
string

The ID of the contact

Query Parameters

client_id
string
required

The ID of the client

trade_id
string
required

The ID of the forward trade to draw down from

Body

application/json

Request Payload

amount
number<double>
required

The amount to draw down

Required range: x >= 0.01
direction
enum<string>
required

The direction of the amount

Available options:
buy,
sell
value_date
string
required

The T+2 value date for the drawdown in YYYY-MM-DD or YYYY/MM/DD format

Pattern: ^\d{4}[-/]\d{2}[-/]\d{2}$
reason_for_trade
enum<string>
required

Reason for trade

Available options:
charitable_aid,
payment_for_goods,
capital_investment,
payment_for_services,
repatriation_of_goods,
repatriation_of_services,
property_purchase,
mortage_repayment,
property_rental_or_maintenance,
salary_payroll,
travel_costs,
living_costs,
repayment_of_loan,
balance_hedging,
repatriation_from_investment,
portfolio_netting,
other
use_margin
boolean
default:false
required

Whether to use any available margin from the forward trade to fund the drawdown

convert
boolean
default:false
required

Intention behind the drawdown. When set to true, drawdown will be executed and funds will be transferred between two Ebury wallets. When false, drawdown will be executed only when it is linked to at least one payment

auto_confirm_value_date
boolean
default:false

When set to true, the next available value date will be used if the requested T+2 date is invalid. When false, the request will fail if the value date is not valid

external_reference_id
string

API external reference id for the drawdown. Maximum 128 characters. Alphanumeric, hyphens, and underscores only

Maximum string length: 128
Pattern: ^[a-zA-Z0-9_-]*$

Response

Drawdown created

trade_id
string
required

Drawdown trade identifier

amount_to_transfer
number<double>

The amount to be transferred

buy_amount
number<double>

The amount in the buy currency

sell_amount
number<double>

The amount in the sell currency

rate
string

The exchange rate applied

reason_for_trade
string

The reason for trade specified in the request

external_reference_id
string

Your external reference ID if provided

convert
boolean

Whether funds will be converted

value_date
string

The value date for the drawdown

deposit_not_used
string

Amount of deposit not used from the forward trade

bank_account
object

Bank account details for funding the drawdown

fee
object

Fee details for the drawdown, including payment and trade fees

fee_bank_account
object

Bank account details for the fee payment