Paystack · Arazzo Workflow

Paystack Provision a Dedicated Virtual Account

Version 1.0.0

Look up an available bank provider, create a customer, assign a dedicated NUBAN virtual account, then fetch its details.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub PaymentsAfricaFintechRecurring BillingMarketplacesPayoutsMobile MoneyStripeArazzoWorkflows

Provider

paystack

Workflows

create-customer-dedicated-virtual-account
Create a customer and assign them a dedicated NUBAN virtual account.
Lists available providers, creates the customer, provisions a dedicated account at the preferred bank, and fetches the assigned account.
4 steps inputs: email, first_name, last_name, preferred_bank outputs: accountId, accountNumber, customerCode
1
listProviders
List the available dedicated-account bank providers to confirm the preferred bank.
2
createCustomer
Create the customer who will own the dedicated virtual account.
3
createDedicatedAccount
Provision a dedicated NUBAN account for the customer at the preferred bank.
4
fetchDedicatedAccount
Fetch the dedicated account to read back the assigned account details.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Paystack Provision a Dedicated Virtual Account
  summary: Look up an available bank provider, create a customer, assign a dedicated NUBAN virtual account, then fetch its details.
  description: >-
    The bank-transfer reconciliation setup. The available dedicated-account
    providers are listed to pick a preferred bank, a customer profile is created,
    a dedicated NUBAN account is provisioned for that customer at the chosen bank,
    and the account is fetched to read back the assigned account number. Every
    step spells out its request inline so the flow can be read and executed
    without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: customerApi
  url: ../openapi/paystack-customer-api-openapi.yml
  type: openapi
- name: dedicatedVirtualAccountApi
  url: ../openapi/paystack-dedicated-virtual-account-api-openapi.yml
  type: openapi
workflows:
- workflowId: create-customer-dedicated-virtual-account
  summary: Create a customer and assign them a dedicated NUBAN virtual account.
  description: >-
    Lists available providers, creates the customer, provisions a dedicated
    account at the preferred bank, and fetches the assigned account.
  inputs:
    type: object
    required:
    - email
    - preferred_bank
    properties:
      email:
        type: string
        description: Customer's email address.
      first_name:
        type: string
        description: Customer's first name.
      last_name:
        type: string
        description: Customer's last name.
      preferred_bank:
        type: string
        description: The bank slug for the preferred provider (from the providers list).
  steps:
  - stepId: listProviders
    description: List the available dedicated-account bank providers to confirm the preferred bank.
    operationId: dedicatedAccount_availableProviders
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      providers: $response.body#/data
  - stepId: createCustomer
    description: Create the customer who will own the dedicated virtual account.
    operationId: customer_create
    requestBody:
      contentType: application/json
      payload:
        email: $inputs.email
        first_name: $inputs.first_name
        last_name: $inputs.last_name
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      customerCode: $response.body#/data/customer_code
  - stepId: createDedicatedAccount
    description: Provision a dedicated NUBAN account for the customer at the preferred bank.
    operationId: dedicatedAccount_create
    requestBody:
      contentType: application/json
      payload:
        customer: $steps.createCustomer.outputs.customerCode
        preferred_bank: $inputs.preferred_bank
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      accountId: $response.body#/data/id
      accountNumber: $response.body#/data/account_number
  - stepId: fetchDedicatedAccount
    description: Fetch the dedicated account to read back the assigned account details.
    operationId: dedicatedAccount_fetch
    parameters:
    - name: account_id
      in: path
      value: $steps.createDedicatedAccount.outputs.accountId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      accountNumber: $response.body#/data/account_number
      bankName: $response.body#/data/bank/name
  outputs:
    customerCode: $steps.createCustomer.outputs.customerCode
    accountId: $steps.createDedicatedAccount.outputs.accountId
    accountNumber: $steps.fetchDedicatedAccount.outputs.accountNumber

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/paystack-create-customer-dedicated-virtual-account-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.