Flutterwave · Arazzo Workflow

Flutterwave Virtual Account Collection

Version 1.0.0

Create a customer, issue a dedicated virtual account for them, then verify the account is active.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub PaymentsPayoutsMobile MoneyCardsAfricaFintechRemittanceVirtual AccountsChargebacksMulti-CurrencyArazzoWorkflows

Provider

flutterwave

Workflows

virtual-account-collection
Create a customer, issue a virtual account, and verify it is active.
Creates the customer, issues a virtual NUBAN bound to that customer, then retrieves the virtual account and branches on whether it is active.
3 steps inputs: accessToken, amount, currency, email, isPermanent, reference outputs: accountNumber, accountStatus, virtualAccountId
1
createCustomer
Create the customer the virtual account will be issued for.
2
createVirtualAccount
Issue a virtual NUBAN bound to the created customer.
3
verifyVirtualAccount
Retrieve the virtual account to confirm it is active.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Flutterwave Virtual Account Collection
  summary: Create a customer, issue a dedicated virtual account for them, then verify the account is active.
  description: >-
    The pay-with-bank-transfer collection pattern. The workflow creates a
    customer, issues a virtual NUBAN tied to that customer for receiving bank
    transfers, and retrieves the virtual account to confirm it was provisioned
    with an account number and an active status. Branching on the account status
    lets the caller surface the account number to the payer or handle a
    provisioning delay. 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: customersApi
  url: ../openapi/flutterwave-customers-api-openapi.yml
  type: openapi
- name: virtualaccountsApi
  url: ../openapi/flutterwave-virtualaccounts-api-openapi.yml
  type: openapi
workflows:
- workflowId: virtual-account-collection
  summary: Create a customer, issue a virtual account, and verify it is active.
  description: >-
    Creates the customer, issues a virtual NUBAN bound to that customer, then
    retrieves the virtual account and branches on whether it is active.
  inputs:
    type: object
    required:
    - accessToken
    - email
    - currency
    properties:
      accessToken:
        type: string
        description: OAuth2 client-credentials bearer token for the Authorization header.
      email:
        type: string
        description: Email address of the customer the virtual account is issued for.
      currency:
        type: string
        description: Currency for the virtual account (e.g. NGN).
      amount:
        type: number
        description: Optional expected amount for a one-time collection.
      reference:
        type: string
        description: Optional merchant reference for the virtual account.
      isPermanent:
        type: boolean
        description: Whether the virtual account is permanent or single-use.
  steps:
  - stepId: createCustomer
    description: Create the customer the virtual account will be issued for.
    operationId: createCustomer
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    requestBody:
      contentType: application/json
      payload:
        email: $inputs.email
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      customerId: $response.body#/id
  - stepId: createVirtualAccount
    description: Issue a virtual NUBAN bound to the created customer.
    operationId: createVirtualAccount
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    requestBody:
      contentType: application/json
      payload:
        currency: $inputs.currency
        amount: $inputs.amount
        customer_id: $steps.createCustomer.outputs.customerId
        reference: $inputs.reference
        is_permanent: $inputs.isPermanent
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      virtualAccountId: $response.body#/id
      accountNumber: $response.body#/account_number
  - stepId: verifyVirtualAccount
    description: Retrieve the virtual account to confirm it is active.
    operationId: getVirtualAccount
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    - name: id
      in: path
      value: $steps.createVirtualAccount.outputs.virtualAccountId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      accountStatus: $response.body#/status
      accountNumber: $response.body#/account_number
      bankName: $response.body#/bank_name
    onSuccess:
    - name: accountActive
      type: end
      criteria:
      - context: $response.body
        condition: $.status == "active"
        type: jsonpath
  outputs:
    virtualAccountId: $steps.createVirtualAccount.outputs.virtualAccountId
    accountNumber: $steps.verifyVirtualAccount.outputs.accountNumber
    accountStatus: $steps.verifyVirtualAccount.outputs.accountStatus

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/flutterwave-virtual-account-collection-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.