Step 1 Add billing role (B2B)
Skip this step if you sell your services to individuals (B2C).
If you are a B2B business, your customers in Kinde are referred to as organizations. These can be created:
- via API
- manually in the Kinde admin area
- via the auth flow if you have enabled the relevant settings and pass
is_create_org
as a query parameter in the authentication URL.
In order to manage billing for the organization, create a default billing role (with relevant permissions) to assign to a user in the organization.
-
Go to Settings > Roles and select Add role. The Add role window opens.
-
Name the role, for example,
Billing Admin
, and enter a description and Key. -
If you allow organizations to self-sign up, select the Assign to the creator option.
-
In the System permissions section, ensure the org:write:billing system permission is selected.
-
Select Save.
Assigning the role
Link to this sectionIf you have configured Kinde to allow organizations to self-sign up, and selected to apply this role to the “Creator”, then this role will now be automatically assigned to users who create an organization as part of the authentication flow. Alternatively, you can assign the billing admin role to organization members via API or in the Kinde dashboard.
You can add the permissions to any of your custom roles and mix and match the system permissions to work for your needs.