Kora Authorize icon

Kora Authorize

Authorize a financial transaction via Kora. Two outputs: APPROVED / DENIED.

Kora Authorize

AI-generated

Summary

Authorize a financial transaction via Kora

Inputs

  • mandateId (required) — The mandate governing this spend request
  • amountCents (required) — Amount in cents (integer). E.g. 5000 = 50.00
  • currency (required) — Currency code (EUR, USD, GBP, SEK)
  • vendorId (required) — Lowercase vendor identifier
  • category — Spend category (e.g., compute, api_services, office_supplies, etc.)
  • purpose — Human-readable description of why this money is being spent

Output shape

array of two arrays: [approvedItems, deniedItems]

Each array may be empty; approved items include decision, decision_id, amount_cents, currency, vendor_id, seal, payment, daily_remaining_cents, monthly_remaining_cents; denied items include decision, decision_id, reason_code, message, daily_remaining_cents

Examples

Example 1: Single authorization of a 2500 cent payment

mandateId='mandate_xyz', amountCents=2500, currency='EUR', vendorId='aws', category='compute', purpose='Server upgrade'

Example 2: Process a batch of multiple authorizations

Feed a list of items each with the above parameters; the node returns two arrays of results

Example 3: Handle denial due to insufficient limits

mandateId='mandate_123', amountCents=5000, currency='USD', vendorId='aws', category='office_supplies', purpose='Office move'; results in DENIED with reason_code indicating limit exceeded

Links

Discussion