Skip to main content

Remita Loans API

Overview​

The Remita Loans API provides a complete set of operations for managing salary-backed loan origination through Remita. It supports the full loan lifecycle — from creation and approval through mandate activation to disbursement and repayment tracking.

Loan CRUD Operations​

#CommandTypeDescription
1CreateRemitaLoanRequestCommandCommandCreate a new loan request with borrower details
2UpdateRemitaLoanRequestCommandCommandUpdate an existing loan request
3SubmitRemitaLoanForApprovalCommandCommandSubmit a loan request for approval
4ApproveRemitaLoanRequestCommandCommandApprove a pending loan request
5RejectRemitaLoanRequestCommandCommandReject a loan request with reason
6ActivateRemitaMandateCommandCommandActivate salary deduction mandate
7DisburseRemitaLoanCommandCommandDisburse loan amount to borrower
8CancelRemitaLoanRequestCommandCommandCancel a loan request
9RetrieveRemitaLoanRequestsQueryQueryList loan requests with filtering and pagination
10RetrieveRemitaLoanRequestByIdQueryQueryGet a single loan request by ID
11SyncRemitaPaymentHistoryCommandCommandSync Remita repayments to local DB

Remita API Integration​

#CommandTypeDescription
1ProcessRemitaActivateMandateCommandCommandCall Remita API to activate salary deduction mandate
2ProcessRemitaStopMandateCommandCommandStop mandate via Remita API
3ProcessRemitaDisburseLoanCommandCommandTrigger core banking fund transfer
4ProcessRemitaRejectLoanCommandCommandProcess rejection with notification
5GetRemitaSalaryHistoryQueryQueryReturn salary payment history from Remita
6GetRemitaPaymentHistoryQueryQueryReturn repayment history

Loan Lifecycle​

Common Request Pattern​

All commands and queries are sent as a POST to the unified BPM endpoint:

POST /api/bpm/cmd
Content-Type: application/json
Authorization: Bearer {token}

Request body:

{
"$type": "CommandOrQueryClassName",
// ...command-specific fields
}

Common Response Pattern​

Success:

{
"success": true,
"data": { },
"message": "Operation completed successfully"
}

Error:

{
"success": false,
"data": null,
"message": "Description of what went wrong",
"errors": ["Detailed error 1", "Detailed error 2"]
}

Remita API Authentication​

Remita API integration uses SHA-512 HMAC for request authentication. Each request to the Remita API is signed using a hash computed from a combination of the merchant ID, API key, request ID, and API token. The platform handles this signing automatically — no manual hash computation is required when using BankLingo commands.

Signature formula:

hash = SHA512(merchantId + apiKey + requestId + apiToken)

Authentication​

All Remita Loans API requests require a valid Bearer token in the Authorization header. Tokens are obtained via the authentication endpoint and must belong to a user with the appropriate loan management permissions.