No agent payment moves without resolved authority.
The Agent Payment SDK gates every AI-agent payment behind a governance decision. Before money moves, the action is checked for admissibility — purpose, scope, spend limits, delegated authority — and a signed Evidence Pack™ is emitted. Strong Customer Authentication aware. TypeScript · Python.
The payment is the consequential act
An agent that can pay can cause irreversible harm. This SDK puts an authority gate in front of the rail, not a log behind it.
Admissibility before money moves
Spend limits, purpose, scope, and delegated authority are resolved before the payment executes. No verdict, no payment — fail-closed.
Signed payment evidence
Each authorised payment emits a signed Evidence Pack™ — replay-derivable from public keys, suited to banking-grade WORM audit.
SCA & dual-channel aware
Irreversible payments can require Strong Customer Authentication or dual-channel human sign-off before the rail is called.
Install
Backed by the KYE payment-execution rail. The wire contract + verification surface are open.
# TypeScript / JavaScript npm install @kye/agent-payment # Python pip install kye-agent-payment
import { PaymentClient } from "@kye/agent-payment"; const pay = new PaymentClient({ trustDomain: "acme" }); // Authority is resolved BEFORE the rail is called const result = await pay.send({ agent: "procurement-bot", purpose: "supplier-invoice", amount: 4999, currency: "GBP", payee: "acme-supplies-ltd", }); // result.admitted === false -> no money moved // result.evidencePack is signed + replay-provable
Where the SDK sits in the lifecycle
The Agent Payment SDK covers execution-control + evidence for payment actions in the KYE Agentic Governance Lifecycle™.