Onboard an Authorized User
Authorized users are users who have been granted access to a buyerBuyer A business entity in the Payment Run solution that can be provided with financial services to perform embedded payment runs. Buyers are onboarded through a KYB process and can create payment runs to pay their suppliers. They have roles such as Admin, Controller, and Creator. within Weavr. They are not the legal owners of the identity therefore they do not own the instrumentsInstrument A financial product owned by an Identity. There are two types: Managed Accounts (stored-value accounts that hold balances and can receive wire transfers) and Managed Cards (prepaid cards - virtual or physical - used for purchases). or the funds created for the respective buyerBuyer A business entity in the Payment Run solution that can be provided with financial services to perform embedded payment runs. Buyers are onboarded through a KYB process and can create payment runs to pay their suppliers. They have roles such as Admin, Controller, and Creator..
For a buyerBuyer A business entity in the Payment Run solution that can be provided with financial services to perform embedded payment runs. Buyers are onboarded through a KYB process and can create payment runs to pay their suppliers. They have roles such as Admin, Controller, and Creator. persona, an authorized user can represent a company role from the payables department, a financial controller, a procurement officer, a treasury role or an external accountant.
Depending on how your application can be utilized, the assigned authorized users can be users of the application that are intersecting with the financial service component to perform payments using the selected payment methods or to perform payment receipt reconciliation.
Before you can add authorized users to a BuyerBuyer A business entity in the Payment Run solution that can be provided with financial services to perform embedded payment runs. Buyers are onboarded through a KYB process and can create payment runs to pay their suppliers. They have roles such as Admin, Controller, and Creator., you must have:
- An on boarded Buyer
- A logged-in user with an Admin role and a stepped up token.
This guide demonstrates how you can enable your customers to add users with roles to their identity in the following steps:
- Create a new user
- Set the user's password
- Enroll the user's device
1. Create a new user
Use the create user API to create a new user associated with the buyerBuyer A business entity in the Payment Run solution that can be provided with financial services to perform embedded payment runs. Buyers are onboarded through a KYB process and can create payment runs to pay their suppliers. They have roles such as Admin, Controller, and Creator. that the logged-in user initiating the request belongs to.
Learn more about roles and permissions here.
We return the details of the newly created user, including the id which is used to identify this particular user in subsequent API calls.
2. Set the user's password
Once a user is created, the next step is for the user to set up his/her password. You can set the user's password in 2 ways:
- Via the Create Password API, if the user is already using your product
- Via the User Invitation process, if the user still needs to start using your product
Via the create password API
If the user is already using your product, you can use this option to quickly enable them to setup their password.
If you are not PCI compliant, you cannot handle your customers’ plain-text passwords. Instead, you must tokenizeTokenize Replace a card's primary account number (PAN) with a unique digital token that stands in for the real card during a transaction. When a cardholder adds a card to Apple Pay or Google Pay via push provisioning, the wallet provider stores a device-specific token rather than the underlying PAN, so the real card number isn't exposed on the device or shared with merchants. passwords. Find more information on how to transmit data securely here.
We return a token as part of a successful response. Provide the token as part of APIs which require the user to be logged in.
Via the user invitation process
If you still need to onboard the user onto your product, you can use the invitation process to start this process. The invitation process is a 2 step process:
- Send an invitation email to the user
- User accepts invitation and provides their password
2.1. Send an invitation email to the user
Use the send user invite API to send an invitation to the user on their email address.
You can brand and personalize the email content that is sent to your users. Read our guide on buyer email communications for more information.
The invitation email contains a verification code and a URL that redirects to your application. Once the user clicks this URL, they are redirected to a page on your application where they can input the verification code they received.
The invitation expires after 30 days.
2.2. User accepts invitation and provides their password
Set the user's password by submitting the verification code that the user received in the email together with the user's password.
We return a token as part of a successful response. Provide the token as part of APIs which require the user to be logged in.
3. Enroll the user's device
Users must be enrolled with one additional authentication factor to perform operations that require Strong Customer Authentication (SCASCA Strong Customer Authentication - a two-factor authentication solution required by PSD2 regulations for when end-users are accessing their payment account sensitive information or initiating transactions. SCA requires at least two of the following: something you know (password), something you have (device), or something you are (biometrics).).
3.1. Enroll user using OTP via SMS
You can start the enrollment process using the API. The user receives a text message (SMS) on the mobile number provided when creating the user.
3.2. Verify the user's mobile device
You must build a page in your application where the user can enter the verification code that they received in the text message together with their password. Then, you need to submit the information using the API.