TrueLayer · JSON Structure

Truelayer Payment Structure

TrueLayer open banking payment lifecycle

Type: Properties: 0
Data APIFinancial-ServicesOpen BankingPaymentsPSD2UK BankingVRP

Payment is a JSON Structure definition published by TrueLayer.

Meta-schema:

JSON Structure

Raw ↑
{
  "name": "Payment",
  "description": "TrueLayer open banking payment lifecycle",
  "fields": [
    { "name": "id", "type": "uuid", "description": "Payment identifier", "required": true },
    { "name": "amount_in_minor", "type": "integer", "description": "Amount in pence/cents", "required": true },
    { "name": "currency", "type": "enum[GBP,EUR]", "description": "ISO 4217 currency", "required": true },
    { "name": "status", "type": "enum[authorization_required,authorizing,authorized,executed,settled,failed,pending]", "required": true },
    { "name": "payment_method", "type": "PaymentMethod", "required": true },
    { "name": "user", "type": "User", "required": true },
    { "name": "metadata", "type": "map[string,string]", "description": "Custom key-value pairs (max 10)", "required": false },
    { "name": "created_at", "type": "datetime", "required": false },
    { "name": "executed_at", "type": "datetime", "required": false },
    { "name": "settled_at", "type": "datetime", "required": false },
    { "name": "failure_reason", "type": "string", "required": false }
  ],
  "nested": {
    "PaymentMethod": {
      "fields": [
        { "name": "type", "type": "enum[bank_transfer,mandate]", "required": true },
        { "name": "provider_selection", "type": "ProviderSelection", "required": false },
        { "name": "scheme_selection", "type": "SchemeSelection", "required": false },
        { "name": "beneficiary", "type": "Beneficiary", "required": true }
      ]
    },
    "Beneficiary": {
      "fields": [
        { "name": "type", "type": "enum[merchant_account,external_account]", "required": true },
        { "name": "merchant_account_id", "type": "uuid", "required": false },
        { "name": "account_holder_name", "type": "string", "required": false },
        { "name": "account_identifier", "type": "AccountIdentifier", "required": false }
      ]
    },
    "AccountIdentifier": {
      "fields": [
        { "name": "type", "type": "enum[sort_code_account_number,iban,bban,nrb]", "required": true },
        { "name": "sort_code", "type": "string", "required": false },
        { "name": "account_number", "type": "string", "required": false },
        { "name": "iban", "type": "string", "required": false }
      ]
    },
    "User": {
      "fields": [
        { "name": "id", "type": "uuid", "required": false },
        { "name": "name", "type": "string", "required": true },
        { "name": "email", "type": "email", "required": false },
        { "name": "phone", "type": "string", "required": false },
        { "name": "date_of_birth", "type": "date", "required": false }
      ]
    }
  }
}

Work with this as data

Every JSON Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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 Structure
curl "https://apis.io/api/v1/json-structures/truelayer-payment-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?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.