square.rb 5.2.0.20200422 → 6.1.0.20200722
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +315 -285
- data/lib/square.rb +3 -0
- data/lib/square/api/base_api.rb +2 -2
- data/lib/square/api/catalog_api.rb +76 -57
- data/lib/square/api/customer_groups_api.rb +1 -1
- data/lib/square/api/customer_segments_api.rb +2 -7
- data/lib/square/api/customers_api.rb +18 -5
- data/lib/square/api/disputes_api.rb +1 -11
- data/lib/square/api/inventory_api.rb +2 -2
- data/lib/square/api/invoices_api.rb +358 -0
- data/lib/square/api/locations_api.rb +7 -2
- data/lib/square/api/loyalty_api.rb +543 -0
- data/lib/square/api/merchants_api.rb +2 -1
- data/lib/square/api/orders_api.rb +32 -0
- data/lib/square/api/payments_api.rb +3 -9
- data/lib/square/api/refunds_api.rb +3 -2
- data/lib/square/api/team_api.rb +326 -0
- data/lib/square/api/transactions_api.rb +0 -71
- data/lib/square/api/v1_employees_api.rb +3 -76
- data/lib/square/api/v1_items_api.rb +0 -360
- data/lib/square/api/v1_locations_api.rb +0 -18
- data/lib/square/api/v1_transactions_api.rb +1 -19
- data/lib/square/client.rb +23 -4
- data/lib/square/configuration.rb +12 -4
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 274c6809492acf86fd49adee12a1ccc2045d394dfff9612914de1bc010eeb1cb
|
4
|
+
data.tar.gz: 99e6be9ca77af585b64213a3e607ac36f935182bbf9dc8529546548f37d2023c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c13b32a0109ebd31d40394547775814ddb2aed9f50141b1cd36e3339d2c5e9b43d6f9cce2e0c3cc7775ad69034d3f0908c78c873d930f7d6cd7bfe4a20888e6c
|
7
|
+
data.tar.gz: eb897df878e5f4d861405c2580fb581ad28ce11e3d6ae467b193bc68822d88161238a111022c94d93d67c052c9321e90874550838723840de664313f02121003
|
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -1,285 +1,315 @@
|
|
1
|
-
![Square logo]
|
2
|
-
|
3
|
-
# Square Ruby SDK
|
4
|
-
|
5
|
-
[![Travis status](https://travis-ci.org/square/square-ruby-sdk.svg?branch=master)](https://travis-ci.org/square/square-ruby-sdk)
|
6
|
-
[![Gem version](https://badge.fury.io/rb/square.rb.svg?new)](https://badge.fury.io/rb/square.rb)
|
7
|
-
[![Apache-2 license](https://img.shields.io/badge/license-Apache2-brightgreen.svg)](https://www.apache.org/licenses/LICENSE-2.0)
|
8
|
-
|
9
|
-
Use this gem to integrate Square payments into your app and grow your business with Square APIs including Catalog, Customers, Employees, Inventory, Labor, Locations, and Orders.
|
10
|
-
|
11
|
-
## Installation
|
12
|
-
|
13
|
-
Install the gem from the command line:
|
14
|
-
|
15
|
-
```ruby
|
16
|
-
gem install square.rb
|
17
|
-
```
|
18
|
-
|
19
|
-
Or add the gem to your Gemfile and `bundle`:
|
20
|
-
|
21
|
-
```ruby
|
22
|
-
gem 'square.rb'
|
23
|
-
```
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
###
|
31
|
-
|
32
|
-
* [
|
33
|
-
* [
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
* [
|
40
|
-
|
41
|
-
|
42
|
-
* [
|
43
|
-
|
44
|
-
|
45
|
-
* [
|
46
|
-
* [
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
* [
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
* [
|
58
|
-
* [
|
59
|
-
* [
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
code
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
)
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
```
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
```
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
```sh
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
[
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
[
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
[
|
282
|
-
[
|
283
|
-
[
|
284
|
-
[
|
285
|
-
[
|
1
|
+
![Square logo]
|
2
|
+
|
3
|
+
# Square Ruby SDK
|
4
|
+
|
5
|
+
[![Travis status](https://travis-ci.org/square/square-ruby-sdk.svg?branch=master)](https://travis-ci.org/square/square-ruby-sdk)
|
6
|
+
[![Gem version](https://badge.fury.io/rb/square.rb.svg?new)](https://badge.fury.io/rb/square.rb)
|
7
|
+
[![Apache-2 license](https://img.shields.io/badge/license-Apache2-brightgreen.svg)](https://www.apache.org/licenses/LICENSE-2.0)
|
8
|
+
|
9
|
+
Use this gem to integrate Square payments into your app and grow your business with Square APIs including Catalog, Customers, Employees, Inventory, Labor, Locations, and Orders.
|
10
|
+
|
11
|
+
## Installation
|
12
|
+
|
13
|
+
Install the gem from the command line:
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
gem install square.rb
|
17
|
+
```
|
18
|
+
|
19
|
+
Or add the gem to your Gemfile and `bundle`:
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
gem 'square.rb'
|
23
|
+
```
|
24
|
+
|
25
|
+
### API Client
|
26
|
+
* [Client]
|
27
|
+
|
28
|
+
## API documentation
|
29
|
+
|
30
|
+
### Payments
|
31
|
+
* [Payments]
|
32
|
+
* [Refunds]
|
33
|
+
* [Disputes]
|
34
|
+
* [Checkout]
|
35
|
+
* [Apple Pay]
|
36
|
+
* [Terminal]
|
37
|
+
|
38
|
+
### Orders
|
39
|
+
* [Orders]
|
40
|
+
|
41
|
+
### Invoices
|
42
|
+
* [Invoices]
|
43
|
+
|
44
|
+
### Items
|
45
|
+
* [Catalog]
|
46
|
+
* [Inventory]
|
47
|
+
|
48
|
+
### Customers
|
49
|
+
* [Customers]
|
50
|
+
* [Customer Groups]
|
51
|
+
* [Customer Segments]
|
52
|
+
|
53
|
+
### Loyalty
|
54
|
+
* [Loyalty]
|
55
|
+
|
56
|
+
### Business
|
57
|
+
* [Merchants]
|
58
|
+
* [Locations]
|
59
|
+
* [Devices]
|
60
|
+
|
61
|
+
### Team
|
62
|
+
* [Team]
|
63
|
+
* [Employees]
|
64
|
+
* [Labor]
|
65
|
+
* [Cash Drawers]
|
66
|
+
|
67
|
+
### Financials
|
68
|
+
* [Bank Accounts]
|
69
|
+
|
70
|
+
### Authorization APIs
|
71
|
+
* [Mobile Authorization]
|
72
|
+
* [O Auth]
|
73
|
+
|
74
|
+
### Deprecated APIs
|
75
|
+
* [V1 Locations]
|
76
|
+
* [V1 Employees]
|
77
|
+
* [V1 Transactions]
|
78
|
+
* [V1 Items]
|
79
|
+
* [Transactions]
|
80
|
+
* [Reporting]
|
81
|
+
|
82
|
+
## Usage
|
83
|
+
|
84
|
+
First time using Square? Here’s how to get started:
|
85
|
+
|
86
|
+
1. **Create a Square account.** If you don’t have one already, [sign up for a developer account].
|
87
|
+
1. **Create an application.** Go to your [Developer Dashboard] and create your first application. All you need to do is give it a name. When you’re doing this for your production application, enter the name as you would want a customer to see it.
|
88
|
+
1. **Make your first API call.** Almost all Square API calls require a location ID. You’ll make your first call to #list_locations, which happens to be one of the API calls that don’t require a location ID. For more information about locations, see the [Locations] API documentation.
|
89
|
+
|
90
|
+
Now let’s call your first Square API. Open your favorite text editor, create a new file called `locations.rb`, and copy the following code into that file:
|
91
|
+
|
92
|
+
```ruby
|
93
|
+
require 'square'
|
94
|
+
|
95
|
+
# Create an instance of the API Client and initialize it with the credentials
|
96
|
+
# for the Square account whose assets you want to manage.
|
97
|
+
|
98
|
+
client = Square::Client.new(
|
99
|
+
access_token: 'YOUR SANDBOX ACCESS TOKEN HERE',
|
100
|
+
environment: 'sandbox'
|
101
|
+
)
|
102
|
+
|
103
|
+
# Call list_locations method to get all locations in this Square account
|
104
|
+
result = client.locations.list_locations
|
105
|
+
|
106
|
+
# Call the #success? method to see if the call succeeded
|
107
|
+
if result.success?
|
108
|
+
# The #data Struct contains a list of locations
|
109
|
+
locations = result.data.locations
|
110
|
+
|
111
|
+
# Iterate over the list
|
112
|
+
locations.each do |location|
|
113
|
+
# Each location is represented as a Hash
|
114
|
+
location.each do |key, value|
|
115
|
+
puts "#{key}: #{value}"
|
116
|
+
end
|
117
|
+
end
|
118
|
+
else
|
119
|
+
# Handle the case that the result is an error.
|
120
|
+
warn 'Error calling LocationsApi.listlocations ...'
|
121
|
+
|
122
|
+
# The #errors method returns an Array of error Hashes
|
123
|
+
result.errors.each do |key, value|
|
124
|
+
warn "#{key}: #{value}"
|
125
|
+
end
|
126
|
+
end
|
127
|
+
```
|
128
|
+
|
129
|
+
Next, get an access token and reference it in your code. Go back to your application in the Developer Dashboard, in the Sandbox section click Show in the Sandbox Access Token box, copy that access token, and replace `'YOUR SANDBOX ACCESS TOKEN HERE'` with that token.
|
130
|
+
|
131
|
+
**Important** When you eventually switch from trying things out on sandbox to actually working with your real production resources, you should not embed the access token in your code. Make sure you store and access your production access tokens securely.
|
132
|
+
|
133
|
+
Now save `locations.rb` and run it:
|
134
|
+
|
135
|
+
```sh
|
136
|
+
ruby locations.rb
|
137
|
+
```
|
138
|
+
|
139
|
+
If your call is successful, you’ll get a response that looks like this:
|
140
|
+
|
141
|
+
```
|
142
|
+
address : {'address_line_1': '1455 Market Street', 'administrative_district_level_1': 'CA', 'country': 'US', 'locality': 'San Francisco', 'postal_code': '94103'}
|
143
|
+
# ...
|
144
|
+
```
|
145
|
+
|
146
|
+
Yay! You successfully made your first call. If you didn’t, you would see an error message that looks something like this:
|
147
|
+
|
148
|
+
```
|
149
|
+
Error calling LocationsApi.listlocations
|
150
|
+
category : AUTHENTICATION_ERROR
|
151
|
+
code : UNAUTHORIZED
|
152
|
+
detail : This request could not be authorized.
|
153
|
+
```
|
154
|
+
|
155
|
+
This error was returned when an invalid token was used to call the API.
|
156
|
+
|
157
|
+
After you’ve tried out the Square APIs and tested your application using sandbox, you will want to switch to your production credentials so that you can manage real Square resources. Don't forget to switch your access token from sandbox to production for real data.
|
158
|
+
|
159
|
+
## SDK patterns
|
160
|
+
If you know a few patterns, you’ll be able to call any API in the SDK. Here are some important ones:
|
161
|
+
|
162
|
+
### Get an access token
|
163
|
+
|
164
|
+
To use the Square API to manage the resources (such as payments, orders, customers, etc.) of a Square account, you need to create an application (or use an existing one) in the Developer Dashboard and get an access token.
|
165
|
+
|
166
|
+
When you call a Square API, you call it using an access key. An access key has specific permissions to resources in a specific Square account that can be accessed by a specific application in a specific developer account.
|
167
|
+
Use an access token that is appropriate for your use case. There are two options:
|
168
|
+
|
169
|
+
- To manage the resources for your own Square account, use the Personal Access Token for the application created in your Square account.
|
170
|
+
- To manage resources for other Square accounts, use OAuth to ask owners of the accounts you want to manage so that you can work on their behalf. When you implement OAuth, you ask the Square account holder for permission to manage resources in their account (you can define the specific resources to access) and get an OAuth access token and refresh token for their account.
|
171
|
+
|
172
|
+
**Important** For both use cases, make sure you store and access the tokens securely.
|
173
|
+
|
174
|
+
### Import and Instantiate the Client Class
|
175
|
+
|
176
|
+
To use the Square API, you import the Client class, instantiate a Client object, and initialize it with the appropriate access token. Here’s how:
|
177
|
+
|
178
|
+
- Instantiate a `Square::Client` object with the access token for the Square account whose resources you want to manage. To access sandbox resources, initialize the `Square::Client` with environment set to sandbox:
|
179
|
+
|
180
|
+
```ruby
|
181
|
+
client = Square::Client.new(
|
182
|
+
access_token: 'SANDBOX ACCESS TOKEN HERE',
|
183
|
+
environment: 'sandbox'
|
184
|
+
)
|
185
|
+
```
|
186
|
+
|
187
|
+
- To access production resources, set environment to production:
|
188
|
+
|
189
|
+
```ruby
|
190
|
+
client = Square::Client.new(
|
191
|
+
access_token: 'ACCESS TOKEN HERE',
|
192
|
+
environment: 'production'
|
193
|
+
)
|
194
|
+
```
|
195
|
+
|
196
|
+
### Get an Instance of an API object and call its methods
|
197
|
+
|
198
|
+
Each API is implemented as a class. The Client object instantiates every API class and exposes them as properties so you can easily start using any Square API. You work with an API by calling methods on an instance of an API class. Here’s how:
|
199
|
+
|
200
|
+
- Work with an API by calling the methods on the API object. For example, you would call list_customers to get a list of all customers in the Square account:
|
201
|
+
|
202
|
+
```ruby
|
203
|
+
result = client.customers.list_customers
|
204
|
+
```
|
205
|
+
|
206
|
+
See the SDK documentation for the list of methods for each API class.
|
207
|
+
|
208
|
+
Pass complex parameters (such as create, update, search, etc.) as a Hash. For example, you would pass a Hash containing the values used to create a new customer using create_customer:
|
209
|
+
|
210
|
+
```ruby
|
211
|
+
# Create a unique key for this creation operation so you don't accidentally
|
212
|
+
# create the customer multiple times if you need to retry this operation.
|
213
|
+
require 'securerandom'
|
214
|
+
|
215
|
+
idempotency_key = SecureRandom.uuid
|
216
|
+
|
217
|
+
# To create a customer, you'll need to specify at least a few required fields.
|
218
|
+
request_body = {idempotency_key: idempotency_key, given_name: 'Amelia', family_name: 'Earhardt'}
|
219
|
+
|
220
|
+
# Call create_customer method to create a new customer in this Square account
|
221
|
+
result = client.customers.create_customer(request_body)
|
222
|
+
```
|
223
|
+
|
224
|
+
If your call succeeds, you’ll see a response that looks like this:
|
225
|
+
```
|
226
|
+
{'customer': {'created_at': '2019-06-28T21:23:05.126Z', 'creation_source': 'THIRD_PARTY', 'family_name': 'Earhardt', 'given_name': 'Amelia', 'id': 'CBASEDwl3El91nohQ2FLEk4aBfcgAQ', 'preferences': {'email_unsubscribed': False}, 'updated_at': '2019-06-28T21:23:05.126Z'}}
|
227
|
+
```
|
228
|
+
|
229
|
+
- Use idempotency for create, update, or other calls that you want to avoid calling twice. To make an idempotent API call, you add the idempotency_key with a unique value in the Hash for the API call’s request.
|
230
|
+
- Specify a location ID for APIs such as Transactions, Orders, and Checkout that deal with payments. When a payment or order is created in Square, it is always associated with a location.
|
231
|
+
|
232
|
+
### Handle the response
|
233
|
+
|
234
|
+
API calls return a response object that contains properties that describe both the request (headers and request) and the response (status_code, reason_phrase, text, errors, body, and cursor). The response also has #success? and #error? helper methods so you can easily determine the success or failure of a call:
|
235
|
+
|
236
|
+
```ruby
|
237
|
+
if result.success?
|
238
|
+
p result.data
|
239
|
+
elsif result.error?
|
240
|
+
warn result.errors.inspect
|
241
|
+
end
|
242
|
+
```
|
243
|
+
|
244
|
+
- Read the response payload. The response payload is returned as a Struct from the #data method. For retrieve calls, a Struct containing a single item is returned with a key name that is the name of the object (for example, customer). For list calls, a Struct containing a Array of objects is returned with a key name that is the plural of the object name (for example, customers).
|
245
|
+
- Make sure you get all items returned in a list call by checking the cursor value returned in the API response. When you call a list API the first time, set the cursor to an empty String or omit it from the API request. If the API response contains a cursor with a value, you call the API again to get the next page of items and continue to call that API again until the cursor is an empty String.
|
246
|
+
|
247
|
+
## Tests
|
248
|
+
|
249
|
+
First, clone the gem locally and `cd` into the directory.
|
250
|
+
|
251
|
+
```sh
|
252
|
+
git clone https://github.com/square/square-ruby-sdk.git
|
253
|
+
cd square-ruby-sdk
|
254
|
+
```
|
255
|
+
|
256
|
+
Next, make sure Bundler is installed and install the development dependencies.
|
257
|
+
|
258
|
+
```sh
|
259
|
+
gem install bundler
|
260
|
+
bundle
|
261
|
+
```
|
262
|
+
|
263
|
+
Before running the tests, find a sandbox token in your [Developer Dashboard] and set a `SQUARE_SANDBOX_TOKEN` environment variable.
|
264
|
+
|
265
|
+
```sh
|
266
|
+
export SQUARE_SANDBOX_TOKEN="YOUR SANDBOX TOKEN HERE"
|
267
|
+
```
|
268
|
+
|
269
|
+
And run the tests.
|
270
|
+
|
271
|
+
```sh
|
272
|
+
rake
|
273
|
+
```
|
274
|
+
|
275
|
+
## Learn more
|
276
|
+
|
277
|
+
The Square Platform is built on the [Square API]. Square has a number of other SDKs that enable you to securely handle credit card information on both mobile and web so that you can process payments via the Square API.
|
278
|
+
|
279
|
+
You can also use the Square API to create applications or services that work with payments, orders, inventory, etc. that have been created and managed in Square’s in-person hardware products (Square Point of Sale and Square Register).
|
280
|
+
|
281
|
+
[Square Logo]: https://docs.connect.squareup.com/images/github/github-square-logo.svg
|
282
|
+
[Developer Dashboard]: https://developer.squareup.com/apps
|
283
|
+
[Square API]: https://squareup.com/developers
|
284
|
+
[sign up for a developer account]: https://squareup.com/signup?v=developers
|
285
|
+
[Client]: doc/client.md
|
286
|
+
[Devices]: doc/devices.md
|
287
|
+
[Disputes]: doc/disputes.md
|
288
|
+
[Terminal]: doc/terminal.md
|
289
|
+
[Team]: doc/team.md
|
290
|
+
[Cash Drawers]: doc/cash-drawers.md
|
291
|
+
[Customer Groups]: doc/customer-groups.md
|
292
|
+
[Customer Segments]: doc/customer-segments.md
|
293
|
+
[Bank Accounts]: doc/bank-accounts
|
294
|
+
[Payments]: doc/payments.md
|
295
|
+
[Checkout]: doc/checkout.md
|
296
|
+
[Catalog]: doc/catalog.md
|
297
|
+
[Customers]: doc/customers.md
|
298
|
+
[Employees]: doc/employees.md
|
299
|
+
[Inventory]: doc/inventory.md
|
300
|
+
[Labor]: doc/labor.md
|
301
|
+
[Loyalty]: doc/loyalty.md
|
302
|
+
[Locations]: doc/locations.md
|
303
|
+
[Merchants]: doc/merchants.md
|
304
|
+
[Orders]: doc/orders.md
|
305
|
+
[Invoices]: doc/invoices.md
|
306
|
+
[Apple Pay]: doc/apple-pay.md
|
307
|
+
[Refunds]: doc/refunds.md
|
308
|
+
[Reporting]: doc/reporting.md
|
309
|
+
[Mobile Authorization]: doc/mobile-authorization.md
|
310
|
+
[O Auth]: doc/o-auth.md
|
311
|
+
[V1 Locations]: doc/v1-locations.md
|
312
|
+
[V1 Employees]: doc/v1-employees.md
|
313
|
+
[V1 Transactions]: doc/v1-transactions.md
|
314
|
+
[V1 Items]: doc/v1-items.md
|
315
|
+
[Transactions]: doc/transactions.md
|