CustomerInformationStatus

public struct CustomerInformationStatus : Decodable, Sendable

Response indicating the status of customer information processing.

This response is returned by GET /deposit or GET /withdraw requests in SEP-6 when customer information has been submitted and is being processed or has been denied. The wallet should inform the user of the current status and may periodically check for updates.

Status values:

  • pending: Information is being reviewed
  • denied: Customer has been denied

See SEP-6 Customer Information Status

  • Always set to customer_info_status

    Declaration

    Swift

    public let type: String
  • Status of customer information processing. One of: pending, denied

    Declaration

    Swift

    public let status: String
  • (optional) A URL the user can visit if they want more information about their account / status. If lang was passed in the request, a lang query parameter should be added to the URL with the same value.

    Declaration

    Swift

    public let moreInfoUrl: String?
  • eta

    (optional) Estimated number of seconds until the customer information status will update.

    Declaration

    Swift

    public let eta: Int?
  • 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