You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: open-qr-standard.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -33,8 +33,8 @@ The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "S
33
33
|Code Provider|The system that represents the initiating side of the user journey. This is the system that creates and publishes the QR Code. For a point-of-sale payment this would be the merchant checkout system.|
34
34
|Code Consumer|The system that represents the acceptance, or client, side of the user journey. This is the system that scans and processes the QR Code. For a point-of-sale payment this would be the customer’s mobile wallet application.|
35
35
|QR Profile|A profile for defining the format of the various actions and meta data that can be transferred using this standard for a specific type of use case or user journey.|
36
-
|Offer|The information about the profiles and capabilities associated with a specific QR Code.|
37
-
|Session|An established connection between a QR Provider and a QR Consumer.|
36
+
|Offer|Details about an offer that may be claimed by a QR Consumer. Includes information about the profiles and capabilities associated with a specific QR Code.|
37
+
|Session|An established connection (a claim on an Offer) between a QR Provider and a QR Consumer.|
38
38
39
39
## Generic Sequence Diagram
40
40
@@ -120,11 +120,11 @@ The Code Provider will publish a QR Code that MUST conform with the requirements
120
120
121
121
This QR Code MUST contain a URL in the following format:
122
122
123
-
`https://<provider base>/<QR ID>`
123
+
`https://<provider base>/<Offer ID>`
124
124
125
125
The Code Provider MUST provide a valid web page at the location specified by `<provider base>` with instructions for a user how the QR Code can be successfully used.
126
126
127
-
The `<QR ID>` is used to obtain access to a data entity held by the Code Provider referred to in this standard as an `Offer`. QR IDs MAY be single or multiple use depending on the use case being supported.
127
+
The `<Offer ID>` is used to obtain access to a data entity held by the Code Provider referred to in this standard as an `Offer`. Offer IDs MAY be single or multiple use depending on the use case being supported.
128
128
129
129
The Code Provider SHOULD superimpose a logo on the QR code to help Customers recognise trusted brands. This logo SHOULD be tested to ensure the logo does not introduce too much error to the QR Code and the QR Code remains readable. In situations where the effect of scanning a QR code is unclear the Code Provider SHOULD provide guidance as to how the QR Code can be successfully used.
130
130
@@ -142,9 +142,9 @@ Sessions MUST be single use.
142
142
143
143
## Offer and Session Endpoints
144
144
145
-
The Code Provider MUST support an Offer Info endpoint that the Code Consumer can call to obtain information about the Offer using the QR ID obtained from the QR Code. This endpoint SHOULD be idempotent and should not have side effects on the underlying Offer.
145
+
The Code Provider MUST support an Offer Info endpoint that the Code Consumer can call to obtain information about the Offer using the Offer ID obtained from the QR Code. This endpoint SHOULD be idempotent and should not have side effects on the underlying Offer.
146
146
147
-
The Code Provider MUST support an Offer Claim endpoint that the Code Consumer can use to claim a Offer for use using a QR ID and thus establishing a Session. This endpoint MUST provide a unique Session ID that can be used for subsequent interactions.
147
+
The Code Provider MUST support an Offer Claim endpoint that the Code Consumer can use to claim a Offer for use using a Offer ID and thus establishing a Session. This endpoint MUST provide a unique Session ID that can be used for subsequent interactions.
148
148
149
149
The Code Provider MUST support a Session Status endpoint to identify the status of a Session using a Session ID.
"description": "The expiry time of the QR code. After this time the qr-id cannot be used to claim a session "
110
+
"description": "The expiry time of the QR code. After this time the offer-id cannot be used to claim a session "
111
111
},
112
112
"profiles": {
113
113
"type": "object",
114
-
"description": "An object with details for each of the qr profiles supported by this qr-id. Each property of this object uses the urn of the profile and contains properties defined by the qr profile that the urn denotes",
114
+
"description": "An object with details for each of the qr profiles supported by this offer-id. Each property of this object uses the urn of the profile and contains properties defined by the qr profile that the urn denotes",
An API used to claim an offer and establish a session under a specific QR Profile using a nominated QR ID.
136
+
An API used to claim an offer and establish a session under a specific QR Profile using a nominated Offer ID.
137
137
138
138
#### HTTP Method
139
139
@@ -143,7 +143,7 @@ POST
143
143
144
144
| Parameter | Optionality | Description |
145
145
|-----------|-------------|-------------|
146
-
|qr-id|REQUIRED|The QR ID that an offer is to be claimed for.|
146
+
|offer-id|REQUIRED|The Offer ID that an offer is to be claimed for.|
147
147
148
148
#### Request
149
149
@@ -182,7 +182,7 @@ Request schema [JSONSchema]:
182
182
},
183
183
"profiles": {
184
184
"type": "object",
185
-
"description": "An object with details for each of the qr profiles supported by this qr-id. Each property of this object uses the urn of the profile and contains properties defined by the qr profile that the urn denotes",
185
+
"description": "An object with details for each of the qr profiles supported by this offer-id. Each property of this object uses the urn of the profile and contains properties defined by the qr profile that the urn denotes",
"description": "An object with details for each of the qr profiles supported by this qr-id. Each property of this object uses the urn of the profile and contains properties defined by the qr profile that the urn denotes",
251
+
"description": "An object with details for each of the qr profiles supported by this offer-id. Each property of this object uses the urn of the profile and contains properties defined by the qr profile that the urn denotes",
252
252
"additionalProperties": false,
253
253
"patternProperties": {
254
254
"^urn:.*$": {
@@ -286,7 +286,7 @@ GET
286
286
287
287
HTTP Status: 401, Validation of the provided authorisation JWT failed
288
288
289
-
HTTP Status: 422, The provided QR ID is not known
289
+
HTTP Status: 422, The provided Offer ID is not known
"description": "An object with details for each of the qr profiles supported by this qr-id. Each property of this object uses the urn of the profile and contains properties defined by the qr profile that the urn denotes",
329
+
"description": "An object with details for each of the qr profiles supported by this offer-id. Each property of this object uses the urn of the profile and contains properties defined by the qr profile that the urn denotes",
0 commit comments