To be notified of events happening during the onboarding flow, you can subscribe to webhooks.
POST /data_api/webhooks
endpoint.
In the payload you will need to provide:
callback_url
: the URL that the events we’ll be POST’ed tosecret
: the secret to use when generating a HMAC-SHA256 signature to sign the payloadQonto-SHA256-Signature
header.
The secret_key
below in the examples is the one configured in your created webhook subscription.
Sample code:
event_type
to manage the event lifecycle properly.
registrations.pending
: a new registration is created, and is now in pending
statusregistrations.user_started
: user started the onboarding flow (login created or existing user logged in)registrations.contract_signed
: contract is signed = user has successfully processed paymentregistrations.completed
: Kbis was uploaded in Qonto & KYB is done. User now has an active bank account to useorganizations.deleted
: an organization was deleted because the associated registration was reset in Qonto (only for company creation flow)registrations.contract_signed
and before registrations.completed
).
Events depends on the legal country of the company being created:
registrations.submitted
: registration is submitted = user is in the main app and ready to start capital deposit processregistrations.capital_deposit_activated
: capital deposit is in progress (email was sent to shareholders to pay their shares and Qonto is waiting to receive the full capital deposit)registrations.capital_deposit_request_signed
: shareholders have all paid their shares, have reviewed the documentation to be sent to the notary, notary is preparing the certificateregistrations.capital_deposit_certificate_signed
: deposit certificate is signed by the notary, sent to the user and available through APIregistrations.capital_deposit_statement_ready
: capital deposit statement is available through APIseamless
flow type, since only these users will be onboarded through the fast track flow.