Record a credit (deposit) transaction

POST/api/portfolio/cash-accounts/transaction/credit/{cashAccount}

Path parameters

  • cashAccountintegerRequired#
    The cash account ID

Request body

Body shape: Portfolio_BasicCashAccountRequest (required)

Responses

200`CashAccountCashflowResource`
{}
403Forbidden.Error
404Not found.Error
422Validation error.Error
curl -X POST https://your-url.com/kong/core/api/gateway/api/portfolio/cash-accounts/transaction/credit/{cashAccount}\
  -H "Authorization: Bearer $DELIO_API_KEY"\
  -H "Content-Type: application/json"\
  -d '{
  "investor_id": 1,
  "amount": 1,
  "date": "date"
}'