Clover made the following API updates for March 2022.
Added a new rule to v1/refunds for fraud prevention—transaction limits. With this enhancement, merchants can now set a maximum limit for a single refund using the Ecomm Fraud Prevention Transaction Limits rule. Transactions that are attempted above the configured threshold will fail.
Clover made the following Ecommerce API updates for January 2022.
Recurring Payments APIs
Clover introduced Recurring Payments and Subscriptions APIs in February 2022. These APIs allow setting up recurring charges on a periodical basis, such as monthly or weekly. Customers can be charged on a finite basis, for example, a payoff installment for 6 months, or infinite, for example, a streaming subscription. The subscription service processes each invoice at the configured date.
Invoicing APIs
Clover introduced Invoicing APIs. These APIs allow merchants the ability to get paid. An invoice can be a one-time invoice or a recurring invoice sent on a regular basis, such as a subscription.
Clover made the following API updates for October 2021.
New device reset endpoint
Added a new endpoint, /v1/device/reset, which resets the device to its initial state and cancels any in-flight commands from the point of sale (POS). To cancel one or more in-flight commands without resetting the device, use the /v1/device/cancel endpoint.
Clover made the following API updates for September 2021.
New colorCode property for items and categories
When creating or updating an inventory item or category, you can set a color to represent the item or category and make it easier for merchants to visually group items. This color code appears in the Register and Dining apps, as well as the Inventory page of the merchant web dashboard.
🚧
IMPORTANT
Beginning in February 2022, Clover will no longer allow apps to send auth tokens in URLs. Instead, API tokens will need to be included in the Authorization header.
Clover made the following API updates for August 2021.
Inventory
Added new properties to make it easier to manage the state of a merchant's inventory. The available boolean has been added to both Item and Modifier. This property can be used to indicate whether the item or modifier is currently purchasable. The autoManage property on an Item allows you to let Clover automatically make an item unavailable for purchase when its stock count reaches zero.
Documentation
A new layout for the API reference is now live! The new design loads faster and shows one endpoint at a time so you can concentrate on the task at hand. Code samples are available for more languages and frameworks, and you can continue testing Clover APIs in your browser.
Updated API reference
Authorization changes
Updated the authorization method used in the API reference docs to HTTP header auth. This change makes it easier for you to correctly authorize test API calls, as support for URL authorization is now deprecated.
🚧
IMPORTANT
Beginning in February 2022, Clover will no longer allow apps to send auth tokens in URLs. Instead, API tokens will need to be included in the Authorization header.
You can now retrieve a list of a merchant's tag-to-item associations with a single API call. This endpoint returns an array of association objects listing the UUIDs of the tag and item comprising each association.
curl --request GET \
--url https://sandbox.dev.clover.com/v3/merchants/{mId}/tag_items \
--header 'Accept: application/json'
Clover made the following API update for April 2021.
Get items by amount in stock
When using the /v3/merchants/{merchantId}/items endpoint, you can now add the itemStock.quantity filter to retrieve items based on the number the merchant has in stock. The following comparison operators are supported:
< - less than
> - greater than
<= - less than or equal to
>= - greater than or equal to
= - equal to
!= - not equal to
For example, if you set itemStock.quantity<=20, the response contains only the items with stockCount less than or equal to 20.
👍
To subscribe to Clover's developer changelog, add the changelog main page as a source in your RSS reader.
Clover made the following API documentation updates for March 2021.
Orders
Atomic order endpoints
The documentation for the following endpoints has been updated with information about error messages and how to fix your requests to resolve the issue.