-
Notifications
You must be signed in to change notification settings - Fork 36
/
app.json
21 lines (21 loc) · 941 Bytes
/
app.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"name": "Square Mobile Backend Server",
"description": "An example mobile backend server for Square In-App Payments",
"env": {
"ACCESS_TOKEN": {
"description": "Your \"Access Token\" or \"Personal Access Token\" which can be found on your Square Application Dashboard [https://developer.squareup.com/apps/]. You can process payments by POSTing to the /chargeForCookie path with your payment nonce as the value on the nonce key for a JSON body.",
"required": true
},
"ENVIRONMENT": {
"description": "For sandbox testing use \"SANDBOX\", for production use \"PRODUCTION\".",
"required": true
},
"LOCATION_ID": {
"description": "The location to charge your payment to. You can find your location ID in the Locations section of the Square Developer Dashboard [https://developer.squareup.com/apps/]",
"required": true
}
},
"scripts": {
"postdeploy": "npm install"
}
}