invited, if their email already has an associated Onsi account their status will go straight to active.
Relevant Error Codes
If there are any issues with the member add, the API will return a400 status code with the following error codes:
- MemberAlreadyInvited a member with this email is currently active or invited.
- InvalidAddMemberPayload for any other add member payload issues.
Authorizations
Headers
Unique key to ensure idempotency of the request
Body
Body
A unique email address for the member
"jane-smith@onsi.com"
"John"
"Smith"
Tier name for the member
"Gold"
An optional phone number for the member
"+447123456789"
Unique ID provided by API consumer, must be unique across all members (active, invited and inactive)
"ID_123"
A UK bank account
- BankAccountUK
- BankAccountEU
{
"accountHolder": "John Smith",
"sortCode": "123456",
"accountNumber": "12345678"
}Date of birth of the member, must later than 1900
"1990-01-01"
Gender of the member
Female, Male, NonBinary Response
A member on the platform.
Onsi's ID of the member
"mem_q5sdae3se6eg9m9dcvug"
"John"
"Smith"
"+447123456789"
Tier name for the member
"Gold"
Unique ID provided by API consumer, must be unique across all members (active, invited and inactive)
"ID_123"
The status of the member.
active, invited, inactive A UK bank account
- BankAccountUK
- BankAccountEU
{
"accountHolder": "John Smith",
"sortCode": "123456",
"accountNumber": "12345678"
}true
Date of birth of the member, must later than 1900
Date in ISO8601 YYYY-MM-DD format
"1990-01-01"
Gender of the member
Female, Male, NonBinary