Commerce
ReCharge
13 min
true false 107false unhandled content type false unhandled content type requirements to use the recharge app in {{product name}} , you must have a recharge account connect recharge and {{product name}} to get started, you must first create a connection between recharge and {{product name}} , allowing the two services to communicate to create the connection, you need to recharge /#obtain your api token in recharge recharge /#create the connection in obtain your api token in recharge before you create the connection in {{product name}} , you should first obtain an api token in your recharge account to obtain the api token log in to your recharge account click apps , then click api tokens create a new api token copy the api token value and store it in a safe place you'll use this value in the access token connection field in {{product name}} create the connection in {{product name}} once you have your recharge api access token , you're ready to create the connection in {{product name}} to create the connection log in to your {{product name}} account, add an recharge module to your {{scenario singular lowercase}} , and click create a connection if you add a module with an instant tag, click create a webhook , then create a connection optional in the connection name field, enter a name for the connection in the access token field, enter the api access token you copied from your recharge account click save if prompted, authenticate your account and confirm access you've successfully created the connection and can now use the recharge app in your {{scenario plural lowercase}} if you want to make changes to your connection in the future, follow the steps here https //help make com/connect an application#tn2pj set up a recharge webhook the recharge app has instant modules — webhooks that watch for certain changes in recharge and immediately start your {{scenario singular lowercase}} when those changes happen to use these modules, you must set up the webhook in your recharge account to set up the webhook add a recharge instant module to your {{scenario singular lowercase}} and click create a webhook optional enter a name for the webhook in the webhook name field i n the connection field, select a connection for the webhook if you haven't created an recharge connection yet, refer to the recharge /#connect recharge and section above click save > copy address to clipboard you can use this address to set up the webhook in your recharge account recharge modules after connecting to the recharge app, you can use the following types of modules to build your {{scenario plural lowercase}} addresses watch address created watch address updated create an address update an address get an address search addresses change a subscription address count addresses validate an address delete an address customers watch customer created watch customer updated watch customer’s method updated watch customer deactivated watch customer activated update a customer get a customer search customers count customers delete a customer discounts create a discount update a discount get a discount search discounts count discounts add a discount to an address remove a discount from an address delete a discount subscriptions watch subscription created watch subscription updated watch subscription deleted watch subscription activated watch subscription cancelled watch subscription skipped watch subscription unskipped create a subscription update a subscription get a subscription search subscriptions cancel a subscription activate a subscription delete a subscription metafields create a metafield update a metafield get a metafield search metafields count metafields delete a metafield onetimes watch onetime created watch onetime updated watch onetime deleted create a onetime update a onetime get a onetime search onetimes delete a onetime charge watch charge refunded watch charge upcoming watch charge updated watch charge maximum retries reached watch charge failed watch charge paid watch charge created get a charge search charges skip a charge count charges change the next charge date unskip a charge orders watch order created watch order updated watch order deleted watch order cancelled watch order upcoming watch order processed update an order get an order search orders count orders change an order date clone an order delete an order shops get a shop shipping countries list shipping countries payment sources search payment sources other make n api call recharge resources recharge api documentation