Schemas
Member
A member is the core entity in the Onsi platform, they are the end users who you invite to the platform.
You should manage members via the Member Management API
A member on the platform.
Pattern:
^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$Onsi's ID of the member
Example:
"mem_q5sdae3se6eg9m9dcvug"
Example:
"John"
Example:
"Smith"
Example:
"+447123456789"
Tier name for the member
Example:
"Gold"
Unique ID provided by API consumer, must be unique across all members (active, invited and inactive)
Example:
"ID_123"
The status of the member.
Available options:
active, invited, inactive A UK bank account
- BankAccountUK
- BankAccountEU
Example:
{
"accountHolder": "John Smith",
"sortCode": "123456",
"accountNumber": "12345678"
}Example:
true
Date of birth of the member, must later than 1900
Pattern:
^\d{4}-\d{2}-\d{2}$Example:
"1990-01-01"
Gender of the member
Available options:
Female, Male, NonBinary