Lean Technologies · Schema

Lean Payment Intent

A Pay by Bank single instant payment intent created via the Lean Payments API.

Open BankingOpen FinanceMENAUAESaudi ArabiaPaymentsPay by BankA2AAccount InformationPayment InitiationVerificationsIdentityFintech

Properties

Name Type Description
intent_id string
status string
amount number
currency string
description string
reference string
customer_id string
creditor_reference string
idempotency_key string
beneficiary object
link_url string
created_at string
View JSON Schema on GitHub

JSON Schema

lean-payment-intent-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/lean-tech/main/json-schema/lean-payment-intent-schema.json",
  "title": "Lean Payment Intent",
  "description": "A Pay by Bank single instant payment intent created via the Lean Payments API.",
  "type": "object",
  "required": ["intent_id", "amount", "currency", "status"],
  "properties": {
    "intent_id": {"type": "string", "format": "uuid"},
    "status": {
      "type": "string",
      "enum": ["PENDING", "AWAITING_AUTHORIZATION", "COMPLETED", "FAILED", "CANCELLED"]
    },
    "amount": {"type": "number"},
    "currency": {"type": "string", "enum": ["AED", "SAR"]},
    "description": {"type": "string"},
    "reference": {"type": "string"},
    "customer_id": {"type": "string", "format": "uuid"},
    "creditor_reference": {"type": "string"},
    "idempotency_key": {"type": "string"},
    "beneficiary": {
      "type": "object",
      "properties": {
        "name": {"type": "string"},
        "iban": {"type": "string"},
        "account_number": {"type": "string"}
      }
    },
    "link_url": {"type": "string", "format": "uri"},
    "created_at": {"type": "string", "format": "date-time"}
  }
}