Testing
Simulate onboarding to test your integration
Verify that your integration in sandbox is functioning properly by conducting mock onboarding that don't involve KYC/KYC compliance checks.
Onboarding let you simulate 2 scenarios:
- The application is submitted and the compliance checks are completed successfully
- The application is submitted and the compliance checks requires more actions from the merchant
In the first case a application_succeeded
webhook is emitted, in the other one it is emitted a application_action_required
.
To trigger one of the two scenarios, you can use the Registration Number value for the business profile. The value DE000000000 will trigger scenario nr. 2, all other values will trigger scenario nr. 1.
To perform and end to end test:
- Initiate a new application
- Use the hosted onboarding page to submit the application. At step 4 of the hosted onboarding page, fill the Registration Number field with the desired value
- After a few seconds a webhook will be sent to the url specified in the
urls.webhook
field of the initiate onboarding api call.
Fig.1 - Registration number field at step 4 of hosted onboarding page