Workspace IndexKnowledge Notes › AI agent payments in Korea — the payment rail is ready before the permission rail

#65PoC

AI agent payments in Korea — the payment rail is ready before the permission rail

Pay.sh, x402, AP2, and Kora now form a credible machine-payment stack: discover an API, receive HTTP 402 terms, prove delegated intent, pay in stablecoins, and retry. In Korea the durable engineering move is not to predict the law; it is to separate mandate, execution, settlement, and audit so a testnet PoC cannot silently become a custodial production service.

Build one bounded testnet loop: a user signs an AP2-style mandate for one approved API, a client receives x402 payment terms, a policy engine checks the API allowlist plus a $5 total cap and per-call cap, Kora or a test facilitator sponsors/settles USDC, and the client retries exactly once. Record mandate hash, quote, payment proof, response hash, cumulative spend, and denial reason. Add idempotency, expiry, rate limit, and an emergency stop before adding autonomy. Keep custody and production Korean payment claims out of scope until reviewed under current Korean law.

Why

The article's most useful signal is architectural, not predictive. Payment transport is becoming composable: Pay.sh exposes APIs to agents, x402 carries machine-readable price and payment messages over HTTP, AP2 carries evidence of what the human authorized, and Kora abstracts Solana fees behind a policy-aware signer. But these layers answer different questions. x402 answers how a resource asks to be paid; AP2 answers what authority the agent can prove; Kora answers who signs and sponsors network fees; none alone answers whether a Korean operator is acting as custodian, payment intermediary, remitter, or regulated virtual-asset service provider.

That gap should become a system boundary. The model proposes a purchase, but a deterministic policy service validates merchant, asset, amount, cumulative budget, expiry, jurisdiction mode, and replay key. Settlement consumes a one-time authorization, and the audit log joins intent, quote, payment, and resource delivery. A loop bug can then spend only the external cap; a stolen mandate expires and is merchant-bound; a hallucinated expensive API is rejected before signing.

The article contains forward-looking Korean legal conclusions and product claims that should not be copied as settled law. Treat them as a research agenda: verify VASP/custody, electronic-finance, foreign-exchange, AML, network-separation, tax, and sandbox treatment with current primary rules and Korean counsel. The buildable fact today is narrower and stronger: the control plane must remain outside the agent, and the PoC must make the boundary between testnet learning and production financial activity impossible to miss.

How it works

Four layers, four jobs

Layer Job It does not prove
Pay.sh discover and buy pay-per-request APIs legal authority to spend
x402 request → 402 terms → signed payment → retry the user's original intent
AP2 mandate cryptographic evidence of delegated intent and limits final settlement
Kora / facilitator policy-aware signing, fee abstraction, verification and settlement regulatory permission to operate

Minimum Korea-safe learning PoC

user mandate ($5 total, API allowlist, expiry)
        ↓
agent proposes call → deterministic policy gate
        ↓ allow
API returns 402 → settle test USDC → retry once → deliver data
        ↓
audit: intent + quote + payment + response + cumulative spend

Hard controls: testnet-only chain binding, merchant and asset allowlists, per-call and cumulative caps, one-time nonce, short expiry, idempotency key, rate limit, denial log, and emergency stop. The model never holds the policy or decides whether its own exception is acceptable.

What is verified, and what remains a claim

Official sources support the technical core: Google Cloud's AP2 announcement describes cryptographically signed mandates; x402 documents the HTTP 402 payment-and-retry exchange; Solana documents Kora fee abstraction and policy controls; Solana announced Pay.sh with Google Cloud on 2026-05-05. The article's detailed Korean legal conclusions, institutional partnership dates, and future-law roadmap require separate primary-source verification before citation.

Sources: Google Cloud — AP2 · x402 HTTP 402 · Solana — Pay.sh · Solana — Kora fee abstraction

Where it lands in Jayverse

  • OFA: keep mandate, execution, settlement and audit as separate layers. The intent+solver auction must not let the solver that proposes a fill also decide the spend policy — the same separation this card requires between AP2 mandate, x402 execution and Kora settlement.
  • Rabbit: give session-key mandates the same field list. Add merchant/API allowlist, per-call cap, cumulative cap, expiry and a replay nonce to the ERC-7702/7715 mandate contract, the concrete fields this card's Korea-safe PoC uses.
  • Auditor: adopt this card's audit-log schema. For any Jayverse payment flow — Verex Stripe onboarding, JYVE bridge transfers — log mandate hash, quote, payment proof, response hash, cumulative spend and denial reason as one joined record.

Key expressions

Words and phrases from this page worth keeping, with the Korean meaning and the sentence they come from.

