TrueLayer · Example Payload

Truelayer Create Payment Example

Data APIFinancial-ServicesOpen BankingPaymentsPSD2UK BankingVRP

Truelayer Create Payment Example is an example object payload from TrueLayer, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "POST",
    "url": "https://api.truelayer.com/v3/payments",
    "headers": {
      "Authorization": "Bearer YOUR_ACCESS_TOKEN",
      "Tl-Signature": "YOUR_JWS_SIGNATURE",
      "Idempotency-Key": "550e8400-e29b-41d4-a716-446655440000",
      "Content-Type": "application/json"
    },
    "body": {
      "amount_in_minor": 10000,
      "currency": "GBP",
      "payment_method": {
        "type": "bank_transfer",
        "provider_selection": {
          "type": "user_selected",
          "filter": {
            "countries": ["GB"],
            "release_channel": "general_availability"
          }
        },
        "beneficiary": {
          "type": "merchant_account",
          "merchant_account_id": "e83c6b8e-5a3c-4b2d-a1f0-9c8b7d6e5f4a",
          "account_holder_name": "Acme Ltd"
        }
      },
      "user": {
        "name": "Jane Smith",
        "email": "jane.smith@example.com",
        "phone": "+447700123456"
      },
      "metadata": {
        "order_id": "ORD-12345",
        "customer_ref": "CUST-ABC"
      }
    }
  },
  "response": {
    "status": 200,
    "body": {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "user": {
        "id": "b2c3d4e5-f6a7-8901-bcde-f12345678901"
      },
      "resource_token": "eyJhbGciOiJFUzUxMiIsImtpZCI6....(15 min expiry)",
      "status": "authorization_required"
    }
  }
}

Work with this as data

Every example 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 examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example 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 example
curl "https://apis.io/api/v1/examples/truelayer-create-payment-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

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

Get an API key

Free tier, no email required.

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