Loan disbursement
This is a step by step tutorial on how you can use Zūm Rails to disburse a new loan payment
Prerequisites
2
3
4
Create a user - The loan recipient
Endpoint: /api/user
Method: POSTExample of creating a user that will enable Interac e-transfer:
{
"FirstName": "John",
"LastName": "Doe",
"Email": "[email protected]"
}Example of creating a user that will enable EFT payments:
{
"FirstName": "John",
"LastName": "Doe",
"Email": "[email protected]",
"BankAccountInformation": {
"InstitutionNumber": "123",
"TransitNumber": "12345",
"AccountNumber": "1234567"
}
}Example of creating a user that will enable Interac and EFT payments via data aggregation:
5
Create transaction - Disburse the loan
Endpoint: /api/transaction
Method: POSTLoan disbursement via Interac e-transfer
{
"ZumRailsType": "AccountsPayable",
"TransactionMethod": "Interac",
"Amount": 123.45,
"Memo": "Laon 01",
"Comment": "Issuing a loan via Interac e-transfer to John Smith",
"UserId": "<the-user-id-from step 4",
"WalletId": "<your-wallet-id>",
"InteracHasSecurityQuestionAndAnswer": true,
"InteracSecurityQuestion": "Your question",
"InteracSecurityAnswer": "Your answer"
}Loan disbursement via EFT
{
"ZumRailsType": "AccountsPayable",
"TransactionMethod": "Eft",
"Amount": 123.45,
"Memo": "Laon 01",
"Comment": "Issuing a loan via EFT to John Smith",
"UserId": "<the-user-id-from step 4",
"WalletId": "<your-wallet-id>"
}Last updated
Was this helpful?


