Skip to main content
PATCH
Update a user's consumer application

Authorizations

Api-Key
string
header
required

Path Parameters

userId
string<uuid>
required

Id of the user whose application is being reapplied

Body

application/json

Update information for this user

The user - they must have a wallet address, and their wallet address will be an owner on the company's Rain smart contract

firstName
string

The person's first name

Maximum string length: 50
lastName
string

The person's last name

Maximum string length: 50
birthDate
string<date>

The person's birth date

Example:

"2000-01-01"

nationalId
string

The person's national id, 9-digit SSN if country of issue is US

countryOfIssue
string

The person's country of issue of their national id

Required string length: 2
address
object

The person's address

ipAddress
string

The user's IP address

occupation
string

The user's occupation

annualSalary
string

The user's annual salary

accountPurpose
string

The purpose of the user's account

expectedMonthlyVolume
string

The amount of money the user expects to spend each month

isTermsOfServiceAccepted
enum<boolean>

Optional. Whether the user has accepted the terms of service. If omitted, this defaults to true server-side.

Available options:
true
hasExistingDocuments
boolean

Whether or not to use existing documents for additional verification

externalId
string

An optional tenant-defined identifier for this user. Must be unique within the tenant.

Required string length: 1 - 255

Response

Successful operation

id
string<uuid>
required

The user's unique identifier

firstName
string
required

The user's first name

Maximum string length: 50
lastName
string
required

The user's last name

Maximum string length: 50
email
string
required

The user's email address

isActive
boolean
required

Whether the user is active

applicationStatus
enum<string>
required
Available options:
approved,
pending,
needsInformation,
needsVerification,
manualReview,
denied,
locked,
canceled
companyId
string<uuid>

The id of the company that the user belongs to, if any

externalId
string

An optional tenant-defined identifier for this user. Must be unique within the tenant.

Required string length: 1 - 255
sourceKey
string

The source key associated with the user's team

Required string length: 1 - 24
address
object

The user's physical address

phoneCountryCode
string

The user's phone country code

Required string length: 1 - 3
Pattern: ^[0-9]+$
Example:

"1"

phoneNumber
string

The user's phone number

Required string length: 1 - 15
Pattern: ^[0-9]+$
Example:

"5555555555"

walletAddress
string

The user's EVM wallet address

solanaAddress
string

The user's Solana wallet address

Pattern: ^[1-9A-HJ-NP-Za-km-z]{32,44}$
createdAt
string<date-time>

When the user was created

updatedAt
string<date-time>

When the user was last updated

The link to the external verification page for the application

The link to the completion page for the application

applicationReason
string

The reason for the application status