Skip to main content

Build a banking workflow

Use the API explorer for request fields and examples. Replace sample IDs with records from the bank linked to your credentials.

Discover identifiers before creating accounts​

  1. GET /api/account/v1/listbranches returns available branches. branchCode in account creation expects the branch’s numeric ID as a string, rather than its display code.
  2. GET /api/product/v1/searchproducts returns product records. Supply the string productCode from an active current or savings account (CASA) product. Preserve letters and leading zeros; the legacy numeric code field can lose that information. Use the optional ProductCode filter for exact code lookup.
  3. GET /api/account/v1/searchaccountofficers supplies account officer codes. Use the active officer’s accountOfficerID as accountOfficerStaffID, rather than a numeric record ID or an agent code.
  4. GET /api/account/v1/searchaccounttierlevels returns permitted tier levels and balance/single/daily limits. Use level as accountTierLevel, rather than the tier's row ID.
  5. Use GET /api/utility/v1/countries, /regions and /cities for geography when a payload needs geography IDs.

Look up currencies and exchange rates​

GET /api/utility/v1/currencies lists the bank’s active currencies. Each item includes its numeric id, shortCode (for example, NGN), name, symbol, minor-unit name (lessName) and isBase flag. The IDs belong to this bank; do not reuse them with another bank’s credentials.

Use ?ShortCode=NGN to find a code, ?ID=... to find an ID, or ?IsBase=true to find the bank’s base currency. Code matching ignores case. Account and loan products determine their own currency; finding a currency does not enable it for every product or payment provider.

GET /api/utility/v1/currencyrates?BaseCurrencyID=...&CurrencyID=... returns the bank’s stored buyRate, sellRate, currency IDs/codes and update times. Use IDs from the currency lookup. Only pairs whose currencies are active at your bank are returned. These are configured reference rates, not a live FX quote. Confirm the rate direction, charges and permitted use with the bank before calculating a conversion. Neither endpoint converts money or changes an account’s currency.

Both endpoints require the bank-client bearer token and accept PageNumber (default 1) and PageSize (default 20, maximum 200). Results contain a data array and a recordCount for all matching records, plus pageNumber and pageSize. An unmatched filter returns an empty array. Continue requesting pages until you have read recordCount items.

curl --fail-with-body --get \
"$COREWAVE_BASE_URL/api/utility/v1/currencies" \
--data-urlencode 'ShortCode=NGN' \
--header "Authorization: Bearer $COREWAVE_TOKEN" \
--header "request-reference: currencies-$(uuidgen)"

Create a customer and account​

POST /api/account/v1/createcustomeraccount creates an individual customer and their account. This example includes the required fields and an optional reference for tracing onboarding:

{
"firstName": "Jane",
"lastName": "Doe",
"accountName": "Jane Doe",
"branchCode": "1",
"productCode": "SAV001",
"accountOfficerStaffID": "AO001",
"referenceNumber": "onboarding-001"
}

Replace the sample branch, product and officer codes with lookup results from your bank. Use a unique onboarding reference for each customer. The bank may require more information to verify the customer’s identity (KYC). Use the customer’s real Bank Verification Number (BVN), National Identification Number (NIN) and other identity details in production. referenceNumber, when supplied, is checked for an existing customer within the institution. The reference length limit is 20 characters for this request.

For an existing customer, use POST /api/account/v1/createaccount with that customer’s identifier and the required account details. Use the separate corporate/group customer request described below.

The bank decides which requests need approval. Read the returned status and message, then look up the record to confirm it is active. For lien and overdraft changes, save the returned approval receipt and use the approval status lookup. Other operations describe their own approval identifiers.

Use GET /api/account/v1/getbyaccountnumber?AccountNumber=... and GET /api/account/v1/getaccountbalancebyaccountnumber?AccountNumber=... to verify an account.

Corporate and group customers​

POST /api/account/v1/creategroupcustomerinformation also creates corporate customers. Set type to Corporate for a company, or to Group, Group_Joint or Group_SmallAndMediumEnterprise for a group. Despite its name, the endpoint creates a customer record, not an account or group-loan participants.

Supply the required name, business phone, email, nature of business, industrial sector, registration/incorporation dates, registration number, contact name/phone and address. Use a value from GET /api/utility/v1/accountsectors for industrialSector; the field accepts the numeric value as a string or the name. The explorer marks all required fields.

Save the returned customerID. If the request is awaiting approval, customerID is empty; follow the bank’s approval process before continuing. Once the customer exists, find it with GET /api/account/v1/searchcorporatecustomers?CustomerID=... or filter by RegistrationNumber, Name or Status. Group records use searchgroupcustomers instead.

