Skip to content

Reference

Recharge

Connect Recharge to Alter Vault for secure API access

Use Recharge credentials to make authenticated API calls through Alter Vault without exposing API keys in code.

PropertyValue
Provider IDrecharge
CategoryE-Commerce
Credential TypeAPI Key

Log in to the Recharge Merchant Portal

Log in to the Recharge Merchant Portal — accessed from the ecommerce platform admin (e.g. Shopify/BigCommerce → Apps → Recharge) or the Recharge direct login page.

Go to API tokens

Go to Tools & apps → API tokens. See the Recharge API token guide for details.

Create an API token

Click ‘Create an API token’ and configure permissions.

Copy your token

Copy the generated API token.

Open the Developer Portal

Go to portal.alterauth.com and navigate to the application.

Add Recharge

Go to Managed Secrets > Add Provider > Recharge.

Enter credentials

Paste your API Token into the credential field.

Save

Click Save. You’ll receive a grant_id to use with the SDK.

response = await alter_app.request(
HttpMethod.GET,
"https://api.rechargeapps.com/subscriptions",
grant_id="YOUR_GRANT_ID",
)

Alter policy rules can target these attested operations and families for operation-level and parameter-aware controls.

Operation IDFamiliesMethodProvider path
addresses/createwritePOST/addresses
addresses/getreadGET/addresses/{id}
addresses/listreadGET/addresses
addresses/updatewritePUT/addresses/{id}
charges/getreadGET/charges/{id}
charges/listreadGET/charges
charges/processpaymentPOST/charges/{id}/process
charges/refundpaymentPOST/charges/{id}/refund
charges/skippaymentPOST/charges/{id}/skip
charges/unskippaymentPOST/charges/{id}/unskip
customers/createwritePOST/customers
customers/getreadGET/customers/{id}
customers/listreadGET/customers
customers/updatewritePUT/customers/{id}
onetimes/createpayment, writePOST/onetimes
onetimes/listreadGET/onetimes
orders/getreadGET/orders/{id}
orders/listreadGET/orders
products/getreadGET/products/{id}
products/listreadGET/products
store/getreadGET/store
subscriptions/activatepayment, writePOST/subscriptions/{id}/activate
subscriptions/cancelpayment, writePOST/subscriptions/{id}/cancel
subscriptions/createpayment, writePOST/subscriptions
subscriptions/deletedelete, paymentDELETE/subscriptions/{id}
subscriptions/getreadGET/subscriptions/{id}
subscriptions/listreadGET/subscriptions
subscriptions/set_next_charge_datepayment, writePOST/subscriptions/{id}/set_next_charge_date
subscriptions/updatepayment, writePUT/subscriptions/{id}
token_informationreadGET/token_information
webhooks/createadminPOST/webhooks
webhooks/deleteadmin, deleteDELETE/webhooks/{id}
webhooks/listreadGET/webhooks

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.