Customers

Retrieve Customer's Info

The request and response for this endpoint is identical to the GET /customer request and response defined in SEP-12.

This endpoint allows clients to:

  1. Fetch the fields the server requires in order to register a new customer via a SEP-12 PUT /customer request

If the server does not have a customer registered for the parameters sent in the request, it should return the fields required in the response. The same response should be returned when no parameters are sent.

  1. Check the status of a customer that may already be registered

This allows clients to check whether the customers information was accepted, rejected, or still needs more info. If the server still needs more info, or the server needs updated information, it should return the fields required.

get/customer

Query parameters

idstring

The ID of the customer as returned in the response of a previous PUT request.

accountstring

The Stellar or Muxed Account authenticated with the Platform via SEP-10.

memostring

The memo value identifying a customer with a shared account, where the shared account is account.

memo_type'id' | 'hash' | 'text'

The type of memo used to identify a customer with a shared account.

typestring

The type of action the customer is being KYCd for. See the Type Specification documented in SEP-12.

transaction_idstring

The transaction id with which the customer's info is associated. When information from the customer depends on the transaction (e.g., more information is required for larger amounts)

langstring

Defaults to en. Language code specified using ISO 639-1. Human readable descriptions, choices, and messages should be in this language.

Response

Valid request. Customer either already exists or the customer identified by the parameters is new and must provide the field values described in the response body. Response bodies are identical to the schema defined in SEP-12.

GetCustomerResponse required— unresolved $ref

Changes