SAP BRIM Provision a New Subscription

Version 1.0.0

Create a subscription plan, subscribe a customer, activate the subscription, and confirm its state.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub BillingEnterpriseOrder-to-CashRevenue ManagementSAPSubscription ManagementUsage-Based PricingArazzoWorkflows

Provider

sap-brim-billing-and-revenue-innovation-management

Workflows

provision-subscription
Create a plan, subscribe a customer to it, and activate the subscription.
Creates a subscription plan, creates a subscription for the supplied customer against that plan, activates the subscription, and reads it back to verify it is ACTIVE.
4 steps inputs: billingFrequency, currency, customerId, planName, price, trialPeriodDays outputs: nextBillingDate, planId, status, subscriptionId
1
createPlan
Publish a new subscription plan into the product catalog.
2
createSubscription
Create a subscription binding the customer to the newly created plan.
3
activateSubscription
Activate the pending subscription so the billing cycle starts.
4
confirmSubscription
Read the subscription back to confirm it reached the ACTIVE status.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: SAP BRIM Provision a New Subscription
  summary: Create a subscription plan, subscribe a customer, activate the subscription, and confirm its state.
  description: >-
    End-to-end provisioning of a recurring subscription on SAP BRIM Subscription
    Billing. The workflow first publishes a plan into the product catalog, then
    creates a subscription that binds a customer to that plan, activates the
    subscription so the billing cycle begins, and finally reads the subscription
    back to confirm it reached the ACTIVE status. 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: plansApi
  url: ../openapi/sap-brim-billing-and-revenue-innovation-management-plans-api-openapi.yml
  type: openapi
- name: subscriptionsApi
  url: ../openapi/sap-brim-billing-and-revenue-innovation-management-subscriptions-api-openapi.yml
  type: openapi
workflows:
- workflowId: provision-subscription
  summary: Create a plan, subscribe a customer to it, and activate the subscription.
  description: >-
    Creates a subscription plan, creates a subscription for the supplied
    customer against that plan, activates the subscription, and reads it back to
    verify it is ACTIVE.
  inputs:
    type: object
    required:
    - customerId
    - planName
    - billingFrequency
    - price
    - currency
    properties:
      customerId:
        type: string
        description: Identifier of the customer to subscribe.
      planName:
        type: string
        description: Display name for the new subscription plan.
      billingFrequency:
        type: string
        description: Billing cadence (MONTHLY, QUARTERLY, SEMI_ANNUAL, ANNUAL, CUSTOM).
      price:
        type: number
        description: Recurring price value for the plan.
      currency:
        type: string
        description: ISO 4217 currency code for the price (e.g. USD).
      trialPeriodDays:
        type: integer
        description: Optional number of trial days before billing begins.
  steps:
  - stepId: createPlan
    description: Publish a new subscription plan into the product catalog.
    operationId: createPlan
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.planName
        billingFrequency: $inputs.billingFrequency
        price:
          value: $inputs.price
          currency: $inputs.currency
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      planId: $response.body#/planId
  - stepId: createSubscription
    description: Create a subscription binding the customer to the newly created plan.
    operationId: createSubscription
    requestBody:
      contentType: application/json
      payload:
        customerId: $inputs.customerId
        planId: $steps.createPlan.outputs.planId
        billingFrequency: $inputs.billingFrequency
        trialPeriodDays: $inputs.trialPeriodDays
        autoRenew: true
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      subscriptionId: $response.body#/subscriptionId
      status: $response.body#/status
  - stepId: activateSubscription
    description: Activate the pending subscription so the billing cycle starts.
    operationId: activateSubscription
    parameters:
    - name: subscriptionId
      in: path
      value: $steps.createSubscription.outputs.subscriptionId
    requestBody:
      contentType: application/json
      payload: {}
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      status: $response.body#/status
  - stepId: confirmSubscription
    description: Read the subscription back to confirm it reached the ACTIVE status.
    operationId: getSubscription
    parameters:
    - name: subscriptionId
      in: path
      value: $steps.createSubscription.outputs.subscriptionId
    successCriteria:
    - condition: $statusCode == 200
    - context: $response.body
      condition: $.status == "ACTIVE"
      type: jsonpath
    outputs:
      subscriptionId: $response.body#/subscriptionId
      status: $response.body#/status
      nextBillingDate: $response.body#/nextBillingDate
  outputs:
    planId: $steps.createPlan.outputs.planId
    subscriptionId: $steps.confirmSubscription.outputs.subscriptionId
    status: $steps.confirmSubscription.outputs.status
    nextBillingDate: $steps.confirmSubscription.outputs.nextBillingDate

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/sap-brim-billing-and-revenue-innovation-management-provision-subscription-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.