- Register submerchant
Get Flow services list
Get Flow service
Get submerchants list
Get submerchant
Start submerchant onboarding
Generate submerchant widget link
Get submerchant payment channels
Enable/disable submerchant payment channels
Get payment channels available for registration
Register payment channel
Set PayPal Checkout email
Get submerchant webhook settings
Update submerchant webhooks
Regenerate webhook key
Get submerchant wallets
Get submerchant commission invoices
Get submerchant wallet
Update wallet settings
Get wallet operations
Generate wallet operations CSV report
Get withdrawals list
Request withdrawal
Register submerchant
Creates a submerchant account within the Flow service together with an Online Payments service. For services with the role_payment_service_provider role, the service object is required.
The response contains an onboarding object describing the next step:
redirect_user- redirect the user toredirectUrl, where they complete onboarding at SimPay,provide_api- onboarding is performed by the Flow service via the API.
Security
bearerAuth(Required scopes: flow.submerchants.create)
Custom submerchant ID, unique within the Flow service. Cannot start with flsm_.
Example:"user-123"
Submerchant email (unique within the Flow service)
Example:"jan.kowalski@example.com"
- Mock serverhttps://docs.simpay.pl/_mock/en/apis/flow/{flowServiceId}/submerchants
- https://api.simpay.plhttps://api.simpay.pl/flow/{flowServiceId}/submerchants
curl -i -X POST \
https://docs.simpay.pl/_mock/en/apis/flow/flow_aaaabbbb/submerchants \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"customId": "user-123",
"email": "jan.kowalski@example.com",
"name": "Jan Kowalski",
"service": {
"name": "Sklep Jana",
"url": "https://example.com",
"termsUrl": "https://example.com/regulamin",
"mcc": "5999",
"contact": {
"email": "kontakt@example.com",
"phone": "+48123123123",
"name": "Jan Kowalski"
}
}
}'Response
{ "success": true, "message": "Submerchant successfully registered", "data": { "submerchantId": "flsm_aaaabbbb", "customId": "user-123", "onboarding": { … } } }