Skip to content

Integrations

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
Template 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 the 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 the API Token into the credential field.

Save

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

from alter_sdk import PendingApproval
response = await alter_app.proxy_request(
HttpMethod.GET,
"https://api.rechargeapps.com/subscriptions",
grant_id="YOUR_GRANT_ID",
)
if isinstance(response, PendingApproval):
for gate in response.gates:
print("Approval required:", gate.approval_url)
response = await alter_app.await_approval(response.approval_id)

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

Operation IDFamiliesMethodProvider pathNotes
addresses/createpayment, writePOST/addresses—
addresses/getreadGET/addresses/{id}—
addresses/listreadGET/addresses—
addresses/updatepayment, writePUT/addresses/{id}—
charges/getreadGET/charges/{id}—
charges/listreadGET/charges—
charges/processpayment, send, writePOST/charges/{id}/process—
charges/refundpayment, writePOST/charges/{id}/refund—
charges/skippayment, writePOST/charges/{id}/skip—
charges/unskippayment, writePOST/charges/{id}/unskip—
customers/createpayment, writePOST/customers—
customers/getreadGET/customers/{id}—
customers/listreadGET/customers—
customers/updatepayment, writePUT/customers/{id}—
onetimes/createpayment, writePOST/onetimes—
onetimes/listreadGET/onetimes—
orders/getreadGET/orders/{id}—
orders/listreadGET/orders—
products/getreadGET/products/{external_product_id}—
products/listreadGET/products—
store/getreadGET/store—
subscriptions/activatepayment, writePOST/subscriptions/{id}/activate—
subscriptions/cancelpayment, send, writePOST/subscriptions/{id}/cancel—
subscriptions/createpayment, writePOST/subscriptions—
subscriptions/deletedelete, payment, send, writeDELETE/subscriptions/{id}—
subscriptions/getreadGET/subscriptions/{id}—
subscriptions/listreadGET/subscriptions—
subscriptions/set_next_charge_datepayment, send, writePOST/subscriptions/{id}/set_next_charge_date—
subscriptions/updatepayment, send, writePUT/subscriptions/{id}—
token_informationreadGET/token_information—
webhooks/createadmin, send, writePOST/webhooksdelivery address in policy parameter address
webhooks/deleteadmin, deleteDELETE/webhooks/{id}—
webhooks/listreadGET/webhooks—
accounts/listreadGET/accounts—
accounts/getreadGET/accounts/{id}—
addresses/mergedelete, payment, writePOST/addresses/merge—
addresses/validatereadPOST/addresses/validate—
addresses/subscriptions_bulk_change_addresspayment, writePOST/addresses/{address_id}/subscriptions-bulk-change-address—
addresses/deletedeleteDELETE/addresses/{id}—
addresses/skip_future_chargepayment, writePOST/addresses/{id}/charges/skip—
async_batches/listreadGET/async_batches—
async_batches/createdelete, payment, writePOST/async_batches—
async_batches/processdelete, payment, send, writePOST/async_batches/{batch_id}/process—
async_batches/list_tasksreadGET/async_batches/{batch_id}/tasks—
async_batches/add_tasksdelete, payment, writePOST/async_batches/{batch_id}/tasks—
async_batches/get_taskreadGET/async_batches/{batch_id}/tasks/{task_id}—
async_batches/deletedeleteDELETE/async_batches/{id}—
async_batches/getreadGET/async_batches/{id}—
async_batches/terminatedelete, writePUT/async_batches/{id}—
bundle_products/listreadGET/bundle_products—
bundle_products/getreadGET/bundle_products/{id}—
bundle_selections/listreadGET/bundle_selections—
bundle_selections/createpayment, writePOST/bundle_selections—
bundle_selections/deletedelete, payment, writeDELETE/bundle_selections/{id}—
bundle_selections/getreadGET/bundle_selections/{id}—
bundle_selections/updatepayment, writePUT/bundle_selections/{id}—
bundles/updatepayment, writePUT/bundles/{purchase_item_id}—
charge_activities/listreadGET/charge_activities—
charges/add_free_giftpayment, writePOST/charges/{id}/add_free_gift—
charges/apply_discountpayment, writePOST/charges/{id}/apply_discount—
charges/capture_paymentpayment, writePOST/charges/{id}/capture_payment—
charges/remove_discountpayment, writePOST/charges/{id}/remove_discount—
charges/remove_free_giftdelete, payment, writePOST/charges/{id}/remove_free_gift—
checkouts/createpayment, writePOST/checkoutsallowed; its secret is never stored in a payload capture
checkouts/importpayment, send, writePOST/checkouts/importallowed; its secret is never stored in a payload capture
checkouts/getreadGET/checkouts/{token}allowed; its secret is never stored in a payload capture
checkouts/updatepayment, writePUT/checkouts/{token}allowed; its secret is never stored in a payload capture
checkouts/delete_line_itemsdelete, payment, writeDELETE/checkouts/{token}/line_items—
checkouts/list_line_itemsreadGET/checkouts/{token}/line_items—
checkouts/add_line_itemspayment, writePOST/checkouts/{token}/line_items—
checkouts/update_line_itemspayment, writePUT/checkouts/{token}/line_items—
checkouts/delete_line_itemdelete, payment, writeDELETE/checkouts/{token}/line_items/{line_item_id}—
checkouts/get_line_itemreadGET/checkouts/{token}/line_items/{line_item_id}—
checkouts/update_line_itempayment, writePUT/checkouts/{token}/line_items/{line_item_id}—
checkouts/processpayment, send, writePOST/checkouts/{token}/processallowed; its secret is never stored in a payload capture
checkouts/shipping_ratesreadGET/checkouts/{token}/shipping_rates—
collection_products/listreadGET/collection_products—
collections/listreadGET/collections—
collections/createwritePOST/collections—
collections/deletedelete, payment, writeDELETE/collections/{id}—
collections/getreadGET/collections/{id}—
collections/updatewritePUT/collections/{id}—
collections/remove_productsdelete, writeDELETE/collections/{id}/collection_products-bulk—
collections/add_productswritePOST/collections/{id}/collection_products-bulk—
collections/modify_sortwritePOST/collections/{id}/modify_sort—
credit_accounts/listreadGET/credit_accounts—
credit_accounts/createpayment, writePOST/credit_accounts—
credit_accounts/getreadGET/credit_accounts/{id}—
credit_accounts/updatepayment, writePUT/credit_accounts/{id}—
credit_adjustments/list_for_accountreadGET/credit_accounts/{id}/credit_adjustments—
credit_adjustments/createpayment, writePOST/credit_accounts/{id}/credit_adjustments—
credit_adjustments/get_for_accountreadGET/credit_accounts/{id}/credit_adjustments/{credit_adjustment_id}—
credit_adjustments/updatewritePUT/credit_accounts/{id}/credit_adjustments/{credit_adjustment_id}—
credit_accounts/summaryreadGET/credit_accounts/{id}/summary—
credit_adjustments/listreadGET/credit_adjustments—
credit_adjustments/getreadGET/credit_adjustments/{id}—
customer_entitlements/listreadGET/customer_entitlements—
customer_entitlements/createadmin, writePOST/customer_entitlements—
customer_entitlements/deleteadmin, deleteDELETE/customer_entitlements/{id}—
customer_entitlements/updateadmin, writePUT/customer_entitlements/{id}—
customers/deletedelete, payment, writeDELETE/customers/{id}—
customers/credit_summaryreadGET/customers/{id}/credit_summary—
customers/delivery_schedulereadGET/customers/{id}/delivery_schedule—
customers/get_notification_preferencesreadGET/customers/{id}/notification_preferences—
customers/update_notification_preferenceswritePUT/customers/{id}/notification_preferences—
customers/send_notificationpayment, send, writePOST/customers/{id}/notifications—
customers/create_sessionadmin, writePOST/customers/{id}/sessionsrefused by default: hands the caller a provider credential, or revokes the connection’s own (a credential_minting rule can allow it)
discounts/listreadGET/discounts—
discounts/createpayment, writePOST/discounts—
discounts/deletedelete, payment, writeDELETE/discounts/{id}—
discounts/getreadGET/discounts/{id}—
discounts/updatepayment, writePUT/discounts/{id}—
events/listreadGET/events—
gift_purchases/listreadGET/gift_purchasesallowed; its secret is never stored in a payload capture
gift_purchases/canceldelete, payment, writeDELETE/gift_purchases/{id}—
gift_purchases/getreadGET/gift_purchases/{id}allowed; its secret is never stored in a payload capture
metafields/listreadGET/metafields—
metafields/createwritePOST/metafields—
metafields/deletedeleteDELETE/metafields/{id}—
metafields/getreadGET/metafields/{id}—
metafields/updatewritePUT/metafields/{id}—
onetimes/deletedelete, payment, writeDELETE/onetimes/{id}—
onetimes/getreadGET/onetimes/{id}—
onetimes/updatepayment, writePUT/onetimes/{id}—
orders/deletedelete, payment, writeDELETE/orders/{id}—
orders/updatedelete, payment, writePUT/orders/{id}—
orders/clonepayment, writePOST/orders/{id}/clone—
orders/delaypayment, writePOST/orders/{id}/delay—
payment_methods/listreadGET/payment_methodsallowed; its secret is never stored in a payload capture
payment_methods/createpayment, writePOST/payment_methodsallowed; its secret is never stored in a payload capture
payment_methods/deletedeleteDELETE/payment_methods/{id}—
payment_methods/getreadGET/payment_methods/{id}allowed; its secret is never stored in a payload capture
payment_methods/updatepayment, writePUT/payment_methods/{id}allowed; its secret is never stored in a payload capture
plans/listreadGET/plans—
plans/createpayment, writePOST/plans—
plans/charge_frequenciesreadGET/plans/charge_frequencies—
plans/deletedelete, payment, writeDELETE/plans/{id}—
plans/getreadGET/plans/{id}—
plans/updatepayment, writePUT/plans/{id}—
plans/bulk_deletedelete, payment, writeDELETE/products/{external_product_id}/plans-bulk—
plans/bulk_createpayment, writePOST/products/{external_product_id}/plans-bulk—
plans/bulk_updatepayment, writePUT/products/{external_product_id}/plans-bulk—
products/createpayment, writePOST/products—
products/deletedelete, payment, writeDELETE/products/{external_product_id}—
products/updatepayment, writePUT/products/{external_product_id}—
retention_strategies/listreadGET/retention_strategies—
retention_strategies/createadmin, payment, writePOST/retention_strategies—
retention_strategies/deleteadmin, deleteDELETE/retention_strategies/{id}—
retention_strategies/getreadGET/retention_strategies/{id}—
retention_strategies/updateadmin, payment, writePUT/retention_strategies/{id}—
reward_credits/listreadGET/reward_credits—
reward_credits/createpayment, writePOST/reward_credits—
reward_credits/getreadGET/reward_credits/{id}—
subscriptions/skip_giftpayment, send, writePOST/subscriptions/skip_gift—
subscriptions/change_addresspayment, writePOST/subscriptions/{id}/change_address—
subscriptions/skip_future_chargepayment, writePOST/subscriptions/{id}/charges/skip—
subscriptions/skip_previewreadGET/subscriptions/{id}/charges/skip/preview—
token_information/rotateadmin, delete, writePOST/token_information/rotaterefused by default: hands the caller a provider credential, or revokes the connection’s own (a credential_minting rule can allow it)
webhooks/getreadGET/webhooks/{id}—
webhooks/updateadmin, send, writePUT/webhooks/{id}delivery address in policy parameter address
webhooks/testsendPOST/webhooks/{id}/test—

Report an issue with this page

Necessary

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

Always active

Analytics

Helps us understand how our website, product, and documentation are used.

Performance diagnostics

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

Advertising

Shares visits and sign-ups with Meta, Reddit, and X so we can measure which of our ads work.

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