Swish · JSON-LD Context
Swish Payments Context
JSON-LD context defining the semantic vocabulary for Swish Payments from Swish.
41 Classes
64 Properties
4 Namespaces
Namespaces
schema:
https://schema.org/
xsd:
http://www.w3.org/2001/XMLSchema#
dcterms:
http://purl.org/dc/terms/
swish:
https://swish.nu/schema#
Classes
PostApiV1CommerceResponse
PostApiV1PaymentrequestsRequest
GetApiV1PaymentrequestsIdResponse
PatchApiV1PaymentrequestsIdRequest
PatchApiV1PaymentrequestsIdResponse
PostApiV1PayoutsRequest
PostApiV1PayoutsResponse
PostApiV1RefundsRequest
GetApiV1RefundsIdResponse
PutApiV2PaymentrequestsInstructionuuidRequest
PutApiV2PaymentrequestsInstructionuuidResponse
PutApiV2RefundsInstructionuuidRequest
PostQrgSwishApiV1CommerceRequest
PutRecurringMerchantV1Consents8F22488Abd064Ad790Ff9B6D2A2450
PostRecurringMerchantV1Consents8F22488Abd064Ad790Ff9B6D2A245
PostRecurringMerchantV1Consents8F22488Abd064Ad790Ff9B6D2A2452
PostRecurringMerchantV1PaymentsSinglePaymentidRequest
PostRecurringMerchantV1PaymentsSinglePaymentidResponse
GetRecurringMerchantV1PaymentsSinglePaymentidStatusResponse
PostRecurringMerchantV1RecurringAliasRequest
PostRecurringMerchantV1RecurringAliasResponse
PostRecurringMerchantV1RecurringTinRequest
PostRecurringMerchantV1RecurringTinResponse
GetSwishResponse
PostSwishCpcapiApiV1PaymentrequestsRequest
GetSwishCpcapiApiV1PaymentrequestsInstructionuuidResponse
PatchSwishCpcapiApiV1PaymentrequestsInstructionuuidRequest
PatchSwishCpcapiApiV1PaymentrequestsInstructionuuidResponse
PostSwishCpcapiApiV1PayoutsRequest
PostSwishCpcapiApiV1PayoutsResponse
PostSwishCpcapiApiV1PayoutsRequest2
PostSwishCpcapiApiV1PayoutsResponse2
GetSwishCpcapiApiV1PayoutsInstructionuuidResponse
PostSwishCpcapiApiV1RefundsRequest
GetSwishCpcapiApiV1RefundsInstructionuuidResponse
PutSwishCpcapiApiV2PaymentrequestsInstructionuuidRequest
PutSwishCpcapiApiV2PaymentrequestsInstructionuuidResponse
PutSwishCpcapiApiV2RefundsRequest
PutSwishCpcapiApiV2RefundsInstructionuuidRequest
PostV1PrefilledRequest
PostV1PrefilledResponse
Properties
| Property | Type | Container |
|---|---|---|
| body | list | |
| payeeAlias | string | |
| amount | string | |
| currency | string | |
| callbackUrl | string | |
| payerAlias | string | |
| payeePaymentReference | string | |
| payerSSN | string | |
| ageLimit | string | |
| message | string | |
| op | string | |
| path | string | |
| value | string | |
| payload | ||
| payload.payoutInstructionUUID | string | |
| payload.payerPaymentReference | string | |
| payload.signingCertificateSerialNumber | string | |
| payload.payerAlias | string | |
| payload.payeeAlias | string | |
| payload.payeeSSN | string | |
| payload.amount | decimal | |
| payload.currency | string | |
| payload.payoutType | string | |
| payload.instructionDate | string | |
| payload.message | string | |
| signature | string | |
| callbackIdentifier | string | |
| Location | string | |
| originalPaymentReference | string | |
| payerPaymentReference | string | |
| id | string | |
| paymentReference | string | |
| status | string | |
| dateCreated | string | |
| datePaid | string | |
| errorMessage | string | |
| additionalInformation | string | |
| errorCode | string | |
| format | string | |
| size | integer | |
| token | string | |
| payer | ||
| amount.value | string | |
| amount.currency | string | |
| consentId | string | |
| code | string | |
| traceId | string | |
| violations | list | |
| statusAt | string | |
| alias | string | |
| recurringIsOffered | boolean | |
| tin | string | |
| payoutInstructionUUID | string | |
| payeeSSN | string | |
| payoutType | string | |
| signingCertificateSerialNumber | string | |
| payee | ||
| payee.value | string | |
| payee.editable | boolean | |
| amount.editable | boolean | |
| message.value | string | |
| message.editable | boolean | |
| border | decimal | |
| transparent | boolean |
JSON-LD Document
{
"@context": {
"@vocab": "https://swish.nu/schema#",
"schema": "https://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dcterms": "http://purl.org/dc/terms/",
"swish": "https://swish.nu/schema#",
"PostApiV1CommerceResponse": "swish:PostApiV1CommerceResponse",
"body": {
"@id": "swish:body",
"@container": "@list"
},
"PostApiV1PaymentrequestsRequest": "swish:PostApiV1PaymentrequestsRequest",
"payeeAlias": {
"@id": "swish:payeeAlias",
"@type": "xsd:string"
},
"amount": {
"@id": "swish:amount",
"@type": "xsd:string"
},
"currency": {
"@id": "swish:currency",
"@type": "xsd:string"
},
"callbackUrl": {
"@id": "swish:callbackUrl",
"@type": "xsd:string"
},
"payerAlias": {
"@id": "swish:payerAlias",
"@type": "xsd:string"
},
"payeePaymentReference": {
"@id": "swish:payeePaymentReference",
"@type": "xsd:string"
},
"payerSSN": {
"@id": "swish:payerSSN",
"@type": "xsd:string"
},
"ageLimit": {
"@id": "swish:ageLimit",
"@type": "xsd:string"
},
"message": {
"@id": "swish:message",
"@type": "xsd:string"
},
"GetApiV1PaymentrequestsIdResponse": "swish:GetApiV1PaymentrequestsIdResponse",
"PatchApiV1PaymentrequestsIdRequest": "swish:PatchApiV1PaymentrequestsIdRequest",
"op": {
"@id": "swish:op",
"@type": "xsd:string"
},
"path": {
"@id": "swish:path",
"@type": "xsd:string"
},
"value": {
"@id": "swish:value",
"@type": "xsd:string"
},
"PatchApiV1PaymentrequestsIdResponse": "swish:PatchApiV1PaymentrequestsIdResponse",
"PostApiV1PayoutsRequest": "swish:PostApiV1PayoutsRequest",
"payload": {
"@id": "swish:payload"
},
"payload.payoutInstructionUUID": {
"@id": "swish:payload.payoutInstructionUUID",
"@type": "xsd:string"
},
"payload.payerPaymentReference": {
"@id": "swish:payload.payerPaymentReference",
"@type": "xsd:string"
},
"payload.signingCertificateSerialNumber": {
"@id": "swish:payload.signingCertificateSerialNumber",
"@type": "xsd:string"
},
"payload.payerAlias": {
"@id": "swish:payload.payerAlias",
"@type": "xsd:string"
},
"payload.payeeAlias": {
"@id": "swish:payload.payeeAlias",
"@type": "xsd:string"
},
"payload.payeeSSN": {
"@id": "swish:payload.payeeSSN",
"@type": "xsd:string"
},
"payload.amount": {
"@id": "swish:payload.amount",
"@type": "xsd:decimal"
},
"payload.currency": {
"@id": "swish:payload.currency",
"@type": "xsd:string"
},
"payload.payoutType": {
"@id": "swish:payload.payoutType",
"@type": "xsd:string"
},
"payload.instructionDate": {
"@id": "swish:payload.instructionDate",
"@type": "xsd:string"
},
"payload.message": {
"@id": "swish:payload.message",
"@type": "xsd:string"
},
"signature": {
"@id": "swish:signature",
"@type": "xsd:string"
},
"callbackIdentifier": {
"@id": "swish:callbackIdentifier",
"@type": "xsd:string"
},
"PostApiV1PayoutsResponse": "swish:PostApiV1PayoutsResponse",
"Location": {
"@id": "swish:Location",
"@type": "xsd:string"
},
"PostApiV1RefundsRequest": "swish:PostApiV1RefundsRequest",
"originalPaymentReference": {
"@id": "swish:originalPaymentReference",
"@type": "xsd:string"
},
"payerPaymentReference": {
"@id": "swish:payerPaymentReference",
"@type": "xsd:string"
},
"GetApiV1RefundsIdResponse": "swish:GetApiV1RefundsIdResponse",
"id": {
"@id": "swish:id",
"@type": "xsd:string"
},
"paymentReference": {
"@id": "swish:paymentReference",
"@type": "xsd:string"
},
"status": {
"@id": "swish:status",
"@type": "xsd:string"
},
"dateCreated": {
"@id": "swish:dateCreated",
"@type": "xsd:string"
},
"datePaid": {
"@id": "swish:datePaid",
"@type": "xsd:string"
},
"errorMessage": {
"@id": "swish:errorMessage",
"@type": "xsd:string"
},
"additionalInformation": {
"@id": "swish:additionalInformation",
"@type": "xsd:string"
},
"errorCode": {
"@id": "swish:errorCode",
"@type": "xsd:string"
},
"PutApiV2PaymentrequestsInstructionuuidRequest": "swish:PutApiV2PaymentrequestsInstructionuuidRequest",
"PutApiV2PaymentrequestsInstructionuuidResponse": "swish:PutApiV2PaymentrequestsInstructionuuidResponse",
"PutApiV2RefundsInstructionuuidRequest": "swish:PutApiV2RefundsInstructionuuidRequest",
"PostQrgSwishApiV1CommerceRequest": "swish:PostQrgSwishApiV1CommerceRequest",
"format": {
"@id": "swish:format",
"@type": "xsd:string"
},
"size": {
"@id": "swish:size",
"@type": "xsd:integer"
},
"token": {
"@id": "swish:token",
"@type": "xsd:string"
},
"PutRecurringMerchantV1Consents8F22488Abd064Ad790Ff9B6D2A2450": "swish:PutRecurringMerchantV1Consents8F22488Abd064Ad790Ff9B6D2A2450",
"PostRecurringMerchantV1Consents8F22488Abd064Ad790Ff9B6D2A245": "swish:PostRecurringMerchantV1Consents8F22488Abd064Ad790Ff9B6D2A245",
"payer": {
"@id": "swish:payer"
},
"PostRecurringMerchantV1Consents8F22488Abd064Ad790Ff9B6D2A2452": "swish:PostRecurringMerchantV1Consents8F22488Abd064Ad790Ff9B6D2A2452",
"PostRecurringMerchantV1PaymentsSinglePaymentidRequest": "swish:PostRecurringMerchantV1PaymentsSinglePaymentidRequest",
"amount.value": {
"@id": "swish:amount.value",
"@type": "xsd:string"
},
"amount.currency": {
"@id": "swish:amount.currency",
"@type": "xsd:string"
},
"consentId": {
"@id": "swish:consentId",
"@type": "xsd:string"
},
"PostRecurringMerchantV1PaymentsSinglePaymentidResponse": "swish:PostRecurringMerchantV1PaymentsSinglePaymentidResponse",
"code": {
"@id": "swish:code",
"@type": "xsd:string"
},
"traceId": {
"@id": "swish:traceId",
"@type": "xsd:string"
},
"violations": {
"@id": "swish:violations",
"@container": "@list"
},
"GetRecurringMerchantV1PaymentsSinglePaymentidStatusResponse": "swish:GetRecurringMerchantV1PaymentsSinglePaymentidStatusResponse",
"statusAt": {
"@id": "swish:statusAt",
"@type": "xsd:string"
},
"PostRecurringMerchantV1RecurringAliasRequest": "swish:PostRecurringMerchantV1RecurringAliasRequest",
"alias": {
"@id": "swish:alias",
"@type": "xsd:string"
},
"PostRecurringMerchantV1RecurringAliasResponse": "swish:PostRecurringMerchantV1RecurringAliasResponse",
"recurringIsOffered": {
"@id": "swish:recurringIsOffered",
"@type": "xsd:boolean"
},
"PostRecurringMerchantV1RecurringTinRequest": "swish:PostRecurringMerchantV1RecurringTinRequest",
"tin": {
"@id": "swish:tin",
"@type": "xsd:string"
},
"PostRecurringMerchantV1RecurringTinResponse": "swish:PostRecurringMerchantV1RecurringTinResponse",
"GetSwishResponse": "swish:GetSwishResponse",
"payoutInstructionUUID": {
"@id": "swish:payoutInstructionUUID",
"@type": "xsd:string"
},
"payeeSSN": {
"@id": "swish:payeeSSN",
"@type": "xsd:string"
},
"payoutType": {
"@id": "swish:payoutType",
"@type": "xsd:string"
},
"PostSwishCpcapiApiV1PaymentrequestsRequest": "swish:PostSwishCpcapiApiV1PaymentrequestsRequest",
"GetSwishCpcapiApiV1PaymentrequestsInstructionuuidResponse": "swish:GetSwishCpcapiApiV1PaymentrequestsInstructionuuidResponse",
"PatchSwishCpcapiApiV1PaymentrequestsInstructionuuidRequest": "swish:PatchSwishCpcapiApiV1PaymentrequestsInstructionuuidRequest",
"PatchSwishCpcapiApiV1PaymentrequestsInstructionuuidResponse": "swish:PatchSwishCpcapiApiV1PaymentrequestsInstructionuuidResponse",
"PostSwishCpcapiApiV1PayoutsRequest": "swish:PostSwishCpcapiApiV1PayoutsRequest",
"PostSwishCpcapiApiV1PayoutsResponse": "swish:PostSwishCpcapiApiV1PayoutsResponse",
"PostSwishCpcapiApiV1PayoutsRequest2": "swish:PostSwishCpcapiApiV1PayoutsRequest2",
"signingCertificateSerialNumber": {
"@id": "swish:signingCertificateSerialNumber",
"@type": "xsd:string"
},
"PostSwishCpcapiApiV1PayoutsResponse2": "swish:PostSwishCpcapiApiV1PayoutsResponse2",
"GetSwishCpcapiApiV1PayoutsInstructionuuidResponse": "swish:GetSwishCpcapiApiV1PayoutsInstructionuuidResponse",
"PostSwishCpcapiApiV1RefundsRequest": "swish:PostSwishCpcapiApiV1RefundsRequest",
"GetSwishCpcapiApiV1RefundsInstructionuuidResponse": "swish:GetSwishCpcapiApiV1RefundsInstructionuuidResponse",
"PutSwishCpcapiApiV2PaymentrequestsInstructionuuidRequest": "swish:PutSwishCpcapiApiV2PaymentrequestsInstructionuuidRequest",
"PutSwishCpcapiApiV2PaymentrequestsInstructionuuidResponse": "swish:PutSwishCpcapiApiV2PaymentrequestsInstructionuuidResponse",
"PutSwishCpcapiApiV2RefundsRequest": "swish:PutSwishCpcapiApiV2RefundsRequest",
"PutSwishCpcapiApiV2RefundsInstructionuuidRequest": "swish:PutSwishCpcapiApiV2RefundsInstructionuuidRequest",
"PostV1PrefilledRequest": "swish:PostV1PrefilledRequest",
"payee": {
"@id": "swish:payee"
},
"payee.value": {
"@id": "swish:payee.value",
"@type": "xsd:string"
},
"payee.editable": {
"@id": "swish:payee.editable",
"@type": "xsd:boolean"
},
"amount.editable": {
"@id": "swish:amount.editable",
"@type": "xsd:boolean"
},
"message.value": {
"@id": "swish:message.value",
"@type": "xsd:string"
},
"message.editable": {
"@id": "swish:message.editable",
"@type": "xsd:boolean"
},
"border": {
"@id": "swish:border",
"@type": "xsd:decimal"
},
"transparent": {
"@id": "swish:transparent",
"@type": "xsd:boolean"
},
"PostV1PrefilledResponse": "swish:PostV1PrefilledResponse"
},
"@type": "schema:Dataset",
"schema:name": "Swish API JSON-LD context",
"schema:description": "A JSON-LD @context for the objects Swish'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/_ae-authored/swish-payments-openapi-generated.yml.",
"dcterms:created": "2026-11-16",
"dcterms:source": [
"openapi/_ae-authored/swish-payments-openapi-generated.yml"
]
}