Ecommerce app permissions
North America—United States and Canada
Your app must request specific permissions from merchants to access and update their data. In addition, on the Developer Dashboard, you must specify the Ecommerce integration type you are using for your app.
Required app permissions
Merchants using your app grant your app permissions during installation, and your app will use the associated OAuth token to use for all API calls on behalf of the merchant. For more information, see Authenticate with OAuth—Canada and US.
Your app should only request the minimum permissions required for your app to function.
PAKMS service endpoint
Operation | Required permission |
---|---|
Get public keyGET /pakms/apikey | Online payments |
Tokenization service endpoint
Operation | Required permissions |
---|---|
Create tokenPOST /v1/tokens | None |
IMPORTANT
To create a token using
POST /v1/tokens
, you need a public key retrieved from the PAKMS service.
Ecommerce service endpoints
Charge endpoints
Operation | Required permissions |
---|---|
Create a chargePOST /v1/charges | Online payments |
Capture an open chargePOST /v1/charges/{chargeId}/capture | Read payments Write payments Online payments |
Get chargesGET /v1/charges | Read payments |
Get a single chargeGET /v1/charges/{chargeId} | Read payments |
Customer endpoints
Operation | Required permissions |
---|---|
Create a card-on-file customerPOST /v1/customers | Read customers Write customers Online payments |
Add a card to an existing customerPUT /v1/customers | Read customers Write customers Online payments |
Remove a card from an existing customerDELETE /v1/customers | Read customers Write customers Online payments |
Order endpoints
Operation | Required permissions | Additional permissions |
---|---|---|
Create an orderPOST /v1/orders | Read merchant Read orders Write orders | To add a customer: Read customers To add tax_rates to items :Read inventory |
Get ordersGET /v1/orders | Read orders Read payments | |
Get an orderGET /v1/orders/{orderId} | Read customers Read merchant Read orders Read payments | |
Pay for an orderPOST /v1/orders/{orderId}/pay | Read customers Read inventory Read merchant Read orders Read payments Online payments | |
Return an orderPOST /v1/orders/{orderId}/returns | Read customers Read merchant Read orders Read payments Online payments |
NOTE
Getting an order with
GET /v1/orders/{orderId}
expands the following fields:
lineItems
lineItems.taxRates
payments
refunds
customers
Refund endpoints
Operation | Required permissions |
---|---|
Get refundsGET /v1/refunds | Read payments |
Get a refundGET /v1/refunds/{refundId} | Read payments |
Refund a chargePOST /v1/refunds | Read customers Read merchant Read orders Read payments Online payments |
Recurring Payments service endpoints
Plan endpoints
Operation | Required permissions |
---|---|
Create planPOST /v1/plans | Read merchant Write merchant |
Get a planGET /v1/plans/{planId} | Read merchant |
Edit a planPUT /v1/plans/{planId} | Read merchant Write merchant |
Deactivate a planPUT /v1/plans/{planId} | Read merchant Write merchant |
Subscription endpoints
Operation | Required permissions |
---|---|
Create a subscriptionPOST /v1/plans/{planId}/subscriptions | Read customers Write customers |
Get a subscriptionGET /v1/subscriptions/{subscriptionId} | Read merchant Read customers |
Edit a subscriptionPUT /v1/subscriptions/{subscriptionId} | Read customers Write customers |
Cancel a subscriptionPUT /v1/subscriptions/{subscriptionId} | Read customers Write customers Read merchants |
Set app permissions and integration type
- Log in to the Developer Dashboard.
- From the left navigation menu, click Your Apps > App name > App Settings. The App name - App Settings page allows you to view and configure settings and permissions that your app requires for accessing Clover merchant data.
- Click Requested Permissions. The Edit Requested Permission page appears.
- Select your app's read or write permissions for Ecommerce API, as required. For any selected permission, provide an in-line comment about how your app is using this information.
- Click Save. Your selected permissions are displayed on the App Settings page.
- Click Ecommerce Settings. The Edit Ecommerce Settings page appears.
- Select your integration type. See Integration types for more information.
- Click Save. Your selected integration type displays on the App Settings page.
Updated 5 months ago