add

suspend fun add(sep9Info: Map<String, String>, memo: ULong? = null, type: String? = null): AddCustomerResponse

Create a new customer.

Return

a customer with id information

Parameters

sep9Info

(optional) map of customer SEP-9 information. To create a new customer fields first_name, last_name, and email_address are required

type

(optional) the type of action the customer is being KYC for. See the Type Specification on SEP-12 definition.

memo

(optional) the client-generated memo of type ID that uniquely identifies the customer. If a memo is present in the decoded SEP-10 JWT's sub value, it must match this parameter value.