Debt Lines

Estimate what a draw pays the payout account, converted at the current rate

Changed on
get/debt-lines/{id}/draw/estimate

Request

Path parameters

idstring required

An object id with prefix

Example:user_0123456789ABCDEFGHIJKLMNOPq

Query parameters

amountnumber nullable

amount of principal to draw, in the debt line currency

Response

Successful operation

amountinteger required

amount of principal to draw

currencystring required

debt line currency

payment_amountinteger required

estimated amount the payout account receives, in payment_currency

payment_currencystring required

currency of the payout account the draw is sent to

fx_ratenumber

indicative rate quoted in fx_currency_pair order; omitted when no conversion is needed

fx_currency_pairstring

currency pair fx_rate is quoted in, e.g. USDINR

Example response

{
  "amount": 10000,
  "currency": "USD",
  "payment_amount": 10000,
  "payment_currency": "USD"
}

Changes