NumCore APIs (v1)

Getting started

Connect your bank's apps, USSD, agents and partners to customers, accounts, investments and loans in NumCore.

  1. Create an API client in the console: Administration › API clients. Copy the secret; it is shown once.
  2. Get a token with the client id and secret (Authentication).
  3. Call the API with the token and your bank code in 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.

Environments

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.

Authentication

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>.

  • A token lasts 5 minutes. Reuse it until shortly before it expires.
  • A sandbox token doesn't work on live, and the other way round.
  • Keep the secret on your servers, never in an app or web page.

Mutual TLS (recommended for live)

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"
  • Send only the certificate (PEM). The private key never leaves your servers.
  • Without the certificate a call answers 401 client_certificate_required; with another one, 401 client_certificate_mismatch.
  • Renewing: one certificate is registered at a time, and the old one stops working as soon as the new one is registered. Switch your system over at the same moment, in a quiet period.
  • A self-signed certificate is fine: NumCore matches the exact certificate (its SHA-256 fingerprint), not who issued it.

Managing API clients

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).

API products

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.

Making requests

Money

Amounts are strings with an ISO 4217 currency: { "amount": "1500.00", "currency": "NGN" }. Use a decimal type; floating point loses kobo.

Dates

ISO 8601: 2026-11-10, 2026-11-10T14:00:00Z. Business dates are in the bank's time zone.

Safe retries

Every request that moves money needs clientRef: your own reference, up to 50 characters (e.g. USSD-55120 or a NIP session ID).

  • Retry with the same 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.
  • The same clientRef with a different body answers 409 client_ref_reused.
  • References are per API client, so they never clash with another channel's.
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

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

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.

Approvals

If your bank requires approval for an action, the call answers 202 and runs once a checker approves it.

Walkthroughs

Each request sends the token and X-NumCore-Tenant. Get officeId and productId values from your bank's console.

Onboard a customer

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

Open an account and make a deposit

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}

Transfer between two customers

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.

Take a loan repayment

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.

Book a fixed deposit

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.

Webhooks and events

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.

  • Ignore repeats using X-NumCore-Event-Id.
  • Don't rely on order. For order, read the event feed.
  • Verify the signature before trusting the body.

When your endpoint is down

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.

The event feed

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.

Verifying the signature

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.

Versioning

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.

Customers

List customers

API product: customers.read

query Parameters
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.

Responses

Response Schema: application/json
required
Array of objects
nextCursor
string or null

Request samples

curl https://api.numcore.io/v1/customers \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-NumCore-Tenant: yourbank-sandbox"

Response samples

Content type
application/json
{
}

Create a customer

A person needs firstName and lastName; a business needs fullName.

API product: customers.create

Request Body schema: application/json
required
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.

email
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.

Responses

Response Schema: application/json
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
email
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.

Request samples

Content type
application/json
{
}

Response samples

Content type
application/json
{
}

Get a customer

By id or Customer ID.

API product: customers.read

path Parameters
required
integer or string
Example: C482915307

The customer's id, or their Customer ID.

Responses

Response Schema: application/json
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
email
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.

Request samples

curl https://api.numcore.io/v1/customers/1 \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-NumCore-Tenant: yourbank-sandbox"

Response samples

Content type
application/json
{
}

Activate a customer

API product: customers.create

path Parameters
id
required
integer <int64>
Request Body schema: application/json
required
activatedOn
required
string <date>

Not in the future, not before submission, not before the office opened.

Responses

Response Schema: application/json
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
email
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.

Request samples

Content type
application/json
{
}

Response samples

Content type
application/json
{
}

Customer KYC

Get KYC rules

What your bank requires to open customers and upload documents.

API product: customers.kyc

Responses

Response Schema: application/json
bvnOrNinRequiredToOpen
required
boolean

Whether a new person needs a bvn or nin.

maxDocumentBytes
required
integer <int64>

The largest document file, after Base64 decoding.

Request samples

curl https://api.numcore.io/v1/customers/kyc-rules \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-NumCore-Tenant: yourbank-sandbox"

Response samples

Content type
application/json
{
}

Get KYC tier

The customer's tier, its limits, and what is missing for the next one.

API product: customers.kyc

path Parameters
required
integer or string
Example: C482915307

The customer's id, or their Customer ID.

Responses

Response Schema: application/json
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

Request samples

curl https://api.numcore.io/v1/customers/1/kyc \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-NumCore-Tenant: yourbank-sandbox"

Response samples

Content type
application/json
{
}

Change KYC tier

