This onboarding method applies to Flow services with the role_non_financial_provider role - marketplace platforms and products that do not intermediate in the transfer of funds.
The submerchant goes through full onboarding in the SimPay Panel:
- verification of billing data (company or unregistered business data),
- ultimate beneficial owner (UBO) data,
- identity verification - document scan or mObywatel authorization,
- verification transfer.
You don't process any of this data - the entire process takes place at SimPay.
- You register the submerchant (
POST /flow/{flowServiceId}/submerchants) and receiveonboarding.action=redirect_userandonboarding.redirectUrl. - You redirect the submerchant to
redirectUrl. - The submerchant fills in the data and goes through verification in the SimPay Panel.
- Once the data is submitted, the submerchant status changes to
flow_submerchant_in_verification, and after SimPay approval - toflow_submerchant_active. We notify you about each change with theflow_submerchant:status_changedwebhook.
redirectUrl is valid for 15 minutes after it is generated. Don't send it by email or store it - generate it at the moment you redirect the user.
If the link has expired or the submerchant interrupted onboarding, generate a new one with the POST /flow/{flowServiceId}/submerchants/{submerchantId}/onboardings request:
curl -X POST "https://api.simpay.pl/flow/{flowServiceId}/submerchants/user-123/onboardings" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"{
"success": true,
"data": {
"action": "redirect_user",
"redirectUrl": "https://panel.simpay.pl/..."
}
}Submerchant onboarding is valid for 60 days after registration.
For a submerchant that is already active, the endpoint returns the SUBMERCHANT_ALREADY_ACTIVE error.
- The user in your application clicks e.g. "Enable online payments".
- If they are not a submerchant yet - you register them and immediately redirect them to
redirectUrl. - If they are already registered but not active - you generate a new link (
POST .../onboardings) and redirect them. - Until you receive a webhook with the
flow_submerchant_activestatus, you show the user that verification is in progress.