Create
Create management operation
post/v1/management_operations
Create management operation
Body Parameters
amountnumber
categoryenum
Accepts one of the following: "MANAGEMENT_FEE", "MANAGEMENT_DISPUTE", "MANAGEMENT_REWARD", 2 more
directionenum
Accepts one of the following: "CREDIT", "DEBIT"
effective_datestring
formatdate
event_typeenum
Accepts one of the following: "LOSS_WRITE_OFF", "CASH_BACK", "CASH_BACK_REVERSAL", 16 more
financial_account_tokenstring
formatuuid
tokenstring
optional
formatuuid
memostring
optional
subtypestring
optional
user_defined_idstring
optional
Returns
tokenstringcategoryenumcreatedstringcurrencystringdirectionenumeventsarray of objectfinancial_account_tokenstringpending_amountnumberresultenumsettled_amountnumberstatusenumtransaction_seriesobjectupdatedstringuser_defined_idstringManagementOperationTransaction
Request example Request
curl https://api.lithic.com/v1/management_operations \
-H 'Content-Type: application/json' \
-H "Authorization: $LITHIC_API_KEY" \
-d '{
"amount": 0,
"category": "MANAGEMENT_FEE",
"direction": "CREDIT",
"effective_date": "2019-12-27",
"event_type": "LOSS_WRITE_OFF",
"financial_account_token": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
}'
200 Example
{
"token": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"category": "MANAGEMENT_FEE",
"created": "2019-12-27T18:11:19.117Z",
"currency": "currency",
"direction": "CREDIT",
"events": [
{
"token": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"amount": 0,
"created": "2019-12-27T18:11:19.117Z",
"detailed_results": [
"APPROVED"
],
"effective_date": "2019-12-27",
"memo": "memo",
"result": "APPROVED",
"type": "LOSS_WRITE_OFF",
"subtype": "subtype"
}
],
"financial_account_token": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"pending_amount": 0,
"result": "APPROVED",
"settled_amount": 0,
"status": "PENDING",
"transaction_series": {
"related_transaction_event_token": "123e4567-e89b-12d3-a456-426614174000",
"related_transaction_token": "123e4567-e89b-12d3-a456-426614174000",
"type": "FEE"
},
"updated": "2019-12-27T18:11:19.117Z",
"user_defined_id": "user_defined_id"
}