An upgrade needs every requirement of the new tier; otherwise 422 lists what is missing.

API product: customers.kyc

path Parameters
id
required
integer <int64>
Request Body schema: application/json
required
tier
required
integer [ 1 .. 3 ]
reason
required
string <= 500 characters

Responses

Response Schema: application/json
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

Request samples

Content type
application/json
{
}

Response samples

Content type
application/json
{
}

Verify address

API product: customers.kyc

path Parameters
id
required
integer <int64>
Request Body schema: application/json
required
verifiedOn
required
string <date>

Not in the future.

Responses

Response Schema: application/json
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

Request samples

Content type
application/json
{
}

Response samples

Content type
application/json
{
}

Verify BVN or NIN

Record that you checked it with NIBSS or NIMC.

API product: customers.kyc

path Parameters
id
required
integer <int64>
Request Body schema: application/json
required
type
required
string
Enum: "bvn" "nin"
verifiedOn
required
string <date>

Not in the future.

object

Responses

Response Schema: application/json
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

Request samples

Content type
application/json
{
}

Response samples

Content type
application/json
{
}

List documents

API product: customers.kyc

path Parameters
id
required
integer <int64>
query Parameters
current
boolean

True for only the documents in use.

Responses

Response Schema: application/json
Array
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.

Request samples

curl https://api.numcore.io/v1/customers/1/documents \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-NumCore-Tenant: yourbank-sandbox"

Response samples

Content type
application/json
[
]

Upload a document

Multipart (type and file) or JSON with the file in Base64.

API product: customers.kyc

path Parameters
id
required
integer <int64>
Request Body schema:
required
type
required
string
Enum: "idDocument" "proofOfAddress" "photo" "signature" "bvnEvidence" "ninEvidence"
file
required
string <binary>

Responses

Response Schema: application/json
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.

Request samples

Content type
No sample

Response samples

Content type
application/json
{
}

Download a document

API product: customers.kyc

path Parameters
id
required
integer <int64>
documentId
required
integer <int64>

Responses

Response Schema:
string <binary>

Request samples

curl https://api.numcore.io/v1/customers/1/documents/1/content \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-NumCore-Tenant: yourbank-sandbox"

Response samples

Content type
application/problem+json
{
}

Set next of kin

API product: customers.kyc

path Parameters
id
required
integer <int64>
Request Body schema: application/json
required
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
email
string or null <email> <= 200 characters

Responses

Response Schema: application/json
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
email
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.

Request samples

Content type
application/json
{
}

Response samples

Content type
application/json
{
}

Remove next of kin

API product: customers.kyc

path Parameters
id
required
integer <int64>

Responses

Response Schema: application/json
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
email
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.

Request samples

curl -X DELETE https://api.numcore.io/v1/customers/1/next-of-kin \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-NumCore-Tenant: yourbank-sandbox"

Response samples

Content type
application/json
{
}

Customer identifiers

List identity documents

API product: customers.kyc

path Parameters
customerId
required
integer <int64>

Responses

Response Schema: application/json
Array
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.

Request samples

curl https://api.numcore.io/v1/customers/1/identifiers \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-NumCore-Tenant: yourbank-sandbox"

Response samples

Content type
application/json
[
]

Add an identity document

To change a BVN or NIN, remove it and add the new one.

API product: customers.kyc

path Parameters
customerId
required
integer <int64>
Request Body schema: application/json
required
type
required
string
Enum: "bvn" "nin" "passport" "driversLicence" "voterCard" "cac"
value
required
string <= 50 characters

Stored trimmed and upper-cased.

description
string <= 500 characters

Responses

Response Schema: application/json
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.

Request samples

Content type
application/json
{
}

Response samples

Content type
application/json
{
}

Remove an identity document

API product: customers.kyc

path Parameters
customerId
required
integer <int64>
id
required
integer <int64>

Responses

Request samples

curl -X DELETE https://api.numcore.io/v1/customers/1/identifiers/1 \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-NumCore-Tenant: yourbank-sandbox"

Response samples

Content type
application/problem+json
{
}

Savings accounts

List accounts

Savings and current accounts.

API product: accounts.balances

query Parameters
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.

Responses

Response Schema: application/json
required
Array of objects
nextCursor
string or null

Request samples

curl https://api.numcore.io/v1/savings-accounts \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-NumCore-Tenant: yourbank-sandbox"

Response samples

Content type
application/json
{
}

Open an account

For an active customer. Approve and activate it next.

API product: accounts.open

Request Body schema: application/json
required
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.

Responses

Response Schema: application/json
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

