Sha256: c2354f1ae84611891c44fc9b689f26b2ffb65bfbee1aa04454c57b9590e60ac9

Contents?: true

Size: 899 Bytes

Versions: 2

Compression:

Stored size: 899 Bytes

Contents

# frozen_string_literal: true

module Sumsub
  module Struct
    # https://developers.sumsub.com/api-reference/#webhook-payload-attributes
    class WebhookPayload < BaseStruct
      attribute :applicantId, Types::String
      attribute :inspectionId, Types::String
      attribute :correlationId, Types::String
      attribute :externalUserId, Types::String
      attribute :type, Types::String
      attribute :reviewStatus, Types::String
      attribute :createdAt, Types::String
      attribute? :applicantType, Types::String
      attribute? :reviewResult, Types::Instance(Sumsub::Struct::ReviewResult)
      attribute? :applicantMemberOf, Types::Array.of(Types::Hash)
      attribute? :videoIdentReviewStatus, Types::String
      attribute? :applicantActionId, Types::String
      attribute? :externalApplicantActionId, Types::String
      attribute :clientId, Types::String
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sumsub-ruby-sdk-0.2.1 lib/sumsub/struct/webhook_payload.rb
sumsub-ruby-sdk-0.2.0 lib/sumsub/struct/webhook_payload.rb