Paystack · Arazzo Workflow

Paystack Subscribe and Generate a Management Link

Version 1.0.0

Create a subscription, fetch it to read its status, then generate a self-service management link for the customer.

1 workflow 1 source API 1 provider
View Spec View on GitHub PaymentsAfricaFintechRecurring BillingMarketplacesPayoutsMobile MoneyStripeArazzoWorkflows

Provider

paystack

Workflows

subscribe-and-generate-manage-link
Create a subscription and hand the customer a self-service management link.
Creates a subscription, fetches it to confirm the status, and generates a management link the customer can use.
3 steps inputs: customer, plan, start_date outputs: manageLink, subscriptionCode, subscriptionStatus
1
createSubscription
Subscribe the customer to the plan.
2
fetchSubscription
Fetch the subscription to read back its current status.
3
generateManageLink
Generate a self-service management link for the subscription.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Paystack Subscribe and Generate a Management Link
  summary: Create a subscription, fetch it to read its status, then generate a self-service management link for the customer.
  description: >-
    The subscription self-service flow. A subscription is created tying a customer
    to a plan, the subscription is fetched to read back its status and code, and a
    management link is generated so the customer can update their card or cancel
    without merchant intervention. 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: subscriptionApi
  url: ../openapi/paystack-subscription-api-openapi.yml
  type: openapi
workflows:
- workflowId: subscribe-and-generate-manage-link
  summary: Create a subscription and hand the customer a self-service management link.
  description: >-
    Creates a subscription, fetches it to confirm the status, and generates a
    management link the customer can use.
  inputs:
    type: object
    required:
    - customer
    - plan
    properties:
      customer:
        type: string
        description: Customer's email address or customer code.
      plan:
        type: string
        description: Plan code to subscribe the customer to.
      start_date:
        type: string
        description: ISO 8601 date for the first debit.
  steps:
  - stepId: createSubscription
    description: Subscribe the customer to the plan.
    operationId: subscription_create
    requestBody:
      contentType: application/json
      payload:
        customer: $inputs.customer
        plan: $inputs.plan
        start_date: $inputs.start_date
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      subscriptionCode: $response.body#/data/subscription_code
  - stepId: fetchSubscription
    description: Fetch the subscription to read back its current status.
    operationId: subscription_fetch
    parameters:
    - name: code
      in: path
      value: $steps.createSubscription.outputs.subscriptionCode
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      subscriptionStatus: $response.body#/data/status
  - stepId: generateManageLink
    description: Generate a self-service management link for the subscription.
    operationId: subscription_manageLink
    parameters:
    - name: code
      in: path
      value: $steps.createSubscription.outputs.subscriptionCode
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      manageLink: $response.body#/data/link
  outputs:
    subscriptionCode: $steps.createSubscription.outputs.subscriptionCode
    subscriptionStatus: $steps.fetchSubscription.outputs.subscriptionStatus
    manageLink: $steps.generateManageLink.outputs.manageLink

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-subscribe-and-generate-manage-link-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.