Pass user reference via payment link

Hey there, thank you for creating this great application!

I’m trying to integrate subscriptions / payment links so users can pay for a subscription in my app.

Right now the user will register and create a new client when subscribing for the first time.
And the webhook will pass the event to my app.
But if the user happens to use a different email address I can’t match the event to a user in my app.

Is there a way to pass some kind of user reference in the payment link, maybe via the query parameter?
I’ve checked in the docs and in the code, but I can’t seem to find a way.

Hi,

If you use the API you’ll have more control to handle cases like this.

If your app is built with Flutter this SDK may help:

Thanks for the reply, I’ll use the API!