Allowance · Arazzo Workflow

Approve a mandate and issue a virtual card

Version 1.0.0

Create a spending mandate, wait for the human owner to approve it, then request a single-use virtual card for a specific purchase against the active mandate.

1 workflow 1 source API 1 provider
View Spec View on GitHub CompanyPaymentsAgentic PaymentsAI AgentsVirtual CardsFintechMCPConsumer TrustSpending ControlsAP2ArazzoWorkflows

Provider

allowance

Workflows

mandateToCard
Propose a mandate, poll for approval, and request a payment credential.
Mirrors the Allowance agent flow: POST a mandate (pending_approval), poll GET the mandate until the human approves it (active), then POST a credential request to receive a single-use virtual card. All endpoints are pre-launch and return 501 until launch.
3 steps inputs: agent_id, amount, merchant outputs: credential_request_id, mandate_id
1
createMandate
2
pollApproval
3
requestCredential

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Approve a mandate and issue a virtual card
  version: 1.0.0
  summary: >-
    Create a spending mandate, wait for the human owner to approve it, then request a
    single-use virtual card for a specific purchase against the active mandate.
sourceDescriptions:
- name: mandatesApi
  url: ../openapi/allowance-mandates-api-openapi.yml
  type: openapi
workflows:
- workflowId: mandateToCard
  summary: Propose a mandate, poll for approval, and request a payment credential.
  description: >-
    Mirrors the Allowance agent flow: POST a mandate (pending_approval), poll GET the
    mandate until the human approves it (active), then POST a credential request to receive
    a single-use virtual card. All endpoints are pre-launch and return 501 until launch.
  inputs:
    type: object
    properties:
      agent_id:
        type: string
      merchant:
        type: string
      amount:
        type: integer
        description: Amount in minor units (cents).
  steps:
  - stepId: createMandate
    operationId: createMandate
    requestBody:
      contentType: application/json
      payload:
        agent_id: $inputs.agent_id
        budget:
          cadence: once
          per_transaction_max: $inputs.amount
          currency: USD
          merchants:
          - $inputs.merchant
    outputs:
      mandate_id: $response.body#/id
  - stepId: pollApproval
    operationId: getMandate
    parameters:
    - name: id
      in: path
      value: $steps.createMandate.outputs.mandate_id
    successCriteria:
    - condition: $response.body#/status == 'active'
    outputs:
      status: $response.body#/status
  - stepId: requestCredential
    operationId: requestCredential
    parameters:
    - name: id
      in: path
      value: $steps.createMandate.outputs.mandate_id
    requestBody:
      contentType: application/json
      payload:
        amount: $inputs.amount
        currency: USD
        merchant: $inputs.merchant
        context: Purchase authorized via approved Allowance mandate.
    outputs:
      credential_request_id: $response.body#/id
      passed: $response.body#/validation/passed
  outputs:
    mandate_id: $steps.createMandate.outputs.mandate_id
    credential_request_id: $steps.requestCredential.outputs.credential_request_id

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/allowance-mandate-to-card"
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 email required.

A second provider on the same verified email joins the account you already have.