Authorize Spend
AI-generatedSummary
POST a signed spend request to Kora and receive APPROVED or DENIED with cryptographic seal and payment details.
Inputs
- amountCents (required) — Amount in cents. 5000 = €50.00.
- currency (required) — Currency for the spend amount.
- vendor (required) — Lowercase vendor identifier.
- category — Spending category (optional).
- purpose — Why this spend is needed (optional).
Output shape
Authorization response from Kora protocol
Both approved and denied streams carry the same JSON structure; only the decision field differs.
Examples
Example 1: Successful authorization
amountCents=5000, currency=EUR, vendor=aws, purpose=Monthly server hosting returned decision=APPROVED with payment_iban, seal_signature, etc.
Example 2: Denied authorization
amountCents=5000, currency=USD, vendor=azure returned decision=DENIED with reason_code and denial_message