Interswitch · Arazzo Workflow

Interswitch Recurring Tokenize And Charge

Version 1.0.0

Tokenize a card once, then charge the stored token for a recurring payment.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub PaymentsPayment InfrastructureCard NetworkVerveQuicktellerWebpayBills PaymentTransfersLendingFintechAfricaNigeriaArazzoWorkflows

Provider

interswitch

Workflows

tokenize-and-charge
Tokenize a card and charge the resulting recurring token.
Creates a recurring payment token from an encrypted card payload, then charges that token for the supplied amount.
2 steps inputs: accessToken, amount, authData, currency, customerId, tokenizeRef, transferRef outputs: chargeStatus, paymentId, token
1
tokenizeCard
Exchange the encrypted card payload for a reusable token and expiry. The token replaces the raw PAN for future charges.
2
chargeToken
Charge the stored token for the recurring amount, threading the token and its expiry from the tokenization step.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Interswitch Recurring Tokenize And Charge
  summary: Tokenize a card once, then charge the stored token for a recurring payment.
  description: >-
    Subscription billing flow. The workflow tokenizes a card by exchanging an
    encrypted card payload for a reusable token plus expiry, then charges that
    token for the recurring amount. The token and tokenExpiryDate from the first
    step are threaded into the charge so the merchant never re-handles the PAN.
    Both steps are Bearer-authenticated and inline their request bodies.
  version: 1.0.0
sourceDescriptions:
- name: recurringChargesApi
  url: ../openapi/interswitch-recurring-charges-api-openapi.yml
  type: openapi
- name: tokenizationApi
  url: ../openapi/interswitch-tokenization-api-openapi.yml
  type: openapi
workflows:
- workflowId: tokenize-and-charge
  summary: Tokenize a card and charge the resulting recurring token.
  description: >-
    Creates a recurring payment token from an encrypted card payload, then
    charges that token for the supplied amount.
  inputs:
    type: object
    required:
    - accessToken
    - tokenizeRef
    - authData
    - customerId
    - amount
    - currency
    - transferRef
    properties:
      accessToken:
        type: string
        description: Bearer access token from the Passport OAuth token endpoint.
      tokenizeRef:
        type: string
        description: Unique transaction reference for the tokenization request.
      authData:
        type: string
        description: Encrypted card payload.
      customerId:
        type: string
        description: Customer identifier the token belongs to.
      amount:
        type: integer
        description: Charge amount in minor currency units.
      currency:
        type: string
        description: Currency code (NGN).
      transferRef:
        type: string
        description: Unique reference for the recurring charge.
  steps:
  - stepId: tokenizeCard
    description: >-
      Exchange the encrypted card payload for a reusable token and expiry. The
      token replaces the raw PAN for future charges.
    operationId: tokenizeCardForRecurring
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    requestBody:
      contentType: application/json
      payload:
        transactionRef: $inputs.tokenizeRef
        authData: $inputs.authData
        customerId: $inputs.customerId
        currency: $inputs.currency
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      token: $response.body#/token
      tokenExpiryDate: $response.body#/tokenExpiryDate
      cardLast4: $response.body#/cardLast4
  - stepId: chargeToken
    description: >-
      Charge the stored token for the recurring amount, threading the token and
      its expiry from the tokenization step.
    operationId: chargeRecurringToken
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    requestBody:
      contentType: application/json
      payload:
        customerId: $inputs.customerId
        amount: $inputs.amount
        currency: $inputs.currency
        token: $steps.tokenizeCard.outputs.token
        tokenExpiryDate: $steps.tokenizeCard.outputs.tokenExpiryDate
        transferRef: $inputs.transferRef
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      paymentId: $response.body#/paymentId
      status: $response.body#/status
      responseCode: $response.body#/responseCode
      authCode: $response.body#/authCode
  outputs:
    token: $steps.tokenizeCard.outputs.token
    paymentId: $steps.chargeToken.outputs.paymentId
    chargeStatus: $steps.chargeToken.outputs.status

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/interswitch-recurring-tokenize-and-charge-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.