""" Options: Date: 2024-12-03 12:32:01 Version: 6.10 Tip: To override a DTO option, remove "#" prefix before updating BaseUrl: https://api.paysecure.acculynk.net #GlobalNamespace: #AddServiceStackTypes: True #AddResponseStatus: False #AddImplicitVersion: #AddDescriptionAsComments: True IncludeTypes: WebHookRequest.* #ExcludeTypes: #DefaultImports: datetime,decimal,marshmallow.fields:*,servicestack:*,typing:*,dataclasses:dataclass/field,dataclasses_json:dataclass_json/LetterCase/Undefined/config,enum:Enum/IntEnum #DataClass: #DataClassJson: """ import datetime import decimal from marshmallow.fields import * from servicestack import * from typing import * from dataclasses import dataclass, field from dataclasses_json import dataclass_json, LetterCase, Undefined, config from enum import Enum, IntEnum # @Route("/PayWithBankWebHook", "POST") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class WebHookRequest: authorization: Optional[str] = None merchant_id: Optional[str] = None merchant_reference: Optional[str] = None payment_type: Optional[str] = None transaction_type: Optional[str] = None event_id: Optional[str] = None event_type: Optional[str] = None object_id: Optional[str] = None object_type: Optional[str] = None message: Optional[str] = None parent_object_id: Optional[str] = None time_zone: Optional[str] = None created_at: Optional[str] = None access_id: Optional[str] = None transaction_id: Optional[str] = None error_code: Optional[str] = None split_token: Optional[str] = None request_signature: Optional[str] = None form_data: Optional[str] = None status: Optional[str] = None payment_provider_transactionstatus: Optional[str] = None payment_provider_transactionstatus_message: Optional[str] = None third_party_decline_code: Optional[str] = None