Take your store to the next level with Recharge's scalable subscriptions payments solution. With the Recharge API, you can fully customize how subscriptions operate. Recharge provides a RESTful API and event-driven webhooks that allow for complex integration with partners.
Webhooks in Recharge's API are a mechanism for reacting to specified events that are triggered in the system, such as checkout completion, customer activation, or subscription cancellations.
- Recharge Checkout on BigCommerce
- Recharge Checkout on Shopify
- Shopify Checkout Integration
Use the Recharge API to create better reporting and analytics, fulfillment, loyalty programs, trigger-based emails, and more.
Optimize your daily activities by automating pricing updates, discount codes, and cancellation flows.
- Develop a product page and custom checkout experience.
- Automate how you communicate with your customers post-checkout.
- Create a custom cancellation flow to reduce churn.
Rebuild your entire customer portal from the ground up. Design and customize how your customers manage their subscriptions and add new functionality specific to your industry.
Access API tokens
Access tokens are used in token-based authentication to allow an application to access an API. The application receives an access token after a user successfully authenticates and authorizes access, then passes the access token as a credential when it calls the target API. The passed token informs the API that the bearer of the token has been authorized to access the API and perform specific actions specified by the scope that was granted during authorization.
Recharge requires an API key for requests to the server. Recharge only accepts requests over HTTPS.
- From the merchant portal, select Apps
- Click on API tokens
Accept the API Terms of Service
You must accept the Recharge API Terms of Service before you can create your first API token.
The Recharge API Terms of Service document governs your access to and use of Recharge's APIs. When you develop on the Recharge platform, you are agreeing to be bound by these terms, therefore, please take a few minutes to review the content before accepting. You can also review the API Terms of Service FAQs for more information.
- Check all three terms within the API Terms of Service modal.
- Click Accept.
You can then proceed with creating an API token after accepting the Recharge API Terms of Service.
Create an API token
Once you have accessed the API Token Creation page, select Create an API Token to generate a new token for your store.
- Use the Details fields to set a name and contact email for the token.
- Select No access, Read access, or Read and Write access to set the scope permissions you'd like to grant the token.
- Click Save to create your token.
Enable API Token permissions for other users
By default, the store owner is the only one with the ability to create and manage API tokens.
The store owner can update the account permissions for an existing account, granting staff and developer accounts access to the API Tokens page.
Refer to Enabling Recharge user and account permissions for additional information.
Recharge’s standard rate limit is 2 calls/second leak, 40 call bucket (1x1).
Merchants on the Pro plan have a default rate of 4 calls/second leak, 80 call bucket (2x2).
Contact the Recharge support team if you require a higher rate limit, or if you receive a 429 error.
Didn’t find what you’re looking for?Contact us