Skip to main content

Use the API in your own tools

Start with a read request in staging. The downloads contain placeholders, not a bank sandbox or funded test accounts. Get your assigned base URL, credentials and test identifiers from the bank first.

Set up Postman​

  1. Download and import the Postman collection.
  2. Open the collection’s Variables tab. Set baseUrl to the bank’s HTTPS base URL, without a trailing path. Keep bearerToken empty initially.
  3. Open Authenticate → POST /api/auth/v1/authenticate. Replace the two JSON placeholders with your bank-issued clientId and clientSecret. Store secrets only in your private local workspace or approved secret tooling; remove them before exporting or sharing the collection.
  4. Send authentication once. On HTTP 200, its post-response script saves accessToken into the collection’s bearerToken variable. Protected requests already use that variable. If an environment defines another bearerToken or baseUrl, it can override the collection value; remove or update that override.
  5. Open Product → GET /api/product/v1/searchproducts. Enable optional PageNumber and PageSize query fields and set both to 1. Send the request and check the response.
  6. Replace the sample path identifiers and enabled query values before using another request. Optional filters are disabled initially. When an endpoint requires one of several identifiers, the collection enables one example, such as the original payment reference. Replace that value; if you choose another identifier, disable the first when the endpoint requires exactly one. The request-reference header uses a new GUID for each send.

The collection includes example responses where available. They illustrate response shapes; they do not confirm that your request has run. Replace all sample identifiers with records from your bank.

Re-authenticate before token expiry. The collection does not refresh tokens automatically. An authentication response clears the previous collection token before saving a new one, so a rejected sign-in cannot leave an old token active in the collection. When switching banks or environments, clear the old token before authenticating against the new origin. Do not run the whole collection: it includes writes, payments, reversals and deletions.

Generate a client from OpenAPI​

The OpenAPI JSON describes all bank-client endpoints, request validation, response variants and media types. Import it into your chosen OpenAPI-compatible client generator or API workspace. Keep a copy of the exact specification used for each client release.

Set the generated client’s base URL and add the bearer token to its requests. Preserve account numbers, product codes and bank codes as strings. Treat Naira amounts as decimal currency values and avoid floating-point arithmetic when calculating charges in your application.

Review generated handling for:

  • anyOf / oneOf, nullable values and extra metadata fields.
  • The different response formats used by endpoints, including empty error bodies and JSON validation errors.
  • Date-only strings, Unix-second token expiry and downloadable media.
  • Timeouts and retry limits. Check the payment retry rules before allowing automatic retries for writes.

Including every required field does not guarantee acceptance. The bank also checks its products, customer identification requirements, approvals, provider setup, account funds and transaction limits.

Use the browser explorer​

Use the explorer to read an endpoint’s fields and response examples. Open Try this request to enter the bank’s base URL, credentials or token, and request details. Copied cURL commands use $COREWAVE_TOKEN in place of your token. You can share an endpoint link without sharing your credentials or request data.

Browser requests require the bank’s CORS configuration. If cURL or Postman works but the explorer fails, follow browser troubleshooting. A canceled wait does not cancel server-side financial processing.

Bank and provider callbacks​

If you are implementing a provider callback, use the separate provider OpenAPI JSON and callback guide. These endpoints need the bank’s callback secrets. A bank-client access token will not work.