Expression뜻 · 쓰이는 자리
control plane제어 평면, 실행과 분리된 통제 계층 · "the control plane must remain outside the agent"
custodial자산을 보관·수탁하는 · "silently become a custodial production service"
merchant-bound특정 가맹점에 묶인 · "expires and is merchant-bound"
hallucinatedAI가 사실이 아닌 걸 지어낸 · "A hallucinated expensive API is rejected before signing"
research agenda앞으로 검증해야 할 연구 과제 · "Treat them as a research agenda"
impossible to miss놓칠 수 없을 만큼 명확한 · "impossible to miss"
one-time authorization1회용 승인 · "Settlement consumes a one-time authorization"
replay key재사용(재생) 방지 키 · "expiry, jurisdiction mode, and replay key"
abstract ... behind~을 뒤로 감춰 단순화하다 · "Kora abstracts Solana fees behind a policy-aware signer"
AML자금세탁방지(Anti-Money Laundering) · 한국 규제 검증 목록에 포함되는 컴플라이언스 영역. "AML, network-separation, tax, and sandbox treatment"
AP2에이전트 결제 프로토콜(Agent Payments Protocol) · 구글 클라우드의, 위임된 의도(mandate)를 암호학적으로 증명하는 프로토콜. "AP2 carries evidence of what the human authorized"
VASP가상자산서비스제공자(Virtual Asset Service Provider) · 커스터디·송금업자 해당 여부를 가리는 한국 규제상 핵심 분류. "a regulated virtual-asset service provider"

← All Knowledge Notes · Workspace Index · Top ↑

한국의 AI 에이전트 결제 — 결제 레일보다 권한 레일이 늦다

Pay.sh·x402·AP2·Kora는 API 발견 → HTTP 402 조건 수신 → 위임 의도 증명 → 스테이블코인 결제 → 재시도라는 실제 기계 결제 스택을 이룹니다. 한국에서 지속되는 엔지니어링 선택은 법을 예언하는 것이 아니라 mandate·실행·정산·감사를 분리해 테스트넷 PoC가 조용히 수탁형 운영 서비스로 변하지 못하게 하는 것입니다.

경계가 있는 테스트넷 루프 하나를 만듭니다. 사용자가 승인 API 하나에 AP2식 mandate를 서명하고, 클라이언트가 x402 결제 조건을 받으면, 정책 엔진이 API allowlist·총 $5 상한·호출당 상한을 검사하고, Kora 또는 테스트 facilitator가 USDC 수수료 대납·정산을 수행한 뒤 클라이언트가 정확히 한 번 재시도합니다. mandate hash·quote·payment proof·응답 hash·누적 지출·거부 이유를 기록합니다. 자율성을 늘리기 전에 멱등성·만료·rate limit·비상정지를 둡니다. 수탁과 한국 내 운영 결제에 관한 주장은 현행법 검토 전 범위 밖에 둡니다.

이 글의 가장 쓸모 있는 신호는 예측이 아니라 아키텍처입니다. 결제 전송은 조합 가능해지고 있습니다. Pay.sh는 API를 에이전트에 노출하고, x402는 HTTP 위에 기계가 읽는 가격·결제 메시지를 싣고, AP2는 인간이 무엇을 허가했는지의 증거를 싣고, Kora는 정책을 아는 signer 뒤로 Solana 수수료를 추상화합니다. 그러나 각 레이어가 답하는 질문은 다릅니다. x402는 리소스가 어떻게 값을 요구하는지, AP2는 에이전트가 어떤 권한을 증명하는지, Kora는 누가 네트워크 수수료를 서명·대납하는지 답합니다. 어느 하나도 한국 사업자가 수탁자·결제 중개자·송금업자·가상자산사업자인지 답하지 않습니다.

그 빈틈을 시스템 경계로 만듭니다. 모델은 구매를 제안하지만 결정론적 정책 서비스가 merchant·asset·금액·누적 예산·만료·jurisdiction mode·replay key를 검증합니다. 정산은 일회성 authorization을 소비하고, 감사 로그는 intent·quote·payment·resource delivery를 잇습니다. 그러면 루프 버그는 외부 상한까지만 쓰고, 탈취된 mandate는 만료되고 merchant에 묶이며, 환각으로 고른 비싼 API는 서명 전에 거부됩니다.

글의 한국 법률 결론과 미래 제품 주장은 확정된 법처럼 복사하지 않습니다. VASP/수탁·전자금융·외국환·AML·망분리·세무·샌드박스 적용을 현행 1차 규정과 한국 법률가에게 확인할 연구 목록으로 둡니다. 오늘 만들 수 있는 더 좁고 강한 사실은 이것입니다. 제어면은 에이전트 바깥에 있어야 하고, 테스트넷 학습과 운영 금융행위의 경계는 누구도 놓칠 수 없게 보여야 합니다.