Open an account with POST /api/account/v1/createaccount, using this customerID and the discovered product, branch and officer codes. Update the company’s business/contact details with PUT /api/account/v1/updategroupcustomerinformation, using customerID or the numeric id converted to a string. Group-loan participants are supplied separately in loan requests.

For interest and fee codes, ledger accounts, sector options and calendars, use the reference-data endpoints before preparing a request.

Virtual accounts​

POST /api/account/v1/createvirtualaccount creates an inbound collection alias linked to a parent settlement account. It does not create another independently funded customer account. Account lookups show which settlement account receives the funds. For debit operations, use the real settlement account; an alias cannot be an outward-transfer originator. See the complete virtual-account fields in the explorer and the bank’s collection configuration.

Change an account or manage a hold​

PUT /api/account/v1/updatecustomeraccount requires the account’s numeric id as a string. Get it from searchaccount or getbyaccountnumber; sending the account number as id will not identify the record. This endpoint updates real accounts, not virtual collection aliases.

minimumBalanceRequired on account creation is an account minimum, separate from the maximum balance in tier or special-limit settings. Account search and account-officer search can filter on that stored minimum.

To place a hold, call POST /api/accountlien/v1/placelien and save the returned referenceNumber. It is the original request-reference header. If the bank requires approval, approval.pendingApproval is true and data.id is empty. Track the approval receipt, then search by the placement reference before treating the hold as active.

GET /api/accountlien/v1/search finds existing holds by AccountNumber, original ReferenceNumber, numeric ID or Status. It returns the hold’s ID, form, amount/percentage, start date, tenor and status. formOfLien uses 1 for a flat amount and 2 for a percentage in both these search results and the placement/update requests. Use its numeric id as a string in POST /api/accountlien/v1/updatelien. Release with POST /api/accountlien/v1/unplacelien, supplying that ID or the original referenceNumber. Check the result and the account balance after release.

If a placement response is lost, search with the original reference before trying another placement. The search does not place, release or extend a hold. It uses the usual PageNumber and PageSize fields, with a maximum page size of 200.

Transfer within the bank​

  1. Resolve the destination through GET /api/transfer/v1/nameenquiry/local?AccountNumber=....
  2. Submit POST /api/transfer/v1/localfundtransfer with debitAccount, creditAccount, positive amount, narration, and postingsTransactionType. The latter distinguishes GL/customer (1), GL/GL (2), and customer/customer (3).
  3. Save the request and returned references. Query GET /api/transfer/v1/tsq/local using reference or referenceNumber if the result is uncertain.

If you charge a fee, supply the bank’s fee income general-ledger (GL) account. Releasing a lien needs its original reference; releasing an anti-money-laundering (AML) hold needs the bank’s approved reference. Check payment status before repeating a debit after a timeout.

Worked local-transfer request​

Use two bank-issued, funded staging customer accounts. Save this as local-transfer.json, replacing both example account numbers and using a unique reference for this instruction. postingsTransactionType: 3 means customer to customer; amount: 100 means ₦100.00. This request changes balances when sent.

{
"debitAccount": "0123456789",
"creditAccount": "0123456790",
"amount": 100,
"narration": "Staging transfer test",
"postingsTransactionType": 3,
"reference": "example-payment-001"
}

With the base URL and token from your first request:

curl --fail-with-body --request POST \
"$COREWAVE_BASE_URL/api/transfer/v1/localfundtransfer" \
--header "Authorization: Bearer $COREWAVE_TOKEN" \
--header "request-reference: local-$(uuidgen)" \
--header 'Content-Type: application/json' \
--data-binary @local-transfer.json

A completed local transfer returns data.statusCode: "00", data.reference (the posting/business reference) and data.referenceNumber (the original HTTP request reference). Save both references before marking the operation complete. A 202 AML hold has a different shape and requires the review/release process.

To query the original operation, set LOCAL_REFERENCE to the reference in the original payload or response. Do not substitute a newly generated value:

curl --fail-with-body --get \
"$COREWAVE_BASE_URL/api/transfer/v1/tsq/local" \
--data-urlencode "reference=$LOCAL_REFERENCE" \
--header "Authorization: Bearer $COREWAVE_TOKEN" \
--header "request-reference: query-$(uuidgen)"

Alternatively, query with referenceNumber set to the original transfer’s request reference. The status query itself gets a new request-reference header. On a timeout or lost response, run the status query and check the returned payment status before sending anything again.

