square.rb 5.2.1.20200422 → 6.2.0.20200812
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 +319 -285
- data/lib/square.rb +4 -0
- data/lib/square/api/base_api.rb +2 -2
- data/lib/square/api/catalog_api.rb +76 -57
- data/lib/square/api/customers_api.rb +16 -3
- 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/subscriptions_api.rb +262 -0
- 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 +29 -4
- data/lib/square/configuration.rb +12 -4
- metadata +7 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 491aaaccfa43e7c8d9d17a2d48624c28207bbea80dc75359d525b3d4cd64b0cf
|
4
|
+
data.tar.gz: 645d97dc4dcef2655903ad1f89dee5e361c6b072794bf2920d83fe66dfae1723
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41bc326ab367dae322de2187a0fb3d509384f5af88787e75ab37db42db1263833f65fd0bf39e48ecd60d437970752eb5380cba65eeee02a113c39ae48692e74d
|
7
|
+
data.tar.gz: d2f6cd63f7a4475ae78c64a980831c4f3b2b23ca8e657deb6dc737b188906987f2b67a21966ed74f7001c25553d5590b1a619c923713f25e9000d199f6196e21
|
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -1,285 +1,319 @@
|
|
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
|
-
|
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
|
-
|
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
|
+
### Subscriptions
|
42
|
+
* [Subscriptions]
|
43
|
+
|
44
|
+
### Invoices
|
45
|
+
* [Invoices]
|
46
|
+
|
47
|
+
### Items
|
48
|
+
* [Catalog]
|
49
|
+
* [Inventory]
|
50
|
+
|
51
|
+
### Customers
|
52
|
+
* [Customers]
|
53
|
+
* [Customer Groups]
|
54
|
+
* [Customer Segments]
|
55
|
+
|
56
|
+
### Loyalty
|
57
|
+
* [Loyalty]
|
58
|
+
|
59
|
+
### Business
|
60
|
+
* [Merchants]
|
61
|
+
* [Locations]
|
62
|
+
* [Devices]
|
63
|
+
|
64
|
+
### Team
|
65
|
+
* [Team]
|
66
|
+
* [Employees]
|
67
|
+
* [Labor]
|
68
|
+
* [Cash Drawers]
|
69
|
+
|
70
|
+
### Financials
|
71
|
+
* [Bank Accounts]
|
72
|
+
|
73
|
+
### Authorization APIs
|
74
|
+
* [Mobile Authorization]
|
75
|
+
* [O Auth]
|
76
|
+
|
77
|
+
### Deprecated APIs
|
78
|
+
* [V1 Locations]
|
79
|
+
* [V1 Employees]
|
80
|
+
* [V1 Transactions]
|
81
|
+
* [V1 Items]
|
82
|
+
* [Transactions]
|
83
|
+
* [Reporting]
|
84
|
+
|
85
|
+
## Usage
|
86
|
+
|
87
|
+
First time using Square? Here’s how to get started:
|
88
|
+
|
89
|
+
1. **Create a Square account.** If you don’t have one already, [sign up for a developer account].
|
90
|
+
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.
|
91
|
+
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.
|
92
|
+
|
93
|
+
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:
|
94
|
+
|
95
|
+
```ruby
|
96
|
+
require 'square'
|
97
|
+
|
98
|
+
# Create an instance of the API Client and initialize it with the credentials
|
99
|
+
# for the Square account whose assets you want to manage.
|
100
|
+
|
101
|
+
client = Square::Client.new(
|
102
|
+
access_token: 'YOUR SANDBOX ACCESS TOKEN HERE',
|
103
|
+
environment: 'sandbox'
|
104
|
+
)
|
105
|
+
|
106
|
+
# Call list_locations method to get all locations in this Square account
|
107
|
+
result = client.locations.list_locations
|
108
|
+
|
109
|
+
# Call the #success? method to see if the call succeeded
|
110
|
+
if result.success?
|
111
|
+
# The #data Struct contains a list of locations
|
112
|
+
locations = result.data.locations
|
113
|
+
|
114
|
+
# Iterate over the list
|
115
|
+
locations.each do |location|
|
116
|
+
# Each location is represented as a Hash
|
117
|
+
location.each do |key, value|
|
118
|
+
puts "#{key}: #{value}"
|
119
|
+
end
|
120
|
+
end
|
121
|
+
else
|
122
|
+
# Handle the case that the result is an error.
|
123
|
+
warn 'Error calling LocationsApi.listlocations ...'
|
124
|
+
|
125
|
+
# The #errors method returns an Array of error Hashes
|
126
|
+
result.errors.each do |key, value|
|
127
|
+
warn "#{key}: #{value}"
|
128
|
+
end
|
129
|
+
end
|
130
|
+
```
|
131
|
+
|
132
|
+
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.
|
133
|
+
|
134
|
+
**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.
|
135
|
+
|
136
|
+
Now save `locations.rb` and run it:
|
137
|
+
|
138
|
+
```sh
|
139
|
+
ruby locations.rb
|
140
|
+
```
|
141
|
+
|
142
|
+
If your call is successful, you’ll get a response that looks like this:
|
143
|
+
|
144
|
+
```
|
145
|
+
address : {'address_line_1': '1455 Market Street', 'administrative_district_level_1': 'CA', 'country': 'US', 'locality': 'San Francisco', 'postal_code': '94103'}
|
146
|
+
# ...
|
147
|
+
```
|
148
|
+
|
149
|
+
Yay! You successfully made your first call. If you didn’t, you would see an error message that looks something like this:
|
150
|
+
|
151
|
+
```
|
152
|
+
Error calling LocationsApi.listlocations
|
153
|
+
category : AUTHENTICATION_ERROR
|
154
|
+
code : UNAUTHORIZED
|
155
|
+
detail : This request could not be authorized.
|
156
|
+
```
|
157
|
+
|
158
|
+
This error was returned when an invalid token was used to call the API.
|
159
|
+
|
160
|
+
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.
|
161
|
+
|
162
|
+
## SDK patterns
|
163
|
+
If you know a few patterns, you’ll be able to call any API in the SDK. Here are some important ones:
|
164
|
+
|
165
|
+
### Get an access token
|
166
|
+
|
167
|
+
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.
|
168
|
+
|
169
|
+
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.
|
170
|
+
Use an access token that is appropriate for your use case. There are two options:
|
171
|
+
|
172
|
+
- To manage the resources for your own Square account, use the Personal Access Token for the application created in your Square account.
|
173
|
+
- 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.
|
174
|
+
|
175
|
+
**Important** For both use cases, make sure you store and access the tokens securely.
|
176
|
+
|
177
|
+
### Import and Instantiate the Client Class
|
178
|
+
|
179
|
+
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:
|
180
|
+
|
181
|
+
- 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:
|
182
|
+
|
183
|
+
```ruby
|
184
|
+
client = Square::Client.new(
|
185
|
+
access_token: 'SANDBOX ACCESS TOKEN HERE',
|
186
|
+
environment: 'sandbox'
|
187
|
+
)
|
188
|
+
```
|
189
|
+
|
190
|
+
- To access production resources, set environment to production:
|
191
|
+
|
192
|
+
```ruby
|
193
|
+
client = Square::Client.new(
|
194
|
+
access_token: 'ACCESS TOKEN HERE',
|
195
|
+
environment: 'production'
|
196
|
+
)
|
197
|
+
```
|
198
|
+
|
199
|
+
### Get an Instance of an API object and call its methods
|
200
|
+
|
201
|
+
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:
|
202
|
+
|
203
|
+
- 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:
|
204
|
+
|
205
|
+
```ruby
|
206
|
+
result = client.customers.list_customers
|
207
|
+
```
|
208
|
+
|
209
|
+
See the SDK documentation for the list of methods for each API class.
|
210
|
+
|
211
|
+
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:
|
212
|
+
|
213
|
+
```ruby
|
214
|
+
# Create a unique key for this creation operation so you don't accidentally
|
215
|
+
# create the customer multiple times if you need to retry this operation.
|
216
|
+
require 'securerandom'
|
217
|
+
|
218
|
+
idempotency_key = SecureRandom.uuid
|
219
|
+
|
220
|
+
# To create a customer, you'll need to specify at least a few required fields.
|
221
|
+
request_body = {idempotency_key: idempotency_key, given_name: 'Amelia', family_name: 'Earhardt'}
|
222
|
+
|
223
|
+
# Call create_customer method to create a new customer in this Square account
|
224
|
+
result = client.customers.create_customer(request_body)
|
225
|
+
```
|
226
|
+
|
227
|
+
If your call succeeds, you’ll see a response that looks like this:
|
228
|
+
```
|
229
|
+
{'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'}}
|
230
|
+
```
|
231
|
+
|
232
|
+
- 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.
|
233
|
+
- 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.
|
234
|
+
|
235
|
+
### Handle the response
|
236
|
+
|
237
|
+
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:
|
238
|
+
|
239
|
+
```ruby
|
240
|
+
if result.success?
|
241
|
+
p result.data
|
242
|
+
elsif result.error?
|
243
|
+
warn result.errors.inspect
|
244
|
+
end
|
245
|
+
```
|
246
|
+
|
247
|
+
- 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).
|
248
|
+
- 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.
|
249
|
+
|
250
|
+
## Tests
|
251
|
+
|
252
|
+
First, clone the gem locally and `cd` into the directory.
|
253
|
+
|
254
|
+
```sh
|
255
|
+
git clone https://github.com/square/square-ruby-sdk.git
|
256
|
+
cd square-ruby-sdk
|
257
|
+
```
|
258
|
+
|
259
|
+
Next, make sure Bundler is installed and install the development dependencies.
|
260
|
+
|
261
|
+
```sh
|
262
|
+
gem install bundler
|
263
|
+
bundle
|
264
|
+
```
|
265
|
+
|
266
|
+
Before running the tests, find a sandbox token in your [Developer Dashboard] and set a `SQUARE_SANDBOX_TOKEN` environment variable.
|
267
|
+
|
268
|
+
```sh
|
269
|
+
export SQUARE_SANDBOX_TOKEN="YOUR SANDBOX TOKEN HERE"
|
270
|
+
```
|
271
|
+
|
272
|
+
And run the tests.
|
273
|
+
|
274
|
+
```sh
|
275
|
+
rake
|
276
|
+
```
|
277
|
+
|
278
|
+
## Learn more
|
279
|
+
|
280
|
+
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.
|
281
|
+
|
282
|
+
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).
|
283
|
+
|
284
|
+
[Square Logo]: https://docs.connect.squareup.com/images/github/github-square-logo.svg
|
285
|
+
[Developer Dashboard]: https://developer.squareup.com/apps
|
286
|
+
[Square API]: https://squareup.com/developers
|
287
|
+
[sign up for a developer account]: https://squareup.com/signup?v=developers
|
288
|
+
[Client]: doc/client.md
|
289
|
+
[Devices]: doc/devices.md
|
290
|
+
[Disputes]: doc/disputes.md
|
291
|
+
[Terminal]: doc/terminal.md
|
292
|
+
[Team]: doc/team.md
|
293
|
+
[Cash Drawers]: doc/cash-drawers.md
|
294
|
+
[Customer Groups]: doc/customer-groups.md
|
295
|
+
[Customer Segments]: doc/customer-segments.md
|
296
|
+
[Bank Accounts]: doc/bank-accounts
|
297
|
+
[Payments]: doc/payments.md
|
298
|
+
[Checkout]: doc/checkout.md
|
299
|
+
[Catalog]: doc/catalog.md
|
300
|
+
[Customers]: doc/customers.md
|
301
|
+
[Employees]: doc/employees.md
|
302
|
+
[Inventory]: doc/inventory.md
|
303
|
+
[Labor]: doc/labor.md
|
304
|
+
[Loyalty]: doc/loyalty.md
|
305
|
+
[Locations]: doc/locations.md
|
306
|
+
[Merchants]: doc/merchants.md
|
307
|
+
[Orders]: doc/orders.md
|
308
|
+
[Invoices]: doc/invoices.md
|
309
|
+
[Apple Pay]: doc/apple-pay.md
|
310
|
+
[Refunds]: doc/refunds.md
|
311
|
+
[Reporting]: doc/reporting.md
|
312
|
+
[Mobile Authorization]: doc/mobile-authorization.md
|
313
|
+
[O Auth]: doc/o-auth.md
|
314
|
+
[V1 Locations]: doc/v1-locations.md
|
315
|
+
[V1 Employees]: doc/v1-employees.md
|
316
|
+
[V1 Transactions]: doc/v1-transactions.md
|
317
|
+
[V1 Items]: doc/v1-items.md
|
318
|
+
[Transactions]: doc/transactions.md
|
319
|
+
[Subscriptions]: doc/subscriptions.md
|