I'm working with a Node.js-based Shopify app and have set up recurring application charges. After the user approves the subscription, I need to update the subscription status on my end once the payment is completed

strong textPreformatted text

Once the payment is approved by the merchant, they are redirected to returnUrl that was mentioned in the request.

You can make this returnUrl, an API endpoint of your backend. Once the merchant approves, you will receive a request on your endpoint. You can update the subscription status and redirect the merchant to the app.

Here is more info on returnUrl:

From Webhooks and Events to Products and Orders APIs

Added subscription-api and removed configuring