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
GET /api/account/v1/listbranchesreturns available branches.branchCodein account creation expects the branch’s numeric ID as a string, rather than its display code.GET /api/product/v1/searchproductsreturns product records. Supply the stringproductCodefrom an active current or savings account (CASA) product. Preserve letters and leading zeros; the legacy numericcodefield can lose that information. Use the optionalProductCodefilter for exact code lookup.GET /api/account/v1/searchaccountofficerssupplies account officer codes. Use the active officer’saccountOfficerIDasaccountOfficerStaffID, rather than a numeric record ID or an agent code.GET /api/account/v1/searchaccounttierlevelsreturns permitted tier levels and balance/single/daily limits. UselevelasaccountTierLevel, rather than the tier's row ID.- Use
GET /api/utility/v1/countries,/regionsand/citiesfor 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
- Resolve the destination through
GET /api/transfer/v1/nameenquiry/local?AccountNumber=.... - Submit
POST /api/transfer/v1/localfundtransferwithdebitAccount,creditAccount, positiveamount,narration, andpostingsTransactionType. The latter distinguishes GL/customer (1), GL/GL (2), and customer/customer (3). - Save the request and returned references. Query
GET /api/transfer/v1/tsq/localusingreferenceorreferenceNumberif 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
GET /api/transfer/v1/bankslists institutions for an enabled provider.GET /api/transfer/v1/nameenquiryrequiresDestinationAccountNumber,DestinationInstitutionCodeandSourceAccountNumber;AmountandProviderare optional fields.- Use the inquiry result to populate
POST /api/transfer/v1/outwardtransfer(fundstransferis an alias). Required fields includenameEnquiryRef, originator and beneficiary names/numbers, destination institution code, beneficiary bank name, a uniquetransactionReference, amount, and both narrations. Narrations must be 5–40 characters. - Save the original
transactionReference,request-reference, returned posting reference and session ID. - Query
GET /api/transfer/v1/tsq?transactionRef=...or?apiRequestRef=...to reconcile the original instruction. Checkdata.processingStatus, the provider response code and the response’sstatusfield.
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 response | Outward-transfer request |
|---|---|
transactionReference | nameEnquiryRef |
accountNumber | beneficiaryAccountNumber |
accountName | beneficiaryAccountName |
destinationInstitutionCode | destinationInstitutionCode |
bankVerificationNumber, when supplied | beneficiaryBankVerificationNumber |
kycLevel, when supplied | beneficiaryKycLevel |
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
GET /api/bills/v1/billers: discover billers/packages across all enabled providers. Readdata.items[]; each group’sbillTypeidentifies its provider. This route has noProviderfilter. Providers that fail or return no billers are omitted; confirm availability with the bank if an expected group is missing.GET /api/bills/v1/getcustomerinformation: validate the customer identifier against the selected biller/package.POST /api/bills/v1/vend: supply the validated identifiers, funded debit account, amount and uniquepaymentReferenceusing the fields shown in the explorer.POST /api/bills/v1/tsq: reconcile bypaymentReference. Electricity-token retrieval usesGET /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
| Value | Purpose | Retain for |
|---|---|---|
request-reference header | Correlates a single HTTP attempt | Support tracing and endpoints that accept the original API request reference |
Local reference | Identifies the local transfer instruction/posting | Local TSQ reference |
Outward transactionReference | Identifies the outward instruction | Transfer TSQ transactionRef |
Bills paymentReference | Identifies the vend instruction | Bills TSQ body paymentReference |
| Returned session/posting IDs | Links provider and ledger records | Reconciliation 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.