동작 방식

네 레이어, 네 역할

레이어 역할 증명하지 않는 것
Pay.sh 호출당 결제 API 발견·구매 지출의 법적 권한
x402 요청 → 402 조건 → 서명 결제 → 재시도 사용자의 원래 의도
AP2 mandate 위임 의도와 한도의 암호학적 증거 최종 정산
Kora / facilitator 정책형 서명·수수료 추상화·검증·정산 사업자의 규제상 허가

최소 한국형 학습 PoC

사용자 mandate(총 $5, API allowlist, 만료)
        ↓
에이전트 호출 제안 → 결정론적 정책 게이트
        ↓ 허용
API 402 → 테스트 USDC 정산 → 한 번 재시도 → 데이터 전달
        ↓
감사: intent + quote + payment + response + 누적 지출

필수 통제: 테스트넷 전용 chain binding, merchant·asset allowlist, 호출당·누적 상한, 일회성 nonce, 짧은 만료, idempotency key, rate limit, 거부 로그, 비상정지. 모델은 정책을 보유하지 않고 자기 예외를 허용할지도 결정하지 않습니다.

확인된 것과 아직 주장인 것

공식 출처는 기술 핵심을 뒷받침합니다. Google Cloud의 AP2 발표는 암호학적으로 서명된 mandate를 설명하고, x402는 HTTP 402 결제·재시도 교환을 문서화하며, Solana는 Kora의 수수료 추상화·정책 통제를 문서화했고, 2026-05-05 Google Cloud와 Pay.sh 출시를 발표했습니다. 글의 상세 한국 법률 결론·기관 제휴 날짜·미래 법률 로드맵은 인용 전 별도의 1차 출처 검증이 필요합니다.

출처: Google Cloud — AP2 · x402 HTTP 402 · Solana — Pay.sh · Solana — Kora 수수료 추상화

Jayverse에서의 위치

  • OFA: mandate, 실행, 정산, 감사를 분리된 레이어로 유지한다. 인텐트+솔버 옥션은 체결을 제안하는 솔버가 지출 정책까지 결정하게 해서는 안 된다. 이 카드가 AP2 mandate, x402 실행, Kora 정산 사이에 요구하는 것과 같은 분리다.
  • Rabbit: 세션키 mandate에 같은 필드 목록을 준다. ERC-7702/7715 mandate 컨트랙트에 머천트/API 허용목록, 콜당 한도, 누적 한도, 만료 시각, 리플레이 논스를 추가한다. 이 카드의 한국형 안전 PoC가 쓰는 구체적 필드다.
  • Auditor: 이 카드의 감사 로그 스키마를 채택한다. Verex Stripe 온보딩, JYVE 브리지 전송 등 모든 Jayverse 결제 플로우에 대해 mandate 해시, 견적, 결제 증빙, 응답 해시, 누적 지출, 거부 사유를 하나의 결합 레코드로 남긴다.

핵심 표현

이 페이지의 영어 본문에서 배울 만한 단어와 표현, 뜻과 나온 자리.

Expression뜻 · 쓰이는 자리
control plane제어 평면, 실행과 분리된 통제 계층 · "the control plane must remain outside the agent"
custodial자산을 보관·수탁하는 · "silently become a custodial production service"
merchant-bound특정 가맹점에 묶인 · "expires and is merchant-bound"
hallucinatedAI가 사실이 아닌 걸 지어낸 · "A hallucinated expensive API is rejected before signing"
research agenda앞으로 검증해야 할 연구 과제 · "Treat them as a research agenda"
impossible to miss놓칠 수 없을 만큼 명확한 · "impossible to miss"
one-time authorization1회용 승인 · "Settlement consumes a one-time authorization"
replay key재사용(재생) 방지 키 · "expiry, jurisdiction mode, and replay key"
abstract ... behind~을 뒤로 감춰 단순화하다 · "Kora abstracts Solana fees behind a policy-aware signer"
AML자금세탁방지(Anti-Money Laundering) · 한국 규제 검증 목록에 포함되는 컴플라이언스 영역. "AML, network-separation, tax, and sandbox treatment"
AP2에이전트 결제 프로토콜(Agent Payments Protocol) · 구글 클라우드의, 위임된 의도(mandate)를 암호학적으로 증명하는 프로토콜. "AP2 carries evidence of what the human authorized"
VASP가상자산서비스제공자(Virtual Asset Service Provider) · 커스터디·송금업자 해당 여부를 가리는 한국 규제상 핵심 분류. "a regulated virtual-asset service provider"

← 전체 기술 노트 · 워크스페이스 인덱스 · 맨 위 ↑