> For the complete documentation index, see [llms.txt](https://docs.boomerangme.cards/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.boomerangme.cards/white-label/stripe/manage-subscription.md).

# Manage subscription

Subscription management for your sub-accounts

In order for your sabaccounts to be able to manage their subscription after it has been activated, you need to make settings in your Stripe account.

{% embed url="<https://stripe.com/docs/customer-management>" %}

To set it up, go to <https://dashboard.stripe.com/settings/billing/portal>

<div align="left"><figure><img src="https://121681468-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBfW4nnOu4AysbkbyxNug%2Fuploads%2FrsblZ2zfInmpdrpwVLkj%2FScreenshot%20at%20May%2020%2013-03-04.png?alt=media&amp;token=ce76037a-813c-4d1b-b77f-76308a4c5cdf" alt="" width="375"><figcaption></figcaption></figure> <figure><img src="https://121681468-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBfW4nnOu4AysbkbyxNug%2Fuploads%2FponckXKeF6pADXNoByh1%2FScreenshot%20at%20May%2020%2013-01-58.png?alt=media&amp;token=a5f9cace-365b-411a-91cc-8ff8031b2e3e" alt="" width="375"><figcaption></figcaption></figure></div>

Be sure to activate the link and make the other settings

<figure><img src="https://121681468-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBfW4nnOu4AysbkbyxNug%2Fuploads%2FC5lIImyEQc0whOr70cyg%2Fimage.png?alt=media&amp;token=844b6876-514c-4497-9c1e-138d66b631fd" alt=""><figcaption></figcaption></figure>

Enable the ability to switch plans for sub accounts in the subscriptions section

<figure><img src="https://121681468-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBfW4nnOu4AysbkbyxNug%2Fuploads%2FFvY1CjEvCQcAn8cHeQwd%2FScreenshot%20at%20May%2020%2013-07-33.png?alt=media&amp;token=1070c696-4054-4ada-9970-8da8461c343d" alt=""><figcaption></figcaption></figure>

The next step is to create products and link them to your tariffs. Video can help you

{% embed url="<https://youtu.be/1RwPB3sqzKc>" %}

In order to link your tariffs with the products in Stripe you need to add a tariff\_id field to the metadata of each product, equal to the id of our respective plan.

<figure><img src="https://121681468-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBfW4nnOu4AysbkbyxNug%2Fuploads%2F5dl0QPdxrzplnI6e3zNa%2Fimage.png?alt=media&amp;token=854ce668-b14a-4171-b62e-85dcc41ddd58" alt=""><figcaption></figcaption></figure>

How do I know the tariff plan id? Use API method [\
https://docs.digitalwallet.cards/#tag/tariffs/operation/get\_api-get-tariff-list](<&#xD;&#xA;https://docs.digitalwallet.cards/#tag/tariffs/operation/get_api-get-tariff-list>)

Add products to the Subscriptions section of the customer portal page\
<https://dashboard.stripe.com/settings/billing/portal>

<figure><img src="https://121681468-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBfW4nnOu4AysbkbyxNug%2Fuploads%2FxD1oOqwV23Nsu9AzDbUq%2FScreenshot%20at%20May%2020%2013-09-58.png?alt=media&amp;token=e9b20791-bc52-4a70-a111-6524c5d73171" alt=""><figcaption></figcaption></figure>

After setting up, Sub-account will have access to the page

<figure><img src="https://121681468-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBfW4nnOu4AysbkbyxNug%2Fuploads%2FtNb9nEOhn0QKekxGt34k%2Fimage.png?alt=media&amp;token=4219b402-be89-417d-a320-9106e29e0877" alt=""><figcaption></figcaption></figure>

<figure><img src="https://121681468-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBfW4nnOu4AysbkbyxNug%2Fuploads%2FKBq0yRjhJIV0Ial8u3lt%2Fimage.png?alt=media&amp;token=eff597ca-0d10-4a08-940a-4900d5ab9fad" alt=""><figcaption></figcaption></figure>
