{
  "@context": {
    "@vocab": "https://paytrail.com/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "paytrail": "https://paytrail.com/schema#",
    "PaymentRequest": "paytrail:PaymentRequest",
    "stamp": {
      "@id": "paytrail:stamp",
      "@type": "xsd:string"
    },
    "reference": {
      "@id": "paytrail:reference",
      "@type": "xsd:string"
    },
    "amount": {
      "@id": "paytrail:amount",
      "@type": "xsd:integer"
    },
    "currency": {
      "@id": "paytrail:currency",
      "@type": "xsd:string"
    },
    "language": {
      "@id": "paytrail:language",
      "@type": "xsd:string"
    },
    "orderId": {
      "@id": "paytrail:orderId",
      "@type": "xsd:string"
    },
    "items": {
      "@id": "paytrail:items",
      "@container": "@list"
    },
    "customer": {
      "@id": "paytrail:customer",
      "@type": "@id"
    },
    "deliveryAddress": {
      "@id": "paytrail:deliveryAddress",
      "@type": "@id"
    },
    "invoicingAddress": {
      "@id": "paytrail:invoicingAddress",
      "@type": "@id"
    },
    "manualInvoiceActivation": {
      "@id": "paytrail:manualInvoiceActivation",
      "@type": "xsd:boolean"
    },
    "redirectUrls": {
      "@id": "paytrail:redirectUrls",
      "@type": "@id"
    },
    "callbackUrls": {
      "@id": "paytrail:callbackUrls",
      "@type": "@id"
    },
    "callbackDelay": {
      "@id": "paytrail:callbackDelay",
      "@type": "xsd:integer"
    },
    "groups": {
      "@id": "paytrail:groups",
      "@container": "@list"
    },
    "usePricesWithoutVat": {
      "@id": "paytrail:usePricesWithoutVat",
      "@type": "xsd:boolean"
    },
    "TokenPaymentRequest": "paytrail:TokenPaymentRequest",
    "token": {
      "@id": "paytrail:token",
      "@type": "xsd:string"
    },
    "GetTokenRequest": "paytrail:GetTokenRequest",
    "checkout-tokenization-id": {
      "@id": "paytrail:checkout-tokenization-id",
      "@type": "xsd:string"
    },
    "Item": "paytrail:Item",
    "unitPrice": {
      "@id": "paytrail:unitPrice",
      "@type": "xsd:integer"
    },
    "units": {
      "@id": "paytrail:units",
      "@type": "xsd:integer"
    },
    "vatPercentage": {
      "@id": "paytrail:vatPercentage",
      "@type": "xsd:decimal"
    },
    "productCode": {
      "@id": "paytrail:productCode",
      "@type": "xsd:string"
    },
    "deliveryDate": {
      "@id": "paytrail:deliveryDate",
      "@type": "xsd:date"
    },
    "description": {
      "@id": "paytrail:description",
      "@type": "xsd:string"
    },
    "category": {
      "@id": "paytrail:category",
      "@type": "xsd:string"
    },
    "merchant": {
      "@id": "paytrail:merchant",
      "@type": "xsd:string"
    },
    "commission": {
      "@id": "paytrail:commission"
    },
    "Callbacks": "paytrail:Callbacks",
    "success": {
      "@id": "paytrail:success",
      "@type": "xsd:string"
    },
    "cancel": {
      "@id": "paytrail:cancel",
      "@type": "xsd:string"
    },
    "Address": "paytrail:Address",
    "streetAddress": {
      "@id": "paytrail:streetAddress",
      "@type": "xsd:string"
    },
    "postalCode": {
      "@id": "paytrail:postalCode",
      "@type": "xsd:string"
    },
    "city": {
      "@id": "paytrail:city",
      "@type": "xsd:string"
    },
    "county": {
      "@id": "paytrail:county",
      "@type": "xsd:string"
    },
    "country": {
      "@id": "paytrail:country",
      "@type": "xsd:string"
    },
    "Customer": "paytrail:Customer",
    "email": {
      "@id": "paytrail:email",
      "@type": "xsd:string"
    },
    "firstName": {
      "@id": "paytrail:firstName",
      "@type": "xsd:string"
    },
    "lastName": {
      "@id": "paytrail:lastName",
      "@type": "xsd:string"
    },
    "phone": {
      "@id": "paytrail:phone",
      "@type": "xsd:string"
    },
    "vatId": {
      "@id": "paytrail:vatId",
      "@type": "xsd:string"
    },
    "TokenCustomerDetails": "paytrail:TokenCustomerDetails",
    "network_address": {
      "@id": "paytrail:network_address",
      "@type": "xsd:string"
    },
    "country_code": {
      "@id": "paytrail:country_code",
      "@type": "xsd:string"
    },
    "Card": "paytrail:Card",
    "type": {
      "@id": "paytrail:type",
      "@type": "xsd:string"
    },
    "partial_pan": {
      "@id": "paytrail:partial_pan",
      "@type": "xsd:string"
    },
    "expire_year": {
      "@id": "paytrail:expire_year",
      "@type": "xsd:string"
    },
    "expire_month": {
      "@id": "paytrail:expire_month",
      "@type": "xsd:string"
    },
    "cvc_required": {
      "@id": "paytrail:cvc_required",
      "@type": "xsd:string"
    },
    "bin": {
      "@id": "paytrail:bin",
      "@type": "xsd:string"
    },
    "funding": {
      "@id": "paytrail:funding",
      "@type": "xsd:string"
    },
    "card_fingerprint": {
      "@id": "paytrail:card_fingerprint",
      "@type": "xsd:string"
    },
    "pan_fingerprint": {
      "@id": "paytrail:pan_fingerprint",
      "@type": "xsd:string"
    },
    "CardInfo": "paytrail:CardInfo",
    "partialPan": {
      "@id": "paytrail:partialPan",
      "@type": "xsd:string"
    },
    "countryCode": {
      "@id": "paytrail:countryCode",
      "@type": "xsd:string"
    },
    "Refund": "paytrail:Refund",
    "refundStamp": {
      "@id": "paytrail:refundStamp",
      "@type": "xsd:string"
    },
    "refundReference": {
      "@id": "paytrail:refundReference",
      "@type": "xsd:string"
    },
    "EmailRefund": "paytrail:EmailRefund",
    "RefundItem": "paytrail:RefundItem",
    "AddCardFormRequest": "paytrail:AddCardFormRequest",
    "checkout-account": {
      "@id": "paytrail:checkout-account",
      "@type": "xsd:integer"
    },
    "checkout-algorithm": {
      "@id": "paytrail:checkout-algorithm",
      "@type": "xsd:string"
    },
    "checkout-method": {
      "@id": "paytrail:checkout-method",
      "@type": "xsd:string"
    },
    "checkout-nonce": {
      "@id": "paytrail:checkout-nonce",
      "@type": "xsd:string"
    },
    "checkout-timestamp": {
      "@id": "paytrail:checkout-timestamp",
      "@type": "xsd:dateTime"
    },
    "checkout-redirect-success-url": {
      "@id": "paytrail:checkout-redirect-success-url",
      "@type": "@id"
    },
    "checkout-redirect-cancel-url": {
      "@id": "paytrail:checkout-redirect-cancel-url",
      "@type": "@id"
    },
    "checkout-callback-success-url": {
      "@id": "paytrail:checkout-callback-success-url",
      "@type": "@id"
    },
    "checkout-callback-cancel-url": {
      "@id": "paytrail:checkout-callback-cancel-url",
      "@type": "@id"
    },
    "signature": {
      "@id": "paytrail:signature",
      "@type": "xsd:string"
    },
    "TokenizationRequestResponse": "paytrail:TokenizationRequestResponse",
    "card": {
      "@id": "paytrail:card",
      "@type": "@id"
    },
    "PaymentReportRequest": "paytrail:PaymentReportRequest",
    "requestType": {
      "@id": "paytrail:requestType",
      "@type": "xsd:string"
    },
    "callbackUrl": {
      "@id": "paytrail:callbackUrl",
      "@type": "@id"
    },
    "paymentStatus": {
      "@id": "paytrail:paymentStatus",
      "@type": "xsd:string"
    },
    "startDate": {
      "@id": "paytrail:startDate",
      "@type": "xsd:string"
    },
    "endDate": {
      "@id": "paytrail:endDate",
      "@type": "xsd:string"
    },
    "limit": {
      "@id": "paytrail:limit",
      "@type": "xsd:integer"
    },
    "reportFields": {
      "@id": "paytrail:reportFields",
      "@container": "@list"
    },
    "submerchant": {
      "@id": "paytrail:submerchant",
      "@type": "xsd:integer"
    },
    "includeItems": {
      "@id": "paytrail:includeItems",
      "@type": "xsd:boolean"
    },
    "PaymentRequestResponse": "paytrail:PaymentRequestResponse",
    "transactionId": {
      "@id": "paytrail:transactionId",
      "@type": "xsd:string"
    },
    "href": {
      "@id": "paytrail:href",
      "@type": "@id"
    },
    "terms": {
      "@id": "paytrail:terms",
      "@type": "xsd:string"
    },
    "providers": {
      "@id": "paytrail:providers",
      "@container": "@list"
    },
    "TokenMITPaymentResponse": "paytrail:TokenMITPaymentResponse",
    "TokenCITPaymentResponse": "paytrail:TokenCITPaymentResponse",
    "threeDSecureUrl": {
      "@id": "paytrail:threeDSecureUrl",
      "@type": "@id"
    },
    "PaymentMethodGroupData": "paytrail:PaymentMethodGroupData",
    "id": {
      "@id": "paytrail:id",
      "@type": "xsd:string"
    },
    "name": {
      "@id": "paytrail:name",
      "@type": "xsd:string"
    },
    "icon": {
      "@id": "paytrail:icon",
      "@type": "@id"
    },
    "svg": {
      "@id": "paytrail:svg",
      "@type": "@id"
    },
    "BasePaymentMethodProvider": "paytrail:BasePaymentMethodProvider",
    "group": {
      "@id": "paytrail:group",
      "@type": "xsd:string"
    },
    "Payment": "paytrail:Payment",
    "status": {
      "@id": "paytrail:status",
      "@type": "xsd:string"
    },
    "createdAt": {
      "@id": "paytrail:createdAt",
      "@type": "xsd:string"
    },
    "provider": {
      "@id": "paytrail:provider",
      "@type": "xsd:string"
    },
    "filingCode": {
      "@id": "paytrail:filingCode",
      "@type": "xsd:string"
    },
    "paidAt": {
      "@id": "paytrail:paidAt",
      "@type": "xsd:string"
    },
    "cardInfo": {
      "@id": "paytrail:cardInfo",
      "@type": "@id"
    },
    "RefundResponse": "paytrail:RefundResponse",
    "ActivateInvoiceResponse": "paytrail:ActivateInvoiceResponse",
    "message": {
      "@id": "paytrail:message",
      "@type": "xsd:string"
    },
    "SettlementIdItem": "paytrail:SettlementIdItem",
    "settledAt": {
      "@id": "paytrail:settledAt",
      "@type": "xsd:string"
    },
    "PaymentReportBySettlementIdRequest": "paytrail:PaymentReportBySettlementIdRequest",
    "PaymentReportRequestResponse": "paytrail:PaymentReportRequestResponse",
    "requestId": {
      "@id": "paytrail:requestId",
      "@type": "xsd:string"
    },
    "PaymentReportCallbackJSON": "paytrail:PaymentReportCallbackJSON",
    "entryDate": {
      "@id": "paytrail:entryDate",
      "@type": "xsd:string"
    },
    "created": {
      "@id": "paytrail:created",
      "@type": "xsd:string"
    },
    "firstname": {
      "@id": "paytrail:firstname",
      "@type": "xsd:string"
    },
    "familyname": {
      "@id": "paytrail:familyname",
      "@type": "xsd:string"
    },
    "paymentMethod": {
      "@id": "paytrail:paymentMethod",
      "@type": "xsd:string"
    },
    "address": {
      "@id": "paytrail:address",
      "@type": "xsd:string"
    },
    "postcode": {
      "@id": "paytrail:postcode",
      "@type": "xsd:string"
    },
    "postoffice": {
      "@id": "paytrail:postoffice",
      "@type": "xsd:string"
    },
    "checkoutReference": {
      "@id": "paytrail:checkoutReference",
      "@type": "xsd:string"
    },
    "archiveNumber": {
      "@id": "paytrail:archiveNumber",
      "@type": "xsd:string"
    },
    "payerName": {
      "@id": "paytrail:payerName",
      "@type": "xsd:string"
    },
    "settlementId": {
      "@id": "paytrail:settlementId",
      "@type": "xsd:decimal"
    },
    "settlementDate": {
      "@id": "paytrail:settlementDate",
      "@type": "xsd:string"
    },
    "originalTradeReference": {
      "@id": "paytrail:originalTradeReference",
      "@type": "xsd:string"
    },
    "vatAmount": {
      "@id": "paytrail:vatAmount",
      "@type": "xsd:decimal"
    },
    "paymentMethodFee": {
      "@id": "paytrail:paymentMethodFee",
      "@type": "xsd:decimal"
    },
    "paymentMethodCommission": {
      "@id": "paytrail:paymentMethodCommission",
      "@type": "xsd:decimal"
    },
    "shopInShopCommission": {
      "@id": "paytrail:shopInShopCommission",
      "@type": "xsd:decimal"
    },
    "shopInShopCommissionVatPercentage": {
      "@id": "paytrail:shopInShopCommissionVatPercentage",
      "@type": "xsd:decimal"
    },
    "shopInShopCommissionVatAmount": {
      "@id": "paytrail:shopInShopCommissionVatAmount",
      "@type": "xsd:decimal"
    },
    "refunditems": {
      "@id": "paytrail:refunditems",
      "@type": "xsd:string"
    },
    "settlementReference": {
      "@id": "paytrail:settlementReference",
      "@type": "xsd:string"
    },
    "settlementDueDate": {
      "@id": "paytrail:settlementDueDate",
      "@type": "xsd:string"
    },
    "tradeitems": {
      "@id": "paytrail:tradeitems",
      "@container": "@list"
    },
    "companyName": {
      "@id": "paytrail:companyName",
      "@type": "xsd:string"
    },
    "GroupedPaymentProvidersResponse": "paytrail:GroupedPaymentProvidersResponse",
    "Error": "paytrail:Error",
    "meta": {
      "@id": "paytrail:meta",
      "@container": "@list"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "Paytrail API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects Paytrail's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-11-16) from openapi/paytrail-openapi.yml.",
  "dcterms:created": "2026-11-16",
  "dcterms:source": [
    "openapi/paytrail-openapi.yml"
  ]
}