Request samples

Content type
application/json
{
}

Response samples

Content type
application/json
{
}

Get an account

With its balance, holds and blocks.

API product: accounts.balances

path Parameters
id
required
integer <int64>

Responses

Response Schema: application/json
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

Request samples

curl https://api.numcore.io/v1/savings-accounts/1 \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-NumCore-Tenant: yourbank-sandbox"

Response samples

Content type
application/json
{
}

Approve an account

API product: accounts.open

path Parameters
id
required
integer <int64>
Request Body schema: application/json
required
approvedOn
required
string <date>

Responses

Response Schema: application/json
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

Request samples

Content type
application/json
{
}

Response samples

Content type
application/json
{
}

Activate an account

API product: accounts.open

path Parameters
id
required
integer <int64>
Request Body schema: application/json
required
activatedOn
required
string <date>

Responses

Response Schema: application/json
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

Request samples

Content type
application/json
{
}

Response samples

Content type
application/json
{
}

Savings transactions

Deposit

API product: accounts.deposits-withdrawals

path Parameters
id
required
integer <int64>
Request Body schema: application/json
required
amount
required
string
clientRef
required
string [ 1 .. 50 ] characters

Your own reference for this transaction, e.g. USSD-55120 or a NIP session ID.

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.

Responses

Response Schema: application/json
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.

Response Schema: application/json
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.

Request samples

Content type
application/json
{
}

Response samples

Content type
application/json
{
}

Withdraw

Any withdrawal fee posts with it.

API product: accounts.deposits-withdrawals

path Parameters
id
required
integer <int64>
Request Body schema: application/json
required
amount
required
string
clientRef
required
string [ 1 .. 50 ] characters

Your own reference for this transaction, e.g. USSD-55120 or a NIP session ID.

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.

Responses

Response Schema: application/json
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.

Response Schema: application/json
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.

Request samples

Content type
application/json
{
}

Response samples

Content type
application/json
{
}

Transfer

To another account in the same currency.

API product: accounts.transfers

path Parameters
id
required
integer <int64>
Request Body schema: application/json
required
amount
required
string
clientRef
required
string [ 1 .. 50 ] characters

Your own reference for this transaction, e.g. USSD-55120 or a NIP session ID.

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.

Responses

Response Schema: application/json
required
object
required
object
Response Schema: application/json
required
object
required
object

Request samples

Content type
application/json
{
}

Response samples

Content type
application/json
{
}

List transactions

In date order, with the running balance.

API product: accounts.statements

path Parameters
id
required
integer <int64>
query Parameters
from
string <date>
to
string <date>
limit
integer [ 1 .. 200 ]
Default: 50

Page size.

cursor
string

The nextCursor from the previous page.

Responses

Response Schema: application/json
required
Array of objects
nextCursor
string or null

Request samples

curl https://api.numcore.io/v1/savings-accounts/1/transactions \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-NumCore-Tenant: yourbank-sandbox"

Response samples

Content type
application/json
{
}

Get a transaction

API product: accounts.statements

path Parameters
id
required
integer <int64>
transactionId
required
integer <int64>

Responses

Response Schema: application/json
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.

Request samples

curl https://api.numcore.io/v1/savings-accounts/1/transactions/1 \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-NumCore-Tenant: yourbank-sandbox"

Response samples

Content type
application/json
{
}

Fixed deposit accounts

List fixed deposits

API product: investments.read

query Parameters
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.

Responses

Response Schema: application/json
required
Array of objects
nextCursor
string or null

Request samples

curl https://api.numcore.io/v1/fixed-deposit-accounts \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-NumCore-Tenant: yourbank-sandbox"

Response samples

Content type
application/json
{
}

Book a fixed deposit

Approve and activate it next.

API product: investments.create

Request Body schema: application/json
required
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"}.

Responses

Response Schema: application/json
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"

Request samples

Content type
application/json
{
}

Response samples

Content type
application/json
{
}

Get a fixed deposit

API product: investments.read

path Parameters
id
required
integer <int64>

Responses

Response Schema: application/json
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"

Request samples

curl https://api.numcore.io/v1/fixed-deposit-accounts/1 \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-NumCore-Tenant: yourbank-sandbox"

Response samples

Content type
application/json
{
}

Approve a fixed deposit

API product: investments.create

path Parameters
id
required
integer <int64>
Request Body schema: application/json
required
approvedOn
required
string <date>

Responses

Response Schema: application/json
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"

Request samples

Content type
application/json
{
}

Response samples

Content type
application/json
{
}

