Connect your bank's apps, USSD, agents and partners to customers, accounts, investments and loans in NumCore.
X-NumCore-Tenant. Every call needs both.curl https://api.numcore.io/v1/customers?limit=5 \
-H "Authorization: Bearer $TOKEN" \
-H "X-NumCore-Tenant: yourbank-sandbox"
Build and test against your sandbox first. Nothing in it is real money.
| Bank code | Sign-in realm | |
|---|---|---|
| Sandbox | yourbank-sandbox |
https://auth.numcore.io/realms/yourbank-sandbox |
| Live | yourbank |
https://auth.numcore.io/realms/yourbank |
Both use https://api.numcore.io. Sandbox and live are fully separate, including API clients: create a new one when
you go live.
Exchange the API client's id and secret for a token (OAuth 2.0 client credentials):
curl https://auth.numcore.io/realms/yourbank-sandbox/protocol/openid-connect/token \
-d grant_type=client_credentials \
-d client_id=$CLIENT_ID \
-d client_secret=$CLIENT_SECRET
{ "access_token": "eyJhbGciOi...", "expires_in": 300, "token_type": "Bearer" }
Send it on every call as Authorization: Bearer <access_token>.
Register your system's TLS client certificate on the API client (Administration › API clients › Certificate in the console). From then on every call must come over mutual TLS with that certificate, so a leaked secret or token is no use without the certificate's private key.
curl https://api.numcore.io/v1/customers \
--cert bridge.crt --key bridge.key \
-H "Authorization: Bearer $TOKEN" -H "X-NumCore-Tenant: yourbank"
401 client_certificate_required; with another one, 401 client_certificate_mismatch.| In the console | Effect |
|---|---|
| Replace secret | The old secret stops working at once. |
| Disable | Its tokens stop working at once. |
| Delete | Removed; its history stays in the audit trail. |
| Certificate | Every call must come with that TLS client certificate. |
A client has roles like a staff member. A call needs the permission (from its roles) and the API product (from your licence).
Your licence sets which products you can call; each operation shows its product. Others answer
403 api_not_licensed. Sandboxes can call every product.
| Product | What it covers |
|---|---|
customers.create |
Create and activate customers |
customers.read |
Customer details |
customers.kyc |
KYC tiers, address verification, identifiers, documents, next of kin |
accounts.open |
Open, approve and activate savings and current accounts |
accounts.balances |
Savings and current accounts with their balances |
accounts.statements |
Account transactions |
accounts.deposits-withdrawals |
Post deposits and withdrawals |
accounts.transfers |
Transfer between accounts in the bank |
investments.create |
Open, approve, activate and top up fixed and recurring deposits |
investments.read |
Fixed and recurring deposits with their transactions |
loans.read |
Loans with their schedules and transactions |
loans.repayments |
Take loan repayments |
events.read |
The event feed: every event in order |
To add a product, contact NumCore.
Amounts are strings with an ISO 4217 currency: { "amount": "1500.00", "currency": "NGN" }. Use a decimal type;
floating point loses kobo.
Every request that moves money needs clientRef: your own reference, up to 50 characters (e.g. USSD-55120 or a
NIP session ID).
clientRef and body after a timeout: you get the original result; the money moves once.
A retry sent while the first try is still running waits for it, then gets its result.clientRef with a different body answers 409 client_ref_reused.curl -X POST https://api.numcore.io/v1/savings-accounts/42/deposits \
-H "Authorization: Bearer $TOKEN" -H "X-NumCore-Tenant: yourbank-sandbox" \
-H "Content-Type: application/json" \
-d '{ "amount": "5000.00", "description": "Cash deposit", "clientRef": "USSD-55120" }'
Lists are paged with a cursor:
GET /v1/customers?limit=50
→ { "items": [ ... ], "nextCursor": "eyJpZCI6NTB9" }
GET /v1/customers?limit=50&cursor=eyJpZCI6NTB9
limit is 1 to 200 (default 50). When nextCursor is null there are no more pages.
Errors are RFC 9457 problem details. Act on code, not the wording.
{
"status": 422,
"title": "Insufficient funds",
"detail": "The account has 3,200.00 available; the withdrawal is 5,000.00.",
"code": "insufficient_funds",
"traceId": "00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01"
}
| Status | Common codes | What to do |
|---|---|---|
| 400 | validation_failed, client_ref_required, https_required |
Fix the fields listed in errors. Always call over HTTPS. |
| 401 | unauthenticated |
Get a new token. |
| 401 | client_certificate_required, client_certificate_mismatch |
Connect with the client certificate registered for these credentials. |
| 403 | forbidden, api_not_licensed |
The client's roles or your licence don't allow it. |
| 404 | customer_not_found, savings_account_not_found, ... |
Check the id. |
| 409 | client_ref_reused, account_not_active |
Use a new clientRef, or check the account. |
| 409 | client_ref_in_progress |
Rare: the first try was still running. Send the same request again after Retry-After seconds to get its result. |
| 422 | insufficient_funds, ... |
A business rule refused it. Show detail to staff. |
| 429 | rate_limited |
Slow down and retry after Retry-After seconds. |
| 5xx | internal_error |
Retry later. Quote traceId to support. |
Operations list only their own codes; the ones above can come from any call.
If your bank requires approval for an action, the call answers 202 and runs once a checker approves it.
Each request sends the token and X-NumCore-Tenant. Get officeId and productId values from your bank's console.
Products: customers.create, customers.kyc.
1. Create and activate the customer in one call:
POST /v1/customers
{
"legalForm": "person",
"officeId": 1,
"firstName": "Amaka",
"lastName": "Okafor",
"dateOfBirth": "1994-03-18",
"gender": "female",
"mobileNumber": "08031234567",
"email": "amaka@example.ng",
"bvn": "22212345678",
"activate": true,
"activatedOn": "2026-11-10"
}
201 returns the customer's id and customerNumber.
If the customer looks like one the bank already has (the same name and date of birth, or the same email), 409 possible_duplicate_customer lists up to five matches in duplicates. Check them; if this really is someone else,
send the request again with "allowPossibleDuplicate": true. A bank can turn this check off, or make it refuse
outright with duplicate_customer.
2. Record the BVN check after verifying it with NIBSS:
POST /v1/customers/{id}/identifier-verifications
{ "type": "bvn", "verifiedOn": "2026-11-10" }
3. Check the KYC tier:
GET /v1/customers/{id}/kyc
Products: accounts.open, accounts.deposits-withdrawals, accounts.balances.
1. Submit, approve and activate the account:
POST /v1/savings-accounts
{ "productId": 3, "customerId": 1024 }
POST /v1/savings-accounts/{id}/approval
{ "approvedOn": "2026-11-10" }
POST /v1/savings-accounts/{id}/activation
{ "activatedOn": "2026-11-10" }
2. Deposit, with a new clientRef:
POST /v1/savings-accounts/{id}/deposits
{
"amount": "25000.00",
"description": "Opening deposit",
"clientRef": "APP-778812"
}
3. Read the balance:
GET /v1/savings-accounts/{id}
Product: accounts.transfers.
POST /v1/savings-accounts/{fromId}/transfers
{
"toAccountId": 2051,
"amount": "10000.00",
"description": "Rent",
"clientRef": "APP-778813"
}
Both accounts must be in the same currency.
Product limits: an account's product may cap one withdrawal or transfer out (withdrawal_limit_exceeded), what
they come to in a day (daily_withdrawal_limit_exceeded), and the balance a credit may reach
(maximum_balance_exceeded). The account's terms show its maximumWithdrawal, dailyWithdrawalLimit and
maximumBalance, and its interestTiers when it earns more on larger balances.
Channels: when money comes or goes through POS, NIP, a cheque or another outside channel, send the bank's
channelId for it with a deposit, withdrawal, loan repayment or cash loan payout. The bank sets its channels up in the
console and gives you their ids. The money then settles in that channel's own GL account, so the bank can reconcile it
against the scheme's statement. An unknown channel is transaction_channel_not_found; one the bank has stopped using is
transaction_channel_inactive.
Products: loans.read, loans.repayments.
1. See what is due:
GET /v1/loans/{id}/schedule
2. Post the repayment:
POST /v1/loans/{id}/repayments
{ "amount": "15500.00", "clientRef": "USSD-55120" }
It pays the oldest instalments first.
To prepay, so the later instalments get smaller or fewer, preview it and then post it:
POST /v1/loans/{id}/prepayments/preview
{ "amount": "200000.00", "effect": "reduceTerm" }
POST /v1/loans/{id}/prepayments
{ "amount": "200000.00", "effect": "reduceTerm", "clientRef": "APP-88213" }
It settles what is due first. The rest pays principal ahead, and the instalments after the next one are recalculated
on the lower balance: reduceInstallment keeps their number, reduceTerm ends the loan sooner.
Variable-rate loans follow a rate index the bank sets up, plus a margin. Apply with interestRateMargin instead of
interestRatePerPeriod; the loan's variableRate shows the margin, floor and cap. When the index moves, end of day
recalculates the instalments from the next period, and GET /v1/loans/{id}/rate-changes lists each change.
Credit lines: when the bank has approved a limit for the borrower, send its creditLineId with the application.
The loan is refused if it would take the borrower over the limit, and the loan shows the line it was drawn under.
Product: investments.create.
POST /v1/fixed-deposit-accounts
{
"productId": 7,
"customerId": 1024,
"depositAmount": "500000.00",
"term": 90,
"funding": "savingsTransfer",
"linkedSavingsAccountId": 4410
}
term is in the product's unit (here days). Approve and activate it as for a savings account.
NumCore tells you when money moves and when records change. Add your HTTPS address in the console under Administration › Webhooks, pick the events, and copy the signing secret.
Transaction alerts:
| Event | When |
|---|---|
savings.credited |
Money paid into a savings, current or term deposit account |
savings.debited |
Money taken out of one |
loan.disbursed |
A loan paid out |
loan.repaid |
A loan repayment taken |
transaction.reversed |
One of these reversed |
Lifecycle events, sent in the same database transaction as the change:
| Events | When |
|---|---|
customer.created, .activated, .closed, .rejected, .withdrawn |
A customer is created or changes status |
savings.created, .approved, .activated, .matured, .closed, .rejected, .withdrawn |
A savings, current, fixed or recurring deposit account is opened or changes status |
loan.created, .approved, .overpaid, .closed, .writtenOff, .reopened, .rejected, .withdrawn |
A loan is applied for or changes status (paying it out is loan.disbursed) |
approval.requested, .approved, .rejected, .withdrawn, .failed |
A change waits for a checker, or is decided |
endOfDay.completed, endOfDay.completedWithFailures |
End of day finishes |
A record created straight into a later status, such as a customer created active, sends both events:
customer.created, then customer.activated. Lifecycle events carry ids, numbers and statuses, not names or
contact details.
Each event is one POST (body). Answer 2xx within 10 seconds or it is retried with a growing wait.
X-NumCore-Event-Id.After 5 failed deliveries in a row (the bank can change this) NumCore pauses your endpoint. While it is paused nothing
is sent and no delivery uses up its retries. Every 5 minutes, waiting twice as long after each failure up to 6 hours,
one trial delivery is sent. When a trial or a test ping from the console gets a 2xx, everything waiting is sent.
GET /v1/events (reference) lists the same events in a fixed order, for systems that would rather read
at their own pace. Keep the position of the last event you processed and ask for what comes after it:
curl -H "Authorization: Bearer $TOKEN" -H "X-NumCore-Tenant: yourbank" \
"https://api.numcore.io/v1/events?after=1840&types=loan.approved,loan.closed&limit=100"
Asking after a position never skips an event. If hasMore is true, ask again at once with lastPosition. Events are
kept for 30 days by default. The feed needs the events.read product.
X-NumCore-Signature is v1= plus the hex HMAC-SHA256 of {X-NumCore-Timestamp}.{raw body}, keyed with the signing
secret. Refuse timestamps more than five minutes old.
import crypto from 'node:crypto';
function verify(rawBody, headers, secret) {
const timestamp = headers['x-numcore-timestamp'];
if (Math.abs(Date.now() / 1000 - Number(timestamp)) > 300) return false;
const expected = 'v1=' + crypto.createHmac('sha256', secret).update(`${timestamp}.${rawBody}`).digest('hex');
const given = headers['x-numcore-signature'] ?? '';
return given.length === expected.length && crypto.timingSafeEqual(Buffer.from(given), Buffer.from(expected));
}
static bool Verify(string rawBody, string timestamp, string signature, string secret)
{
if (Math.Abs(DateTimeOffset.UtcNow.ToUnixTimeSeconds() - long.Parse(timestamp)) > 300) return false;
using var hmac = new HMACSHA256(Encoding.UTF8.GetBytes(secret));
var expected = "v1=" + Convert.ToHexStringLower(hmac.ComputeHash(Encoding.UTF8.GetBytes($"{timestamp}.{rawBody}")));
return CryptographicOperations.FixedTimeEquals(Encoding.UTF8.GetBytes(signature), Encoding.UTF8.GetBytes(expected));
}
Use the raw body, before JSON parsing. The body has the customer's phone and email: treat it as personal data.
Within /v1 we only add operations, optional fields and new values (statuses, events, error codes), so handle
unknown values. Breaking changes come as /v2, announced in advance, with /v1 kept running.
Download the OpenAPI file to generate clients or import into Postman.
API product: customers.read
| officeId | integer <int64> |
| status | string Enum: "pending" "active" "closed" "rejected" "withdrawn" |
| search | string Matches the display name, Customer ID or mobile number anywhere, ignoring case. |
| limit | integer [ 1 .. 200 ] Default: 50 Page size. |
| cursor | string The nextCursor from the previous page. |
required | Array of objects |
| nextCursor | string or null |
curl https://api.numcore.io/v1/customers \ -H "Authorization: Bearer $TOKEN" \ -H "X-NumCore-Tenant: yourbank-sandbox"
{- "items": [
- {
- "id": 0,
- "customerNumber": "C482915307",
- "mainAccountNumber": "0123456789",
- "legalForm": "person",
- "status": "pending",
- "officeId": 0,
- "displayName": "Ada Ngozi Obi",
- "externalId": "string",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "dateOfBirth": "2019-08-24",
- "gender": "male",
- "fullName": "string",
- "incorporationNumber": "string",
- "incorporationDate": "2019-08-24",
- "mobileNumber": "+2348031234567",
- "email": "string",
- "submittedOn": "2019-08-24",
- "activatedOn": "2019-08-24",
- "closedOn": "2019-08-24",
- "rejectedOn": "2019-08-24",
- "withdrawnOn": "2019-08-24",
- "reactivatedOn": "2019-08-24",
- "statusReason": "string",
- "address": "string",
- "addressVerifiedOn": "2019-08-24",
- "kycTier": 1,
- "insiderRelationship": "director",
- "insiderNote": "string",
- "nextOfKin": {
- "name": "Chidi Obi",
- "relationship": "Brother",
- "mobileNumber": "+2348031234567",
- "address": "string",
- "email": "user@example.com"
}
}
], - "nextCursor": "string"
}A person needs firstName and lastName; a business needs fullName.
API product: customers.create
| legalForm required | string Enum: "person" "entity" |
| officeId required | integer <int64> |
| firstName | string <= 100 characters Person only; required for a person. |
| middleName | string <= 100 characters Person only. |
| lastName | string <= 100 characters Person only; required for a person. |
| dateOfBirth | string <date> Person only. |
| gender | string Enum: "male" "female" |
| fullName | string <= 200 characters Entity only; required for an entity. |
| incorporationNumber | string <= 50 characters Entity only. |
| incorporationDate | string <date> Entity only. |
| externalId | string <= 100 characters |
| mobileNumber | string Spaces, dashes, dots and brackets are dropped; then an optional + and 7 to 15 digits. |
string <email> <= 200 characters | |
| submittedOn | string <date> Defaults to today. |
| activate | boolean Activate immediately; requires activatedOn. |
| activatedOn | string <date> Only with activate true. |
| address | string <= 500 characters Residential or registered address. |
| bvn | string Person only. |
| nin | string Person only. |
object Custom field values keyed by field key, e.g. {"marketAssociation": "Balogun traders", "dependants": "3"}. | |
| allowPossibleDuplicate | boolean Go ahead although the customer looks like one the bank already has. |
| id required | integer <int64> |
| customerNumber required | string |
| legalForm required | string Enum: "person" "entity" |
| status required | string Enum: "pending" "active" "closed" "rejected" "withdrawn" |
| officeId required | integer <int64> |
| displayName required | string First, middle and last name for a person; the registered name for an entity. |
| submittedOn required | string <date> |
| mainAccountNumber | string or null The customer's main account number: their first-opened savings or current account that isn't closed. |
| externalId | string or null |
| firstName | string or null |
| middleName | string or null |
| lastName | string or null |
| dateOfBirth | string or null <date> |
Gender (string) or null | |
| fullName | string or null |
| incorporationNumber | string or null |
| incorporationDate | string or null <date> |
| mobileNumber | string or null |
string or null | |
| activatedOn | string or null <date> |
| closedOn | string or null <date> |
| rejectedOn | string or null <date> |
| withdrawnOn | string or null <date> |
| reactivatedOn | string or null <date> |
| statusReason | string or null Why the customer was closed, rejected or withdrawn. |
| address | string or null |
| addressVerifiedOn | string or null <date> When the bank verified the address. |
| kycTier | integer or null [ 1 .. 3 ] CBN KYC tier of a person. |
InsiderRelationship (string) or null Set when the customer is an insider of the bank. | |
| insiderNote | string or null |
NextOfKin (object) or null A person's next of kin, if recorded. |
{- "legalForm": "person",
- "officeId": 0
}{- "id": 0,
- "customerNumber": "C482915307",
- "mainAccountNumber": "0123456789",
- "legalForm": "person",
- "status": "pending",
- "officeId": 0,
- "displayName": "Ada Ngozi Obi",
- "externalId": "string",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "dateOfBirth": "2019-08-24",
- "gender": "male",
- "fullName": "string",
- "incorporationNumber": "string",
- "incorporationDate": "2019-08-24",
- "mobileNumber": "+2348031234567",
- "email": "string",
- "submittedOn": "2019-08-24",
- "activatedOn": "2019-08-24",
- "closedOn": "2019-08-24",
- "rejectedOn": "2019-08-24",
- "withdrawnOn": "2019-08-24",
- "reactivatedOn": "2019-08-24",
- "statusReason": "string",
- "address": "string",
- "addressVerifiedOn": "2019-08-24",
- "kycTier": 1,
- "insiderRelationship": "director",
- "insiderNote": "string",
- "nextOfKin": {
- "name": "Chidi Obi",
- "relationship": "Brother",
- "mobileNumber": "+2348031234567",
- "address": "string",
- "email": "user@example.com"
}
}By id or Customer ID.
API product: customers.read
required | integer or string Example: C482915307 The customer's id, or their Customer ID. |
| id required | integer <int64> |
| customerNumber required | string |
| legalForm required | string Enum: "person" "entity" |
| status required | string Enum: "pending" "active" "closed" "rejected" "withdrawn" |
| officeId required | integer <int64> |
| displayName required | string First, middle and last name for a person; the registered name for an entity. |
| submittedOn required | string <date> |
| mainAccountNumber | string or null The customer's main account number: their first-opened savings or current account that isn't closed. |
| externalId | string or null |
| firstName | string or null |
| middleName | string or null |
| lastName | string or null |
| dateOfBirth | string or null <date> |
Gender (string) or null | |
| fullName | string or null |
| incorporationNumber | string or null |
| incorporationDate | string or null <date> |
| mobileNumber | string or null |
string or null | |
| activatedOn | string or null <date> |
| closedOn | string or null <date> |
| rejectedOn | string or null <date> |
| withdrawnOn | string or null <date> |
| reactivatedOn | string or null <date> |
| statusReason | string or null Why the customer was closed, rejected or withdrawn. |
| address | string or null |
| addressVerifiedOn | string or null <date> When the bank verified the address. |
| kycTier | integer or null [ 1 .. 3 ] CBN KYC tier of a person. |
InsiderRelationship (string) or null Set when the customer is an insider of the bank. | |
| insiderNote | string or null |
NextOfKin (object) or null A person's next of kin, if recorded. |
curl https://api.numcore.io/v1/customers/1 \ -H "Authorization: Bearer $TOKEN" \ -H "X-NumCore-Tenant: yourbank-sandbox"
{- "id": 0,
- "customerNumber": "C482915307",
- "mainAccountNumber": "0123456789",
- "legalForm": "person",
- "status": "pending",
- "officeId": 0,
- "displayName": "Ada Ngozi Obi",
- "externalId": "string",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "dateOfBirth": "2019-08-24",
- "gender": "male",
- "fullName": "string",
- "incorporationNumber": "string",
- "incorporationDate": "2019-08-24",
- "mobileNumber": "+2348031234567",
- "email": "string",
- "submittedOn": "2019-08-24",
- "activatedOn": "2019-08-24",
- "closedOn": "2019-08-24",
- "rejectedOn": "2019-08-24",
- "withdrawnOn": "2019-08-24",
- "reactivatedOn": "2019-08-24",
- "statusReason": "string",
- "address": "string",
- "addressVerifiedOn": "2019-08-24",
- "kycTier": 1,
- "insiderRelationship": "director",
- "insiderNote": "string",
- "nextOfKin": {
- "name": "Chidi Obi",
- "relationship": "Brother",
- "mobileNumber": "+2348031234567",
- "address": "string",
- "email": "user@example.com"
}
}API product: customers.create
| id required | integer <int64> |
| activatedOn required | string <date> Not in the future, not before submission, not before the office opened. |
| id required | integer <int64> |
| customerNumber required | string |
| legalForm required | string Enum: "person" "entity" |
| status required | string Enum: "pending" "active" "closed" "rejected" "withdrawn" |
| officeId required | integer <int64> |
| displayName required | string First, middle and last name for a person; the registered name for an entity. |
| submittedOn required | string <date> |
| mainAccountNumber | string or null The customer's main account number: their first-opened savings or current account that isn't closed. |
| externalId | string or null |
| firstName | string or null |
| middleName | string or null |
| lastName | string or null |
| dateOfBirth | string or null <date> |
Gender (string) or null | |
| fullName | string or null |
| incorporationNumber | string or null |
| incorporationDate | string or null <date> |
| mobileNumber | string or null |
string or null | |
| activatedOn | string or null <date> |
| closedOn | string or null <date> |
| rejectedOn | string or null <date> |
| withdrawnOn | string or null <date> |
| reactivatedOn | string or null <date> |
| statusReason | string or null Why the customer was closed, rejected or withdrawn. |
| address | string or null |
| addressVerifiedOn | string or null <date> When the bank verified the address. |
| kycTier | integer or null [ 1 .. 3 ] CBN KYC tier of a person. |
InsiderRelationship (string) or null Set when the customer is an insider of the bank. | |
| insiderNote | string or null |
NextOfKin (object) or null A person's next of kin, if recorded. |
{- "activatedOn": "2019-08-24"
}{- "id": 0,
- "customerNumber": "C482915307",
- "mainAccountNumber": "0123456789",
- "legalForm": "person",
- "status": "pending",
- "officeId": 0,
- "displayName": "Ada Ngozi Obi",
- "externalId": "string",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "dateOfBirth": "2019-08-24",
- "gender": "male",
- "fullName": "string",
- "incorporationNumber": "string",
- "incorporationDate": "2019-08-24",
- "mobileNumber": "+2348031234567",
- "email": "string",
- "submittedOn": "2019-08-24",
- "activatedOn": "2019-08-24",
- "closedOn": "2019-08-24",
- "rejectedOn": "2019-08-24",
- "withdrawnOn": "2019-08-24",
- "reactivatedOn": "2019-08-24",
- "statusReason": "string",
- "address": "string",
- "addressVerifiedOn": "2019-08-24",
- "kycTier": 1,
- "insiderRelationship": "director",
- "insiderNote": "string",
- "nextOfKin": {
- "name": "Chidi Obi",
- "relationship": "Brother",
- "mobileNumber": "+2348031234567",
- "address": "string",
- "email": "user@example.com"
}
}What your bank requires to open customers and upload documents.
API product: customers.kyc
| bvnOrNinRequiredToOpen required | boolean Whether a new person needs a bvn or nin. |
| maxDocumentBytes required | integer <int64> The largest document file, after Base64 decoding. |
curl https://api.numcore.io/v1/customers/kyc-rules \ -H "Authorization: Bearer $TOKEN" \ -H "X-NumCore-Tenant: yourbank-sandbox"
{- "bvnOrNinRequiredToOpen": true,
- "maxDocumentBytes": 5242880
}The customer's tier, its limits, and what is missing for the next one.
API product: customers.kyc
required | integer or string Example: C482915307 The customer's id, or their Customer ID. |
| customerId required | integer <int64> |
| tiered required | boolean False for an entity; CBN KYC tiers apply to people only. |
required | Array of objects The customer's identifiers, with BVN and NIN verification. |
required | Array of objects The current document of each type uploaded. |
required | Array of objects |
required | Array of objects Tier changes, newest first. |
| tier | integer or null |
| tierChangedOn | string or null <date> |
| requirementsMet | boolean or null Whether the customer still meets their current tier's requirements. |
| address | string or null |
| addressVerifiedOn | string or null <date> |
NextOfKin (object) or null | |
| balanceLimitAppliesTo | string or null Enum: "customer" "account" null |
curl https://api.numcore.io/v1/customers/1/kyc \ -H "Authorization: Bearer $TOKEN" \ -H "X-NumCore-Tenant: yourbank-sandbox"
{- "customerId": 0,
- "tiered": true,
- "tier": 0,
- "tierChangedOn": "2019-08-24",
- "requirementsMet": true,
- "address": "string",
- "addressVerifiedOn": "2019-08-24",
- "identifiers": [
- {
- "id": 0,
- "customerId": 0,
- "type": "bvn",
- "value": "22212345678",
- "description": "string",
- "verifiedOn": "2019-08-24",
- "evidenceDocumentId": 0,
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "documents": [
- {
- "id": 0,
- "customerId": 0,
- "type": "idDocument",
- "fileName": "electricity-bill.pdf",
- "contentType": "application/pdf",
- "sizeBytes": 0,
- "sha256": "string",
- "uploadedAt": "2019-08-24T14:15:22Z",
- "supersededAt": "2019-08-24T14:15:22Z"
}
], - "nextOfKin": {
- "name": "Chidi Obi",
- "relationship": "Brother",
- "mobileNumber": "+2348031234567",
- "address": "string",
- "email": "user@example.com"
}, - "tiers": [
- {
- "tier": 1,
- "maxSingleCredit": "50000.00",
- "maxBalance": "300000.00",
- "currency": "NGN",
- "requirementsMet": true,
- "requirements": [
- {
- "code": "bvn-or-nin",
- "description": "string",
- "met": true
}
]
}
], - "history": [
- {
- "id": 0,
- "fromTier": 0,
- "toTier": 0,
- "reason": "string",
- "changedOn": "2019-08-24",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "balanceLimitAppliesTo": "customer"
}An upgrade needs every requirement of the new tier; otherwise 422 lists what is missing.
API product: customers.kyc
| id required | integer <int64> |
| tier required | integer [ 1 .. 3 ] |
| reason required | string <= 500 characters |
| customerId required | integer <int64> |
| tiered required | boolean False for an entity; CBN KYC tiers apply to people only. |
required | Array of objects The customer's identifiers, with BVN and NIN verification. |
required | Array of objects The current document of each type uploaded. |
required | Array of objects |
required | Array of objects Tier changes, newest first. |
| tier | integer or null |
| tierChangedOn | string or null <date> |
| requirementsMet | boolean or null Whether the customer still meets their current tier's requirements. |
| address | string or null |
| addressVerifiedOn | string or null <date> |
NextOfKin (object) or null | |
| balanceLimitAppliesTo | string or null Enum: "customer" "account" null |
{- "tier": 1,
- "reason": "string"
}{- "customerId": 0,
- "tiered": true,
- "tier": 0,
- "tierChangedOn": "2019-08-24",
- "requirementsMet": true,
- "address": "string",
- "addressVerifiedOn": "2019-08-24",
- "identifiers": [
- {
- "id": 0,
- "customerId": 0,
- "type": "bvn",
- "value": "22212345678",
- "description": "string",
- "verifiedOn": "2019-08-24",
- "evidenceDocumentId": 0,
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "documents": [
- {
- "id": 0,
- "customerId": 0,
- "type": "idDocument",
- "fileName": "electricity-bill.pdf",
- "contentType": "application/pdf",
- "sizeBytes": 0,
- "sha256": "string",
- "uploadedAt": "2019-08-24T14:15:22Z",
- "supersededAt": "2019-08-24T14:15:22Z"
}
], - "nextOfKin": {
- "name": "Chidi Obi",
- "relationship": "Brother",
- "mobileNumber": "+2348031234567",
- "address": "string",
- "email": "user@example.com"
}, - "tiers": [
- {
- "tier": 1,
- "maxSingleCredit": "50000.00",
- "maxBalance": "300000.00",
- "currency": "NGN",
- "requirementsMet": true,
- "requirements": [
- {
- "code": "bvn-or-nin",
- "description": "string",
- "met": true
}
]
}
], - "history": [
- {
- "id": 0,
- "fromTier": 0,
- "toTier": 0,
- "reason": "string",
- "changedOn": "2019-08-24",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "balanceLimitAppliesTo": "customer"
}API product: customers.kyc
| id required | integer <int64> |
| verifiedOn required | string <date> Not in the future. |
| customerId required | integer <int64> |
| tiered required | boolean False for an entity; CBN KYC tiers apply to people only. |
required | Array of objects The customer's identifiers, with BVN and NIN verification. |
required | Array of objects The current document of each type uploaded. |
required | Array of objects |
required | Array of objects Tier changes, newest first. |
| tier | integer or null |
| tierChangedOn | string or null <date> |
| requirementsMet | boolean or null Whether the customer still meets their current tier's requirements. |
| address | string or null |
| addressVerifiedOn | string or null <date> |
NextOfKin (object) or null | |
| balanceLimitAppliesTo | string or null Enum: "customer" "account" null |
{- "verifiedOn": "2019-08-24"
}{- "customerId": 0,
- "tiered": true,
- "tier": 0,
- "tierChangedOn": "2019-08-24",
- "requirementsMet": true,
- "address": "string",
- "addressVerifiedOn": "2019-08-24",
- "identifiers": [
- {
- "id": 0,
- "customerId": 0,
- "type": "bvn",
- "value": "22212345678",
- "description": "string",
- "verifiedOn": "2019-08-24",
- "evidenceDocumentId": 0,
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "documents": [
- {
- "id": 0,
- "customerId": 0,
- "type": "idDocument",
- "fileName": "electricity-bill.pdf",
- "contentType": "application/pdf",
- "sizeBytes": 0,
- "sha256": "string",
- "uploadedAt": "2019-08-24T14:15:22Z",
- "supersededAt": "2019-08-24T14:15:22Z"
}
], - "nextOfKin": {
- "name": "Chidi Obi",
- "relationship": "Brother",
- "mobileNumber": "+2348031234567",
- "address": "string",
- "email": "user@example.com"
}, - "tiers": [
- {
- "tier": 1,
- "maxSingleCredit": "50000.00",
- "maxBalance": "300000.00",
- "currency": "NGN",
- "requirementsMet": true,
- "requirements": [
- {
- "code": "bvn-or-nin",
- "description": "string",
- "met": true
}
]
}
], - "history": [
- {
- "id": 0,
- "fromTier": 0,
- "toTier": 0,
- "reason": "string",
- "changedOn": "2019-08-24",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "balanceLimitAppliesTo": "customer"
}Record that you checked it with NIBSS or NIMC.
API product: customers.kyc
| id required | integer <int64> |
| type required | string Enum: "bvn" "nin" |
| verifiedOn required | string <date> Not in the future. |
object |
| customerId required | integer <int64> |
| tiered required | boolean False for an entity; CBN KYC tiers apply to people only. |
required | Array of objects The customer's identifiers, with BVN and NIN verification. |
required | Array of objects The current document of each type uploaded. |
required | Array of objects |
required | Array of objects Tier changes, newest first. |
| tier | integer or null |
| tierChangedOn | string or null <date> |
| requirementsMet | boolean or null Whether the customer still meets their current tier's requirements. |
| address | string or null |
| addressVerifiedOn | string or null <date> |
NextOfKin (object) or null | |
| balanceLimitAppliesTo | string or null Enum: "customer" "account" null |
{- "type": "bvn",
- "verifiedOn": "2019-08-24"
}{- "customerId": 0,
- "tiered": true,
- "tier": 0,
- "tierChangedOn": "2019-08-24",
- "requirementsMet": true,
- "address": "string",
- "addressVerifiedOn": "2019-08-24",
- "identifiers": [
- {
- "id": 0,
- "customerId": 0,
- "type": "bvn",
- "value": "22212345678",
- "description": "string",
- "verifiedOn": "2019-08-24",
- "evidenceDocumentId": 0,
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "documents": [
- {
- "id": 0,
- "customerId": 0,
- "type": "idDocument",
- "fileName": "electricity-bill.pdf",
- "contentType": "application/pdf",
- "sizeBytes": 0,
- "sha256": "string",
- "uploadedAt": "2019-08-24T14:15:22Z",
- "supersededAt": "2019-08-24T14:15:22Z"
}
], - "nextOfKin": {
- "name": "Chidi Obi",
- "relationship": "Brother",
- "mobileNumber": "+2348031234567",
- "address": "string",
- "email": "user@example.com"
}, - "tiers": [
- {
- "tier": 1,
- "maxSingleCredit": "50000.00",
- "maxBalance": "300000.00",
- "currency": "NGN",
- "requirementsMet": true,
- "requirements": [
- {
- "code": "bvn-or-nin",
- "description": "string",
- "met": true
}
]
}
], - "history": [
- {
- "id": 0,
- "fromTier": 0,
- "toTier": 0,
- "reason": "string",
- "changedOn": "2019-08-24",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "balanceLimitAppliesTo": "customer"
}API product: customers.kyc
| id required | integer <int64> |
| current | boolean True for only the documents in use. |
| id required | integer <int64> |
| customerId required | integer <int64> |
| type required | string Enum: "idDocument" "proofOfAddress" "photo" "signature" "bvnEvidence" "ninEvidence" |
| fileName required | string <= 200 characters |
| contentType required | string Enum: "application/pdf" "image/jpeg" "image/png" |
| sizeBytes required | integer <int64> |
| sha256 required | string Hex SHA-256 of the file. |
| uploadedAt required | string <date-time> |
| supersededAt | string or null <date-time> When a newer document of the same type replaced this one; null while it is current. |
curl https://api.numcore.io/v1/customers/1/documents \ -H "Authorization: Bearer $TOKEN" \ -H "X-NumCore-Tenant: yourbank-sandbox"
[- {
- "id": 0,
- "customerId": 0,
- "type": "idDocument",
- "fileName": "electricity-bill.pdf",
- "contentType": "application/pdf",
- "sizeBytes": 0,
- "sha256": "string",
- "uploadedAt": "2019-08-24T14:15:22Z",
- "supersededAt": "2019-08-24T14:15:22Z"
}
]Multipart (type and file) or JSON with the file in Base64.
API product: customers.kyc
| id required | integer <int64> |
| type required | string Enum: "idDocument" "proofOfAddress" "photo" "signature" "bvnEvidence" "ninEvidence" |
| file required | string <binary> |
| id required | integer <int64> |
| customerId required | integer <int64> |
| type required | string Enum: "idDocument" "proofOfAddress" "photo" "signature" "bvnEvidence" "ninEvidence" |
| fileName required | string <= 200 characters |
| contentType required | string Enum: "application/pdf" "image/jpeg" "image/png" |
| sizeBytes required | integer <int64> |
| sha256 required | string Hex SHA-256 of the file. |
| uploadedAt required | string <date-time> |
| supersededAt | string or null <date-time> When a newer document of the same type replaced this one; null while it is current. |
{- "id": 0,
- "customerId": 0,
- "type": "idDocument",
- "fileName": "electricity-bill.pdf",
- "contentType": "application/pdf",
- "sizeBytes": 0,
- "sha256": "string",
- "uploadedAt": "2019-08-24T14:15:22Z",
- "supersededAt": "2019-08-24T14:15:22Z"
}API product: customers.kyc
| id required | integer <int64> |
| documentId required | integer <int64> |
curl https://api.numcore.io/v1/customers/1/documents/1/content \ -H "Authorization: Bearer $TOKEN" \ -H "X-NumCore-Tenant: yourbank-sandbox"
{- "status": 404,
- "title": "Customer not found",
- "detail": "Customer not found.",
- "code": "customer_not_found",
- "traceId": "00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01"
}API product: customers.kyc
| id required | integer <int64> |
| name required | string <= 200 characters |
| relationship required | string <= 50 characters |
| mobileNumber required | string Stored the same way as a customer's mobile number. |
| address | string or null <= 500 characters |
string or null <email> <= 200 characters |
| id required | integer <int64> |
| customerNumber required | string |
| legalForm required | string Enum: "person" "entity" |
| status required | string Enum: "pending" "active" "closed" "rejected" "withdrawn" |
| officeId required | integer <int64> |
| displayName required | string First, middle and last name for a person; the registered name for an entity. |
| submittedOn required | string <date> |
| mainAccountNumber | string or null The customer's main account number: their first-opened savings or current account that isn't closed. |
| externalId | string or null |
| firstName | string or null |
| middleName | string or null |
| lastName | string or null |
| dateOfBirth | string or null <date> |
Gender (string) or null | |
| fullName | string or null |
| incorporationNumber | string or null |
| incorporationDate | string or null <date> |
| mobileNumber | string or null |
string or null | |
| activatedOn | string or null <date> |
| closedOn | string or null <date> |
| rejectedOn | string or null <date> |
| withdrawnOn | string or null <date> |
| reactivatedOn | string or null <date> |
| statusReason | string or null Why the customer was closed, rejected or withdrawn. |
| address | string or null |
| addressVerifiedOn | string or null <date> When the bank verified the address. |
| kycTier | integer or null [ 1 .. 3 ] CBN KYC tier of a person. |
InsiderRelationship (string) or null Set when the customer is an insider of the bank. | |
| insiderNote | string or null |
NextOfKin (object) or null A person's next of kin, if recorded. |
{- "name": "Chidi Obi",
- "relationship": "Brother",
- "mobileNumber": "+2348031234567"
}{- "id": 0,
- "customerNumber": "C482915307",
- "mainAccountNumber": "0123456789",
- "legalForm": "person",
- "status": "pending",
- "officeId": 0,
- "displayName": "Ada Ngozi Obi",
- "externalId": "string",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "dateOfBirth": "2019-08-24",
- "gender": "male",
- "fullName": "string",
- "incorporationNumber": "string",
- "incorporationDate": "2019-08-24",
- "mobileNumber": "+2348031234567",
- "email": "string",
- "submittedOn": "2019-08-24",
- "activatedOn": "2019-08-24",
- "closedOn": "2019-08-24",
- "rejectedOn": "2019-08-24",
- "withdrawnOn": "2019-08-24",
- "reactivatedOn": "2019-08-24",
- "statusReason": "string",
- "address": "string",
- "addressVerifiedOn": "2019-08-24",
- "kycTier": 1,
- "insiderRelationship": "director",
- "insiderNote": "string",
- "nextOfKin": {
- "name": "Chidi Obi",
- "relationship": "Brother",
- "mobileNumber": "+2348031234567",
- "address": "string",
- "email": "user@example.com"
}
}API product: customers.kyc
| id required | integer <int64> |
| id required | integer <int64> |
| customerNumber required | string |
| legalForm required | string Enum: "person" "entity" |
| status required | string Enum: "pending" "active" "closed" "rejected" "withdrawn" |
| officeId required | integer <int64> |
| displayName required | string First, middle and last name for a person; the registered name for an entity. |
| submittedOn required | string <date> |
| mainAccountNumber | string or null The customer's main account number: their first-opened savings or current account that isn't closed. |
| externalId | string or null |
| firstName | string or null |
| middleName | string or null |
| lastName | string or null |
| dateOfBirth | string or null <date> |
Gender (string) or null | |
| fullName | string or null |
| incorporationNumber | string or null |
| incorporationDate | string or null <date> |
| mobileNumber | string or null |
string or null | |
| activatedOn | string or null <date> |
| closedOn | string or null <date> |
| rejectedOn | string or null <date> |
| withdrawnOn | string or null <date> |
| reactivatedOn | string or null <date> |
| statusReason | string or null Why the customer was closed, rejected or withdrawn. |
| address | string or null |
| addressVerifiedOn | string or null <date> When the bank verified the address. |
| kycTier | integer or null [ 1 .. 3 ] CBN KYC tier of a person. |
InsiderRelationship (string) or null Set when the customer is an insider of the bank. | |
| insiderNote | string or null |
NextOfKin (object) or null A person's next of kin, if recorded. |
curl -X DELETE https://api.numcore.io/v1/customers/1/next-of-kin \ -H "Authorization: Bearer $TOKEN" \ -H "X-NumCore-Tenant: yourbank-sandbox"
{- "id": 0,
- "customerNumber": "C482915307",
- "mainAccountNumber": "0123456789",
- "legalForm": "person",
- "status": "pending",
- "officeId": 0,
- "displayName": "Ada Ngozi Obi",
- "externalId": "string",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "dateOfBirth": "2019-08-24",
- "gender": "male",
- "fullName": "string",
- "incorporationNumber": "string",
- "incorporationDate": "2019-08-24",
- "mobileNumber": "+2348031234567",
- "email": "string",
- "submittedOn": "2019-08-24",
- "activatedOn": "2019-08-24",
- "closedOn": "2019-08-24",
- "rejectedOn": "2019-08-24",
- "withdrawnOn": "2019-08-24",
- "reactivatedOn": "2019-08-24",
- "statusReason": "string",
- "address": "string",
- "addressVerifiedOn": "2019-08-24",
- "kycTier": 1,
- "insiderRelationship": "director",
- "insiderNote": "string",
- "nextOfKin": {
- "name": "Chidi Obi",
- "relationship": "Brother",
- "mobileNumber": "+2348031234567",
- "address": "string",
- "email": "user@example.com"
}
}API product: customers.kyc
| customerId required | integer <int64> |
| id required | integer <int64> |
| customerId required | integer <int64> |
| type required | string Enum: "bvn" "nin" "passport" "driversLicence" "voterCard" "cac" |
| value required | string |
| createdAt required | string <date-time> |
| description | string or null |
| verifiedOn | string or null <date> When the bank verified a BVN or NIN. |
| evidenceDocumentId | integer or null <int64> The evidence document sent with the verification, if any. |
curl https://api.numcore.io/v1/customers/1/identifiers \ -H "Authorization: Bearer $TOKEN" \ -H "X-NumCore-Tenant: yourbank-sandbox"
[- {
- "id": 0,
- "customerId": 0,
- "type": "bvn",
- "value": "22212345678",
- "description": "string",
- "verifiedOn": "2019-08-24",
- "evidenceDocumentId": 0,
- "createdAt": "2019-08-24T14:15:22Z"
}
]To change a BVN or NIN, remove it and add the new one.
API product: customers.kyc
| customerId required | integer <int64> |
| type required | string Enum: "bvn" "nin" "passport" "driversLicence" "voterCard" "cac" |
| value required | string <= 50 characters Stored trimmed and upper-cased. |
| description | string <= 500 characters |
| id required | integer <int64> |
| customerId required | integer <int64> |
| type required | string Enum: "bvn" "nin" "passport" "driversLicence" "voterCard" "cac" |
| value required | string |
| createdAt required | string <date-time> |
| description | string or null |
| verifiedOn | string or null <date> When the bank verified a BVN or NIN. |
| evidenceDocumentId | integer or null <int64> The evidence document sent with the verification, if any. |
{- "type": "bvn",
- "value": "string"
}{- "id": 0,
- "customerId": 0,
- "type": "bvn",
- "value": "22212345678",
- "description": "string",
- "verifiedOn": "2019-08-24",
- "evidenceDocumentId": 0,
- "createdAt": "2019-08-24T14:15:22Z"
}API product: customers.kyc
| customerId required | integer <int64> |
| id required | integer <int64> |
curl -X DELETE https://api.numcore.io/v1/customers/1/identifiers/1 \ -H "Authorization: Bearer $TOKEN" \ -H "X-NumCore-Tenant: yourbank-sandbox"
{- "status": 404,
- "title": "Identifier not found",
- "detail": "Identifier not found.",
- "code": "identifier_not_found",
- "traceId": "00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01"
}Savings and current accounts.
API product: accounts.balances
| customerId | integer <int64> |
| groupId | integer <int64> |
| productId | integer <int64> |
| officeId | integer <int64> |
| status | string Enum: "submitted" "approved" "active" "matured" "closed" "prematurelyClosed" "rejected" "withdrawn" |
| kind | string Enum: "savings" "current" savings or current. |
| dormant | boolean true for dormant accounts only, false for accounts that are not dormant. |
| categoryId | integer <int64> |
| fieldOfficerId | integer <int64> |
| accountNumber | string <= 100 characters Only the account with exactly this number. |
| q | string <= 100 characters Case-insensitive search: accounts whose number or external id contains the text, or whose owner's name contains it. |
| limit | integer [ 1 .. 200 ] Default: 50 Page size. |
| cursor | string The nextCursor from the previous page. |
required | Array of objects |
| nextCursor | string or null |
curl https://api.numcore.io/v1/savings-accounts \ -H "Authorization: Bearer $TOKEN" \ -H "X-NumCore-Tenant: yourbank-sandbox"
{- "items": [
- {
- "id": 0,
- "accountNumber": "0001234567",
- "accountNumberScheme": "nuban",
- "dormant": true,
- "dormantSince": "2019-08-24",
- "reactivatedOn": "2019-08-24",
- "productId": 0,
- "customerId": 0,
- "groupId": 0,
- "officeId": 0,
- "fieldOfficerId": 0,
- "categoryId": 0,
- "externalId": "string",
- "currency": "string",
- "status": "submitted",
- "balance": "-250.00",
- "holdAmount": "1500.00",
- "availableBalance": "-250.00",
- "debitsBlocked": true,
- "creditsBlocked": true,
- "blockReason": "string",
- "submittedOn": "2019-08-24",
- "approvedOn": "2019-08-24",
- "activatedOn": "2019-08-24",
- "closedOn": "2019-08-24",
- "rejectedOn": "2019-08-24",
- "withdrawnOn": "2019-08-24",
- "lockedInUntil": "2019-08-24",
- "statusReason": "string",
- "terms": {
- "nominalAnnualInterestRate": "7.5",
- "interestCompounding": "daily",
- "interestPosting": "daily",
- "interestCalculationMethod": "dailyBalance",
- "daysInYear": 0,
- "minimumBalanceForInterest": "1500.00",
- "enforceMinimumBalance": true,
- "minimumBalance": "1500.00",
- "allowOverdraft": true,
- "overdraftLimit": "1500.00",
- "overdraftInterestRate": "7.5",
- "withdrawalFee": "string",
- "monthlyFee": "string",
- "interestTiers": [
- {
- "fromBalance": "1500.00",
- "annualRate": "7.5"
}
], - "interestTierMethod": "wholeBalance",
- "maximumBalance": "string",
- "maximumWithdrawal": "string",
- "dailyWithdrawalLimit": "string",
- "nonInterestContract": "qard"
}
}
], - "nextCursor": "string"
}For an active customer. Approve and activate it next.
API product: accounts.open
| productId required | integer <int64> |
| customerId | integer <int64> |
| groupId | integer <int64> |
| submittedOn | string <date> Defaults to today. |
| fieldOfficerId | integer <int64> |
| externalId | string <= 100 characters |
object Custom field values keyed by field key, e.g. {"marketAssociation": "Balogun traders", "dependants": "3"}. | |
| categoryId | integer <int64> An active account category. |
| id required | integer <int64> |
| accountNumber required | string |
| accountNumberScheme required | string Enum: "nuban" "serial" |
| productId required | integer <int64> |
| officeId required | integer <int64> |
| currency required | string |
| status required | string Enum: "submitted" "approved" "active" "matured" "closed" "prematurelyClosed" "rejected" "withdrawn" |
| balance required | string |
| holdAmount required | string |
| availableBalance required | string |
| debitsBlocked required | boolean |
| creditsBlocked required | boolean |
| dormant required | boolean No customer-initiated transaction for the bank's dormancy period. |
| submittedOn required | string <date> |
required | object The product's terms when the account was submitted. |
| dormantSince | string or null <date> |
| reactivatedOn | string or null <date> The last reactivation from dormancy. |
| customerId | integer or null <int64> |
| groupId | integer or null <int64> |
| fieldOfficerId | integer or null <int64> |
| categoryId | integer or null <int64> |
| externalId | string or null |
| blockReason | string or null |
| approvedOn | string or null <date> |
| activatedOn | string or null <date> |
| closedOn | string or null <date> |
| rejectedOn | string or null <date> |
| withdrawnOn | string or null <date> |
| lockedInUntil | string or null <date> |
| statusReason | string or null |
{- "productId": 0
}{- "id": 0,
- "accountNumber": "0001234567",
- "accountNumberScheme": "nuban",
- "dormant": true,
- "dormantSince": "2019-08-24",
- "reactivatedOn": "2019-08-24",
- "productId": 0,
- "customerId": 0,
- "groupId": 0,
- "officeId": 0,
- "fieldOfficerId": 0,
- "categoryId": 0,
- "externalId": "string",
- "currency": "string",
- "status": "submitted",
- "balance": "-250.00",
- "holdAmount": "1500.00",
- "availableBalance": "-250.00",
- "debitsBlocked": true,
- "creditsBlocked": true,
- "blockReason": "string",
- "submittedOn": "2019-08-24",
- "approvedOn": "2019-08-24",
- "activatedOn": "2019-08-24",
- "closedOn": "2019-08-24",
- "rejectedOn": "2019-08-24",
- "withdrawnOn": "2019-08-24",
- "lockedInUntil": "2019-08-24",
- "statusReason": "string",
- "terms": {
- "nominalAnnualInterestRate": "7.5",
- "interestCompounding": "daily",
- "interestPosting": "daily",
- "interestCalculationMethod": "dailyBalance",
- "daysInYear": 0,
- "minimumBalanceForInterest": "1500.00",
- "enforceMinimumBalance": true,
- "minimumBalance": "1500.00",
- "allowOverdraft": true,
- "overdraftLimit": "1500.00",
- "overdraftInterestRate": "7.5",
- "withdrawalFee": "string",
- "monthlyFee": "string",
- "interestTiers": [
- {
- "fromBalance": "1500.00",
- "annualRate": "7.5"
}
], - "interestTierMethod": "wholeBalance",
- "maximumBalance": "string",
- "maximumWithdrawal": "string",
- "dailyWithdrawalLimit": "string",
- "nonInterestContract": "qard"
}
}With its balance, holds and blocks.
API product: accounts.balances
| id required | integer <int64> |
| id required | integer <int64> |
| accountNumber required | string |
| accountNumberScheme required | string Enum: "nuban" "serial" |
| productId required | integer <int64> |
| officeId required | integer <int64> |
| currency required | string |
| status required | string Enum: "submitted" "approved" "active" "matured" "closed" "prematurelyClosed" "rejected" "withdrawn" |
| balance required | string |
| holdAmount required | string |
| availableBalance required | string |
| debitsBlocked required | boolean |
| creditsBlocked required | boolean |
| dormant required | boolean No customer-initiated transaction for the bank's dormancy period. |
| submittedOn required | string <date> |
required | object The product's terms when the account was submitted. |
| dormantSince | string or null <date> |
| reactivatedOn | string or null <date> The last reactivation from dormancy. |
| customerId | integer or null <int64> |
| groupId | integer or null <int64> |
| fieldOfficerId | integer or null <int64> |
| categoryId | integer or null <int64> |
| externalId | string or null |
| blockReason | string or null |
| approvedOn | string or null <date> |
| activatedOn | string or null <date> |
| closedOn | string or null <date> |
| rejectedOn | string or null <date> |
| withdrawnOn | string or null <date> |
| lockedInUntil | string or null <date> |
| statusReason | string or null |
curl https://api.numcore.io/v1/savings-accounts/1 \ -H "Authorization: Bearer $TOKEN" \ -H "X-NumCore-Tenant: yourbank-sandbox"
{- "id": 0,
- "accountNumber": "0001234567",
- "accountNumberScheme": "nuban",
- "dormant": true,
- "dormantSince": "2019-08-24",
- "reactivatedOn": "2019-08-24",
- "productId": 0,
- "customerId": 0,
- "groupId": 0,
- "officeId": 0,
- "fieldOfficerId": 0,
- "categoryId": 0,
- "externalId": "string",
- "currency": "string",
- "status": "submitted",
- "balance": "-250.00",
- "holdAmount": "1500.00",
- "availableBalance": "-250.00",
- "debitsBlocked": true,
- "creditsBlocked": true,
- "blockReason": "string",
- "submittedOn": "2019-08-24",
- "approvedOn": "2019-08-24",
- "activatedOn": "2019-08-24",
- "closedOn": "2019-08-24",
- "rejectedOn": "2019-08-24",
- "withdrawnOn": "2019-08-24",
- "lockedInUntil": "2019-08-24",
- "statusReason": "string",
- "terms": {
- "nominalAnnualInterestRate": "7.5",
- "interestCompounding": "daily",
- "interestPosting": "daily",
- "interestCalculationMethod": "dailyBalance",
- "daysInYear": 0,
- "minimumBalanceForInterest": "1500.00",
- "enforceMinimumBalance": true,
- "minimumBalance": "1500.00",
- "allowOverdraft": true,
- "overdraftLimit": "1500.00",
- "overdraftInterestRate": "7.5",
- "withdrawalFee": "string",
- "monthlyFee": "string",
- "interestTiers": [
- {
- "fromBalance": "1500.00",
- "annualRate": "7.5"
}
], - "interestTierMethod": "wholeBalance",
- "maximumBalance": "string",
- "maximumWithdrawal": "string",
- "dailyWithdrawalLimit": "string",
- "nonInterestContract": "qard"
}
}API product: accounts.open
| id required | integer <int64> |
| approvedOn required | string <date> |
| id required | integer <int64> |
| accountNumber required | string |
| accountNumberScheme required | string Enum: "nuban" "serial" |
| productId required | integer <int64> |
| officeId required | integer <int64> |
| currency required | string |
| status required | string Enum: "submitted" "approved" "active" "matured" "closed" "prematurelyClosed" "rejected" "withdrawn" |
| balance required | string |
| holdAmount required | string |
| availableBalance required | string |
| debitsBlocked required | boolean |
| creditsBlocked required | boolean |
| dormant required | boolean No customer-initiated transaction for the bank's dormancy period. |
| submittedOn required | string <date> |
required | object The product's terms when the account was submitted. |
| dormantSince | string or null <date> |
| reactivatedOn | string or null <date> The last reactivation from dormancy. |
| customerId | integer or null <int64> |
| groupId | integer or null <int64> |
| fieldOfficerId | integer or null <int64> |
| categoryId | integer or null <int64> |
| externalId | string or null |
| blockReason | string or null |
| approvedOn | string or null <date> |
| activatedOn | string or null <date> |
| closedOn | string or null <date> |
| rejectedOn | string or null <date> |
| withdrawnOn | string or null <date> |
| lockedInUntil | string or null <date> |
| statusReason | string or null |
{- "approvedOn": "2019-08-24"
}{- "id": 0,
- "accountNumber": "0001234567",
- "accountNumberScheme": "nuban",
- "dormant": true,
- "dormantSince": "2019-08-24",
- "reactivatedOn": "2019-08-24",
- "productId": 0,
- "customerId": 0,
- "groupId": 0,
- "officeId": 0,
- "fieldOfficerId": 0,
- "categoryId": 0,
- "externalId": "string",
- "currency": "string",
- "status": "submitted",
- "balance": "-250.00",
- "holdAmount": "1500.00",
- "availableBalance": "-250.00",
- "debitsBlocked": true,
- "creditsBlocked": true,
- "blockReason": "string",
- "submittedOn": "2019-08-24",
- "approvedOn": "2019-08-24",
- "activatedOn": "2019-08-24",
- "closedOn": "2019-08-24",
- "rejectedOn": "2019-08-24",
- "withdrawnOn": "2019-08-24",
- "lockedInUntil": "2019-08-24",
- "statusReason": "string",
- "terms": {
- "nominalAnnualInterestRate": "7.5",
- "interestCompounding": "daily",
- "interestPosting": "daily",
- "interestCalculationMethod": "dailyBalance",
- "daysInYear": 0,
- "minimumBalanceForInterest": "1500.00",
- "enforceMinimumBalance": true,
- "minimumBalance": "1500.00",
- "allowOverdraft": true,
- "overdraftLimit": "1500.00",
- "overdraftInterestRate": "7.5",
- "withdrawalFee": "string",
- "monthlyFee": "string",
- "interestTiers": [
- {
- "fromBalance": "1500.00",
- "annualRate": "7.5"
}
], - "interestTierMethod": "wholeBalance",
- "maximumBalance": "string",
- "maximumWithdrawal": "string",
- "dailyWithdrawalLimit": "string",
- "nonInterestContract": "qard"
}
}API product: accounts.open
| id required | integer <int64> |
| activatedOn required | string <date> |
| id required | integer <int64> |
| accountNumber required | string |
| accountNumberScheme required | string Enum: "nuban" "serial" |
| productId required | integer <int64> |
| officeId required | integer <int64> |
| currency required | string |
| status required | string Enum: "submitted" "approved" "active" "matured" "closed" "prematurelyClosed" "rejected" "withdrawn" |
| balance required | string |
| holdAmount required | string |
| availableBalance required | string |
| debitsBlocked required | boolean |
| creditsBlocked required | boolean |
| dormant required | boolean No customer-initiated transaction for the bank's dormancy period. |
| submittedOn required | string <date> |
required | object The product's terms when the account was submitted. |
| dormantSince | string or null <date> |
| reactivatedOn | string or null <date> The last reactivation from dormancy. |
| customerId | integer or null <int64> |
| groupId | integer or null <int64> |
| fieldOfficerId | integer or null <int64> |
| categoryId | integer or null <int64> |
| externalId | string or null |
| blockReason | string or null |
| approvedOn | string or null <date> |
| activatedOn | string or null <date> |
| closedOn | string or null <date> |
| rejectedOn | string or null <date> |
| withdrawnOn | string or null <date> |
| lockedInUntil | string or null <date> |
| statusReason | string or null |
{- "activatedOn": "2019-08-24"
}{- "id": 0,
- "accountNumber": "0001234567",
- "accountNumberScheme": "nuban",
- "dormant": true,
- "dormantSince": "2019-08-24",
- "reactivatedOn": "2019-08-24",
- "productId": 0,
- "customerId": 0,
- "groupId": 0,
- "officeId": 0,
- "fieldOfficerId": 0,
- "categoryId": 0,
- "externalId": "string",
- "currency": "string",
- "status": "submitted",
- "balance": "-250.00",
- "holdAmount": "1500.00",
- "availableBalance": "-250.00",
- "debitsBlocked": true,
- "creditsBlocked": true,
- "blockReason": "string",
- "submittedOn": "2019-08-24",
- "approvedOn": "2019-08-24",
- "activatedOn": "2019-08-24",
- "closedOn": "2019-08-24",
- "rejectedOn": "2019-08-24",
- "withdrawnOn": "2019-08-24",
- "lockedInUntil": "2019-08-24",
- "statusReason": "string",
- "terms": {
- "nominalAnnualInterestRate": "7.5",
- "interestCompounding": "daily",
- "interestPosting": "daily",
- "interestCalculationMethod": "dailyBalance",
- "daysInYear": 0,
- "minimumBalanceForInterest": "1500.00",
- "enforceMinimumBalance": true,
- "minimumBalance": "1500.00",
- "allowOverdraft": true,
- "overdraftLimit": "1500.00",
- "overdraftInterestRate": "7.5",
- "withdrawalFee": "string",
- "monthlyFee": "string",
- "interestTiers": [
- {
- "fromBalance": "1500.00",
- "annualRate": "7.5"
}
], - "interestTierMethod": "wholeBalance",
- "maximumBalance": "string",
- "maximumWithdrawal": "string",
- "dailyWithdrawalLimit": "string",
- "nonInterestContract": "qard"
}
}API product: accounts.deposits-withdrawals
| id required | integer <int64> |
| amount required | string |
| clientRef required | string [ 1 .. 50 ] characters Your own reference for this transaction, e.g. |
| transactionDate | string <date> Defaults to today. |
| reference | string <= 100 characters |
| description | string <= 500 characters |
| signedBy | Array of integers <int64> [ items <int64 > ] For an account with a mandate, the ids of its signatories who signed. |
| channelId | integer or null <int64> The transaction channel the money came or goes through. |
| id required | integer <int64> |
| accountId required | integer <int64> |
| type required | string Enum: "deposit" "withdrawal" "withdrawalFee" "feeCharge" "periodicFee" "interestPosting" "overdraftInterest" "transferIn" "transferOut" "prematureClosurePenalty" "loanDisbursement" "charge" "vat" "withholdingTax" "withholdingTaxRefund" "transferLevy" "loanRepayment" "sharePurchase" "shareRedemption" "shareDividend" "profitDistribution" "profitLoss" |
| transactionDate required | string <date> |
| amount required | string |
| currency required | string |
| reversed required | boolean |
| createdAt required | string <date-time> |
| runningBalance | string or null The balance after this transaction in date order; null once undone. |
| reversedOn | string or null <date> |
| journalEntryId | integer or null <int64> |
| reversalJournalEntryId | integer or null <int64> |
| parentId | integer or null <int64> The transaction this one belongs to. |
| counterpartyAccountId | integer or null <int64> The other account of a transfer, or the loan a loan disbursement paid out or a loan repayment repaid. |
CounterpartyAccountKind (string) or null What counterpartyAccountId is, so a client can link to it; null when there is no counterparty. | |
| cashierId | integer or null <int64> The cashier whose till took or paid the cash; such a transaction is undone at the till. |
| reference | string or null |
| description | string or null |
| channelId | integer or null <int64> The transaction channel the money came or went through, if one was named. |
| id required | integer <int64> |
| accountId required | integer <int64> |
| type required | string Enum: "deposit" "withdrawal" "withdrawalFee" "feeCharge" "periodicFee" "interestPosting" "overdraftInterest" "transferIn" "transferOut" "prematureClosurePenalty" "loanDisbursement" "charge" "vat" "withholdingTax" "withholdingTaxRefund" "transferLevy" "loanRepayment" "sharePurchase" "shareRedemption" "shareDividend" "profitDistribution" "profitLoss" |
| transactionDate required | string <date> |
| amount required | string |
| currency required | string |
| reversed required | boolean |
| createdAt required | string <date-time> |
| runningBalance | string or null The balance after this transaction in date order; null once undone. |
| reversedOn | string or null <date> |
| journalEntryId | integer or null <int64> |
| reversalJournalEntryId | integer or null <int64> |
| parentId | integer or null <int64> The transaction this one belongs to. |
| counterpartyAccountId | integer or null <int64> The other account of a transfer, or the loan a loan disbursement paid out or a loan repayment repaid. |
CounterpartyAccountKind (string) or null What counterpartyAccountId is, so a client can link to it; null when there is no counterparty. | |
| cashierId | integer or null <int64> The cashier whose till took or paid the cash; such a transaction is undone at the till. |
| reference | string or null |
| description | string or null |
| channelId | integer or null <int64> The transaction channel the money came or went through, if one was named. |
{- "clientRef": "USSD-55120",
- "amount": "1500.00"
}{- "id": 0,
- "accountId": 0,
- "type": "deposit",
- "transactionDate": "2019-08-24",
- "amount": "1500.00",
- "currency": "string",
- "runningBalance": "string",
- "reversed": true,
- "reversedOn": "2019-08-24",
- "journalEntryId": 0,
- "reversalJournalEntryId": 0,
- "parentId": 0,
- "counterpartyAccountId": 0,
- "counterpartyAccountKind": "savings",
- "cashierId": 0,
- "reference": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "channelId": 0
}Any withdrawal fee posts with it.
API product: accounts.deposits-withdrawals
| id required | integer <int64> |
| amount required | string |
| clientRef required | string [ 1 .. 50 ] characters Your own reference for this transaction, e.g. |
| transactionDate | string <date> Defaults to today. |
| reference | string <= 100 characters |
| description | string <= 500 characters |
| signedBy | Array of integers <int64> [ items <int64 > ] For an account with a mandate, the ids of its signatories who signed. |
| channelId | integer or null <int64> The transaction channel the money came or goes through. |
| id required | integer <int64> |
| accountId required | integer <int64> |
| type required | string Enum: "deposit" "withdrawal" "withdrawalFee" "feeCharge" "periodicFee" "interestPosting" "overdraftInterest" "transferIn" "transferOut" "prematureClosurePenalty" "loanDisbursement" "charge" "vat" "withholdingTax" "withholdingTaxRefund" "transferLevy" "loanRepayment" "sharePurchase" "shareRedemption" "shareDividend" "profitDistribution" "profitLoss" |
| transactionDate required | string <date> |
| amount required | string |
| currency required | string |
| reversed required | boolean |
| createdAt required | string <date-time> |
| runningBalance | string or null The balance after this transaction in date order; null once undone. |
| reversedOn | string or null <date> |
| journalEntryId | integer or null <int64> |
| reversalJournalEntryId | integer or null <int64> |
| parentId | integer or null <int64> The transaction this one belongs to. |
| counterpartyAccountId | integer or null <int64> The other account of a transfer, or the loan a loan disbursement paid out or a loan repayment repaid. |
CounterpartyAccountKind (string) or null What counterpartyAccountId is, so a client can link to it; null when there is no counterparty. | |
| cashierId | integer or null <int64> The cashier whose till took or paid the cash; such a transaction is undone at the till. |
| reference | string or null |
| description | string or null |
| channelId | integer or null <int64> The transaction channel the money came or went through, if one was named. |
| id required | integer <int64> |
| accountId required | integer <int64> |
| type required | string Enum: "deposit" "withdrawal" "withdrawalFee" "feeCharge" "periodicFee" "interestPosting" "overdraftInterest" "transferIn" "transferOut" "prematureClosurePenalty" "loanDisbursement" "charge" "vat" "withholdingTax" "withholdingTaxRefund" "transferLevy" "loanRepayment" "sharePurchase" "shareRedemption" "shareDividend" "profitDistribution" "profitLoss" |
| transactionDate required | string <date> |
| amount required | string |
| currency required | string |
| reversed required | boolean |
| createdAt required | string <date-time> |
| runningBalance | string or null The balance after this transaction in date order; null once undone. |
| reversedOn | string or null <date> |
| journalEntryId | integer or null <int64> |
| reversalJournalEntryId | integer or null <int64> |
| parentId | integer or null <int64> The transaction this one belongs to. |
| counterpartyAccountId | integer or null <int64> The other account of a transfer, or the loan a loan disbursement paid out or a loan repayment repaid. |
CounterpartyAccountKind (string) or null What counterpartyAccountId is, so a client can link to it; null when there is no counterparty. | |
| cashierId | integer or null <int64> The cashier whose till took or paid the cash; such a transaction is undone at the till. |
| reference | string or null |
| description | string or null |
| channelId | integer or null <int64> The transaction channel the money came or went through, if one was named. |
{- "clientRef": "USSD-55120",
- "amount": "1500.00"
}{- "id": 0,
- "accountId": 0,
- "type": "deposit",
- "transactionDate": "2019-08-24",
- "amount": "1500.00",
- "currency": "string",
- "runningBalance": "string",
- "reversed": true,
- "reversedOn": "2019-08-24",
- "journalEntryId": 0,
- "reversalJournalEntryId": 0,
- "parentId": 0,
- "counterpartyAccountId": 0,
- "counterpartyAccountKind": "savings",
- "cashierId": 0,
- "reference": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "channelId": 0
}To another account in the same currency.
API product: accounts.transfers
| id required | integer <int64> |
| amount required | string |
| clientRef required | string [ 1 .. 50 ] characters Your own reference for this transaction, e.g. |
| toAccountId required | integer <int64> |
| transactionDate | string <date> Defaults to today. |
| reference | string <= 100 characters |
| description | string <= 500 characters |
| signedBy | Array of integers <int64> [ items <int64 > ] For an account with a mandate, the ids of its signatories who signed. |
| channelId | integer or null <int64> The transaction channel the money came or goes through. |
required | object |
required | object |
required | object |
required | object |
{- "clientRef": "USSD-55120",
- "amount": "1500.00",
- "toAccountId": 0
}{- "from": {
- "id": 0,
- "accountId": 0,
- "type": "deposit",
- "transactionDate": "2019-08-24",
- "amount": "1500.00",
- "currency": "string",
- "runningBalance": "string",
- "reversed": true,
- "reversedOn": "2019-08-24",
- "journalEntryId": 0,
- "reversalJournalEntryId": 0,
- "parentId": 0,
- "counterpartyAccountId": 0,
- "counterpartyAccountKind": "savings",
- "cashierId": 0,
- "reference": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "channelId": 0
}, - "to": {
- "id": 0,
- "accountId": 0,
- "type": "deposit",
- "transactionDate": "2019-08-24",
- "amount": "1500.00",
- "currency": "string",
- "runningBalance": "string",
- "reversed": true,
- "reversedOn": "2019-08-24",
- "journalEntryId": 0,
- "reversalJournalEntryId": 0,
- "parentId": 0,
- "counterpartyAccountId": 0,
- "counterpartyAccountKind": "savings",
- "cashierId": 0,
- "reference": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "channelId": 0
}
}In date order, with the running balance.
API product: accounts.statements
| id required | integer <int64> |
| from | string <date> |
| to | string <date> |
| limit | integer [ 1 .. 200 ] Default: 50 Page size. |
| cursor | string The nextCursor from the previous page. |
required | Array of objects |
| nextCursor | string or null |
curl https://api.numcore.io/v1/savings-accounts/1/transactions \ -H "Authorization: Bearer $TOKEN" \ -H "X-NumCore-Tenant: yourbank-sandbox"
{- "items": [
- {
- "id": 0,
- "accountId": 0,
- "type": "deposit",
- "transactionDate": "2019-08-24",
- "amount": "1500.00",
- "currency": "string",
- "runningBalance": "string",
- "reversed": true,
- "reversedOn": "2019-08-24",
- "journalEntryId": 0,
- "reversalJournalEntryId": 0,
- "parentId": 0,
- "counterpartyAccountId": 0,
- "counterpartyAccountKind": "savings",
- "cashierId": 0,
- "reference": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "channelId": 0
}
], - "nextCursor": "string"
}API product: accounts.statements
| id required | integer <int64> |
| transactionId required | integer <int64> |
| id required | integer <int64> |
| accountId required | integer <int64> |
| type required | string Enum: "deposit" "withdrawal" "withdrawalFee" "feeCharge" "periodicFee" "interestPosting" "overdraftInterest" "transferIn" "transferOut" "prematureClosurePenalty" "loanDisbursement" "charge" "vat" "withholdingTax" "withholdingTaxRefund" "transferLevy" "loanRepayment" "sharePurchase" "shareRedemption" "shareDividend" "profitDistribution" "profitLoss" |
| transactionDate required | string <date> |
| amount required | string |
| currency required | string |
| reversed required | boolean |
| createdAt required | string <date-time> |
| runningBalance | string or null The balance after this transaction in date order; null once undone. |
| reversedOn | string or null <date> |
| journalEntryId | integer or null <int64> |
| reversalJournalEntryId | integer or null <int64> |
| parentId | integer or null <int64> The transaction this one belongs to. |
| counterpartyAccountId | integer or null <int64> The other account of a transfer, or the loan a loan disbursement paid out or a loan repayment repaid. |
CounterpartyAccountKind (string) or null What counterpartyAccountId is, so a client can link to it; null when there is no counterparty. | |
| cashierId | integer or null <int64> The cashier whose till took or paid the cash; such a transaction is undone at the till. |
| reference | string or null |
| description | string or null |
| channelId | integer or null <int64> The transaction channel the money came or went through, if one was named. |
curl https://api.numcore.io/v1/savings-accounts/1/transactions/1 \ -H "Authorization: Bearer $TOKEN" \ -H "X-NumCore-Tenant: yourbank-sandbox"
{- "id": 0,
- "accountId": 0,
- "type": "deposit",
- "transactionDate": "2019-08-24",
- "amount": "1500.00",
- "currency": "string",
- "runningBalance": "string",
- "reversed": true,
- "reversedOn": "2019-08-24",
- "journalEntryId": 0,
- "reversalJournalEntryId": 0,
- "parentId": 0,
- "counterpartyAccountId": 0,
- "counterpartyAccountKind": "savings",
- "cashierId": 0,
- "reference": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "channelId": 0
}API product: investments.read
| customerId | integer <int64> |
| groupId | integer <int64> |
| productId | integer <int64> |
| officeId | integer <int64> |
| status | string Enum: "submitted" "approved" "active" "matured" "closed" "prematurelyClosed" "rejected" "withdrawn" |
| accountNumber | string <= 100 characters Only the account with exactly this number. |
| q | string <= 100 characters Case-insensitive search: accounts whose number or external id contains the text, or whose owner's name contains it. |
| limit | integer [ 1 .. 200 ] Default: 50 Page size. |
| cursor | string The nextCursor from the previous page. |
required | Array of objects |
| nextCursor | string or null |
curl https://api.numcore.io/v1/fixed-deposit-accounts \ -H "Authorization: Bearer $TOKEN" \ -H "X-NumCore-Tenant: yourbank-sandbox"
{- "items": [
- {
- "id": 0,
- "accountNumber": "0001234567",
- "kind": "savings",
- "productId": 0,
- "customerId": 0,
- "groupId": 0,
- "officeId": 0,
- "fieldOfficerId": 0,
- "externalId": "string",
- "currency": "string",
- "status": "submitted",
- "balance": "1500.00",
- "nominalAnnualInterestRate": "7.5",
- "interestCompounding": "daily",
- "interestPosting": "daily",
- "interestCalculationMethod": "dailyBalance",
- "daysInYear": 0,
- "term": 0,
- "termUnit": "days",
- "depositAmount": "1500.00",
- "maturityDate": "2019-08-24",
- "maturityAmount": "string",
- "maturityInstruction": "awaitClosure",
- "linkedSavingsAccountId": 0,
- "funding": "cash",
- "prematureClosure": {
- "penaltyRate": "string",
- "penaltyBasis": "wholeTerm"
}, - "prematureClosureRate": "string",
- "renewedFromAccountId": 0,
- "renewedToAccountId": 0,
- "submittedOn": "2019-08-24",
- "approvedOn": "2019-08-24",
- "activatedOn": "2019-08-24",
- "closedOn": "2019-08-24",
- "rejectedOn": "2019-08-24",
- "withdrawnOn": "2019-08-24",
- "lockedInUntil": "2019-08-24",
- "statusReason": "string",
- "totalDeposited": "1500.00",
- "topUp": {
- "allowed": true,
- "minimumAmount": "string",
- "cutoffDays": 0
}, - "recurring": {
- "installmentEvery": 0,
- "installmentUnit": "days",
- "mandatoryInstallments": true,
- "installmentCount": 0,
- "expectedTotalDeposits": "1500.00",
- "totalDeposited": "1500.00",
- "paidInstallments": 0,
- "missedInstallments": 0,
- "missedAmount": "1500.00"
}, - "accountNumberScheme": "nuban"
}
], - "nextCursor": "string"
}Approve and activate it next.
API product: investments.create
| productId required | integer <int64> |
| depositAmount required | string |
| term required | integer >= 1 In the product's term unit. |
| customerId | integer <int64> |
| groupId | integer <int64> |
| submittedOn | string <date> |
| maturityInstruction | string Enum: "awaitClosure" "transferToSavings" "renewPrincipal" "renewPrincipalAndInterest" |
| linkedSavingsAccountId | integer <int64> An open savings or current account of the same owner and currency. |
| funding | string Enum: "cash" "savingsTransfer" |
| fieldOfficerId | integer <int64> |
| externalId | string <= 100 characters |
object Custom field values keyed by field key, e.g. {"marketAssociation": "Balogun traders", "dependants": "3"}. |
| id required | integer <int64> |
| accountNumber required | string |
| kind required | string Enum: "savings" "current" "fixedDeposit" "recurringDeposit" |
| productId required | integer <int64> |
| officeId required | integer <int64> |
| currency required | string |
| status required | string Enum: "submitted" "approved" "active" "matured" "closed" "prematurelyClosed" "rejected" "withdrawn" |
| balance required | string |
| nominalAnnualInterestRate required | string Percentage per year as a decimal string, e.g. "7.5" for 7.5%. |
| term required | integer |
| termUnit required | string Enum: "days" "weeks" "months" "years" |
| depositAmount required | string Fixed deposits, the deposit; recurring deposits, each installment. |
| maturityInstruction required | string Enum: "awaitClosure" "transferToSavings" "renewPrincipal" "renewPrincipalAndInterest" |
| funding required | string Enum: "cash" "savingsTransfer" |
required | object |
| submittedOn required | string <date> |
| customerId | integer or null <int64> |
| groupId | integer or null <int64> |
| fieldOfficerId | integer or null <int64> |
| externalId | string or null |
| interestCompounding | string Enum: "daily" "monthly" "quarterly" "semiAnnual" "annual" |
| interestPosting | string Enum: "daily" "monthly" "quarterly" "semiAnnual" "annual" |
| interestCalculationMethod | string Enum: "dailyBalance" "averageDailyBalance" |
| daysInYear | integer |
| maturityDate | string or null <date> Projected while the application is pending; fixed on activation. |
| maturityAmount | string or null Projected while the deposit runs; the actual amount once it matures or closes early. |
| linkedSavingsAccountId | integer or null <int64> |
| prematureClosureRate | string or null The rate interest was finally paid at when closed early. |
| renewedFromAccountId | integer or null <int64> |
| renewedToAccountId | integer or null <int64> |
| approvedOn | string or null <date> |
| activatedOn | string or null <date> |
| closedOn | string or null <date> |
| rejectedOn | string or null <date> |
| withdrawnOn | string or null <date> |
| lockedInUntil | string or null <date> |
| statusReason | string or null |
| totalDeposited | string The deposit amount plus top-ups, or what was paid in. |
TopUpRules (object) or null Fixed deposits only. | |
object or null Recurring deposits only. | |
| accountNumberScheme | string Enum: "nuban" "serial" |
{- "productId": 0,
- "depositAmount": "1500.00",
- "term": 1
}{- "id": 0,
- "accountNumber": "0001234567",
- "kind": "savings",
- "productId": 0,
- "customerId": 0,
- "groupId": 0,
- "officeId": 0,
- "fieldOfficerId": 0,
- "externalId": "string",
- "currency": "string",
- "status": "submitted",
- "balance": "1500.00",
- "nominalAnnualInterestRate": "7.5",
- "interestCompounding": "daily",
- "interestPosting": "daily",
- "interestCalculationMethod": "dailyBalance",
- "daysInYear": 0,
- "term": 0,
- "termUnit": "days",
- "depositAmount": "1500.00",
- "maturityDate": "2019-08-24",
- "maturityAmount": "string",
- "maturityInstruction": "awaitClosure",
- "linkedSavingsAccountId": 0,
- "funding": "cash",
- "prematureClosure": {
- "penaltyRate": "string",
- "penaltyBasis": "wholeTerm"
}, - "prematureClosureRate": "string",
- "renewedFromAccountId": 0,
- "renewedToAccountId": 0,
- "submittedOn": "2019-08-24",
- "approvedOn": "2019-08-24",
- "activatedOn": "2019-08-24",
- "closedOn": "2019-08-24",
- "rejectedOn": "2019-08-24",
- "withdrawnOn": "2019-08-24",
- "lockedInUntil": "2019-08-24",
- "statusReason": "string",
- "totalDeposited": "1500.00",
- "topUp": {
- "allowed": true,
- "minimumAmount": "string",
- "cutoffDays": 0
}, - "recurring": {
- "installmentEvery": 0,
- "installmentUnit": "days",
- "mandatoryInstallments": true,
- "installmentCount": 0,
- "expectedTotalDeposits": "1500.00",
- "totalDeposited": "1500.00",
- "paidInstallments": 0,
- "missedInstallments": 0,
- "missedAmount": "1500.00"
}, - "accountNumberScheme": "nuban"
}API product: investments.read
| id required | integer <int64> |
| id required | integer <int64> |
| accountNumber required | string |
| kind required | string Enum: "savings" "current" "fixedDeposit" "recurringDeposit" |
| productId required | integer <int64> |
| officeId required | integer <int64> |
| currency required | string |
| status required | string Enum: "submitted" "approved" "active" "matured" "closed" "prematurelyClosed" "rejected" "withdrawn" |
| balance required | string |
| nominalAnnualInterestRate required | string Percentage per year as a decimal string, e.g. "7.5" for 7.5%. |
| term required | integer |
| termUnit required | string Enum: "days" "weeks" "months" "years" |
| depositAmount required | string Fixed deposits, the deposit; recurring deposits, each installment. |
| maturityInstruction required | string Enum: "awaitClosure" "transferToSavings" "renewPrincipal" "renewPrincipalAndInterest" |
| funding required | string Enum: "cash" "savingsTransfer" |
required | object |
| submittedOn required | string <date> |
| customerId | integer or null <int64> |
| groupId | integer or null <int64> |
| fieldOfficerId | integer or null <int64> |
| externalId | string or null |
| interestCompounding | string Enum: "daily" "monthly" "quarterly" "semiAnnual" "annual" |
| interestPosting | string Enum: "daily" "monthly" "quarterly" "semiAnnual" "annual" |
| interestCalculationMethod | string Enum: "dailyBalance" "averageDailyBalance" |
| daysInYear | integer |
| maturityDate | string or null <date> Projected while the application is pending; fixed on activation. |
| maturityAmount | string or null Projected while the deposit runs; the actual amount once it matures or closes early. |
| linkedSavingsAccountId | integer or null <int64> |
| prematureClosureRate | string or null The rate interest was finally paid at when closed early. |
| renewedFromAccountId | integer or null <int64> |
| renewedToAccountId | integer or null <int64> |
| approvedOn | string or null <date> |
| activatedOn | string or null <date> |
| closedOn | string or null <date> |
| rejectedOn | string or null <date> |
| withdrawnOn | string or null <date> |
| lockedInUntil | string or null <date> |
| statusReason | string or null |
| totalDeposited | string The deposit amount plus top-ups, or what was paid in. |
TopUpRules (object) or null Fixed deposits only. | |
object or null Recurring deposits only. | |
| accountNumberScheme | string Enum: "nuban" "serial" |
curl https://api.numcore.io/v1/fixed-deposit-accounts/1 \ -H "Authorization: Bearer $TOKEN" \ -H "X-NumCore-Tenant: yourbank-sandbox"
{- "id": 0,
- "accountNumber": "0001234567",
- "kind": "savings",
- "productId": 0,
- "customerId": 0,
- "groupId": 0,
- "officeId": 0,
- "fieldOfficerId": 0,
- "externalId": "string",
- "currency": "string",
- "status": "submitted",
- "balance": "1500.00",
- "nominalAnnualInterestRate": "7.5",
- "interestCompounding": "daily",
- "interestPosting": "daily",
- "interestCalculationMethod": "dailyBalance",
- "daysInYear": 0,
- "term": 0,
- "termUnit": "days",
- "depositAmount": "1500.00",
- "maturityDate": "2019-08-24",
- "maturityAmount": "string",
- "maturityInstruction": "awaitClosure",
- "linkedSavingsAccountId": 0,
- "funding": "cash",
- "prematureClosure": {
- "penaltyRate": "string",
- "penaltyBasis": "wholeTerm"
}, - "prematureClosureRate": "string",
- "renewedFromAccountId": 0,
- "renewedToAccountId": 0,
- "submittedOn": "2019-08-24",
- "approvedOn": "2019-08-24",
- "activatedOn": "2019-08-24",
- "closedOn": "2019-08-24",
- "rejectedOn": "2019-08-24",
- "withdrawnOn": "2019-08-24",
- "lockedInUntil": "2019-08-24",
- "statusReason": "string",
- "totalDeposited": "1500.00",
- "topUp": {
- "allowed": true,
- "minimumAmount": "string",
- "cutoffDays": 0
}, - "recurring": {
- "installmentEvery": 0,
- "installmentUnit": "days",
- "mandatoryInstallments": true,
- "installmentCount": 0,
- "expectedTotalDeposits": "1500.00",
- "totalDeposited": "1500.00",
- "paidInstallments": 0,
- "missedInstallments": 0,
- "missedAmount": "1500.00"
}, - "accountNumberScheme": "nuban"
}API product: investments.create
| id required | integer <int64> |
| approvedOn required | string <date> |
| id required | integer <int64> |
| accountNumber required | string |
| kind required | string Enum: "savings" "current" "fixedDeposit" "recurringDeposit" |
| productId required | integer <int64> |
| officeId required | integer <int64> |
| currency required | string |
| status required | string Enum: "submitted" "approved" "active" "matured" "closed" "prematurelyClosed" "rejected" "withdrawn" |
| balance required | string |
| nominalAnnualInterestRate required | string Percentage per year as a decimal string, e.g. "7.5" for 7.5%. |
| term required | integer |
| termUnit required | string Enum: "days" "weeks" "months" "years" |
| depositAmount required | string Fixed deposits, the deposit; recurring deposits, each installment. |
| maturityInstruction required | string Enum: "awaitClosure" "transferToSavings" "renewPrincipal" "renewPrincipalAndInterest" |
| funding required | string Enum: "cash" "savingsTransfer" |
required | object |
| submittedOn required | string <date> |
| customerId | integer or null <int64> |
| groupId | integer or null <int64> |
| fieldOfficerId | integer or null <int64> |
| externalId | string or null |
| interestCompounding | string Enum: "daily" "monthly" "quarterly" "semiAnnual" "annual" |
| interestPosting | string Enum: "daily" "monthly" "quarterly" "semiAnnual" "annual" |
| interestCalculationMethod | string Enum: "dailyBalance" "averageDailyBalance" |
| daysInYear | integer |
| maturityDate | string or null <date> Projected while the application is pending; fixed on activation. |
| maturityAmount | string or null Projected while the deposit runs; the actual amount once it matures or closes early. |
| linkedSavingsAccountId | integer or null <int64> |
| prematureClosureRate | string or null The rate interest was finally paid at when closed early. |
| renewedFromAccountId | integer or null <int64> |
| renewedToAccountId | integer or null <int64> |
| approvedOn | string or null <date> |
| activatedOn | string or null <date> |
| closedOn | string or null <date> |
| rejectedOn | string or null <date> |
| withdrawnOn | string or null <date> |
| lockedInUntil | string or null <date> |
| statusReason | string or null |
| totalDeposited | string The deposit amount plus top-ups, or what was paid in. |
TopUpRules (object) or null Fixed deposits only. | |
object or null Recurring deposits only. | |
| accountNumberScheme | string Enum: "nuban" "serial" |
{- "approvedOn": "2019-08-24"
}{- "id": 0,
- "accountNumber": "0001234567",
- "kind": "savings",
- "productId": 0,
- "customerId": 0,
- "groupId": 0,
- "officeId": 0,
- "fieldOfficerId": 0,
- "externalId": "string",
- "currency": "string",
- "status": "submitted",
- "balance": "1500.00",
- "nominalAnnualInterestRate": "7.5",
- "interestCompounding": "daily",
- "interestPosting": "daily",
- "interestCalculationMethod": "dailyBalance",
- "daysInYear": 0,
- "term": 0,
- "termUnit": "days",
- "depositAmount": "1500.00",
- "maturityDate": "2019-08-24",
- "maturityAmount": "string",
- "maturityInstruction": "awaitClosure",
- "linkedSavingsAccountId": 0,
- "funding": "cash",
- "prematureClosure": {
- "penaltyRate": "string",
- "penaltyBasis": "wholeTerm"
}, - "prematureClosureRate": "string",
- "renewedFromAccountId": 0,
- "renewedToAccountId": 0,
- "submittedOn": "2019-08-24",
- "approvedOn": "2019-08-24",
- "activatedOn": "2019-08-24",
- "closedOn": "2019-08-24",
- "rejectedOn": "2019-08-24",
- "withdrawnOn": "2019-08-24",
- "lockedInUntil": "2019-08-24",
- "statusReason": "string",
- "totalDeposited": "1500.00",
- "topUp": {
- "allowed": true,
- "minimumAmount": "string",
- "cutoffDays": 0
}, - "recurring": {
- "installmentEvery": 0,
- "installmentUnit": "days",
- "mandatoryInstallments": true,
- "installmentCount": 0,
- "expectedTotalDeposits": "1500.00",
- "totalDeposited": "1500.00",
- "paidInstallments": 0,
- "missedInstallments": 0,
- "missedAmount": "1500.00"
}, - "accountNumberScheme": "nuban"
}Funds it; the term runs from today.
API product: investments.create
| id required | integer <int64> |
| activatedOn required | string <date> |
| id required | integer <int64> |
| accountNumber required | string |
| kind required | string Enum: "savings" "current" "fixedDeposit" "recurringDeposit" |
| productId required | integer <int64> |
| officeId required | integer <int64> |
| currency required | string |
| status required | string Enum: "submitted" "approved" "active" "matured" "closed" "prematurelyClosed" "rejected" "withdrawn" |
| balance required | string |
| nominalAnnualInterestRate required | string Percentage per year as a decimal string, e.g. "7.5" for 7.5%. |
| term required | integer |
| termUnit required | string Enum: "days" "weeks" "months" "years" |
| depositAmount required | string Fixed deposits, the deposit; recurring deposits, each installment. |
| maturityInstruction required | string Enum: "awaitClosure" "transferToSavings" "renewPrincipal" "renewPrincipalAndInterest" |
| funding required | string Enum: "cash" "savingsTransfer" |
required | object |
| submittedOn required | string <date> |
| customerId | integer or null <int64> |
| groupId | integer or null <int64> |
| fieldOfficerId | integer or null <int64> |
| externalId | string or null |
| interestCompounding | string Enum: "daily" "monthly" "quarterly" "semiAnnual" "annual" |
| interestPosting | string Enum: "daily" "monthly" "quarterly" "semiAnnual" "annual" |
| interestCalculationMethod | string Enum: "dailyBalance" "averageDailyBalance" |
| daysInYear | integer |
| maturityDate | string or null <date> Projected while the application is pending; fixed on activation. |
| maturityAmount | string or null Projected while the deposit runs; the actual amount once it matures or closes early. |
| linkedSavingsAccountId | integer or null <int64> |
| prematureClosureRate | string or null The rate interest was finally paid at when closed early. |
| renewedFromAccountId | integer or null <int64> |
| renewedToAccountId | integer or null <int64> |
| approvedOn | string or null <date> |
| activatedOn | string or null <date> |
| closedOn | string or null <date> |
| rejectedOn | string or null <date> |
| withdrawnOn | string or null <date> |
| lockedInUntil | string or null <date> |
| statusReason | string or null |
| totalDeposited | string The deposit amount plus top-ups, or what was paid in. |
TopUpRules (object) or null Fixed deposits only. | |
object or null Recurring deposits only. | |
| accountNumberScheme | string Enum: "nuban" "serial" |
{- "activatedOn": "2019-08-24"
}{- "id": 0,
- "accountNumber": "0001234567",
- "kind": "savings",
- "productId": 0,
- "customerId": 0,
- "groupId": 0,
- "officeId": 0,
- "fieldOfficerId": 0,
- "externalId": "string",
- "currency": "string",
- "status": "submitted",
- "balance": "1500.00",
- "nominalAnnualInterestRate": "7.5",
- "interestCompounding": "daily",
- "interestPosting": "daily",
- "interestCalculationMethod": "dailyBalance",
- "daysInYear": 0,
- "term": 0,
- "termUnit": "days",
- "depositAmount": "1500.00",
- "maturityDate": "2019-08-24",
- "maturityAmount": "string",
- "maturityInstruction": "awaitClosure",
- "linkedSavingsAccountId": 0,
- "funding": "cash",
- "prematureClosure": {
- "penaltyRate": "string",
- "penaltyBasis": "wholeTerm"
}, - "prematureClosureRate": "string",
- "renewedFromAccountId": 0,
- "renewedToAccountId": 0,
- "submittedOn": "2019-08-24",
- "approvedOn": "2019-08-24",
- "activatedOn": "2019-08-24",
- "closedOn": "2019-08-24",
- "rejectedOn": "2019-08-24",
- "withdrawnOn": "2019-08-24",
- "lockedInUntil": "2019-08-24",
- "statusReason": "string",
- "totalDeposited": "1500.00",
- "topUp": {
- "allowed": true,
- "minimumAmount": "string",
- "cutoffDays": 0
}, - "recurring": {
- "installmentEvery": 0,
- "installmentUnit": "days",
- "mandatoryInstallments": true,
- "installmentCount": 0,
- "expectedTotalDeposits": "1500.00",
- "totalDeposited": "1500.00",
- "paidInstallments": 0,
- "missedInstallments": 0,
- "missedAmount": "1500.00"
}, - "accountNumberScheme": "nuban"
}If the product allows top-ups.
API product: investments.create
| id required | integer <int64> |
| amount required | string |
| clientRef required | string [ 1 .. 50 ] characters Your own reference for this transaction, e.g. |
| transactionDate | string <date> Defaults to today. |
| fromSavingsAccountId | integer <int64> Left out, the top-up is in cash. |
| reference | string <= 100 characters |
| description | string <= 500 characters |
| id required | integer <int64> |
| accountId required | integer <int64> |
| type required | string Enum: "deposit" "withdrawal" "withdrawalFee" "feeCharge" "periodicFee" "interestPosting" "overdraftInterest" "transferIn" "transferOut" "prematureClosurePenalty" "loanDisbursement" "charge" "vat" "withholdingTax" "withholdingTaxRefund" "transferLevy" "loanRepayment" "sharePurchase" "shareRedemption" "shareDividend" "profitDistribution" "profitLoss" |
| transactionDate required | string <date> |
| amount required | string |
| currency required | string |
| reversed required | boolean |
| createdAt required | string <date-time> |
| runningBalance | string or null The balance after this transaction in date order; null once undone. |
| reversedOn | string or null <date> |
| journalEntryId | integer or null <int64> |
| reversalJournalEntryId | integer or null <int64> |
| parentId | integer or null <int64> The transaction this one belongs to. |
| counterpartyAccountId | integer or null <int64> The other account of a transfer, or the loan a loan disbursement paid out or a loan repayment repaid. |
CounterpartyAccountKind (string) or null What counterpartyAccountId is, so a client can link to it; null when there is no counterparty. | |
| cashierId | integer or null <int64> The cashier whose till took or paid the cash; such a transaction is undone at the till. |
| reference | string or null |
| description | string or null |
| channelId | integer or null <int64> The transaction channel the money came or went through, if one was named. |
| id required | integer <int64> |
| accountId required | integer <int64> |
| type required | string Enum: "deposit" "withdrawal" "withdrawalFee" "feeCharge" "periodicFee" "interestPosting" "overdraftInterest" "transferIn" "transferOut" "prematureClosurePenalty" "loanDisbursement" "charge" "vat" "withholdingTax" "withholdingTaxRefund" "transferLevy" "loanRepayment" "sharePurchase" "shareRedemption" "shareDividend" "profitDistribution" "profitLoss" |
| transactionDate required | string <date> |
| amount required | string |
| currency required | string |
| reversed required | boolean |
| createdAt required | string <date-time> |
| runningBalance | string or null The balance after this transaction in date order; null once undone. |
| reversedOn | string or null <date> |
| journalEntryId | integer or null <int64> |
| reversalJournalEntryId | integer or null <int64> |
| parentId | integer or null <int64> The transaction this one belongs to. |
| counterpartyAccountId | integer or null <int64> The other account of a transfer, or the loan a loan disbursement paid out or a loan repayment repaid. |
CounterpartyAccountKind (string) or null What counterpartyAccountId is, so a client can link to it; null when there is no counterparty. | |
| cashierId | integer or null <int64> The cashier whose till took or paid the cash; such a transaction is undone at the till. |
| reference | string or null |
| description | string or null |
| channelId | integer or null <int64> The transaction channel the money came or went through, if one was named. |
{- "clientRef": "USSD-55120",
- "amount": "1500.00"
}{- "id": 0,
- "accountId": 0,
- "type": "deposit",
- "transactionDate": "2019-08-24",
- "amount": "1500.00",
- "currency": "string",
- "runningBalance": "string",
- "reversed": true,
- "reversedOn": "2019-08-24",
- "journalEntryId": 0,
- "reversalJournalEntryId": 0,
- "parentId": 0,
- "counterpartyAccountId": 0,
- "counterpartyAccountKind": "savings",
- "cashierId": 0,
- "reference": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "channelId": 0
}API product: investments.read
| id required | integer <int64> |
| from | string <date> |
| to | string <date> |
| limit | integer [ 1 .. 200 ] Default: 50 Page size. |
| cursor | string The nextCursor from the previous page. |
required | Array of objects |
| nextCursor | string or null |
curl https://api.numcore.io/v1/fixed-deposit-accounts/1/transactions \ -H "Authorization: Bearer $TOKEN" \ -H "X-NumCore-Tenant: yourbank-sandbox"
{- "items": [
- {
- "id": 0,
- "accountId": 0,
- "type": "deposit",
- "transactionDate": "2019-08-24",
- "amount": "1500.00",
- "currency": "string",
- "runningBalance": "string",
- "reversed": true,
- "reversedOn": "2019-08-24",
- "journalEntryId": 0,
- "reversalJournalEntryId": 0,
- "parentId": 0,
- "counterpartyAccountId": 0,
- "counterpartyAccountKind": "savings",
- "cashierId": 0,
- "reference": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "channelId": 0
}
], - "nextCursor": "string"
}API product: investments.read
| customerId | integer <int64> |
| groupId | integer <int64> |
| productId | integer <int64> |
| officeId | integer <int64> |
| status | string Enum: "submitted" "approved" "active" "matured" "closed" "prematurelyClosed" "rejected" "withdrawn" |
| accountNumber | string <= 100 characters Only the account with exactly this number. |
| q | string <= 100 characters Case-insensitive search: accounts whose number or external id contains the text, or whose owner's name contains it. |
| limit | integer [ 1 .. 200 ] Default: 50 Page size. |
| cursor | string The nextCursor from the previous page. |
required | Array of objects |
| nextCursor | string or null |
curl https://api.numcore.io/v1/recurring-deposit-accounts \ -H "Authorization: Bearer $TOKEN" \ -H "X-NumCore-Tenant: yourbank-sandbox"
{- "items": [
- {
- "id": 0,
- "accountNumber": "0001234567",
- "kind": "savings",
- "productId": 0,
- "customerId": 0,
- "groupId": 0,
- "officeId": 0,
- "fieldOfficerId": 0,
- "externalId": "string",
- "currency": "string",
- "status": "submitted",
- "balance": "1500.00",
- "nominalAnnualInterestRate": "7.5",
- "interestCompounding": "daily",
- "interestPosting": "daily",
- "interestCalculationMethod": "dailyBalance",
- "daysInYear": 0,
- "term": 0,
- "termUnit": "days",
- "depositAmount": "1500.00",
- "maturityDate": "2019-08-24",
- "maturityAmount": "string",
- "maturityInstruction": "awaitClosure",
- "linkedSavingsAccountId": 0,
- "funding": "cash",
- "prematureClosure": {
- "penaltyRate": "string",
- "penaltyBasis": "wholeTerm"
}, - "prematureClosureRate": "string",
- "renewedFromAccountId": 0,
- "renewedToAccountId": 0,
- "submittedOn": "2019-08-24",
- "approvedOn": "2019-08-24",
- "activatedOn": "2019-08-24",
- "closedOn": "2019-08-24",
- "rejectedOn": "2019-08-24",
- "withdrawnOn": "2019-08-24",
- "lockedInUntil": "2019-08-24",
- "statusReason": "string",
- "totalDeposited": "1500.00",
- "topUp": {
- "allowed": true,
- "minimumAmount": "string",
- "cutoffDays": 0
}, - "recurring": {
- "installmentEvery": 0,
- "installmentUnit": "days",
- "mandatoryInstallments": true,
- "installmentCount": 0,
- "expectedTotalDeposits": "1500.00",
- "totalDeposited": "1500.00",
- "paidInstallments": 0,
- "missedInstallments": 0,
- "missedAmount": "1500.00"
}, - "accountNumberScheme": "nuban"
}
], - "nextCursor": "string"
}Approve and activate it next.
API product: investments.create
| productId required | integer <int64> |
| installmentAmount required | string |
| term required | integer >= 1 In the product's term unit. |
| customerId | integer <int64> |
| groupId | integer <int64> |
| submittedOn | string <date> |
| maturityInstruction | string Enum: "awaitClosure" "transferToSavings" "renewPrincipal" "renewPrincipalAndInterest" |
| linkedSavingsAccountId | integer <int64> |
| fieldOfficerId | integer <int64> |
| externalId | string <= 100 characters |
object Custom field values keyed by field key, e.g. {"marketAssociation": "Balogun traders", "dependants": "3"}. |
| id required | integer <int64> |
| accountNumber required | string |
| kind required | string Enum: "savings" "current" "fixedDeposit" "recurringDeposit" |
| productId required | integer <int64> |
| officeId required | integer <int64> |
| currency required | string |
| status required | string Enum: "submitted" "approved" "active" "matured" "closed" "prematurelyClosed" "rejected" "withdrawn" |
| balance required | string |
| nominalAnnualInterestRate required | string Percentage per year as a decimal string, e.g. "7.5" for 7.5%. |
| term required | integer |
| termUnit required | string Enum: "days" "weeks" "months" "years" |
| depositAmount required | string Fixed deposits, the deposit; recurring deposits, each installment. |
| maturityInstruction required | string Enum: "awaitClosure" "transferToSavings" "renewPrincipal" "renewPrincipalAndInterest" |
| funding required | string Enum: "cash" "savingsTransfer" |
required | object |
| submittedOn required | string <date> |
| customerId | integer or null <int64> |
| groupId | integer or null <int64> |
| fieldOfficerId | integer or null <int64> |
| externalId | string or null |
| interestCompounding | string Enum: "daily" "monthly" "quarterly" "semiAnnual" "annual" |
| interestPosting | string Enum: "daily" "monthly" "quarterly" "semiAnnual" "annual" |
| interestCalculationMethod | string Enum: "dailyBalance" "averageDailyBalance" |
| daysInYear | integer |
| maturityDate | string or null <date> Projected while the application is pending; fixed on activation. |
| maturityAmount | string or null Projected while the deposit runs; the actual amount once it matures or closes early. |
| linkedSavingsAccountId | integer or null <int64> |
| prematureClosureRate | string or null The rate interest was finally paid at when closed early. |
| renewedFromAccountId | integer or null <int64> |
| renewedToAccountId | integer or null <int64> |
| approvedOn | string or null <date> |
| activatedOn | string or null <date> |
| closedOn | string or null <date> |
| rejectedOn | string or null <date> |
| withdrawnOn | string or null <date> |
| lockedInUntil | string or null <date> |
| statusReason | string or null |
| totalDeposited | string The deposit amount plus top-ups, or what was paid in. |
TopUpRules (object) or null Fixed deposits only. | |
object or null Recurring deposits only. | |
| accountNumberScheme | string Enum: "nuban" "serial" |
{- "productId": 0,
- "installmentAmount": "1500.00",
- "term": 1
}{- "id": 0,
- "accountNumber": "0001234567",
- "kind": "savings",
- "productId": 0,
- "customerId": 0,
- "groupId": 0,
- "officeId": 0,
- "fieldOfficerId": 0,
- "externalId": "string",
- "currency": "string",
- "status": "submitted",
- "balance": "1500.00",
- "nominalAnnualInterestRate": "7.5",
- "interestCompounding": "daily",
- "interestPosting": "daily",
- "interestCalculationMethod": "dailyBalance",
- "daysInYear": 0,
- "term": 0,
- "termUnit": "days",
- "depositAmount": "1500.00",
- "maturityDate": "2019-08-24",
- "maturityAmount": "string",
- "maturityInstruction": "awaitClosure",
- "linkedSavingsAccountId": 0,
- "funding": "cash",
- "prematureClosure": {
- "penaltyRate": "string",
- "penaltyBasis": "wholeTerm"
}, - "prematureClosureRate": "string",
- "renewedFromAccountId": 0,
- "renewedToAccountId": 0,
- "submittedOn": "2019-08-24",
- "approvedOn": "2019-08-24",
- "activatedOn": "2019-08-24",
- "closedOn": "2019-08-24",
- "rejectedOn": "2019-08-24",
- "withdrawnOn": "2019-08-24",
- "lockedInUntil": "2019-08-24",
- "statusReason": "string",
- "totalDeposited": "1500.00",
- "topUp": {
- "allowed": true,
- "minimumAmount": "string",
- "cutoffDays": 0
}, - "recurring": {
- "installmentEvery": 0,
- "installmentUnit": "days",
- "mandatoryInstallments": true,
- "installmentCount": 0,
- "expectedTotalDeposits": "1500.00",
- "totalDeposited": "1500.00",
- "paidInstallments": 0,
- "missedInstallments": 0,
- "missedAmount": "1500.00"
}, - "accountNumberScheme": "nuban"
}API product: investments.read
| id required | integer <int64> |
| id required | integer <int64> |
| accountNumber required | string |
| kind required | string Enum: "savings" "current" "fixedDeposit" "recurringDeposit" |
| productId required | integer <int64> |
| officeId required | integer <int64> |
| currency required | string |
| status required | string Enum: "submitted" "approved" "active" "matured" "closed" "prematurelyClosed" "rejected" "withdrawn" |
| balance required | string |
| nominalAnnualInterestRate required | string Percentage per year as a decimal string, e.g. "7.5" for 7.5%. |
| term required | integer |
| termUnit required | string Enum: "days" "weeks" "months" "years" |
| depositAmount required | string Fixed deposits, the deposit; recurring deposits, each installment. |
| maturityInstruction required | string Enum: "awaitClosure" "transferToSavings" "renewPrincipal" "renewPrincipalAndInterest" |
| funding required | string Enum: "cash" "savingsTransfer" |
required | object |
| submittedOn required | string <date> |
| customerId | integer or null <int64> |
| groupId | integer or null <int64> |
| fieldOfficerId | integer or null <int64> |
| externalId | string or null |
| interestCompounding | string Enum: "daily" "monthly" "quarterly" "semiAnnual" "annual" |
| interestPosting | string Enum: "daily" "monthly" "quarterly" "semiAnnual" "annual" |
| interestCalculationMethod | string Enum: "dailyBalance" "averageDailyBalance" |
| daysInYear | integer |
| maturityDate | string or null <date> Projected while the application is pending; fixed on activation. |
| maturityAmount | string or null Projected while the deposit runs; the actual amount once it matures or closes early. |
| linkedSavingsAccountId | integer or null <int64> |
| prematureClosureRate | string or null The rate interest was finally paid at when closed early. |
| renewedFromAccountId | integer or null <int64> |
| renewedToAccountId | integer or null <int64> |
| approvedOn | string or null <date> |
| activatedOn | string or null <date> |
| closedOn | string or null <date> |
| rejectedOn | string or null <date> |
| withdrawnOn | string or null <date> |
| lockedInUntil | string or null <date> |
| statusReason | string or null |
| totalDeposited | string The deposit amount plus top-ups, or what was paid in. |
TopUpRules (object) or null Fixed deposits only. | |
object or null Recurring deposits only. | |
| accountNumberScheme | string Enum: "nuban" "serial" |
curl https://api.numcore.io/v1/recurring-deposit-accounts/1 \ -H "Authorization: Bearer $TOKEN" \ -H "X-NumCore-Tenant: yourbank-sandbox"
{- "id": 0,
- "accountNumber": "0001234567",
- "kind": "savings",
- "productId": 0,
- "customerId": 0,
- "groupId": 0,
- "officeId": 0,
- "fieldOfficerId": 0,
- "externalId": "string",
- "currency": "string",
- "status": "submitted",
- "balance": "1500.00",
- "nominalAnnualInterestRate": "7.5",
- "interestCompounding": "daily",
- "interestPosting": "daily",
- "interestCalculationMethod": "dailyBalance",
- "daysInYear": 0,
- "term": 0,
- "termUnit": "days",
- "depositAmount": "1500.00",
- "maturityDate": "2019-08-24",
- "maturityAmount": "string",
- "maturityInstruction": "awaitClosure",
- "linkedSavingsAccountId": 0,
- "funding": "cash",
- "prematureClosure": {
- "penaltyRate": "string",
- "penaltyBasis": "wholeTerm"
}, - "prematureClosureRate": "string",
- "renewedFromAccountId": 0,
- "renewedToAccountId": 0,
- "submittedOn": "2019-08-24",
- "approvedOn": "2019-08-24",
- "activatedOn": "2019-08-24",
- "closedOn": "2019-08-24",
- "rejectedOn": "2019-08-24",
- "withdrawnOn": "2019-08-24",
- "lockedInUntil": "2019-08-24",
- "statusReason": "string",
- "totalDeposited": "1500.00",
- "topUp": {
- "allowed": true,
- "minimumAmount": "string",
- "cutoffDays": 0
}, - "recurring": {
- "installmentEvery": 0,
- "installmentUnit": "days",
- "mandatoryInstallments": true,
- "installmentCount": 0,
- "expectedTotalDeposits": "1500.00",
- "totalDeposited": "1500.00",
- "paidInstallments": 0,
- "missedInstallments": 0,
- "missedAmount": "1500.00"
}, - "accountNumberScheme": "nuban"
}API product: investments.create
| id required | integer <int64> |
| approvedOn required | string <date> |
| id required | integer <int64> |
| accountNumber required | string |
| kind required | string Enum: "savings" "current" "fixedDeposit" "recurringDeposit" |
| productId required | integer <int64> |
| officeId required | integer <int64> |
| currency required | string |
| status required | string Enum: "submitted" "approved" "active" "matured" "closed" "prematurelyClosed" "rejected" "withdrawn" |
| balance required | string |
| nominalAnnualInterestRate required | string Percentage per year as a decimal string, e.g. "7.5" for 7.5%. |
| term required | integer |
| termUnit required | string Enum: "days" "weeks" "months" "years" |
| depositAmount required | string Fixed deposits, the deposit; recurring deposits, each installment. |
| maturityInstruction required | string Enum: "awaitClosure" "transferToSavings" "renewPrincipal" "renewPrincipalAndInterest" |
| funding required | string Enum: "cash" "savingsTransfer" |
required | object |
| submittedOn required | string <date> |
| customerId | integer or null <int64> |
| groupId | integer or null <int64> |
| fieldOfficerId | integer or null <int64> |
| externalId | string or null |
| interestCompounding | string Enum: "daily" "monthly" "quarterly" "semiAnnual" "annual" |
| interestPosting | string Enum: "daily" "monthly" "quarterly" "semiAnnual" "annual" |
| interestCalculationMethod | string Enum: "dailyBalance" "averageDailyBalance" |
| daysInYear | integer |
| maturityDate | string or null <date> Projected while the application is pending; fixed on activation. |
| maturityAmount | string or null Projected while the deposit runs; the actual amount once it matures or closes early. |
| linkedSavingsAccountId | integer or null <int64> |
| prematureClosureRate | string or null The rate interest was finally paid at when closed early. |
| renewedFromAccountId | integer or null <int64> |
| renewedToAccountId | integer or null <int64> |
| approvedOn | string or null <date> |
| activatedOn | string or null <date> |
| closedOn | string or null <date> |
| rejectedOn | string or null <date> |
| withdrawnOn | string or null <date> |
| lockedInUntil | string or null <date> |
| statusReason | string or null |
| totalDeposited | string The deposit amount plus top-ups, or what was paid in. |
TopUpRules (object) or null Fixed deposits only. | |
object or null Recurring deposits only. | |
| accountNumberScheme | string Enum: "nuban" "serial" |
{- "approvedOn": "2019-08-24"
}{- "id": 0,
- "accountNumber": "0001234567",
- "kind": "savings",
- "productId": 0,
- "customerId": 0,
- "groupId": 0,
- "officeId": 0,
- "fieldOfficerId": 0,
- "externalId": "string",
- "currency": "string",
- "status": "submitted",
- "balance": "1500.00",
- "nominalAnnualInterestRate": "7.5",
- "interestCompounding": "daily",
- "interestPosting": "daily",
- "interestCalculationMethod": "dailyBalance",
- "daysInYear": 0,
- "term": 0,
- "termUnit": "days",
- "depositAmount": "1500.00",
- "maturityDate": "2019-08-24",
- "maturityAmount": "string",
- "maturityInstruction": "awaitClosure",
- "linkedSavingsAccountId": 0,
- "funding": "cash",
- "prematureClosure": {
- "penaltyRate": "string",
- "penaltyBasis": "wholeTerm"
}, - "prematureClosureRate": "string",
- "renewedFromAccountId": 0,
- "renewedToAccountId": 0,
- "submittedOn": "2019-08-24",
- "approvedOn": "2019-08-24",
- "activatedOn": "2019-08-24",
- "closedOn": "2019-08-24",
- "rejectedOn": "2019-08-24",
- "withdrawnOn": "2019-08-24",
- "lockedInUntil": "2019-08-24",
- "statusReason": "string",
- "totalDeposited": "1500.00",
- "topUp": {
- "allowed": true,
- "minimumAmount": "string",
- "cutoffDays": 0
}, - "recurring": {
- "installmentEvery": 0,
- "installmentUnit": "days",
- "mandatoryInstallments": true,
- "installmentCount": 0,
- "expectedTotalDeposits": "1500.00",
- "totalDeposited": "1500.00",
- "paidInstallments": 0,
- "missedInstallments": 0,
- "missedAmount": "1500.00"
}, - "accountNumberScheme": "nuban"
}The first instalment is due today.
API product: investments.create
| id required | integer <int64> |
| activatedOn required | string <date> |
| id required | integer <int64> |
| accountNumber required | string |
| kind required | string Enum: "savings" "current" "fixedDeposit" "recurringDeposit" |
| productId required | integer <int64> |
| officeId required | integer <int64> |
| currency required | string |
| status required | string Enum: "submitted" "approved" "active" "matured" "closed" "prematurelyClosed" "rejected" "withdrawn" |
| balance required | string |
| nominalAnnualInterestRate required | string Percentage per year as a decimal string, e.g. "7.5" for 7.5%. |
| term required | integer |
| termUnit required | string Enum: "days" "weeks" "months" "years" |
| depositAmount required | string Fixed deposits, the deposit; recurring deposits, each installment. |
| maturityInstruction required | string Enum: "awaitClosure" "transferToSavings" "renewPrincipal" "renewPrincipalAndInterest" |
| funding required | string Enum: "cash" "savingsTransfer" |
required | object |
| submittedOn required | string <date> |
| customerId | integer or null <int64> |
| groupId | integer or null <int64> |
| fieldOfficerId | integer or null <int64> |
| externalId | string or null |
| interestCompounding | string Enum: "daily" "monthly" "quarterly" "semiAnnual" "annual" |
| interestPosting | string Enum: "daily" "monthly" "quarterly" "semiAnnual" "annual" |
| interestCalculationMethod | string Enum: "dailyBalance" "averageDailyBalance" |
| daysInYear | integer |
| maturityDate | string or null <date> Projected while the application is pending; fixed on activation. |
| maturityAmount | string or null Projected while the deposit runs; the actual amount once it matures or closes early. |
| linkedSavingsAccountId | integer or null <int64> |
| prematureClosureRate | string or null The rate interest was finally paid at when closed early. |
| renewedFromAccountId | integer or null <int64> |
| renewedToAccountId | integer or null <int64> |
| approvedOn | string or null <date> |
| activatedOn | string or null <date> |
| closedOn | string or null <date> |
| rejectedOn | string or null <date> |
| withdrawnOn | string or null <date> |
| lockedInUntil | string or null <date> |
| statusReason | string or null |
| totalDeposited | string The deposit amount plus top-ups, or what was paid in. |
TopUpRules (object) or null Fixed deposits only. | |
object or null Recurring deposits only. | |
| accountNumberScheme | string Enum: "nuban" "serial" |
{- "activatedOn": "2019-08-24"
}{- "id": 0,
- "accountNumber": "0001234567",
- "kind": "savings",
- "productId": 0,
- "customerId": 0,
- "groupId": 0,
- "officeId": 0,
- "fieldOfficerId": 0,
- "externalId": "string",
- "currency": "string",
- "status": "submitted",
- "balance": "1500.00",
- "nominalAnnualInterestRate": "7.5",
- "interestCompounding": "daily",
- "interestPosting": "daily",
- "interestCalculationMethod": "dailyBalance",
- "daysInYear": 0,
- "term": 0,
- "termUnit": "days",
- "depositAmount": "1500.00",
- "maturityDate": "2019-08-24",
- "maturityAmount": "string",
- "maturityInstruction": "awaitClosure",
- "linkedSavingsAccountId": 0,
- "funding": "cash",
- "prematureClosure": {
- "penaltyRate": "string",
- "penaltyBasis": "wholeTerm"
}, - "prematureClosureRate": "string",
- "renewedFromAccountId": 0,
- "renewedToAccountId": 0,
- "submittedOn": "2019-08-24",
- "approvedOn": "2019-08-24",
- "activatedOn": "2019-08-24",
- "closedOn": "2019-08-24",
- "rejectedOn": "2019-08-24",
- "withdrawnOn": "2019-08-24",
- "lockedInUntil": "2019-08-24",
- "statusReason": "string",
- "totalDeposited": "1500.00",
- "topUp": {
- "allowed": true,
- "minimumAmount": "string",
- "cutoffDays": 0
}, - "recurring": {
- "installmentEvery": 0,
- "installmentUnit": "days",
- "mandatoryInstallments": true,
- "installmentCount": 0,
- "expectedTotalDeposits": "1500.00",
- "totalDeposited": "1500.00",
- "paidInstallments": 0,
- "missedInstallments": 0,
- "missedAmount": "1500.00"
}, - "accountNumberScheme": "nuban"
}API product: investments.read
| id required | integer <int64> |
| from | string <date> |
| to | string <date> |
| limit | integer [ 1 .. 200 ] Default: 50 Page size. |
| cursor | string The nextCursor from the previous page. |
required | Array of objects |
| nextCursor | string or null |
curl https://api.numcore.io/v1/recurring-deposit-accounts/1/transactions \ -H "Authorization: Bearer $TOKEN" \ -H "X-NumCore-Tenant: yourbank-sandbox"
{- "items": [
- {
- "id": 0,
- "accountId": 0,
- "type": "deposit",
- "transactionDate": "2019-08-24",
- "amount": "1500.00",
- "currency": "string",
- "runningBalance": "string",
- "reversed": true,
- "reversedOn": "2019-08-24",
- "journalEntryId": 0,
- "reversalJournalEntryId": 0,
- "parentId": 0,
- "counterpartyAccountId": 0,
- "counterpartyAccountKind": "savings",
- "cashierId": 0,
- "reference": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "channelId": 0
}
], - "nextCursor": "string"
}API product: loans.read
| customerId | integer <int64> |
| groupId | integer <int64> |
| productId | integer <int64> |
| officeId | integer <int64> |
| loanOfficerId | integer <int64> |
| status | string Enum: "submitted" "approved" "active" "overpaid" "closed" "writtenOff" "rejected" "withdrawn" |
| accountNumber | string <= 100 characters Only the account with exactly this number. |
| q | string <= 100 characters Case-insensitive search: accounts whose number or external id contains the text, or whose owner's name contains it. |
| limit | integer [ 1 .. 200 ] Default: 50 Page size. |
| cursor | string The nextCursor from the previous page. |
required | Array of objects |
| nextCursor | string or null |
curl https://api.numcore.io/v1/loans \ -H "Authorization: Bearer $TOKEN" \ -H "X-NumCore-Tenant: yourbank-sandbox"
{- "items": [
- {
- "id": 0,
- "accountNumber": "0000000042",
- "productId": 0,
- "type": "individual",
- "customerId": 0,
- "groupId": 0,
- "officeId": 0,
- "loanOfficerId": 0,
- "externalId": "string",
- "currency": "string",
- "status": "submitted",
- "principal": "1500.00",
- "approvedPrincipal": "string",
- "numberOfRepayments": 0,
- "repaymentEvery": 0,
- "repaymentFrequency": "days",
- "interestRatePerPeriod": "2.5",
- "interestRateFrequency": "perMonth",
- "annualInterestRate": "7.5",
- "interestMethod": "decliningBalance",
- "amortization": "equalInstallments",
- "repaymentStrategy": "penaltiesFeesInterestPrincipal",
- "submittedOn": "2019-08-24",
- "expectedDisbursementOn": "2019-08-24",
- "firstRepaymentOn": "2019-08-24",
- "approvedOn": "2019-08-24",
- "disbursedOn": "2019-08-24",
- "closedOn": "2019-08-24",
- "writtenOffOn": "2019-08-24",
- "rejectedOn": "2019-08-24",
- "withdrawnOn": "2019-08-24",
- "statusReason": "string",
- "disbursementFee": "1500.00",
- "balances": {
- "principalOutstanding": "1500.00",
- "interestOutstanding": "1500.00",
- "feesOutstanding": "1500.00",
- "penaltiesOutstanding": "1500.00",
- "totalOutstanding": "1500.00",
- "overpaid": "1500.00"
}, - "arrears": {
- "amount": "1500.00",
- "daysInArrears": 0,
- "overdueSince": "2019-08-24",
- "bucket": "current"
}, - "classification": {
- "class": "performing",
- "classifiedOn": "2019-08-24",
- "interestSuspended": true,
- "suspendedInterest": "1500.00",
- "provisionHeld": "1500.00",
- "stage": 1,
- "stageProbationSince": "2019-08-24"
}, - "repaymentSavingsAccountId": 0,
- "replacesLoanId": 0,
- "recovered": "1500.00",
- "recalculatedOn": "2019-08-24",
- "variableRate": {
- "indexId": 0,
- "margin": "string",
- "floor": "string",
- "cap": "string",
- "effectiveOn": "2019-08-24"
}, - "creditLineId": 0,
- "relief": {
- "lastOn": "2019-08-24",
- "installmentsGranted": 0,
- "maxInstallments": 0
}, - "feeRecognition": {
- "fee": "1500.00",
- "earned": "1500.00",
- "deferred": "1500.00",
- "writtenOff": "1500.00"
}, - "capitalisedFee": "string",
- "nonInterestContract": "murabaha",
- "financedAsset": "string",
- "supplier": "string",
- "customerContribution": "string",
- "ownershipTransferredOn": "2019-08-24",
- "ijarahAsset": {
- "accounting": "financing",
- "ownershipCosts": "1500.00",
- "cost": "string",
- "accumulatedDepreciation": "string",
- "netBookValue": "string",
- "depreciatedThrough": "2019-08-24"
}, - "restructured": true,
- "restructure": {
- "restructuredOn": "2019-08-24",
- "reason": "string",
- "reschedules": 0,
- "classificationHeldAt": "performing",
- "curedOn": "2019-08-24",
- "capitalisedIncomeInSuspense": "1500.00"
}
}
], - "nextCursor": "string"
}With its balances and arrears.
API product: loans.read
| id required | integer <int64> |
| id required | integer <int64> |
| accountNumber required | string Assigned by NumCore. |
| productId required | integer <int64> |
| type required | string Enum: "individual" "group" "jointLiability" |
| officeId required | integer <int64> |
| currency required | string |
| status required | string Enum: "submitted" "approved" "active" "overpaid" "closed" "writtenOff" "rejected" "withdrawn" |
| principal required | string |
| numberOfRepayments required | integer |
| repaymentEvery required | integer |
| repaymentFrequency required | string Enum: "days" "weeks" "months" |
| interestRatePerPeriod required | string Percentage as a decimal string, per the product's interestRateFrequency, e.g. "2.5" for 2.5%. |
| interestRateFrequency required | string Enum: "perMonth" "perYear" |
| annualInterestRate required | string Percentage per year as a decimal string, e.g. "7.5" for 7.5%. |
| interestMethod required | string Enum: "decliningBalance" "flat" |
| amortization required | string Enum: "equalInstallments" "equalPrincipal" |
| repaymentStrategy required | string Enum: "penaltiesFeesInterestPrincipal" "interestPrincipalPenaltiesFees" "principalInterestPenaltiesFees" |
| submittedOn required | string <date> |
| expectedDisbursementOn required | string <date> |
| disbursementFee required | string |
required | object |
required | object Everything owed on instalments due before today, unless within the product's arrears tolerance. |
required | object |
| customerId | integer or null <int64> |
| groupId | integer or null <int64> |
| loanOfficerId | integer or null <int64> |
| externalId | string or null |
| approvedPrincipal | string or null |
| firstRepaymentOn | string or null <date> |
| approvedOn | string or null <date> |
| disbursedOn | string or null <date> |
| closedOn | string or null <date> |
| writtenOffOn | string or null <date> |
| rejectedOn | string or null <date> |
| withdrawnOn | string or null <date> |
| statusReason | string or null |
| repaymentSavingsAccountId | integer or null <int64> |
| replacesLoanId | integer or null <int64> The loan this one tops up or refinances, or null. |
| recovered | string Recovered since the loan was written off. |
| recalculatedOn | string or null <date> The date of the latest prepayment that recalculated the schedule. |
LoanVariableRate (object) or null | |
| creditLineId | integer or null <int64> The credit line the loan was drawn under. |
LoanRelief (object) or null Present when the loan's product offers payment relief or the loan has been given some. | |
LoanFeeRecognition (object) or null Present when the disbursement fee is earned by the effective interest method. | |
| capitalisedFee | string or null The disbursement fee added to the principal at disbursement; null when it was taken from the payout. |
FinancingContract (string) or null | |
| financedAsset | string or null |
| supplier | string or null |
| customerContribution | string or null A Musharakah's customer part of the asset's price. |
| ownershipTransferredOn | string or null <date> For an Ijarah or a Musharakah, the day the asset became the customer's, the day the financing was paid off. |
LoanIjarahAsset (object) or null An Ijarah's leased asset; null for any other loan. | |
| restructured | boolean An approved reschedule changed the loan's terms. |
LoanRestructure (object) or null |
curl https://api.numcore.io/v1/loans/1 \ -H "Authorization: Bearer $TOKEN" \ -H "X-NumCore-Tenant: yourbank-sandbox"
{- "id": 0,
- "accountNumber": "0000000042",
- "productId": 0,
- "type": "individual",
- "customerId": 0,
- "groupId": 0,
- "officeId": 0,
- "loanOfficerId": 0,
- "externalId": "string",
- "currency": "string",
- "status": "submitted",
- "principal": "1500.00",
- "approvedPrincipal": "string",
- "numberOfRepayments": 0,
- "repaymentEvery": 0,
- "repaymentFrequency": "days",
- "interestRatePerPeriod": "2.5",
- "interestRateFrequency": "perMonth",
- "annualInterestRate": "7.5",
- "interestMethod": "decliningBalance",
- "amortization": "equalInstallments",
- "repaymentStrategy": "penaltiesFeesInterestPrincipal",
- "submittedOn": "2019-08-24",
- "expectedDisbursementOn": "2019-08-24",
- "firstRepaymentOn": "2019-08-24",
- "approvedOn": "2019-08-24",
- "disbursedOn": "2019-08-24",
- "closedOn": "2019-08-24",
- "writtenOffOn": "2019-08-24",
- "rejectedOn": "2019-08-24",
- "withdrawnOn": "2019-08-24",
- "statusReason": "string",
- "disbursementFee": "1500.00",
- "balances": {
- "principalOutstanding": "1500.00",
- "interestOutstanding": "1500.00",
- "feesOutstanding": "1500.00",
- "penaltiesOutstanding": "1500.00",
- "totalOutstanding": "1500.00",
- "overpaid": "1500.00"
}, - "arrears": {
- "amount": "1500.00",
- "daysInArrears": 0,
- "overdueSince": "2019-08-24",
- "bucket": "current"
}, - "classification": {
- "class": "performing",
- "classifiedOn": "2019-08-24",
- "interestSuspended": true,
- "suspendedInterest": "1500.00",
- "provisionHeld": "1500.00",
- "stage": 1,
- "stageProbationSince": "2019-08-24"
}, - "repaymentSavingsAccountId": 0,
- "replacesLoanId": 0,
- "recovered": "1500.00",
- "recalculatedOn": "2019-08-24",
- "variableRate": {
- "indexId": 0,
- "margin": "string",
- "floor": "string",
- "cap": "string",
- "effectiveOn": "2019-08-24"
}, - "creditLineId": 0,
- "relief": {
- "lastOn": "2019-08-24",
- "installmentsGranted": 0,
- "maxInstallments": 0
}, - "feeRecognition": {
- "fee": "1500.00",
- "earned": "1500.00",
- "deferred": "1500.00",
- "writtenOff": "1500.00"
}, - "capitalisedFee": "string",
- "nonInterestContract": "murabaha",
- "financedAsset": "string",
- "supplier": "string",
- "customerContribution": "string",
- "ownershipTransferredOn": "2019-08-24",
- "ijarahAsset": {
- "accounting": "financing",
- "ownershipCosts": "1500.00",
- "cost": "string",
- "accumulatedDepreciation": "string",
- "netBookValue": "string",
- "depreciatedThrough": "2019-08-24"
}, - "restructured": true,
- "restructure": {
- "restructuredOn": "2019-08-24",
- "reason": "string",
- "reschedules": 0,
- "classificationHeldAt": "performing",
- "curedOn": "2019-08-24",
- "capitalisedIncomeInSuspense": "1500.00"
}
}API product: loans.read
| id required | integer <int64> |
| currency required | string |
| disbursementOn required | string <date> |
| principal required | string |
| disbursementFee required | string |
| totalPrincipal required | string |
| totalInterest required | string |
| totalFees required | string |
| totalPenalties required | string |
| totalRepayment required | string |
required | Array of objects |
curl https://api.numcore.io/v1/loans/1/schedule \ -H "Authorization: Bearer $TOKEN" \ -H "X-NumCore-Tenant: yourbank-sandbox"
{- "currency": "string",
- "disbursementOn": "2019-08-24",
- "principal": "1500.00",
- "disbursementFee": "1500.00",
- "totalPrincipal": "1500.00",
- "totalInterest": "1500.00",
- "totalFees": "1500.00",
- "totalPenalties": "1500.00",
- "totalRepayment": "1500.00",
- "installments": [
- {
- "number": 0,
- "fromDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "principal": "1500.00",
- "interest": "1500.00",
- "fees": "1500.00",
- "penalties": "1500.00",
- "total": "1500.00",
- "principalBalance": "1500.00",
- "paid": "1500.00",
- "waived": "1500.00",
- "writtenOff": "1500.00",
- "capitalised": "1500.00",
- "outstanding": "1500.00",
- "completedOn": "2019-08-24",
- "overdue": true
}
]
}Takaful and major maintenance the bank paid as owner of the leased asset.
API product: loans.read
| id required | integer <int64> |
| id required | integer <int64> |
| loanId required | integer <int64> |
| kind required | string Enum: "takaful" "maintenance" "other" |
| currency required | string |
| amount required | string |
| incurredOn required | string <date> |
| journalEntryId required | integer <int64> |
| reversed required | boolean |
| createdAt required | string <date-time> |
| description | string or null |
| reversedOn | string or null <date> |
curl https://api.numcore.io/v1/loans/1/ownership-costs \ -H "Authorization: Bearer $TOKEN" \ -H "X-NumCore-Tenant: yourbank-sandbox"
[- {
- "id": 0,
- "loanId": 0,
- "kind": "takaful",
- "currency": "string",
- "amount": "1500.00",
- "incurredOn": "2019-08-24",
- "description": "string",
- "journalEntryId": 0,
- "reversed": true,
- "reversedOn": "2019-08-24",
- "createdAt": "2019-08-24T14:15:22Z"
}
]Pays the oldest instalments first.
API product: loans.repayments
| id required | integer <int64> |
| amount required | string |
| clientRef required | string [ 1 .. 50 ] characters Your own reference for this transaction, e.g. |
| transactionDate | string <date> Defaults to today. |
| reference | string <= 100 characters |
| description | string <= 500 characters |
| channelId | integer or null <int64> The transaction channel the money came or goes through. |
| id required | integer <int64> |
| loanId required | integer <int64> |
| type required | string Enum: "disbursement" "repayment" "interestWaiver" "chargeWaiver" "writeOff" "refund" "capitalisation" "recovery" "penaltyWaiver" |
| transactionDate required | string <date> |
| amount required | string |
| currency required | string |
| principal required | string |
| interest required | string |
| fees required | string |
| penalties required | string |
| overpayment required | string |
| reversed required | boolean |
| createdAt required | string <date-time> |
| chargeId | integer or null <int64> |
| savingsAccountId | integer or null <int64> |
| savingsTransactionId | integer or null <int64> |
| journalEntryId | integer or null <int64> |
| reversedOn | string or null <date> |
| reversalJournalEntryId | integer or null <int64> |
| reference | string or null |
| description | string or null |
| channelId | integer or null <int64> The transaction channel the money came or went through, if one was named. |
| id required | integer <int64> |
| loanId required | integer <int64> |
| type required | string Enum: "disbursement" "repayment" "interestWaiver" "chargeWaiver" "writeOff" "refund" "capitalisation" "recovery" "penaltyWaiver" |
| transactionDate required | string <date> |
| amount required | string |
| currency required | string |
| principal required | string |
| interest required | string |
| fees required | string |
| penalties required | string |
| overpayment required | string |
| reversed required | boolean |
| createdAt required | string <date-time> |
| chargeId | integer or null <int64> |
| savingsAccountId | integer or null <int64> |
| savingsTransactionId | integer or null <int64> |
| journalEntryId | integer or null <int64> |
| reversedOn | string or null <date> |
| reversalJournalEntryId | integer or null <int64> |
| reference | string or null |
| description | string or null |
| channelId | integer or null <int64> The transaction channel the money came or went through, if one was named. |
{- "clientRef": "USSD-55120",
- "amount": "1500.00"
}{- "id": 0,
- "loanId": 0,
- "type": "disbursement",
- "transactionDate": "2019-08-24",
- "amount": "1500.00",
- "currency": "string",
- "principal": "1500.00",
- "interest": "1500.00",
- "fees": "1500.00",
- "penalties": "1500.00",
- "overpayment": "1500.00",
- "chargeId": 0,
- "savingsAccountId": 0,
- "savingsTransactionId": 0,
- "journalEntryId": 0,
- "reversed": true,
- "reversedOn": "2019-08-24",
- "reversalJournalEntryId": 0,
- "reference": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "channelId": 0
}API product: loans.read
| id required | integer <int64> |
| limit | integer [ 1 .. 200 ] Default: 50 Page size. |
| cursor | string The nextCursor from the previous page. |
required | Array of objects |
| nextCursor | string or null |
curl https://api.numcore.io/v1/loans/1/transactions \ -H "Authorization: Bearer $TOKEN" \ -H "X-NumCore-Tenant: yourbank-sandbox"
{- "items": [
- {
- "id": 0,
- "loanId": 0,
- "type": "disbursement",
- "transactionDate": "2019-08-24",
- "amount": "1500.00",
- "currency": "string",
- "principal": "1500.00",
- "interest": "1500.00",
- "fees": "1500.00",
- "penalties": "1500.00",
- "overpayment": "1500.00",
- "chargeId": 0,
- "savingsAccountId": 0,
- "savingsTransactionId": 0,
- "journalEntryId": 0,
- "reversed": true,
- "reversedOn": "2019-08-24",
- "reversalJournalEntryId": 0,
- "reference": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "channelId": 0
}
], - "nextCursor": "string"
}API product: loans.read
| id required | integer <int64> |
| transactionId required | integer <int64> |
| id required | integer <int64> |
| loanId required | integer <int64> |
| type required | string Enum: "disbursement" "repayment" "interestWaiver" "chargeWaiver" "writeOff" "refund" "capitalisation" "recovery" "penaltyWaiver" |
| transactionDate required | string <date> |
| amount required | string |
| currency required | string |
| principal required | string |
| interest required | string |
| fees required | string |
| penalties required | string |
| overpayment required | string |
| reversed required | boolean |
| createdAt required | string <date-time> |
| chargeId | integer or null <int64> |
| savingsAccountId | integer or null <int64> |
| savingsTransactionId | integer or null <int64> |
| journalEntryId | integer or null <int64> |
| reversedOn | string or null <date> |
| reversalJournalEntryId | integer or null <int64> |
| reference | string or null |
| description | string or null |
| channelId | integer or null <int64> The transaction channel the money came or went through, if one was named. |
curl https://api.numcore.io/v1/loans/1/transactions/1 \ -H "Authorization: Bearer $TOKEN" \ -H "X-NumCore-Tenant: yourbank-sandbox"
{- "id": 0,
- "loanId": 0,
- "type": "disbursement",
- "transactionDate": "2019-08-24",
- "amount": "1500.00",
- "currency": "string",
- "principal": "1500.00",
- "interest": "1500.00",
- "fees": "1500.00",
- "penalties": "1500.00",
- "overpayment": "1500.00",
- "chargeId": 0,
- "savingsAccountId": 0,
- "savingsTransactionId": 0,
- "journalEntryId": 0,
- "reversed": true,
- "reversedOn": "2019-08-24",
- "reversalJournalEntryId": 0,
- "reference": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "channelId": 0
}For a variable-rate loan: each time its index moved its rate, and the first instalment recalculated at the new rate.
API product: loans.read
| id required | integer <int64> |
| id required | integer <int64> |
| loanId required | integer <int64> |
| effectiveOn required | string <date> |
| previousRate required | string Per the loan's rate period. |
| newRate required | string |
| createdAt required | string <date-time> |
| fromInstallment | integer or null The first instalment recalculated at the new rate; null when none was. |
curl https://api.numcore.io/v1/loans/1/rate-changes \ -H "Authorization: Bearer $TOKEN" \ -H "X-NumCore-Tenant: yourbank-sandbox"
[- {
- "id": 0,
- "loanId": 0,
- "effectiveOn": "2019-08-24",
- "previousRate": "string",
- "newRate": "string",
- "fromInstallment": 0,
- "createdAt": "2019-08-24T14:15:22Z"
}
]API product: loans.read
| id required | integer <int64> |
| id required | integer <int64> |
| loanId required | integer <int64> |
| transactionId required | integer <int64> The repayment transaction it made; undo that to undo the prepayment. |
| effect required | string Enum: "reduceInstallment" "reduceTerm" |
| prepaidOn required | string <date> |
| currency required | string |
| amount required | string |
| duesPaid required | string What was due on prepaidOn; the first part of the amount settled it. |
| principalPrepaid required | string |
| repaymentsBefore required | integer The loan's number of instalments before and after. |
| repaymentsAfter required | integer |
| installmentBefore required | string The first recalculated instalment's principal and interest, before and after. |
| installmentAfter required | string |
| interestSaved required | string Scheduled interest of the recalculated instalments, before less after. |
| undone required | boolean |
| createdAt required | string <date-time> |
| undoneOn | string or null <date> |
curl https://api.numcore.io/v1/loans/1/prepayments \ -H "Authorization: Bearer $TOKEN" \ -H "X-NumCore-Tenant: yourbank-sandbox"
[- {
- "id": 0,
- "loanId": 0,
- "transactionId": 0,
- "effect": "reduceInstallment",
- "prepaidOn": "2019-08-24",
- "currency": "string",
- "amount": "1500.00",
- "duesPaid": "1500.00",
- "principalPrepaid": "1500.00",
- "repaymentsBefore": 0,
- "repaymentsAfter": 0,
- "installmentBefore": "1500.00",
- "installmentAfter": "1500.00",
- "interestSaved": "1500.00",
- "undone": true,
- "undoneOn": "2019-08-24",
- "createdAt": "2019-08-24T14:15:22Z"
}
]Settles what is due, pays the rest of the principal ahead and recalculates the later instalments: smaller, or fewer.
API product: loans.repayments
| id required | integer <int64> |
| amount required | string |
| effect required | string Enum: "reduceInstallment" "reduceTerm" |
| clientRef required | string [ 1 .. 50 ] characters Your own reference for this transaction, e.g. |
| transactionDate | string <date> Defaults to today. |
| reference | string <= 100 characters |
| description | string <= 500 characters |
| id required | integer <int64> |
| loanId required | integer <int64> |
| transactionId required | integer <int64> The repayment transaction it made; undo that to undo the prepayment. |
| effect required | string Enum: "reduceInstallment" "reduceTerm" |
| prepaidOn required | string <date> |
| currency required | string |
| amount required | string |
| duesPaid required | string What was due on prepaidOn; the first part of the amount settled it. |
| principalPrepaid required | string |
| repaymentsBefore required | integer The loan's number of instalments before and after. |
| repaymentsAfter required | integer |
| installmentBefore required | string The first recalculated instalment's principal and interest, before and after. |
| installmentAfter required | string |
| interestSaved required | string Scheduled interest of the recalculated instalments, before less after. |
| undone required | boolean |
| createdAt required | string <date-time> |
| undoneOn | string or null <date> |
| Location | string |
| id required | integer <int64> |
| loanId required | integer <int64> |
| transactionId required | integer <int64> The repayment transaction it made; undo that to undo the prepayment. |
| effect required | string Enum: "reduceInstallment" "reduceTerm" |
| prepaidOn required | string <date> |
| currency required | string |
| amount required | string |
| duesPaid required | string What was due on prepaidOn; the first part of the amount settled it. |
| principalPrepaid required | string |
| repaymentsBefore required | integer The loan's number of instalments before and after. |
| repaymentsAfter required | integer |
| installmentBefore required | string The first recalculated instalment's principal and interest, before and after. |
| installmentAfter required | string |
| interestSaved required | string Scheduled interest of the recalculated instalments, before less after. |
| undone required | boolean |
| createdAt required | string <date-time> |
| undoneOn | string or null <date> |
{- "amount": "1500.00",
- "effect": "reduceInstallment",
- "clientRef": "USSD-55120"
}{- "id": 0,
- "loanId": 0,
- "transactionId": 0,
- "effect": "reduceInstallment",
- "prepaidOn": "2019-08-24",
- "currency": "string",
- "amount": "1500.00",
- "duesPaid": "1500.00",
- "principalPrepaid": "1500.00",
- "repaymentsBefore": 0,
- "repaymentsAfter": 0,
- "installmentBefore": "1500.00",
- "installmentAfter": "1500.00",
- "interestSaved": "1500.00",
- "undone": true,
- "undoneOn": "2019-08-24",
- "createdAt": "2019-08-24T14:15:22Z"
}What the prepayment would do, with the schedule before and after. Nothing is saved.
API product: loans.repayments
| id required | integer <int64> |
| amount required | string |
| effect required | string Enum: "reduceInstallment" "reduceTerm" |
| transactionDate | string <date> Defaults to today. |
| reference | string <= 100 characters |
| description | string <= 500 characters |
| effect required | string Enum: "reduceInstallment" "reduceTerm" |
| prepaidOn required | string <date> |
| currency required | string |
| amount required | string |
| duesPaid required | string |
| principalPrepaid required | string |
| repaymentsBefore required | integer |
| repaymentsAfter required | integer |
| installmentBefore required | string |
| installmentAfter required | string |
| interestSaved required | string |
required | object |
required | object |
{- "amount": "1500.00",
- "effect": "reduceInstallment"
}{- "effect": "reduceInstallment",
- "prepaidOn": "2019-08-24",
- "currency": "string",
- "amount": "1500.00",
- "duesPaid": "1500.00",
- "principalPrepaid": "1500.00",
- "repaymentsBefore": 0,
- "repaymentsAfter": 0,
- "installmentBefore": "1500.00",
- "installmentAfter": "1500.00",
- "interestSaved": "1500.00",
- "before": {
- "currency": "string",
- "disbursementOn": "2019-08-24",
- "principal": "1500.00",
- "disbursementFee": "1500.00",
- "totalPrincipal": "1500.00",
- "totalInterest": "1500.00",
- "totalFees": "1500.00",
- "totalPenalties": "1500.00",
- "totalRepayment": "1500.00",
- "installments": [
- {
- "number": 0,
- "fromDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "principal": "1500.00",
- "interest": "1500.00",
- "fees": "1500.00",
- "penalties": "1500.00",
- "total": "1500.00",
- "principalBalance": "1500.00",
- "paid": "1500.00",
- "waived": "1500.00",
- "writtenOff": "1500.00",
- "capitalised": "1500.00",
- "outstanding": "1500.00",
- "completedOn": "2019-08-24",
- "overdue": true
}
]
}, - "after": {
- "currency": "string",
- "disbursementOn": "2019-08-24",
- "principal": "1500.00",
- "disbursementFee": "1500.00",
- "totalPrincipal": "1500.00",
- "totalInterest": "1500.00",
- "totalFees": "1500.00",
- "totalPenalties": "1500.00",
- "totalRepayment": "1500.00",
- "installments": [
- {
- "number": 0,
- "fromDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "principal": "1500.00",
- "interest": "1500.00",
- "fees": "1500.00",
- "penalties": "1500.00",
- "total": "1500.00",
- "principalBalance": "1500.00",
- "paid": "1500.00",
- "waived": "1500.00",
- "writtenOff": "1500.00",
- "capitalised": "1500.00",
- "outstanding": "1500.00",
- "completedOn": "2019-08-24",
- "overdue": true
}
]
}
}Every event in order. Ask for the events after the last position you processed.
API product: events.read
| after | integer <int64> >= 0 The position of the last event you processed. |
| types | string Only these event types, comma-separated, e.g. |
| limit | integer [ 1 .. 500 ] Default: 50 |
required | Array of objects |
| lastPosition required | integer <int64> The last item's position, or the |
| hasMore required | boolean Whether more events wait after lastPosition now; if so, ask again at once. |
curl https://api.numcore.io/v1/events \ -H "Authorization: Bearer $TOKEN" \ -H "X-NumCore-Tenant: yourbank-sandbox"
{- "items": [
- {
- "position": 0,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "savings.credited",
- "occurredAt": "2019-08-24T14:15:22Z",
- "tenant": "string",
- "data": {
- "accountType": "savings",
- "accountId": 0,
- "accountNumber": "0001234567",
- "customerId": 0,
- "groupId": 0,
- "mobileNumber": "string",
- "email": "string",
- "direction": "credit",
- "amount": "1500.00",
- "currency": "NGN",
- "balanceAfter": "25300.00",
- "narration": "string",
- "reference": "string",
- "transactionId": 0,
- "transactionType": "deposit",
- "transactionDate": "2019-08-24",
- "channel": "teller"
}
}
], - "lastPosition": 0,
- "hasMore": true
}One POST per event. See Webhooks for retries and the signature.
| X-NumCore-Event-Id required | string <uuid> |
| X-NumCore-Event-Type required | string Enum: "savings.credited" "savings.debited" "loan.disbursed" "loan.repaid" "transaction.reversed" "customer.created" "customer.activated" "customer.closed" "customer.rejected" "customer.withdrawn" "savings.created" "savings.approved" "savings.activated" "savings.matured" "savings.closed" "savings.rejected" "savings.withdrawn" "loan.created" "loan.approved" "loan.overpaid" "loan.closed" "loan.writtenOff" "loan.reopened" "loan.rejected" "loan.withdrawn" "approval.requested" "approval.approved" "approval.rejected" "approval.withdrawn" "approval.failed" "endOfDay.completed" "endOfDay.completedWithFailures" "notification.ping" |
| X-NumCore-Delivery-Id required | integer <int64> |
| X-NumCore-Delivery-Attempt required | integer |
| X-NumCore-Timestamp required | integer <int64> |
| X-NumCore-Signature required | string Example: v1=5257a869e7ecebeda32affa62cdca3fa51cad7e77a0e56ff536d0ce8e108d8bd |
| id required | string <uuid> The event's id, the same on every delivery of it. |
| type required | string Enum: "savings.credited" "savings.debited" "loan.disbursed" "loan.repaid" "transaction.reversed" "customer.created" "customer.activated" "customer.closed" "customer.rejected" "customer.withdrawn" "savings.created" "savings.approved" "savings.activated" "savings.matured" "savings.closed" "savings.rejected" "savings.withdrawn" "loan.created" "loan.approved" "loan.overpaid" "loan.closed" "loan.writtenOff" "loan.reopened" "loan.rejected" "loan.withdrawn" "approval.requested" "approval.approved" "approval.rejected" "approval.withdrawn" "approval.failed" "endOfDay.completed" "endOfDay.completedWithFailures" "notification.ping" |
| occurredAt required | string <date-time> When the posting was made. |
| tenant required | string |
required | TransactionAlertData (object) or null Null for notification.ping. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "savings.credited",
- "occurredAt": "2019-08-24T14:15:22Z",
- "tenant": "yourbank",
- "data": {
- "accountType": "savings",
- "accountId": 0,
- "accountNumber": "0001234567",
- "customerId": 0,
- "groupId": 0,
- "mobileNumber": "string",
- "email": "string",
- "direction": "credit",
- "amount": "1500.00",
- "currency": "NGN",
- "balanceAfter": "25300.00",
- "narration": "string",
- "reference": "string",
- "transactionId": 0,
- "transactionType": "deposit",
- "transactionDate": "2019-08-24",
- "channel": "teller"
}
}One POST per event. See Webhooks for retries and the signature.
| X-NumCore-Event-Id required | string <uuid> |
| X-NumCore-Event-Type required | string Enum: "savings.credited" "savings.debited" "loan.disbursed" "loan.repaid" "transaction.reversed" "customer.created" "customer.activated" "customer.closed" "customer.rejected" "customer.withdrawn" "savings.created" "savings.approved" "savings.activated" "savings.matured" "savings.closed" "savings.rejected" "savings.withdrawn" "loan.created" "loan.approved" "loan.overpaid" "loan.closed" "loan.writtenOff" "loan.reopened" "loan.rejected" "loan.withdrawn" "approval.requested" "approval.approved" "approval.rejected" "approval.withdrawn" "approval.failed" "endOfDay.completed" "endOfDay.completedWithFailures" "notification.ping" |
| X-NumCore-Delivery-Id required | integer <int64> |
| X-NumCore-Delivery-Attempt required | integer |
| X-NumCore-Timestamp required | integer <int64> |
| X-NumCore-Signature required | string Example: v1=5257a869e7ecebeda32affa62cdca3fa51cad7e77a0e56ff536d0ce8e108d8bd |
| id required | string <uuid> The event's id, the same on every delivery of it. |
| type required | string Enum: "savings.credited" "savings.debited" "loan.disbursed" "loan.repaid" "transaction.reversed" "customer.created" "customer.activated" "customer.closed" "customer.rejected" "customer.withdrawn" "savings.created" "savings.approved" "savings.activated" "savings.matured" "savings.closed" "savings.rejected" "savings.withdrawn" "loan.created" "loan.approved" "loan.overpaid" "loan.closed" "loan.writtenOff" "loan.reopened" "loan.rejected" "loan.withdrawn" "approval.requested" "approval.approved" "approval.rejected" "approval.withdrawn" "approval.failed" "endOfDay.completed" "endOfDay.completedWithFailures" "notification.ping" |
| occurredAt required | string <date-time> When the change was saved. |
| tenant required | string |
required | CustomerEventData (object) or SavingsAccountEventData (object) or LoanEventData (object) or ApprovalEventData (object) or EndOfDayEventData (object) |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "savings.credited",
- "occurredAt": "2019-08-24T14:15:22Z",
- "tenant": "yourbank",
- "data": {
- "customerId": 0,
- "customerNumber": "string",
- "legalForm": "person",
- "officeId": 0,
- "status": "pending",
- "previousStatus": "pending",
- "kycTier": 0,
- "externalId": "string"
}
}