← Articles
UCP Feature February 21, 2026

UCP Payment Instruments: First-Class Support for Payment Method Constraints

A proposal adds available_instruments to UCP payment handler configurations — enabling handlers to declare which payment methods they support and with what constraints. Essential infrastructure for installments, BNPL, and multi-payment orchestration.

The Problem

Today, UCP payment handlers can technically specify which payment instruments they accept, but it's done through an unstructured config blob. Each payment provider defines their own schema, leading to fragmentation:

// Provider A's approach
{
  "config": {
    "accepted_cards": ["visa", "mastercard"],
    "allow_apple_pay": true
  }
}

// Provider B's approach
{
  "config": {
    "payment_methods": {
      "cards": { "brands": ["visa", "mc", "amex"] },
      "wallets": ["applepay"]
    }
  }
}

This divergence creates problems for AI agents. An agent can't reliably determine which payment methods a checkout supports without understanding each provider's proprietary schema.

The Solution

The proposal introduces a standardized available_instruments array at the payment handler level:

{
  "payment_handler": {
    "id": "stripe-handler",
    "available_instruments": [
      {
        "type": "card",
        "constraints": {
          "brands": ["visa", "mastercard", "amex"]
        }
      },
      {
        "type": "digital_wallet",
        "constraints": {
          "providers": ["apple_pay", "google_pay"]
        }
      }
    ]
  }
}
Key insight: This isn't just about listing payment methods — it's about enabling conditional payment logic. When a merchant wants to offer installments only on credit cards above $100, or BNPL only for certain product categories, they need a structured way to express those constraints.

Why This Matters for Agentic Commerce

The proposal explicitly calls out the future use case: payment terms and purchase options. Consider an "Affirm" style buy-now-pay-later flow:

  1. Merchant offers 4-payment installment plan
  2. Plan is only available for credit cards (not debit)
  3. Plan is only available for orders over $50
  4. AI agent needs to understand these constraints to present correct options to user

Without structured instrument constraints, this logic lives in ad-hoc provider configs. With available_instruments, it becomes queryable protocol-level information.

Technical Details

The PR introduces:

The constraint pattern is extensible. Future instrument types (crypto, BNPL providers, regional payment methods) can define their own constraint schemas following the base pattern.

Implications

This change is foundational for several upcoming UCP features:

The PR is currently open and under review. Given its non-breaking nature and clear use case, expect it to merge relatively quickly.

About the Author

raginpirate is an active UCP contributor focusing on payment infrastructure. Their recent work includes the checkout ID deprecation changes and transition schema improvements — core plumbing that enables protocol evolution.