Activate a fixed deposit

Funds it; the term runs from today.

API product: investments.create

path Parameters
id
required
integer <int64>
Request Body schema: application/json
required
activatedOn
required
string <date>

Responses

Response Schema: application/json
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"

Request samples

Content type
application/json
{
}

Response samples

Content type
application/json
{
}

Top up a fixed deposit

If the product allows top-ups.

API product: investments.create

path Parameters
id
required
integer <int64>
Request Body schema: application/json
required
amount
required
string
clientRef
required
string [ 1 .. 50 ] characters

Your own reference for this transaction, e.g. USSD-55120 or a NIP session ID.

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

Responses

Response Schema: application/json
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.

Response Schema: application/json
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.

Request samples

Content type
application/json
{
}

Response samples

Content type
application/json
{
}

List fixed deposit transactions

API product: investments.read

path Parameters
id
required
integer <int64>
query Parameters
from
string <date>
to
string <date>
limit
integer [ 1 .. 200 ]
Default: 50

Page size.

cursor
string

The nextCursor from the previous page.

Responses

Response Schema: application/json
required
Array of objects
nextCursor
string or null

Request samples

curl https://api.numcore.io/v1/fixed-deposit-accounts/1/transactions \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-NumCore-Tenant: yourbank-sandbox"

Response samples

Content type
application/json
{
}

Recurring deposit accounts

List recurring deposits

API product: investments.read

query Parameters
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.

Responses

Response Schema: application/json
required
Array of objects
nextCursor
string or null

Request samples

curl https://api.numcore.io/v1/recurring-deposit-accounts \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-NumCore-Tenant: yourbank-sandbox"

Response samples

Content type
application/json
{
}

Open a recurring deposit

Approve and activate it next.

API product: investments.create

Request Body schema: application/json
required
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"}.

Responses

Response Schema: application/json
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"

Request samples

Content type
application/json
{
}

Response samples

Content type
application/json
{
}

Get a recurring deposit

API product: investments.read

path Parameters
id
required
integer <int64>

Responses

Response Schema: application/json
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"

Request samples

curl https://api.numcore.io/v1/recurring-deposit-accounts/1 \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-NumCore-Tenant: yourbank-sandbox"

Response samples

Content type
application/json
{
}

Approve a recurring deposit

API product: investments.create

path Parameters
id
required
integer <int64>
Request Body schema: application/json
required
approvedOn
required
string <date>

Responses

Response Schema: application/json
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"

Request samples

Content type
application/json
{
}

Response samples

Content type
application/json
{
}

Activate a recurring deposit

The first instalment is due today.

API product: investments.create

path Parameters
id
required
integer <int64>
Request Body schema: application/json
required
activatedOn
required
string <date>

Responses

Response Schema: application/json
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"

Request samples

Content type
application/json
{
}

Response samples

Content type
application/json
{
}

List recurring deposit transactions

API product: investments.read

path Parameters
id
required
integer <int64>
query Parameters
from
string <date>
to
string <date>
limit
integer [ 1 .. 200 ]
Default: 50

Page size.

cursor
string

The nextCursor from the previous page.

Responses

Response Schema: application/json
required
Array of objects
nextCursor
string or null

Request samples

curl https://api.numcore.io/v1/recurring-deposit-accounts/1/transactions \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-NumCore-Tenant: yourbank-sandbox"

Response samples

Content type
application/json
{
}

Loans

List loans

API product: loans.read

query Parameters
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.

Responses

Response Schema: application/json
required
Array of objects
nextCursor
string or null

Request samples

curl https://api.numcore.io/v1/loans \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-NumCore-Tenant: yourbank-sandbox"

Response samples

Content type
application/json
{
}

Get a loan

With its balances and arrears.

API product: loans.read

path Parameters
id
required
integer <int64>

Responses

Response Schema: application/json
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

Request samples

curl https://api.numcore.io/v1/loans/1 \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-NumCore-Tenant: yourbank-sandbox"

Response samples

Content type
application/json
{
}

Get the repayment schedule

API product: loans.read

path Parameters
id
required
integer <int64>

Responses

Response Schema: application/json
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

Request samples

curl https://api.numcore.io/v1/loans/1/schedule \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-NumCore-Tenant: yourbank-sandbox"

Response samples

Content type
application/json
{
}

List an Ijarah's ownership costs

Takaful and major maintenance the bank paid as owner of the leased asset.

API product: loans.read

path Parameters
id
required
integer <int64>

Responses

Response Schema: application/json
Array
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>

Request samples

