Amberflo · Arazzo Workflow

Amberflo Provision Customer Billing

Version 1.0.0

Create a customer, assign a pricing plan, then fund a prepaid credit order.

1 workflow 3 source APIs 1 provider
View Spec View on GitHub Usage-Based BillingMeteringFinOpsAI Cost ManagementBillingMonetizationArazzoWorkflows

Provider

amberflo

Workflows

provision-customer-billing
Create a customer, assign a plan, and fund a prepaid order.
Creates a customer account, assigns the supplied pricing plan product, and creates a prepaid credit order for the customer.
3 steps inputs: amount, apiKey, currency, customerEmail, customerId, customerName, expirationTime, productId outputs: assignedProductId, customerId, orderId
1
createCustomer
Create the customer account that will be provisioned for billing.
2
assignPlan
Assign the pricing plan product to the customer.
3
createPrepaid
Fund a prepaid credit order for the customer.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amberflo Provision Customer Billing
  summary: Create a customer, assign a pricing plan, then fund a prepaid credit order.
  description: >-
    The complete billing provisioning flow for a prepaid customer. It creates the
    customer account, assigns a pricing plan product, and then opens a prepaid
    credit order so the customer has a balance to draw usage against. 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/amberflo-customers-api-openapi.yml
  type: openapi
- name: prepaidOrdersApi
  url: ../openapi/amberflo-prepaid-orders-api-openapi.yml
  type: openapi
- name: pricingPlansApi
  url: ../openapi/amberflo-pricing-plans-api-openapi.yml
  type: openapi
workflows:
- workflowId: provision-customer-billing
  summary: Create a customer, assign a plan, and fund a prepaid order.
  description: >-
    Creates a customer account, assigns the supplied pricing plan product, and
    creates a prepaid credit order for the customer.
  inputs:
    type: object
    required:
    - apiKey
    - customerId
    - customerName
    - productId
    - amount
    properties:
      apiKey:
        type: string
        description: Amberflo API key supplied in the X-API-KEY header.
      customerId:
        type: string
        description: Unique customer identifier from your system.
      customerName:
        type: string
        description: Customer display name.
      customerEmail:
        type: string
        description: Optional customer contact email.
      productId:
        type: string
        description: Product or pricing plan identifier to assign.
      amount:
        type: number
        description: Prepaid credit amount to fund.
      currency:
        type: string
        description: Currency code for the prepaid order (e.g. USD).
      expirationTime:
        type: integer
        description: Optional prepaid order expiration in Unix milliseconds.
  steps:
  - stepId: createCustomer
    description: >-
      Create the customer account that will be provisioned for billing.
    operationId: createCustomer
    parameters:
    - name: X-API-KEY
      in: header
      value: $inputs.apiKey
    requestBody:
      contentType: application/json
      payload:
        customerId: $inputs.customerId
        customerName: $inputs.customerName
        customerEmail: $inputs.customerEmail
        lifecycleStage: ACTIVE
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      customerId: $response.body#/customerId
  - stepId: assignPlan
    description: >-
      Assign the pricing plan product to the customer.
    operationId: assignPricingPlan
    parameters:
    - name: X-API-KEY
      in: header
      value: $inputs.apiKey
    requestBody:
      contentType: application/json
      payload:
        customerId: $steps.createCustomer.outputs.customerId
        productId: $inputs.productId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      assignedProductId: $response.body#/productId
  - stepId: createPrepaid
    description: >-
      Fund a prepaid credit order for the customer.
    operationId: createPrepaidOrder
    parameters:
    - name: X-API-KEY
      in: header
      value: $inputs.apiKey
    requestBody:
      contentType: application/json
      payload:
        customerId: $steps.createCustomer.outputs.customerId
        amount: $inputs.amount
        currency: $inputs.currency
        expirationTime: $inputs.expirationTime
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      orderId: $response.body#/orderId
  outputs:
    customerId: $steps.createCustomer.outputs.customerId
    assignedProductId: $steps.assignPlan.outputs.assignedProductId
    orderId: $steps.createPrepaid.outputs.orderId

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/amberflo-provision-customer-billing-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.