Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.alterauth.com/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Use Recharge credentials to make authenticated API calls through Alter Vault without exposing your API keys in code.
PropertyValue
Provider IDrecharge
CategoryE-Commerce
Credential TypeAPI Key

Step 1: Get Your Credentials

1

Log in to the Recharge Merchant Portal

Log in to the Recharge Merchant Portal at vendors.rechargepayments.com.
2

Go to API tokens

Go to API tokens in your account settings at vendors.rechargepayments.com/tools/api.
3

Create an API token

Click ‘Create an API token’ and configure permissions.
4

Copy your token

Copy the generated API token.
Never share your credentials publicly. Store them securely and only enter them in the Alter Vault Developer Portal.

Step 2: Add to Alter Vault

1

Open the Developer Portal

Go to portal.alterauth.com and navigate to your app.
2

Add Recharge

Go to Managed Secrets > Add Provider > Recharge.
3

Enter your credentials

Paste your API Token into the credential field.
4

Save

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

Using in Code

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