curl https://api.numcore.io/v1/loans/1/ownership-costs \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-NumCore-Tenant: yourbank-sandbox"

Response samples

Content type
application/json
[
]

Loan transactions

Take a repayment

Pays the oldest instalments first.

API product: loans.repayments

path Parameters
id
required
integer <int64>
Request Body schema: application/json
required
amount
required
string
clientRef
required
string [ 1 .. 50 ] characters

Your own reference for this transaction, e.g. USSD-55120 or a NIP session ID.

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.

Responses

Response Schema: application/json
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.

Response Schema: application/json
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.

Request samples

Content type
application/json
{
}

Response samples

Content type
application/json
{
}

List loan transactions

API product: loans.read

path Parameters
id
required
integer <int64>
query Parameters
limit
integer [ 1 .. 200 ]
Default: 50

Page size.

cursor
string

The nextCursor from the previous page.

Responses

Response Schema: application/json
required
Array of objects
nextCursor
string or null

Request samples

curl https://api.numcore.io/v1/loans/1/transactions \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-NumCore-Tenant: yourbank-sandbox"

Response samples

Content type
application/json
{
}

Get a loan transaction

API product: loans.read

path Parameters
id
required
integer <int64>
transactionId
required
integer <int64>

Responses

Response Schema: application/json
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.

Request samples

curl https://api.numcore.io/v1/loans/1/transactions/1 \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-NumCore-Tenant: yourbank-sandbox"

Response samples

Content type
application/json
{
}

Rate indexes

List a loan's rate changes

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

path Parameters
id
required
integer <int64>

Responses

Response Schema: application/json
Array
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.

Request samples

curl https://api.numcore.io/v1/loans/1/rate-changes \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-NumCore-Tenant: yourbank-sandbox"

Response samples

Content type
application/json
[
]

Loan prepayments

List a loan's prepayments

API product: loans.read

path Parameters
id
required
integer <int64>

Responses

Response Schema: application/json
Array
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>

Request samples

curl https://api.numcore.io/v1/loans/1/prepayments \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-NumCore-Tenant: yourbank-sandbox"

Response samples

Content type
application/json
[
]

Prepay a loan

Settles what is due, pays the rest of the principal ahead and recalculates the later instalments: smaller, or fewer.

API product: loans.repayments

path Parameters
id
required
integer <int64>
Request Body schema: application/json
required
amount
required
string
effect
required
string
Enum: "reduceInstallment" "reduceTerm"
clientRef
required
string [ 1 .. 50 ] characters

Your own reference for this transaction, e.g. USSD-55120 or a NIP session ID.

transactionDate
string <date>

Defaults to today.

reference
string <= 100 characters
description
string <= 500 characters

Responses

Response Schema: application/json
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>
Response Headers
Location
string
Response Schema: application/json
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>

Request samples

Content type
application/json
{
}

Response samples

Content type
application/json
{
}

Preview a prepayment

What the prepayment would do, with the schedule before and after. Nothing is saved.

API product: loans.repayments

path Parameters
id
required
integer <int64>
Request Body schema: application/json
required
amount
required
string
effect
required
string
Enum: "reduceInstallment" "reduceTerm"
transactionDate
string <date>

Defaults to today.

reference
string <= 100 characters
description
string <= 500 characters

Responses

Response Schema: application/json
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

Request samples

Content type
application/json
{
}

Response samples

Content type
application/json
{
}

Events

Read the event feed

Every event in order. Ask for the events after the last position you processed.

API product: events.read

query Parameters
after
integer <int64> >= 0

The position of the last event you processed.

types
string

Only these event types, comma-separated, e.g. customer.created,loan.approved.

limit
integer [ 1 .. 500 ]
Default: 50

Responses

Response Schema: application/json
required
Array of objects
lastPosition
required
integer <int64>

The last item's position, or the after you sent when there are none.

hasMore
required
boolean

Whether more events wait after lastPosition now; if so, ask again at once.

Request samples

curl https://api.numcore.io/v1/events \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-NumCore-Tenant: yourbank-sandbox"

Response samples

Content type
application/json
{
}

Webhooks

What NumCore sends to your notification endpoint. See the Webhooks guide.

Transaction alert Webhook

One POST per event. See Webhooks for retries and the signature.

header Parameters
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
Request Body schema: application/json
required
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.

Responses

Request samples

Content type
application/json
{
}

Transaction alert Webhook

One POST per event. See Webhooks for retries and the signature.

header Parameters
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
Request Body schema: application/json
required
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)

Responses

Request samples

Content type
application/json
{
}