PutCustomerInfoResponse

public struct PutCustomerInfoResponse : Decodable, Sendable

Response returned after successfully uploading customer information.

This response is returned by PUT /customer requests in SEP-12 when the anchor has successfully received and stored the customer information. The response contains an ID that can be used in future requests to retrieve or update the customer’s information.

The anchor responds with HTTP 202 Accepted or 200 Success along with this response body.

See SEP-12 Customer PUT

  • id

    An identifier for the updated or created customer

    Declaration

    Swift

    public let id: String
  • Initializer - creates a new instance by decoding from the given decoder.

    Declaration

    Swift

    public init(from decoder: Decoder) throws

    Parameters

    decoder

    The decoder containing the data