Corporate Programs only:This page applies to Corporate Programs.
Add user
To add a user, you will need different endpoints for the Corporate or Authorized User programs.Corporate programs
Once Rain approves a companyβs application, you can add new users to the company. This step only requires the userβs first name, last name, and email. You can also provide a wallet address to associate with this user. There is no limit on the number of users in production; during production testing, a default limit of 10 users applies. Users will also go through Rainβs compliance process. You can receive a webhook to know when the userβs compliance status changes. The payload will be theuserId and their new compliance status.
Authorized user programs
When a customer signs up for your issuing program, you create a user for them. Youβll need their legal first and last name and an email address. Generally, you must perform due diligence and compliance with the user before creating the user entity. User creation for authorized-user programs is enabled per program; Rain shares the endpoint details during onboarding.Deactivate user
You can set users as active or inactive. You can update the user with the desired value in theisActive parameter. This will change their status, and you will see the change when you fetch users through the API.
Delete user
Submit theuserId to the delete user endpoint to delete their information. This will also set the status of all cards of that user to cancelled. You will receive a card.updated webhook for each card that is cancelled, with a statusChangeReason of user_deleted.