How do I know if a user has accepted or rejected the subscription?

After I create a subscription and get a confirmation URL, how do I know that the user has confirmed the subscription and not rejected it. Does the ReturnURL get some kind of a query parameter to know that it was successful or not? Eg my return url is set to [http://localhost/subscription/confirmed](http://localhost/subscription/confirmed), how would I know that it was rejected instead?

What do you mean? I am using the shopify to create subscription, https://shopify.dev/docs/api/admin-graphql/2024-04/mutations/appSubscriptionCreate , and I redirect the user to returnURL