TrueLayer · Schema

Payment

A TrueLayer open banking payment

Data APIFinancial-ServicesOpen BankingPaymentsPSD2UK BankingVRP

Properties

Name Type Description
id string Unique payment identifier
amount_in_minor integer Payment amount in minor currency units (e.g., pence for GBP)
currency string ISO 4217 currency code
status string Current payment lifecycle status
payment_method object Payment method configuration
user object
metadata object Up to 10 custom key-value pairs
created_at string
executed_at string
settled_at string
failure_reason string Reason for payment failure
View JSON Schema on GitHub

JSON Schema

truelayer-payment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api.truelayer.com/schemas/payment",
  "title": "Payment",
  "description": "A TrueLayer open banking payment",
  "type": "object",
  "required": ["id", "amount_in_minor", "currency", "status"],
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "Unique payment identifier"
    },
    "amount_in_minor": {
      "type": "integer",
      "minimum": 1,
      "description": "Payment amount in minor currency units (e.g., pence for GBP)"
    },
    "currency": {
      "type": "string",
      "enum": ["GBP", "EUR"],
      "description": "ISO 4217 currency code"
    },
    "status": {
      "type": "string",
      "enum": [
        "authorization_required",
        "authorizing",
        "authorized",
        "executed",
        "settled",
        "failed",
        "pending"
      ],
      "description": "Current payment lifecycle status"
    },
    "payment_method": {
      "type": "object",
      "description": "Payment method configuration",
      "properties": {
        "type": {
          "type": "string",
          "enum": ["bank_transfer", "mandate"]
        },
        "beneficiary": {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "enum": ["merchant_account", "external_account"]
            },
            "merchant_account_id": {
              "type": "string",
              "format": "uuid"
            },
            "account_holder_name": {
              "type": "string"
            }
          }
        }
      }
    },
    "user": {
      "type": "object",
      "properties": {
        "id": { "type": "string", "format": "uuid" },
        "name": { "type": "string" },
        "email": { "type": "string", "format": "email" },
        "phone": { "type": "string" }
      }
    },
    "metadata": {
      "type": "object",
      "description": "Up to 10 custom key-value pairs",
      "maxProperties": 10,
      "additionalProperties": {
        "type": "string"
      }
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "executed_at": {
      "type": "string",
      "format": "date-time"
    },
    "settled_at": {
      "type": "string",
      "format": "date-time"
    },
    "failure_reason": {
      "type": "string",
      "description": "Reason for payment failure"
    }
  },
  "additionalProperties": false
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/truelayer-payment"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.