redirectUrl. We will redirect the user with the state you specified when creating the onboarding so that you can easily reconciliate which user ha finished their onboarding. If you use generic onboarding URLs, you can subscribe to the
Account.Createdwebhook and you will be notified when a user completes onboarding. In order to determine which user it was, you can use this query. It allows you to get the personal user information and compare it to what you have in your database.
Transaction.Bookedevent. You will then have to do a query to check if the transaction was a payment received. This information is available in
transaction.type, where it will be equal to
SepaCreditTransferIn. Here is an example of the query you can execute to verify it's a received payment.
Card.Createdevent will be triggered. Using the card query you can then fetch the
accountMembershipor the account linked to it.
Transaction.Pendingevent and the
Transaction.Bookedevent. The first one covers 99% of cases where a user makes a payment and the merchant asks for authorization of the full amount. In this case, a query like this will allow you to determine that it is a card authorization. If the type is
CardOutand the status is
Pending, then the authorization went through. The other 1% we will only receive a debit for the payment. The Transaction type will be
CardOutbut the status will be