Paytrail · Schema

AddCardFormRequest

Add card form request

PaymentsFintechE-CommerceOmnichannelFinland

Properties

Name Type Description
checkout-account integer Merchant ID
checkout-algorithm string HMAC algorithm
checkout-method string HTTP method of the request
checkout-nonce string Unique random identifier
checkout-timestamp string Current timestamp in ISO 8601 format
checkout-redirect-success-url string Merchant's url for user redirect on successful card addition
checkout-redirect-cancel-url string Merchant's url for user redirect on failed card addition
checkout-callback-success-url string Merchant's url called on successful card addition
checkout-callback-cancel-url string Merchant's url called on failed card addition
language string Alpha-2 language code for the card addition form
signature string HMAC signature calculated over the request headers and payload
View JSON Schema on GitHub

JSON Schema

paytrail-add-card-form-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/paytrail/json-schema/paytrail-add-card-form-request-schema.json",
  "title": "AddCardFormRequest",
  "description": "Add card form request",
  "x-generated": "2026-11-16",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/paytrail-openapi.yml#/components/schemas/AddCardFormRequest",
  "type": "object",
  "required": [
    "checkout-account",
    "checkout-algorithm",
    "checkout-redirect-success-url",
    "checkout-redirect-cancel-url"
  ],
  "properties": {
    "checkout-account": {
      "type": "integer",
      "description": "Merchant ID"
    },
    "checkout-algorithm": {
      "type": "string",
      "description": "HMAC algorithm",
      "enum": [
        "sha256",
        "sha512"
      ]
    },
    "checkout-method": {
      "type": "string",
      "description": "HTTP method of the request",
      "enum": [
        "GET",
        "POST"
      ]
    },
    "checkout-nonce": {
      "type": "string",
      "description": "Unique random identifier"
    },
    "checkout-timestamp": {
      "type": "string",
      "description": "Current timestamp in ISO 8601 format",
      "format": "date-time"
    },
    "checkout-redirect-success-url": {
      "type": "string",
      "format": "url",
      "description": "Merchant's url for user redirect on successful card addition"
    },
    "checkout-redirect-cancel-url": {
      "type": "string",
      "format": "url",
      "description": "Merchant's url for user redirect on failed card addition"
    },
    "checkout-callback-success-url": {
      "type": "string",
      "format": "url",
      "description": "Merchant's url called on successful card addition"
    },
    "checkout-callback-cancel-url": {
      "type": "string",
      "format": "url",
      "description": "Merchant's url called on failed card addition"
    },
    "language": {
      "type": "string",
      "enum": [
        "FI",
        "SV",
        "EN"
      ],
      "description": "Alpha-2 language code for the card addition form"
    },
    "signature": {
      "type": "string",
      "description": "HMAC signature calculated over the request headers and payload"
    }
  }
}

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/paytrail-add-card-form-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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