Entur · Schema
TransactionByOrder
A transaction
CompanyPublic TransportJourney PlanningMobilityOpen DataNorwayTransitGraphQL
Properties
| Name | Type | Description |
|---|---|---|
| id | integer | Generated identifier |
| programId | integer | The id of the program this transaction belongs to |
| memberId | integer | The ID of the member in the program this transaction belongs to |
| amount | number | The number of points of the definition this transaction gives |
| pointDefinitionId | integer | The id of the point definition this transaction gives points of |
| pointDefinitionReference | stringnull | The reference of the point definition this transaction gives points of |
| pointPeriodId | integernull | The id of the point period this transaction belongs to, if applicable |
| createdAt | string | The date and time when the transaction was created |
| updatedAt | stringnull | The date and time when the transaction was last updated |
| expireAt | stringnull | The date and time when the transaction expires. If null, the transaction never expires. |
| cancelledAt | stringnull | The date and time when the transaction was cancelled. If not null, the transaction is valid until this time. |
| validFrom | string | The date and time the transaction is valid from. |
| metadata | objectnull | Metadata for the transaction |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/entur/main/json-schema/entur-transaction-by-order-schema.json",
"title": "TransactionByOrder",
"description": "A transaction",
"x-generated": "2026-10-09",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/entur-personalisation-client-openapi.yml#/components/schemas/TransactionByOrder",
"required": [
"amount",
"createdAt",
"id",
"memberId",
"pointDefinitionId",
"programId",
"validFrom"
],
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "Generated identifier",
"format": "int64"
},
"programId": {
"type": "integer",
"description": "The id of the program this transaction belongs to",
"format": "int64"
},
"memberId": {
"type": "integer",
"description": "The ID of the member in the program this transaction belongs to",
"format": "int64"
},
"amount": {
"type": "number",
"description": "The number of points of the definition this transaction gives"
},
"pointDefinitionId": {
"type": "integer",
"description": "The id of the point definition this transaction gives points of",
"format": "int64"
},
"pointDefinitionReference": {
"type": [
"string",
"null"
],
"description": "The reference of the point definition this transaction gives points of"
},
"pointPeriodId": {
"type": [
"integer",
"null"
],
"description": "The id of the point period this transaction belongs to, if applicable",
"format": "int64"
},
"createdAt": {
"type": "string",
"description": "The date and time when the transaction was created",
"format": "date-time"
},
"updatedAt": {
"type": [
"string",
"null"
],
"description": "The date and time when the transaction was last updated",
"format": "date-time"
},
"expireAt": {
"type": [
"string",
"null"
],
"description": "The date and time when the transaction expires. If null, the transaction never expires.",
"format": "date-time"
},
"cancelledAt": {
"type": [
"string",
"null"
],
"description": "The date and time when the transaction was cancelled. If not null, the transaction is valid until this time.",
"format": "date-time"
},
"validFrom": {
"type": "string",
"description": "The date and time the transaction is valid from.",
"format": "date-time"
},
"metadata": {
"type": [
"object",
"null"
],
"additionalProperties": true,
"description": "Metadata for the transaction"
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/entur-transaction-by-order"
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.