Invite a customer
Creates a user and their application. Called by your integration (a service user) or by an operator.
role says what the user becomes. Leave it out to invite a customer.
role | The user becomes | Also send |
|---|---|---|
| (left out) | A customer with their own account | |
(left out), with isCompany: true | A company | |
PREPAID_CARD_CUSTOMER, CARD_ONLY, CHILD | A sub-user, funded from a parent account | accountId |
EMPLOYEE | A cardholder on a corporate’s accounts: an employee | corporateCustomerId, accountIds |
A role set up for your program, for example CONSUMER_CARDHOLDER | A cardholder on a corporate’s accounts, with that role’s permissions | corporateCustomerId, accountIds |
You can only invite the roles your program has been given. The table lists every role this route understands, not the ones available to you. Inviting a role your program does not have returns 400. Speak to Orenda to find out which roles you have.
Step-up. An operator must send a confirmation (passkey or TOTP). A service user never needs one.
Programs that use a client reference must send clientReference on every invite.
The guide, Invite a customer, explains each kind of invite, what happens next, and how to act on each error.
Authorizations
Query Parameters
Body
What your integration or an operator sends. Which of the user's details are required depends on the role and on your program; if one is missing, the 400 names it.
Whether to email the user now. Default true.
Send false to create the invite without emailing them. When you are ready, send the email with POST /customers/{customerId}/reset, using the invite's applicationId as customerId. That route is not under /v1 and needs the customers.triage.reset permission.
On a program that uses a client reference, sendInvite: false returns 400: those programs never send an invitation email.
What the user becomes. Leave it out to invite a customer.
PREPAID_CARD_CUSTOMER,CARD_ONLY,CHILD: a sub-user. SendaccountId.EMPLOYEE: an employee of a corporate. SendcorporateCustomerIdandaccountIds.- A role set up for your program, for example
CONSUMER_CARDHOLDER: a cardholder on a corporate's accounts. SendcorporateCustomerIdandaccountIds.
Your program must have the role. Write it exactly, in capitals with underscores. CORPORATE_MANAGER cannot be invited on this route.
64^[A-Z][A-Z0-9]*(?:_[A-Z0-9]+)*$"CONSUMER_CARDHOLDER"
The corporate's accounts the cardholder may use, at least one. Required with EMPLOYEE or a role set up for your program. Each must be an ACTIVE account of that corporate, and not one that is itself funded from a parent. If one is wrong the whole invite is refused, and the message does not say which. Refused on any other invite.