CustomerInformationNeededInteractive

public struct CustomerInformationNeededInteractive : Decodable, Sendable

Response indicating that customer information is needed through an interactive flow.

This response is returned by GET /deposit or GET /withdraw requests in SEP-6 when the anchor needs to collect KYC information from the user through a web interface. The wallet should display the provided URL in a popup or iframe.

Note: Interactive components of SEP-6 are deprecated in favor of SEP-24.

See SEP-6 Customer Information Needed

  • Always set to interactive_customer_info_needed

    Declaration

    Swift

    public let type: String
  • url

    URL hosted by the anchor. The wallet should show this URL to the user either as a popup or an iframe.

    Declaration

    Swift

    public let url: 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