Developers / Tools & Resources

Finance

APIs in this module provide various functionalities as regards customers' financial accounts.

Create Cash Transaction

Allows you to perform a cash transaction, either funding or withdrawing from, on a customer’s accacount.

#Sample cURL command
curl -X 'POST' \
'https://zas-dev.zanibal.com/api/v1/finance/cash-transaction/create' \
-H 'accept: application/json; charset=UTF-8' \
-H 'Content-Type: application/json' \
-d '{
"id": 0,
"name": "string",
"batchName": "string",
"transactionDate": "2022-04-25T14:02:20.155Z"
"valueDate": "2022-04-25T14:02:20.155Z"
"transState": "string",
"businessOfficeName": "string",
"transType": "string",
"transMethod": "string",
"partnerId": 0,
"partnerName": "string",
"description": "string",
"currency": "string",
"amount": 0,
"processingFees": 0,
"processingFeeType": "string",
"earlyWithdrawalRate": 0,
"maxNoOfDebits": 0,
"noOfExecutedDebits": 0,
"contraAcctId": 0,
"processingFeeAcctId": 0,
"processingFeeAcctName": "string",
"contraAcctName": "string",
"cashAccountId": 0,
"cashAccountName": "string",
"counterPartyPartnerName": "string",
"counterPartyCashAccount": "string",
"reference": "string",
"bankStmtCleared": true,
"corpAction": true,
"approvedBy": 0,
"transProcessorResponse": "string",
"transactionProcessor": "string",
"transactionProcessor": "string",
"paymentGatewayId": 0,
"businessOfficeId": "string"
}'

After a cash transaction has been created and approved, this API submits/posts the transaction for it to take effect.

#Sample cURL command
curl -X 'PUT' \
'https://zas-dev.zanibal.com/api/v1/finance/cash-transaction/post/id/002' \
-H 'accept: application/json; charset=UTF-8' \

Returns the general ledger of a  particular account whose id is passed.

#Sample cURL command
curl -X 'GET' \
'https://zas-dev.zanibal.com/api/v1/finance/filedger/list/account/id?a=002' \
-H 'accept: application/json; charset=UTF-8' \