update

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

Update a customer.

Return

a customer with id information

Parameters

sep9Info

map of customer SEP-9 information

id

the ID of the customer as returned in the response of a previous PUT request. If the customer has not been registered, they do not yet have an id.

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.