Transfer to another bank​

  1. GET /api/transfer/v1/banks lists institutions for an enabled provider.
  2. GET /api/transfer/v1/nameenquiry requires DestinationAccountNumber, DestinationInstitutionCode and SourceAccountNumber; Amount and Provider are optional fields.
  3. Use the inquiry result to populate POST /api/transfer/v1/outwardtransfer (fundstransfer is an alias). Required fields include nameEnquiryRef, originator and beneficiary names/numbers, destination institution code, beneficiary bank name, a unique transactionReference, amount, and both narrations. Narrations must be 5–40 characters.
  4. Save the original transactionReference, request-reference, returned posting reference and session ID.
  5. Query GET /api/transfer/v1/tsq?transactionRef=... or ?apiRequestRef=... to reconcile the original instruction. Check data.processingStatus, the provider response code and the response’s status field.

Map name-enquiry fields to the transfer​

Name enquiry returns fields at the top level. After a successful provider inquiry, use these mappings rather than assuming every response has a data wrapper:

Name-enquiry responseOutward-transfer request
transactionReferencenameEnquiryRef
accountNumberbeneficiaryAccountNumber
accountNamebeneficiaryAccountName
destinationInstitutionCodedestinationInstitutionCode
bankVerificationNumber, when suppliedbeneficiaryBankVerificationNumber
kycLevel, when suppliedbeneficiaryKycLevel

Supply the bank name from bank discovery, and the originator details from your own verified debit account. The outward transfer’s transactionReference is a new unique payment reference, distinct from the inquiry reference. Check the inquiry’s responseCode and message. Confirm with the bank which codes mean success before submitting a payment.

Only request an enabled provider. If you explicitly request an unavailable provider, the operation fails rather than silently choosing another provider. Send the transaction status query (TSQ) to the provider that processed the original payment.

Bills​

  1. GET /api/bills/v1/billers: discover billers/packages across all enabled providers. Read data.items[]; each group’s billType identifies its provider. This route has no Provider filter. Providers that fail or return no billers are omitted; confirm availability with the bank if an expected group is missing.
  2. GET /api/bills/v1/getcustomerinformation: validate the customer identifier against the selected biller/package.
  3. POST /api/bills/v1/vend: supply the validated identifiers, funded debit account, amount and unique paymentReference using the fields shown in the explorer.
  4. POST /api/bills/v1/tsq: reconcile by paymentReference. Electricity-token retrieval uses GET /api/bills/v1/gettoken.

A bill payment is sent to one provider. If the connection fails, check its status using the original payment reference before trying again.

Keep references distinct​

ValuePurposeRetain for
request-reference headerCorrelates a single HTTP attemptSupport tracing and endpoints that accept the original API request reference
Local referenceIdentifies the local transfer instruction/postingLocal TSQ reference
Outward transactionReferenceIdentifies the outward instructionTransfer TSQ transactionRef
Bills paymentReferenceIdentifies the vend instructionBills TSQ body paymentReference
Returned session/posting IDsLinks provider and ledger recordsReconciliation and bank escalation

Save the original request and payment references before sending. Give each status query a new request-reference header, but keep the original payment reference. Reference length limits differ between endpoints; check the field you are using.

Lending, deposits and supporting operations​

Follow loans and fixed deposits for individual/group lending, product discovery, schedules and deposit funding. Documents and messaging covers upload/list/retrieve/scoped deletion and SMS/email delivery outcomes.

For card linking, identifier selection, blocking and provider-specific updates, follow Link and manage cards.

Other API modules​

The explorer covers agents, cards, fixed deposits, liens, overdrafts, loans, limits, postings, reports, operations and entity metadata. Loan/group-loan and fixed-deposit flows depend on institution products and approvals. Reports can return files. Loan and fixed-deposit certificates return JSON containing a base64 data URL in data.document.

To connect a provider to the bank, follow the callback guide, full callback reference and separate OpenAPI contract. Their routes and credentials are distinct from this public bank-client API. An API bearer token does not establish callback authenticity. Coordinate callback registration, signature verification and delivery behavior with the bank; there is no general webhook-subscription API for bank-client applications.

Lien requests accept formOfLien=1 for a flat amount or 2 for a percentage. Flat amounts use base currency units with at most two decimal places. A percentage must be greater than zero and no more than 100. tenor is in days; omitted startDate uses the bank financial date. Unknown lien types and dates outside the supported calendar range return 400.

Account creation rejects unknown numeric account, status, identification, gender and religion options. Use the values shown on each request field; omit an optional field to use its documented default. Statement delivery frequency is not stored by the account API and cannot be used as a search filter. Arrange statement schedules with the bank.