v1

latestOpenAPI 3.1.02026-07-24233206489.1 KB
contracts

Create withdrawal

Draws down funds from an active revolving credit line contract.

post/v1/capitals/contracts/{contract_id}/withdrawals

Path parameters

contract_idstring required

Contract ID

Request body

amountinteger required
purposestring

Response

Created

messagestring

Example response

{
  "data": {
    "created_at": "2024-01-01T00:00:00Z",
    "id": "loan_123",
    "outstanding_dst_amount": 500,
    "outstanding_interest_amount": 15000,
    "outstanding_principal_amount": 300000,
    "principal_amount": 300000,
    "purpose": "Expand business inventory"
  }
}