moovio_sdk 0.3.8__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- moovio_sdk/__init__.py +17 -0
- moovio_sdk/_hooks/__init__.py +5 -0
- moovio_sdk/_hooks/registration.py +13 -0
- moovio_sdk/_hooks/sdkhooks.py +76 -0
- moovio_sdk/_hooks/types.py +106 -0
- moovio_sdk/_version.py +15 -0
- moovio_sdk/accounts.py +2461 -0
- moovio_sdk/adjustments.py +463 -0
- moovio_sdk/apple_pay.py +1417 -0
- moovio_sdk/authentication.py +531 -0
- moovio_sdk/avatars.py +231 -0
- moovio_sdk/bank_accounts.py +2445 -0
- moovio_sdk/basesdk.py +363 -0
- moovio_sdk/branding.py +1089 -0
- moovio_sdk/capabilities.py +1001 -0
- moovio_sdk/card_issuing.py +1351 -0
- moovio_sdk/cards.py +1469 -0
- moovio_sdk/disputes.py +2985 -0
- moovio_sdk/end_to_end_encryption.py +453 -0
- moovio_sdk/enriched_address.py +307 -0
- moovio_sdk/enriched_profile.py +235 -0
- moovio_sdk/fee_plans.py +1759 -0
- moovio_sdk/files.py +775 -0
- moovio_sdk/httpclient.py +136 -0
- moovio_sdk/industries.py +239 -0
- moovio_sdk/institutions.py +261 -0
- moovio_sdk/issuing_transactions.py +1228 -0
- moovio_sdk/models/__init__.py +4 -0
- moovio_sdk/models/components/__init__.py +1411 -0
- moovio_sdk/models/components/account.py +96 -0
- moovio_sdk/models/components/accountcapability.py +20 -0
- moovio_sdk/models/components/accountcountries.py +18 -0
- moovio_sdk/models/components/accountnameverification.py +28 -0
- moovio_sdk/models/components/accounttype.py +11 -0
- moovio_sdk/models/components/accountverificationstatus.py +19 -0
- moovio_sdk/models/components/achcreditsamedaypaymentmethod.py +38 -0
- moovio_sdk/models/components/achcreditstandardpaymentmethod.py +38 -0
- moovio_sdk/models/components/achdebitcollectpaymentmethod.py +38 -0
- moovio_sdk/models/components/achdebitfundpaymentmethod.py +38 -0
- moovio_sdk/models/components/achexception.py +20 -0
- moovio_sdk/models/components/achlocation.py +26 -0
- moovio_sdk/models/components/achparticipant.py +93 -0
- moovio_sdk/models/components/achpaymentdetails.py +30 -0
- moovio_sdk/models/components/achpaymentdetailserror.py +22 -0
- moovio_sdk/models/components/achpaymentsettings.py +16 -0
- moovio_sdk/models/components/achreturncode.py +51 -0
- moovio_sdk/models/components/achtransactiondetails.py +94 -0
- moovio_sdk/models/components/achtransactionstatus.py +15 -0
- moovio_sdk/models/components/addcapabilities.py +15 -0
- moovio_sdk/models/components/address.py +30 -0
- moovio_sdk/models/components/addresserror.py +32 -0
- moovio_sdk/models/components/addresssuggestion.py +34 -0
- moovio_sdk/models/components/addressupdate.py +32 -0
- moovio_sdk/models/components/adjustment.py +29 -0
- moovio_sdk/models/components/amount.py +26 -0
- moovio_sdk/models/components/amountdecimal.py +27 -0
- moovio_sdk/models/components/amountupdate.py +27 -0
- moovio_sdk/models/components/amountvalidationerror.py +17 -0
- moovio_sdk/models/components/applebillingcontact.py +53 -0
- moovio_sdk/models/components/applepayheader.py +41 -0
- moovio_sdk/models/components/applepaymerchantdomains.py +32 -0
- moovio_sdk/models/components/applepaypaymentmethod.py +33 -0
- moovio_sdk/models/components/applepayresponse.py +70 -0
- moovio_sdk/models/components/applicationscope.py +41 -0
- moovio_sdk/models/components/asynccreatedrefund.py +26 -0
- moovio_sdk/models/components/asynctransfer.py +18 -0
- moovio_sdk/models/components/authorizeduser.py +21 -0
- moovio_sdk/models/components/authtoken.py +36 -0
- moovio_sdk/models/components/authtokenrequest.py +46 -0
- moovio_sdk/models/components/bankaccount.py +98 -0
- moovio_sdk/models/components/bankaccountexception.py +96 -0
- moovio_sdk/models/components/bankaccountholdertype.py +11 -0
- moovio_sdk/models/components/bankaccountintegration.py +34 -0
- moovio_sdk/models/components/bankaccountpayload.py +21 -0
- moovio_sdk/models/components/bankaccountstatus.py +12 -0
- moovio_sdk/models/components/bankaccountstatusreason.py +23 -0
- moovio_sdk/models/components/bankaccounttype.py +13 -0
- moovio_sdk/models/components/bankaccountverification.py +30 -0
- moovio_sdk/models/components/bankaccountverificationcreated.py +21 -0
- moovio_sdk/models/components/bankaccountverificationmethod.py +9 -0
- moovio_sdk/models/components/bankaccountverificationstatus.py +13 -0
- moovio_sdk/models/components/bankaccountwaitfor.py +9 -0
- moovio_sdk/models/components/basicpaymentmethod.py +24 -0
- moovio_sdk/models/components/billablefee.py +54 -0
- moovio_sdk/models/components/birthdate.py +19 -0
- moovio_sdk/models/components/birthdateerror.py +20 -0
- moovio_sdk/models/components/birthdateupdate.py +20 -0
- moovio_sdk/models/components/birthdatevalidationerror.py +20 -0
- moovio_sdk/models/components/brandcolor.py +15 -0
- moovio_sdk/models/components/brandcolors.py +21 -0
- moovio_sdk/models/components/brandcolorvalidationerror.py +14 -0
- moovio_sdk/models/components/brandproperties.py +16 -0
- moovio_sdk/models/components/businessprofile.py +81 -0
- moovio_sdk/models/components/businesstype.py +19 -0
- moovio_sdk/models/components/calltoaction.py +19 -0
- moovio_sdk/models/components/cancellation.py +22 -0
- moovio_sdk/models/components/cancellationstatus.py +10 -0
- moovio_sdk/models/components/capabilitieserror.py +14 -0
- moovio_sdk/models/components/capability.py +56 -0
- moovio_sdk/models/components/capabilityid.py +18 -0
- moovio_sdk/models/components/capabilityrequirement.py +26 -0
- moovio_sdk/models/components/capabilitystatus.py +13 -0
- moovio_sdk/models/components/card.py +164 -0
- moovio_sdk/models/components/cardaccountupdater.py +28 -0
- moovio_sdk/models/components/cardacquiringdispute.py +26 -0
- moovio_sdk/models/components/cardacquiringmodel.py +11 -0
- moovio_sdk/models/components/cardacquiringrefund.py +42 -0
- moovio_sdk/models/components/cardaddress.py +32 -0
- moovio_sdk/models/components/cardbrand.py +14 -0
- moovio_sdk/models/components/cardexpiration.py +20 -0
- moovio_sdk/models/components/cardexpirationerror.py +17 -0
- moovio_sdk/models/components/cardissuingnetwork.py +12 -0
- moovio_sdk/models/components/cardpaymentdetails.py +23 -0
- moovio_sdk/models/components/cardpaymentdetailserror.py +17 -0
- moovio_sdk/models/components/cardpaymentpaymentmethod.py +33 -0
- moovio_sdk/models/components/cardpaymentsettings.py +23 -0
- moovio_sdk/models/components/cardtransactiondetails.py +94 -0
- moovio_sdk/models/components/cardtransactionfailurecode.py +32 -0
- moovio_sdk/models/components/cardtransactionstatus.py +15 -0
- moovio_sdk/models/components/cardtype.py +13 -0
- moovio_sdk/models/components/cardupdatereason.py +16 -0
- moovio_sdk/models/components/cardverification.py +38 -0
- moovio_sdk/models/components/cardverificationresult.py +12 -0
- moovio_sdk/models/components/cardvolumedistribution.py +29 -0
- moovio_sdk/models/components/cardvolumedistributionerror.py +32 -0
- moovio_sdk/models/components/collectionpaymentmethodtype.py +12 -0
- moovio_sdk/models/components/colorsvalidationerror.py +21 -0
- moovio_sdk/models/components/completebankaccountverification.py +15 -0
- moovio_sdk/models/components/completedmicrodeposits.py +14 -0
- moovio_sdk/models/components/completemicrodeposits.py +20 -0
- moovio_sdk/models/components/countrieserrors.py +14 -0
- moovio_sdk/models/components/createaccount.py +78 -0
- moovio_sdk/models/components/createaccounterror.py +44 -0
- moovio_sdk/models/components/createaccountsettings.py +40 -0
- moovio_sdk/models/components/createapplepaysession.py +21 -0
- moovio_sdk/models/components/createauthorizeduser.py +26 -0
- moovio_sdk/models/components/createauthorizedusererror.py +24 -0
- moovio_sdk/models/components/createauthorizeduserupdate.py +28 -0
- moovio_sdk/models/components/createbusinesserror.py +88 -0
- moovio_sdk/models/components/createbusinessprofile.py +69 -0
- moovio_sdk/models/components/createevidencefilemultipart.py +63 -0
- moovio_sdk/models/components/createevidencetext.py +20 -0
- moovio_sdk/models/components/createfeeplanagreement.py +14 -0
- moovio_sdk/models/components/createindividualerror.py +72 -0
- moovio_sdk/models/components/createindividualprofile.py +37 -0
- moovio_sdk/models/components/createpaymentlink.py +95 -0
- moovio_sdk/models/components/createprofile.py +22 -0
- moovio_sdk/models/components/createprofileerror.py +19 -0
- moovio_sdk/models/components/createrefund.py +26 -0
- moovio_sdk/models/components/createrefundresponse.py +18 -0
- moovio_sdk/models/components/createrepresentative.py +50 -0
- moovio_sdk/models/components/createreversal.py +15 -0
- moovio_sdk/models/components/createsweepconfig.py +41 -0
- moovio_sdk/models/components/createterminalapplication.py +42 -0
- moovio_sdk/models/components/createtransfer.py +49 -0
- moovio_sdk/models/components/createtransferdestination.py +37 -0
- moovio_sdk/models/components/createtransferdestinationach.py +26 -0
- moovio_sdk/models/components/createtransferdestinationcard.py +19 -0
- moovio_sdk/models/components/createtransferoptions.py +24 -0
- moovio_sdk/models/components/createtransfersource.py +48 -0
- moovio_sdk/models/components/createtransfersourceach.py +40 -0
- moovio_sdk/models/components/createtransfersourcecard.py +35 -0
- moovio_sdk/models/components/customersupport.py +33 -0
- moovio_sdk/models/components/customersupporterror.py +25 -0
- moovio_sdk/models/components/debitholdperiod.py +12 -0
- moovio_sdk/models/components/disbursementpaymentmethodtype.py +13 -0
- moovio_sdk/models/components/displayoptionserror.py +23 -0
- moovio_sdk/models/components/dispute.py +76 -0
- moovio_sdk/models/components/disputeevidenceresponse.py +49 -0
- moovio_sdk/models/components/disputephase.py +13 -0
- moovio_sdk/models/components/disputestatus.py +20 -0
- moovio_sdk/models/components/disputetransferdetails.py +16 -0
- moovio_sdk/models/components/document.py +37 -0
- moovio_sdk/models/components/documenttype.py +13 -0
- moovio_sdk/models/components/domesticpullfromcard.py +12 -0
- moovio_sdk/models/components/domesticpushtocard.py +13 -0
- moovio_sdk/models/components/e2eetoken.py +25 -0
- moovio_sdk/models/components/e2eetokenupdate.py +26 -0
- moovio_sdk/models/components/end2endencryptionerror.py +14 -0
- moovio_sdk/models/components/enrichedaddressresponse.py +15 -0
- moovio_sdk/models/components/enrichedbusinessprofile.py +37 -0
- moovio_sdk/models/components/enrichedbusinessresponse.py +18 -0
- moovio_sdk/models/components/enrichedindustries.py +15 -0
- moovio_sdk/models/components/enrichedindustry.py +32 -0
- moovio_sdk/models/components/enrichedindustrycodes.py +17 -0
- moovio_sdk/models/components/evidencetextresponse.py +28 -0
- moovio_sdk/models/components/evidencetype.py +15 -0
- moovio_sdk/models/components/evidenceuploadresponse.py +50 -0
- moovio_sdk/models/components/facilitatorfee.py +48 -0
- moovio_sdk/models/components/feecategory.py +16 -0
- moovio_sdk/models/components/feemodel.py +12 -0
- moovio_sdk/models/components/feeplan.py +43 -0
- moovio_sdk/models/components/feeplanagreement.py +51 -0
- moovio_sdk/models/components/feeplanagreementstatus.py +9 -0
- moovio_sdk/models/components/feeproperties.py +49 -0
- moovio_sdk/models/components/filedetails.py +55 -0
- moovio_sdk/models/components/filepurpose.py +15 -0
- moovio_sdk/models/components/filestatus.py +12 -0
- moovio_sdk/models/components/fileuploadrequestmultipart.py +69 -0
- moovio_sdk/models/components/financialinstitutions.py +18 -0
- moovio_sdk/models/components/fulfillmentdetails.py +24 -0
- moovio_sdk/models/components/fulfillmentdetailserror.py +20 -0
- moovio_sdk/models/components/fullissuedcard.py +92 -0
- moovio_sdk/models/components/generatedby.py +39 -0
- moovio_sdk/models/components/generatedbyaccountid.py +15 -0
- moovio_sdk/models/components/generatedbybankaccountid.py +17 -0
- moovio_sdk/models/components/generatedbycardid.py +15 -0
- moovio_sdk/models/components/generatedbydisputeid.py +15 -0
- moovio_sdk/models/components/generatedbytransferid.py +15 -0
- moovio_sdk/models/components/governmentid.py +40 -0
- moovio_sdk/models/components/governmentiderror.py +40 -0
- moovio_sdk/models/components/granttype.py +15 -0
- moovio_sdk/models/components/incurredfee.py +44 -0
- moovio_sdk/models/components/individualname.py +32 -0
- moovio_sdk/models/components/individualnameerror.py +24 -0
- moovio_sdk/models/components/individualnameupdate.py +32 -0
- moovio_sdk/models/components/individualprofile.py +45 -0
- moovio_sdk/models/components/industrycodes.py +20 -0
- moovio_sdk/models/components/issuedcard.py +78 -0
- moovio_sdk/models/components/issuedcardauthorization.py +53 -0
- moovio_sdk/models/components/issuedcardauthorizationevent.py +37 -0
- moovio_sdk/models/components/issuedcardauthorizationeventresult.py +12 -0
- moovio_sdk/models/components/issuedcardeventtype.py +15 -0
- moovio_sdk/models/components/issuedcardformfactor.py +10 -0
- moovio_sdk/models/components/issuedcardstate.py +19 -0
- moovio_sdk/models/components/issuedcardtransaction.py +42 -0
- moovio_sdk/models/components/issuingauthorizationstatus.py +14 -0
- moovio_sdk/models/components/issuingcontrols.py +25 -0
- moovio_sdk/models/components/issuingcontrolserror.py +22 -0
- moovio_sdk/models/components/issuingintervallimit.py +10 -0
- moovio_sdk/models/components/issuingmerchantdata.py +47 -0
- moovio_sdk/models/components/issuingvelocitylimit.py +21 -0
- moovio_sdk/models/components/issuingvelocitylimiterror.py +17 -0
- moovio_sdk/models/components/jsonwebkey.py +103 -0
- moovio_sdk/models/components/linkapplepay.py +54 -0
- moovio_sdk/models/components/linkapplepaymentdata.py +51 -0
- moovio_sdk/models/components/linkapplepaymentmethod.py +38 -0
- moovio_sdk/models/components/linkapplepaytoken.py +63 -0
- moovio_sdk/models/components/linkbankaccount.py +26 -0
- moovio_sdk/models/components/linkcard.py +54 -0
- moovio_sdk/models/components/linkcardwaitfor.py +8 -0
- moovio_sdk/models/components/linkedapplepaypaymentmethod.py +30 -0
- moovio_sdk/models/components/listfeesfetchrequest.py +19 -0
- moovio_sdk/models/components/manualtermsofservice.py +34 -0
- moovio_sdk/models/components/manualtermsofserviceupdate.py +41 -0
- moovio_sdk/models/components/microdepositstatus.py +8 -0
- moovio_sdk/models/components/mode.py +11 -0
- moovio_sdk/models/components/moovfeedetails.py +36 -0
- moovio_sdk/models/components/moovwalletpaymentmethod.py +31 -0
- moovio_sdk/models/components/mxauthorizationcode.py +26 -0
- moovio_sdk/models/components/mxpayload.py +46 -0
- moovio_sdk/models/components/occurrence.py +44 -0
- moovio_sdk/models/components/occurrencesresponse.py +80 -0
- moovio_sdk/models/components/occurrencestatus.py +12 -0
- moovio_sdk/models/components/onboardinginvite.py +91 -0
- moovio_sdk/models/components/onboardinginviterequest.py +57 -0
- moovio_sdk/models/components/onboardingpartneraccount.py +31 -0
- moovio_sdk/models/components/partnerpricing.py +46 -0
- moovio_sdk/models/components/partnerpricingagreement.py +56 -0
- moovio_sdk/models/components/patchaccount.py +138 -0
- moovio_sdk/models/components/patchaccounterror.py +38 -0
- moovio_sdk/models/components/patchbusiness.py +72 -0
- moovio_sdk/models/components/patchindividual.py +43 -0
- moovio_sdk/models/components/patchprofile.py +29 -0
- moovio_sdk/models/components/patchsweepconfig.py +147 -0
- moovio_sdk/models/components/patchtransfer.py +51 -0
- moovio_sdk/models/components/paymentdetailserror.py +35 -0
- moovio_sdk/models/components/paymentlink.py +125 -0
- moovio_sdk/models/components/paymentlinkcustomeroptions.py +31 -0
- moovio_sdk/models/components/paymentlinkdisplayoptions.py +39 -0
- moovio_sdk/models/components/paymentlinkdisplayoptionsupdate.py +42 -0
- moovio_sdk/models/components/paymentlinkpaymentdetails.py +40 -0
- moovio_sdk/models/components/paymentlinkpaymentdetailsupdate.py +41 -0
- moovio_sdk/models/components/paymentlinkpayoutdetails.py +32 -0
- moovio_sdk/models/components/paymentlinkpayoutdetailsupdate.py +33 -0
- moovio_sdk/models/components/paymentlinkstatus.py +11 -0
- moovio_sdk/models/components/paymentmethod.py +82 -0
- moovio_sdk/models/components/paymentmethodsbankaccount.py +65 -0
- moovio_sdk/models/components/paymentmethodscard.py +121 -0
- moovio_sdk/models/components/paymentmethodswallet.py +14 -0
- moovio_sdk/models/components/paymentmethodtype.py +19 -0
- moovio_sdk/models/components/payoutdetailserror.py +21 -0
- moovio_sdk/models/components/payoutrecipient.py +23 -0
- moovio_sdk/models/components/payoutrecipienterror.py +14 -0
- moovio_sdk/models/components/payoutrecipientupdate.py +24 -0
- moovio_sdk/models/components/phonenumber.py +18 -0
- moovio_sdk/models/components/phonenumbererror.py +18 -0
- moovio_sdk/models/components/plaidintegration.py +39 -0
- moovio_sdk/models/components/plaidlinkintegration.py +36 -0
- moovio_sdk/models/components/plaidlinkpayload.py +45 -0
- moovio_sdk/models/components/plaidpayload.py +42 -0
- moovio_sdk/models/components/primaryregulator.py +13 -0
- moovio_sdk/models/components/profile.py +27 -0
- moovio_sdk/models/components/pullfromcardpaymentmethod.py +33 -0
- moovio_sdk/models/components/pushtocardpaymentmethod.py +33 -0
- moovio_sdk/models/components/qrcode.py +16 -0
- moovio_sdk/models/components/receiptkind.py +10 -0
- moovio_sdk/models/components/receiptrequest.py +75 -0
- moovio_sdk/models/components/receiptresponse.py +95 -0
- moovio_sdk/models/components/recur.py +40 -0
- moovio_sdk/models/components/refundcarddetails.py +44 -0
- moovio_sdk/models/components/refundcardstatus.py +12 -0
- moovio_sdk/models/components/refundstatus.py +11 -0
- moovio_sdk/models/components/registerapplepaymerchantdomains.py +22 -0
- moovio_sdk/models/components/representative.py +71 -0
- moovio_sdk/models/components/representativeresponsibilities.py +42 -0
- moovio_sdk/models/components/representativeresponsibilitieserror.py +26 -0
- moovio_sdk/models/components/requestcard.py +44 -0
- moovio_sdk/models/components/requirementerror.py +24 -0
- moovio_sdk/models/components/requirementerrorcode.py +25 -0
- moovio_sdk/models/components/requirementid.py +71 -0
- moovio_sdk/models/components/returnpolicytype.py +11 -0
- moovio_sdk/models/components/reversal.py +23 -0
- moovio_sdk/models/components/reversedwithcancellation.py +14 -0
- moovio_sdk/models/components/reversedwithrefund.py +16 -0
- moovio_sdk/models/components/revoketokenrequest.py +40 -0
- moovio_sdk/models/components/rtpcreditpaymentmethod.py +38 -0
- moovio_sdk/models/components/rtpfailurecode.py +19 -0
- moovio_sdk/models/components/rtprejectioncode.py +25 -0
- moovio_sdk/models/components/rtptransactiondetails.py +56 -0
- moovio_sdk/models/components/rtptransactionstatus.py +13 -0
- moovio_sdk/models/components/runtransfer.py +34 -0
- moovio_sdk/models/components/schedulepaymentmethod.py +56 -0
- moovio_sdk/models/components/scheduleresponse.py +60 -0
- moovio_sdk/models/components/seccode.py +13 -0
- moovio_sdk/models/components/security.py +32 -0
- moovio_sdk/models/components/sentreceipt.py +27 -0
- moovio_sdk/models/components/settings.py +30 -0
- moovio_sdk/models/components/sourcedestinationoptions.py +20 -0
- moovio_sdk/models/components/sweep.py +80 -0
- moovio_sdk/models/components/sweepconfig.py +81 -0
- moovio_sdk/models/components/sweepconfigpaymentmethod.py +31 -0
- moovio_sdk/models/components/sweepconfigstatus.py +9 -0
- moovio_sdk/models/components/sweepstatus.py +13 -0
- moovio_sdk/models/components/taxid.py +25 -0
- moovio_sdk/models/components/taxidupdate.py +26 -0
- moovio_sdk/models/components/terminalapplication.py +55 -0
- moovio_sdk/models/components/terminalapplicationplatform.py +12 -0
- moovio_sdk/models/components/terminalapplicationstatus.py +13 -0
- moovio_sdk/models/components/termsofservice.py +26 -0
- moovio_sdk/models/components/termsofserviceerror.py +39 -0
- moovio_sdk/models/components/termsofservicetoken.py +17 -0
- moovio_sdk/models/components/termsofservicetokenupdate.py +18 -0
- moovio_sdk/models/components/tokentype.py +10 -0
- moovio_sdk/models/components/transactionsource.py +16 -0
- moovio_sdk/models/components/transfer.py +126 -0
- moovio_sdk/models/components/transferaccount.py +20 -0
- moovio_sdk/models/components/transferdestination.py +83 -0
- moovio_sdk/models/components/transferfailurereason.py +14 -0
- moovio_sdk/models/components/transferoptions.py +23 -0
- moovio_sdk/models/components/transferresponse.py +15 -0
- moovio_sdk/models/components/transfersource.py +80 -0
- moovio_sdk/models/components/transferstatus.py +16 -0
- moovio_sdk/models/components/transferwaitfor.py +8 -0
- moovio_sdk/models/components/underwriting.py +56 -0
- moovio_sdk/models/components/underwritingstatus.py +16 -0
- moovio_sdk/models/components/updateapplepaymerchantdomains.py +26 -0
- moovio_sdk/models/components/updatebrand.py +15 -0
- moovio_sdk/models/components/updatecard.py +51 -0
- moovio_sdk/models/components/updatecardaddress.py +32 -0
- moovio_sdk/models/components/updatecardexpiration.py +17 -0
- moovio_sdk/models/components/updatecolor.py +14 -0
- moovio_sdk/models/components/updatecolors.py +18 -0
- moovio_sdk/models/components/updateevidence.py +23 -0
- moovio_sdk/models/components/updateissuedcard.py +44 -0
- moovio_sdk/models/components/updatepaymentlink.py +98 -0
- moovio_sdk/models/components/updaterepresentative.py +224 -0
- moovio_sdk/models/components/updateunderwriting.py +43 -0
- moovio_sdk/models/components/upsertschedule.py +26 -0
- moovio_sdk/models/components/verification.py +54 -0
- moovio_sdk/models/components/verificationstatus.py +17 -0
- moovio_sdk/models/components/verificationstatusdetail.py +23 -0
- moovio_sdk/models/components/volumebycustomertype.py +21 -0
- moovio_sdk/models/components/volumebycustomertypeerror.py +22 -0
- moovio_sdk/models/components/wallet.py +27 -0
- moovio_sdk/models/components/walletavailablebalance.py +30 -0
- moovio_sdk/models/components/wallettransaction.py +114 -0
- moovio_sdk/models/components/wallettransactionsourcetype.py +13 -0
- moovio_sdk/models/components/wallettransactionstatus.py +11 -0
- moovio_sdk/models/components/wallettransactiontype.py +32 -0
- moovio_sdk/models/errors/__init__.py +155 -0
- moovio_sdk/models/errors/addcapabilitieserror.py +23 -0
- moovio_sdk/models/errors/apierror.py +22 -0
- moovio_sdk/models/errors/assigncountrieserror.py +20 -0
- moovio_sdk/models/errors/authtokenrequesterror.py +22 -0
- moovio_sdk/models/errors/bankaccountvalidationerror.py +30 -0
- moovio_sdk/models/errors/brandvalidationerror.py +23 -0
- moovio_sdk/models/errors/cardacquiringrefund.py +44 -0
- moovio_sdk/models/errors/createaccount.py +24 -0
- moovio_sdk/models/errors/createpaymentlinkerror.py +46 -0
- moovio_sdk/models/errors/createsweepconfigerror.py +40 -0
- moovio_sdk/models/errors/feeplanagreementerror.py +22 -0
- moovio_sdk/models/errors/fileuploadvalidationerror.py +35 -0
- moovio_sdk/models/errors/filevalidationerror.py +28 -0
- moovio_sdk/models/errors/genericerror.py +19 -0
- moovio_sdk/models/errors/linkapplepayerror.py +36 -0
- moovio_sdk/models/errors/linkcarderror.py +47 -0
- moovio_sdk/models/errors/microdepositvalidationerror.py +20 -0
- moovio_sdk/models/errors/onboardinginviteerror.py +34 -0
- moovio_sdk/models/errors/patchsweepconfigerror.py +38 -0
- moovio_sdk/models/errors/receiptvalidationerror.py +40 -0
- moovio_sdk/models/errors/refundvalidationerror.py +23 -0
- moovio_sdk/models/errors/representativevalidationerror.py +68 -0
- moovio_sdk/models/errors/requestcarderror.py +42 -0
- moovio_sdk/models/errors/reversalvalidationerror.py +20 -0
- moovio_sdk/models/errors/revoketokenrequesterror.py +22 -0
- moovio_sdk/models/errors/schedulevalidationerror.py +24 -0
- moovio_sdk/models/errors/terminalapplicationerror.py +30 -0
- moovio_sdk/models/errors/transfer.py +108 -0
- moovio_sdk/models/errors/transferoptionsvalidationerror.py +24 -0
- moovio_sdk/models/errors/transfervalidationerror.py +49 -0
- moovio_sdk/models/errors/updateaccount.py +24 -0
- moovio_sdk/models/errors/updatecarderror.py +43 -0
- moovio_sdk/models/errors/updateissuedcarderror.py +32 -0
- moovio_sdk/models/errors/updatepaymentlinkerror.py +36 -0
- moovio_sdk/models/errors/updateunderwritingerror.py +70 -0
- moovio_sdk/models/internal/__init__.py +6 -0
- moovio_sdk/models/internal/globals.py +40 -0
- moovio_sdk/models/operations/__init__.py +1824 -0
- moovio_sdk/models/operations/acceptdispute.py +71 -0
- moovio_sdk/models/operations/assignaccountcountries.py +75 -0
- moovio_sdk/models/operations/cancelschedule.py +67 -0
- moovio_sdk/models/operations/completebankaccountverification.py +85 -0
- moovio_sdk/models/operations/completemicrodeposits.py +87 -0
- moovio_sdk/models/operations/createaccesstoken.py +52 -0
- moovio_sdk/models/operations/createaccount.py +52 -0
- moovio_sdk/models/operations/createapplepaysession.py +81 -0
- moovio_sdk/models/operations/createbrand.py +75 -0
- moovio_sdk/models/operations/createcancellation.py +75 -0
- moovio_sdk/models/operations/createfeeplanagreements.py +80 -0
- moovio_sdk/models/operations/createonboardinginvite.py +52 -0
- moovio_sdk/models/operations/createpaymentlink.py +78 -0
- moovio_sdk/models/operations/createreceipts.py +52 -0
- moovio_sdk/models/operations/createrepresentative.py +80 -0
- moovio_sdk/models/operations/createreversal.py +98 -0
- moovio_sdk/models/operations/createschedule.py +78 -0
- moovio_sdk/models/operations/createsweepconfig.py +78 -0
- moovio_sdk/models/operations/createterminalapplication.py +54 -0
- moovio_sdk/models/operations/createtransfer.py +125 -0
- moovio_sdk/models/operations/createtransferoptions.py +52 -0
- moovio_sdk/models/operations/deletedisputeevidencefile.py +74 -0
- moovio_sdk/models/operations/deleterepresentative.py +71 -0
- moovio_sdk/models/operations/deleteterminalapplication.py +60 -0
- moovio_sdk/models/operations/disablebankaccount.py +67 -0
- moovio_sdk/models/operations/disablecapability.py +76 -0
- moovio_sdk/models/operations/disablecard.py +67 -0
- moovio_sdk/models/operations/disablepaymentlink.py +67 -0
- moovio_sdk/models/operations/disconnectaccount.py +60 -0
- moovio_sdk/models/operations/generateendtoendkey.py +60 -0
- moovio_sdk/models/operations/getaccount.py +64 -0
- moovio_sdk/models/operations/getaccountcountries.py +64 -0
- moovio_sdk/models/operations/getadjustment.py +71 -0
- moovio_sdk/models/operations/getapplepaymerchantdomains.py +68 -0
- moovio_sdk/models/operations/getavatar.py +66 -0
- moovio_sdk/models/operations/getbankaccount.py +71 -0
- moovio_sdk/models/operations/getbankaccountverification.py +73 -0
- moovio_sdk/models/operations/getbrand.py +64 -0
- moovio_sdk/models/operations/getcancellation.py +84 -0
- moovio_sdk/models/operations/getcapability.py +82 -0
- moovio_sdk/models/operations/getcard.py +71 -0
- moovio_sdk/models/operations/getdispute.py +71 -0
- moovio_sdk/models/operations/getdisputeevidence.py +80 -0
- moovio_sdk/models/operations/getdisputeevidencedata.py +90 -0
- moovio_sdk/models/operations/getenrichmentaddress.py +178 -0
- moovio_sdk/models/operations/getenrichmentprofile.py +64 -0
- moovio_sdk/models/operations/getfiledetails.py +71 -0
- moovio_sdk/models/operations/getfullissuedcard.py +73 -0
- moovio_sdk/models/operations/getissuedcard.py +73 -0
- moovio_sdk/models/operations/getissuedcardauthorization.py +75 -0
- moovio_sdk/models/operations/getissuedcardtransaction.py +75 -0
- moovio_sdk/models/operations/getmerchantprocessingagreement.py +64 -0
- moovio_sdk/models/operations/getonboardinginvite.py +62 -0
- moovio_sdk/models/operations/getpaymentlink.py +71 -0
- moovio_sdk/models/operations/getpaymentlinkqrcode.py +84 -0
- moovio_sdk/models/operations/getpaymentmethod.py +71 -0
- moovio_sdk/models/operations/getrefund.py +84 -0
- moovio_sdk/models/operations/getrepresentative.py +75 -0
- moovio_sdk/models/operations/getscheduledoccurrence.py +92 -0
- moovio_sdk/models/operations/getschedules.py +71 -0
- moovio_sdk/models/operations/getsweep.py +78 -0
- moovio_sdk/models/operations/getsweepconfig.py +71 -0
- moovio_sdk/models/operations/getterminalapplication.py +66 -0
- moovio_sdk/models/operations/gettermsofservicetoken.py +75 -0
- moovio_sdk/models/operations/gettransfer.py +73 -0
- moovio_sdk/models/operations/getunderwriting.py +64 -0
- moovio_sdk/models/operations/getwallet.py +71 -0
- moovio_sdk/models/operations/getwallettransaction.py +80 -0
- moovio_sdk/models/operations/initiatebankaccountverification.py +89 -0
- moovio_sdk/models/operations/initiatemicrodeposits.py +67 -0
- moovio_sdk/models/operations/initiaterefund.py +131 -0
- moovio_sdk/models/operations/linkapplepaytoken.py +80 -0
- moovio_sdk/models/operations/linkbankaccount.py +96 -0
- moovio_sdk/models/operations/linkcard.py +96 -0
- moovio_sdk/models/operations/listaccounts.py +171 -0
- moovio_sdk/models/operations/listadjustments.py +78 -0
- moovio_sdk/models/operations/listbankaccounts.py +64 -0
- moovio_sdk/models/operations/listcapabilities.py +64 -0
- moovio_sdk/models/operations/listcards.py +64 -0
- moovio_sdk/models/operations/listdisputeevidence.py +73 -0
- moovio_sdk/models/operations/listdisputes.py +172 -0
- moovio_sdk/models/operations/listfeeplanagreements.py +101 -0
- moovio_sdk/models/operations/listfeeplans.py +78 -0
- moovio_sdk/models/operations/listfeesfetch.py +80 -0
- moovio_sdk/models/operations/listfiles.py +64 -0
- moovio_sdk/models/operations/listindustries.py +62 -0
- moovio_sdk/models/operations/listinstitutions.py +92 -0
- moovio_sdk/models/operations/listissuedcardauthorizationevents.py +94 -0
- moovio_sdk/models/operations/listissuedcardauthorizations.py +126 -0
- moovio_sdk/models/operations/listissuedcards.py +94 -0
- moovio_sdk/models/operations/listissuedcardtransactions.py +113 -0
- moovio_sdk/models/operations/listonboardinginvites.py +60 -0
- moovio_sdk/models/operations/listpartnerpricing.py +78 -0
- moovio_sdk/models/operations/listpartnerpricingagreements.py +101 -0
- moovio_sdk/models/operations/listpaymentlinks.py +64 -0
- moovio_sdk/models/operations/listpaymentmethods.py +98 -0
- moovio_sdk/models/operations/listreceipts.py +65 -0
- moovio_sdk/models/operations/listrefunds.py +75 -0
- moovio_sdk/models/operations/listrepresentatives.py +66 -0
- moovio_sdk/models/operations/listschedules.py +81 -0
- moovio_sdk/models/operations/listsweepconfigs.py +64 -0
- moovio_sdk/models/operations/listsweeps.py +108 -0
- moovio_sdk/models/operations/listterminalapplications.py +62 -0
- moovio_sdk/models/operations/listtransfers.py +145 -0
- moovio_sdk/models/operations/listwallets.py +64 -0
- moovio_sdk/models/operations/listwallettransactions.py +189 -0
- moovio_sdk/models/operations/ping.py +56 -0
- moovio_sdk/models/operations/registerapplepaymerchantdomains.py +80 -0
- moovio_sdk/models/operations/requestcapabilities.py +78 -0
- moovio_sdk/models/operations/requestcard.py +80 -0
- moovio_sdk/models/operations/retrievefees.py +117 -0
- moovio_sdk/models/operations/revokeaccesstoken.py +48 -0
- moovio_sdk/models/operations/revokeonboardinginvite.py +58 -0
- moovio_sdk/models/operations/submitdisputeevidence.py +71 -0
- moovio_sdk/models/operations/testendtoendtoken.py +56 -0
- moovio_sdk/models/operations/updateaccount.py +78 -0
- moovio_sdk/models/operations/updateapplepaymerchantdomains.py +78 -0
- moovio_sdk/models/operations/updatebrand.py +78 -0
- moovio_sdk/models/operations/updatecard.py +85 -0
- moovio_sdk/models/operations/updatedisputeevidence.py +92 -0
- moovio_sdk/models/operations/updateissuedcard.py +81 -0
- moovio_sdk/models/operations/updatepaymentlink.py +85 -0
- moovio_sdk/models/operations/updaterepresentative.py +89 -0
- moovio_sdk/models/operations/updateschedule.py +85 -0
- moovio_sdk/models/operations/updatesweepconfig.py +85 -0
- moovio_sdk/models/operations/updatetransfer.py +87 -0
- moovio_sdk/models/operations/uploaddisputeevidencefile.py +87 -0
- moovio_sdk/models/operations/uploaddisputeevidencetext.py +85 -0
- moovio_sdk/models/operations/uploadfile.py +80 -0
- moovio_sdk/models/operations/upsertbrand.py +75 -0
- moovio_sdk/models/operations/upsertunderwriting.py +78 -0
- moovio_sdk/onboarding.py +965 -0
- moovio_sdk/payment_links.py +1694 -0
- moovio_sdk/payment_methods.py +475 -0
- moovio_sdk/ping.py +233 -0
- moovio_sdk/py.typed +1 -0
- moovio_sdk/receipts.py +507 -0
- moovio_sdk/representatives.py +1513 -0
- moovio_sdk/scheduling.py +1565 -0
- moovio_sdk/sdk.py +242 -0
- moovio_sdk/sdkconfiguration.py +59 -0
- moovio_sdk/sweeps.py +1617 -0
- moovio_sdk/terminal_applications.py +1013 -0
- moovio_sdk/transfers.py +3040 -0
- moovio_sdk/types/__init__.py +21 -0
- moovio_sdk/types/basemodel.py +39 -0
- moovio_sdk/underwriting.py +581 -0
- moovio_sdk/utils/__init__.py +101 -0
- moovio_sdk/utils/annotations.py +55 -0
- moovio_sdk/utils/enums.py +34 -0
- moovio_sdk/utils/eventstreaming.py +238 -0
- moovio_sdk/utils/forms.py +202 -0
- moovio_sdk/utils/headers.py +136 -0
- moovio_sdk/utils/logger.py +27 -0
- moovio_sdk/utils/metadata.py +118 -0
- moovio_sdk/utils/queryparams.py +205 -0
- moovio_sdk/utils/requestbodies.py +66 -0
- moovio_sdk/utils/retries.py +217 -0
- moovio_sdk/utils/security.py +195 -0
- moovio_sdk/utils/serializers.py +215 -0
- moovio_sdk/utils/url.py +155 -0
- moovio_sdk/utils/values.py +137 -0
- moovio_sdk/wallet_transactions.py +558 -0
- moovio_sdk/wallets.py +465 -0
- moovio_sdk-0.3.8.dist-info/METADATA +1920 -0
- moovio_sdk-0.3.8.dist-info/RECORD +586 -0
- moovio_sdk-0.3.8.dist-info/WHEEL +4 -0
@@ -0,0 +1,17 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from moovio_sdk.types import BaseModel
|
5
|
+
from typing_extensions import TypedDict
|
6
|
+
|
7
|
+
|
8
|
+
class TermsOfServiceTokenTypedDict(TypedDict):
|
9
|
+
r"""An encrypted value used to record acceptance of Moov's Terms of Service."""
|
10
|
+
|
11
|
+
token: str
|
12
|
+
|
13
|
+
|
14
|
+
class TermsOfServiceToken(BaseModel):
|
15
|
+
r"""An encrypted value used to record acceptance of Moov's Terms of Service."""
|
16
|
+
|
17
|
+
token: str
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from moovio_sdk.types import BaseModel
|
5
|
+
from typing import Optional
|
6
|
+
from typing_extensions import NotRequired, TypedDict
|
7
|
+
|
8
|
+
|
9
|
+
class TermsOfServiceTokenUpdateTypedDict(TypedDict):
|
10
|
+
r"""An encrypted value used to record acceptance of Moov's Terms of Service."""
|
11
|
+
|
12
|
+
token: NotRequired[str]
|
13
|
+
|
14
|
+
|
15
|
+
class TermsOfServiceTokenUpdate(BaseModel):
|
16
|
+
r"""An encrypted value used to record acceptance of Moov's Terms of Service."""
|
17
|
+
|
18
|
+
token: Optional[str] = None
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from enum import Enum
|
5
|
+
|
6
|
+
|
7
|
+
class TokenType(str, Enum):
|
8
|
+
r"""An [RFC 6750](https://www.rfc-editor.org/rfc/rfc6750#section-6.1) token type."""
|
9
|
+
|
10
|
+
BEARER = "Bearer"
|
@@ -0,0 +1,16 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from enum import Enum
|
5
|
+
|
6
|
+
|
7
|
+
class TransactionSource(str, Enum):
|
8
|
+
r"""Specifies the nature and initiator of a transaction.
|
9
|
+
|
10
|
+
Crucial for recurring and merchant-initiated transactions as per card scheme rules.
|
11
|
+
Omit for customer-initiated e-commerce transactions.
|
12
|
+
"""
|
13
|
+
|
14
|
+
FIRST_RECURRING = "first-recurring"
|
15
|
+
RECURRING = "recurring"
|
16
|
+
UNSCHEDULED = "unscheduled"
|
@@ -0,0 +1,126 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .amount import Amount, AmountTypedDict
|
5
|
+
from .cancellation import Cancellation, CancellationTypedDict
|
6
|
+
from .cardacquiringdispute import CardAcquiringDispute, CardAcquiringDisputeTypedDict
|
7
|
+
from .cardacquiringrefund import CardAcquiringRefund, CardAcquiringRefundTypedDict
|
8
|
+
from .facilitatorfee import FacilitatorFee, FacilitatorFeeTypedDict
|
9
|
+
from .moovfeedetails import MoovFeeDetails, MoovFeeDetailsTypedDict
|
10
|
+
from .transferdestination import TransferDestination, TransferDestinationTypedDict
|
11
|
+
from .transferfailurereason import TransferFailureReason
|
12
|
+
from .transfersource import TransferSource, TransferSourceTypedDict
|
13
|
+
from .transferstatus import TransferStatus
|
14
|
+
from datetime import datetime
|
15
|
+
from moovio_sdk.types import BaseModel
|
16
|
+
import pydantic
|
17
|
+
from typing import Dict, List, Optional
|
18
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
19
|
+
|
20
|
+
|
21
|
+
class TransferTypedDict(TypedDict):
|
22
|
+
r"""Details of a Transfer."""
|
23
|
+
|
24
|
+
transfer_id: str
|
25
|
+
created_on: datetime
|
26
|
+
source: TransferSourceTypedDict
|
27
|
+
destination: TransferDestinationTypedDict
|
28
|
+
status: TransferStatus
|
29
|
+
r"""Status of a transfer."""
|
30
|
+
amount: AmountTypedDict
|
31
|
+
completed_on: NotRequired[datetime]
|
32
|
+
failure_reason: NotRequired[TransferFailureReason]
|
33
|
+
r"""Reason for a transfer's failure."""
|
34
|
+
description: NotRequired[str]
|
35
|
+
r"""An optional description of the transfer for your own internal use."""
|
36
|
+
metadata: NotRequired[Dict[str, str]]
|
37
|
+
r"""Free-form key-value pair list. Useful for storing information that is not captured elsewhere."""
|
38
|
+
facilitator_fee: NotRequired[FacilitatorFeeTypedDict]
|
39
|
+
r"""Total or markup fee."""
|
40
|
+
moov_fee: NotRequired[int]
|
41
|
+
r"""Fees charged to your platform account for transfers."""
|
42
|
+
moov_fee_decimal: NotRequired[str]
|
43
|
+
r"""Same as `moovFee`, but a decimal-formatted numerical string that represents up to 9 decimal place precision."""
|
44
|
+
moov_fee_details: NotRequired[MoovFeeDetailsTypedDict]
|
45
|
+
r"""Processing and pass-through costs that add up to the moovFee."""
|
46
|
+
group_id: NotRequired[str]
|
47
|
+
cancellations: NotRequired[List[CancellationTypedDict]]
|
48
|
+
refunded_amount: NotRequired[AmountTypedDict]
|
49
|
+
refunds: NotRequired[List[CardAcquiringRefundTypedDict]]
|
50
|
+
disputed_amount: NotRequired[AmountTypedDict]
|
51
|
+
disputes: NotRequired[List[CardAcquiringDisputeTypedDict]]
|
52
|
+
sweep_id: NotRequired[str]
|
53
|
+
schedule_id: NotRequired[str]
|
54
|
+
occurrence_id: NotRequired[str]
|
55
|
+
|
56
|
+
|
57
|
+
class Transfer(BaseModel):
|
58
|
+
r"""Details of a Transfer."""
|
59
|
+
|
60
|
+
transfer_id: Annotated[str, pydantic.Field(alias="transferID")]
|
61
|
+
|
62
|
+
created_on: Annotated[datetime, pydantic.Field(alias="createdOn")]
|
63
|
+
|
64
|
+
source: TransferSource
|
65
|
+
|
66
|
+
destination: TransferDestination
|
67
|
+
|
68
|
+
status: TransferStatus
|
69
|
+
r"""Status of a transfer."""
|
70
|
+
|
71
|
+
amount: Amount
|
72
|
+
|
73
|
+
completed_on: Annotated[Optional[datetime], pydantic.Field(alias="completedOn")] = (
|
74
|
+
None
|
75
|
+
)
|
76
|
+
|
77
|
+
failure_reason: Annotated[
|
78
|
+
Optional[TransferFailureReason], pydantic.Field(alias="failureReason")
|
79
|
+
] = None
|
80
|
+
r"""Reason for a transfer's failure."""
|
81
|
+
|
82
|
+
description: Optional[str] = None
|
83
|
+
r"""An optional description of the transfer for your own internal use."""
|
84
|
+
|
85
|
+
metadata: Optional[Dict[str, str]] = None
|
86
|
+
r"""Free-form key-value pair list. Useful for storing information that is not captured elsewhere."""
|
87
|
+
|
88
|
+
facilitator_fee: Annotated[
|
89
|
+
Optional[FacilitatorFee], pydantic.Field(alias="facilitatorFee")
|
90
|
+
] = None
|
91
|
+
r"""Total or markup fee."""
|
92
|
+
|
93
|
+
moov_fee: Annotated[Optional[int], pydantic.Field(alias="moovFee")] = None
|
94
|
+
r"""Fees charged to your platform account for transfers."""
|
95
|
+
|
96
|
+
moov_fee_decimal: Annotated[
|
97
|
+
Optional[str], pydantic.Field(alias="moovFeeDecimal")
|
98
|
+
] = None
|
99
|
+
r"""Same as `moovFee`, but a decimal-formatted numerical string that represents up to 9 decimal place precision."""
|
100
|
+
|
101
|
+
moov_fee_details: Annotated[
|
102
|
+
Optional[MoovFeeDetails], pydantic.Field(alias="moovFeeDetails")
|
103
|
+
] = None
|
104
|
+
r"""Processing and pass-through costs that add up to the moovFee."""
|
105
|
+
|
106
|
+
group_id: Annotated[Optional[str], pydantic.Field(alias="groupID")] = None
|
107
|
+
|
108
|
+
cancellations: Optional[List[Cancellation]] = None
|
109
|
+
|
110
|
+
refunded_amount: Annotated[
|
111
|
+
Optional[Amount], pydantic.Field(alias="refundedAmount")
|
112
|
+
] = None
|
113
|
+
|
114
|
+
refunds: Optional[List[CardAcquiringRefund]] = None
|
115
|
+
|
116
|
+
disputed_amount: Annotated[
|
117
|
+
Optional[Amount], pydantic.Field(alias="disputedAmount")
|
118
|
+
] = None
|
119
|
+
|
120
|
+
disputes: Optional[List[CardAcquiringDispute]] = None
|
121
|
+
|
122
|
+
sweep_id: Annotated[Optional[str], pydantic.Field(alias="sweepID")] = None
|
123
|
+
|
124
|
+
schedule_id: Annotated[Optional[str], pydantic.Field(alias="scheduleID")] = None
|
125
|
+
|
126
|
+
occurrence_id: Annotated[Optional[str], pydantic.Field(alias="occurrenceID")] = None
|
@@ -0,0 +1,20 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from moovio_sdk.types import BaseModel
|
5
|
+
import pydantic
|
6
|
+
from typing_extensions import Annotated, TypedDict
|
7
|
+
|
8
|
+
|
9
|
+
class TransferAccountTypedDict(TypedDict):
|
10
|
+
account_id: str
|
11
|
+
email: str
|
12
|
+
display_name: str
|
13
|
+
|
14
|
+
|
15
|
+
class TransferAccount(BaseModel):
|
16
|
+
account_id: Annotated[str, pydantic.Field(alias="accountID")]
|
17
|
+
|
18
|
+
email: str
|
19
|
+
|
20
|
+
display_name: Annotated[str, pydantic.Field(alias="displayName")]
|
@@ -0,0 +1,83 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .achtransactiondetails import ACHTransactionDetails, ACHTransactionDetailsTypedDict
|
5
|
+
from .applepayresponse import ApplePayResponse, ApplePayResponseTypedDict
|
6
|
+
from .cardtransactiondetails import (
|
7
|
+
CardTransactionDetails,
|
8
|
+
CardTransactionDetailsTypedDict,
|
9
|
+
)
|
10
|
+
from .paymentmethodsbankaccount import (
|
11
|
+
PaymentMethodsBankAccount,
|
12
|
+
PaymentMethodsBankAccountTypedDict,
|
13
|
+
)
|
14
|
+
from .paymentmethodscard import PaymentMethodsCard, PaymentMethodsCardTypedDict
|
15
|
+
from .paymentmethodswallet import PaymentMethodsWallet, PaymentMethodsWalletTypedDict
|
16
|
+
from .paymentmethodtype import PaymentMethodType
|
17
|
+
from .rtptransactiondetails import RTPTransactionDetails, RTPTransactionDetailsTypedDict
|
18
|
+
from .transferaccount import TransferAccount, TransferAccountTypedDict
|
19
|
+
from moovio_sdk.types import BaseModel
|
20
|
+
import pydantic
|
21
|
+
from typing import Optional
|
22
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
23
|
+
|
24
|
+
|
25
|
+
class TransferDestinationTypedDict(TypedDict):
|
26
|
+
payment_method_id: str
|
27
|
+
payment_method_type: PaymentMethodType
|
28
|
+
r"""The payment method type that represents a payment rail and directionality"""
|
29
|
+
account: TransferAccountTypedDict
|
30
|
+
bank_account: NotRequired[PaymentMethodsBankAccountTypedDict]
|
31
|
+
r"""A bank account as contained within a payment method."""
|
32
|
+
wallet: NotRequired[PaymentMethodsWalletTypedDict]
|
33
|
+
card: NotRequired[PaymentMethodsCardTypedDict]
|
34
|
+
r"""A card as contained within a payment method."""
|
35
|
+
ach_details: NotRequired[ACHTransactionDetailsTypedDict]
|
36
|
+
r"""ACH specific details about the transaction."""
|
37
|
+
apple_pay: NotRequired[ApplePayResponseTypedDict]
|
38
|
+
r"""Describes an Apple Pay token on a Moov account."""
|
39
|
+
card_details: NotRequired[CardTransactionDetailsTypedDict]
|
40
|
+
r"""Card-specific details about the transaction."""
|
41
|
+
rtp_details: NotRequired[RTPTransactionDetailsTypedDict]
|
42
|
+
r"""RTP specific details about the transaction."""
|
43
|
+
|
44
|
+
|
45
|
+
class TransferDestination(BaseModel):
|
46
|
+
payment_method_id: Annotated[str, pydantic.Field(alias="paymentMethodID")]
|
47
|
+
|
48
|
+
payment_method_type: Annotated[
|
49
|
+
PaymentMethodType, pydantic.Field(alias="paymentMethodType")
|
50
|
+
]
|
51
|
+
r"""The payment method type that represents a payment rail and directionality"""
|
52
|
+
|
53
|
+
account: TransferAccount
|
54
|
+
|
55
|
+
bank_account: Annotated[
|
56
|
+
Optional[PaymentMethodsBankAccount], pydantic.Field(alias="bankAccount")
|
57
|
+
] = None
|
58
|
+
r"""A bank account as contained within a payment method."""
|
59
|
+
|
60
|
+
wallet: Optional[PaymentMethodsWallet] = None
|
61
|
+
|
62
|
+
card: Optional[PaymentMethodsCard] = None
|
63
|
+
r"""A card as contained within a payment method."""
|
64
|
+
|
65
|
+
ach_details: Annotated[
|
66
|
+
Optional[ACHTransactionDetails], pydantic.Field(alias="achDetails")
|
67
|
+
] = None
|
68
|
+
r"""ACH specific details about the transaction."""
|
69
|
+
|
70
|
+
apple_pay: Annotated[
|
71
|
+
Optional[ApplePayResponse], pydantic.Field(alias="applePay")
|
72
|
+
] = None
|
73
|
+
r"""Describes an Apple Pay token on a Moov account."""
|
74
|
+
|
75
|
+
card_details: Annotated[
|
76
|
+
Optional[CardTransactionDetails], pydantic.Field(alias="cardDetails")
|
77
|
+
] = None
|
78
|
+
r"""Card-specific details about the transaction."""
|
79
|
+
|
80
|
+
rtp_details: Annotated[
|
81
|
+
Optional[RTPTransactionDetails], pydantic.Field(alias="rtpDetails")
|
82
|
+
] = None
|
83
|
+
r"""RTP specific details about the transaction."""
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from enum import Enum
|
5
|
+
|
6
|
+
|
7
|
+
class TransferFailureReason(str, Enum):
|
8
|
+
r"""Reason for a transfer's failure."""
|
9
|
+
|
10
|
+
SOURCE_PAYMENT_ERROR = "source-payment-error"
|
11
|
+
DESTINATION_PAYMENT_ERROR = "destination-payment-error"
|
12
|
+
WALLET_INSUFFICIENT_FUNDS = "wallet-insufficient-funds"
|
13
|
+
REJECTED_HIGH_RISK = "rejected-high-risk"
|
14
|
+
PROCESSING_ERROR = "processing-error"
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .paymentmethod import PaymentMethod, PaymentMethodTypedDict
|
5
|
+
from moovio_sdk.types import BaseModel
|
6
|
+
import pydantic
|
7
|
+
from typing import List, Optional
|
8
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
9
|
+
|
10
|
+
|
11
|
+
class TransferOptionsTypedDict(TypedDict):
|
12
|
+
source_options: NotRequired[List[PaymentMethodTypedDict]]
|
13
|
+
destination_options: NotRequired[List[PaymentMethodTypedDict]]
|
14
|
+
|
15
|
+
|
16
|
+
class TransferOptions(BaseModel):
|
17
|
+
source_options: Annotated[
|
18
|
+
Optional[List[PaymentMethod]], pydantic.Field(alias="sourceOptions")
|
19
|
+
] = None
|
20
|
+
|
21
|
+
destination_options: Annotated[
|
22
|
+
Optional[List[PaymentMethod]], pydantic.Field(alias="destinationOptions")
|
23
|
+
] = None
|
@@ -0,0 +1,15 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .asynctransfer import AsyncTransfer, AsyncTransferTypedDict
|
5
|
+
from .transfer import Transfer, TransferTypedDict
|
6
|
+
from typing import Union
|
7
|
+
from typing_extensions import TypeAliasType
|
8
|
+
|
9
|
+
|
10
|
+
TransferResponseTypedDict = TypeAliasType(
|
11
|
+
"TransferResponseTypedDict", Union[AsyncTransferTypedDict, TransferTypedDict]
|
12
|
+
)
|
13
|
+
|
14
|
+
|
15
|
+
TransferResponse = TypeAliasType("TransferResponse", Union[AsyncTransfer, Transfer])
|
@@ -0,0 +1,80 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .achtransactiondetails import ACHTransactionDetails, ACHTransactionDetailsTypedDict
|
5
|
+
from .applepayresponse import ApplePayResponse, ApplePayResponseTypedDict
|
6
|
+
from .cardtransactiondetails import (
|
7
|
+
CardTransactionDetails,
|
8
|
+
CardTransactionDetailsTypedDict,
|
9
|
+
)
|
10
|
+
from .paymentmethodsbankaccount import (
|
11
|
+
PaymentMethodsBankAccount,
|
12
|
+
PaymentMethodsBankAccountTypedDict,
|
13
|
+
)
|
14
|
+
from .paymentmethodscard import PaymentMethodsCard, PaymentMethodsCardTypedDict
|
15
|
+
from .paymentmethodswallet import PaymentMethodsWallet, PaymentMethodsWalletTypedDict
|
16
|
+
from .paymentmethodtype import PaymentMethodType
|
17
|
+
from .transferaccount import TransferAccount, TransferAccountTypedDict
|
18
|
+
from moovio_sdk.types import BaseModel
|
19
|
+
import pydantic
|
20
|
+
from typing import Optional
|
21
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
22
|
+
|
23
|
+
|
24
|
+
class TransferSourceTypedDict(TypedDict):
|
25
|
+
payment_method_id: str
|
26
|
+
payment_method_type: PaymentMethodType
|
27
|
+
r"""The payment method type that represents a payment rail and directionality"""
|
28
|
+
account: TransferAccountTypedDict
|
29
|
+
transfer_id: NotRequired[str]
|
30
|
+
r"""UUID present only if the transfer is part of a transfer group."""
|
31
|
+
bank_account: NotRequired[PaymentMethodsBankAccountTypedDict]
|
32
|
+
r"""A bank account as contained within a payment method."""
|
33
|
+
wallet: NotRequired[PaymentMethodsWalletTypedDict]
|
34
|
+
card: NotRequired[PaymentMethodsCardTypedDict]
|
35
|
+
r"""A card as contained within a payment method."""
|
36
|
+
apple_pay: NotRequired[ApplePayResponseTypedDict]
|
37
|
+
r"""Describes an Apple Pay token on a Moov account."""
|
38
|
+
card_details: NotRequired[CardTransactionDetailsTypedDict]
|
39
|
+
r"""Card-specific details about the transaction."""
|
40
|
+
ach_details: NotRequired[ACHTransactionDetailsTypedDict]
|
41
|
+
r"""ACH specific details about the transaction."""
|
42
|
+
|
43
|
+
|
44
|
+
class TransferSource(BaseModel):
|
45
|
+
payment_method_id: Annotated[str, pydantic.Field(alias="paymentMethodID")]
|
46
|
+
|
47
|
+
payment_method_type: Annotated[
|
48
|
+
PaymentMethodType, pydantic.Field(alias="paymentMethodType")
|
49
|
+
]
|
50
|
+
r"""The payment method type that represents a payment rail and directionality"""
|
51
|
+
|
52
|
+
account: TransferAccount
|
53
|
+
|
54
|
+
transfer_id: Annotated[Optional[str], pydantic.Field(alias="transferID")] = None
|
55
|
+
r"""UUID present only if the transfer is part of a transfer group."""
|
56
|
+
|
57
|
+
bank_account: Annotated[
|
58
|
+
Optional[PaymentMethodsBankAccount], pydantic.Field(alias="bankAccount")
|
59
|
+
] = None
|
60
|
+
r"""A bank account as contained within a payment method."""
|
61
|
+
|
62
|
+
wallet: Optional[PaymentMethodsWallet] = None
|
63
|
+
|
64
|
+
card: Optional[PaymentMethodsCard] = None
|
65
|
+
r"""A card as contained within a payment method."""
|
66
|
+
|
67
|
+
apple_pay: Annotated[
|
68
|
+
Optional[ApplePayResponse], pydantic.Field(alias="applePay")
|
69
|
+
] = None
|
70
|
+
r"""Describes an Apple Pay token on a Moov account."""
|
71
|
+
|
72
|
+
card_details: Annotated[
|
73
|
+
Optional[CardTransactionDetails], pydantic.Field(alias="cardDetails")
|
74
|
+
] = None
|
75
|
+
r"""Card-specific details about the transaction."""
|
76
|
+
|
77
|
+
ach_details: Annotated[
|
78
|
+
Optional[ACHTransactionDetails], pydantic.Field(alias="achDetails")
|
79
|
+
] = None
|
80
|
+
r"""ACH specific details about the transaction."""
|
@@ -0,0 +1,16 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from enum import Enum
|
5
|
+
|
6
|
+
|
7
|
+
class TransferStatus(str, Enum):
|
8
|
+
r"""Status of a transfer."""
|
9
|
+
|
10
|
+
CREATED = "created"
|
11
|
+
PENDING = "pending"
|
12
|
+
COMPLETED = "completed"
|
13
|
+
FAILED = "failed"
|
14
|
+
REVERSED = "reversed"
|
15
|
+
QUEUED = "queued"
|
16
|
+
CANCELED = "canceled"
|
@@ -0,0 +1,56 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .cardvolumedistribution import (
|
5
|
+
CardVolumeDistribution,
|
6
|
+
CardVolumeDistributionTypedDict,
|
7
|
+
)
|
8
|
+
from .fulfillmentdetails import FulfillmentDetails, FulfillmentDetailsTypedDict
|
9
|
+
from .underwritingstatus import UnderwritingStatus
|
10
|
+
from .volumebycustomertype import VolumeByCustomerType, VolumeByCustomerTypeTypedDict
|
11
|
+
from moovio_sdk.types import BaseModel
|
12
|
+
import pydantic
|
13
|
+
from typing_extensions import Annotated, TypedDict
|
14
|
+
|
15
|
+
|
16
|
+
class UnderwritingTypedDict(TypedDict):
|
17
|
+
r"""Describes underwriting values (in USD) used for card payment acceptance."""
|
18
|
+
|
19
|
+
average_transaction_size: int
|
20
|
+
max_transaction_size: int
|
21
|
+
average_monthly_transaction_volume: int
|
22
|
+
status: UnderwritingStatus
|
23
|
+
volume_by_customer_type: VolumeByCustomerTypeTypedDict
|
24
|
+
card_volume_distribution: CardVolumeDistributionTypedDict
|
25
|
+
fulfillment: FulfillmentDetailsTypedDict
|
26
|
+
|
27
|
+
|
28
|
+
class Underwriting(BaseModel):
|
29
|
+
r"""Describes underwriting values (in USD) used for card payment acceptance."""
|
30
|
+
|
31
|
+
average_transaction_size: Annotated[
|
32
|
+
int, pydantic.Field(alias="averageTransactionSize")
|
33
|
+
]
|
34
|
+
|
35
|
+
max_transaction_size: Annotated[int, pydantic.Field(alias="maxTransactionSize")]
|
36
|
+
|
37
|
+
average_monthly_transaction_volume: Annotated[
|
38
|
+
int, pydantic.Field(alias="averageMonthlyTransactionVolume")
|
39
|
+
]
|
40
|
+
|
41
|
+
status: Annotated[
|
42
|
+
UnderwritingStatus,
|
43
|
+
pydantic.Field(
|
44
|
+
deprecated="warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible."
|
45
|
+
),
|
46
|
+
]
|
47
|
+
|
48
|
+
volume_by_customer_type: Annotated[
|
49
|
+
VolumeByCustomerType, pydantic.Field(alias="volumeByCustomerType")
|
50
|
+
]
|
51
|
+
|
52
|
+
card_volume_distribution: Annotated[
|
53
|
+
CardVolumeDistribution, pydantic.Field(alias="cardVolumeDistribution")
|
54
|
+
]
|
55
|
+
|
56
|
+
fulfillment: FulfillmentDetails
|
@@ -0,0 +1,16 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from enum import Enum
|
5
|
+
from typing_extensions import deprecated
|
6
|
+
|
7
|
+
|
8
|
+
@deprecated(
|
9
|
+
"warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible."
|
10
|
+
)
|
11
|
+
class UnderwritingStatus(str, Enum):
|
12
|
+
APPROVED = "approved"
|
13
|
+
REJECTED = "rejected"
|
14
|
+
PENDING_REVIEW = "pendingReview"
|
15
|
+
PENDING = "pending"
|
16
|
+
NOT_REQUESTED = "notRequested"
|
@@ -0,0 +1,26 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from moovio_sdk.types import BaseModel
|
5
|
+
import pydantic
|
6
|
+
from typing import List, Optional
|
7
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
8
|
+
|
9
|
+
|
10
|
+
class UpdateApplePayMerchantDomainsTypedDict(TypedDict):
|
11
|
+
add_domains: NotRequired[List[str]]
|
12
|
+
r"""A unique list of fully-qualified, top-level or sub-domain names to add."""
|
13
|
+
remove_domains: NotRequired[List[str]]
|
14
|
+
r"""A unique list of fully-qualified, top-level or sub-domain names to remove."""
|
15
|
+
|
16
|
+
|
17
|
+
class UpdateApplePayMerchantDomains(BaseModel):
|
18
|
+
add_domains: Annotated[Optional[List[str]], pydantic.Field(alias="addDomains")] = (
|
19
|
+
None
|
20
|
+
)
|
21
|
+
r"""A unique list of fully-qualified, top-level or sub-domain names to add."""
|
22
|
+
|
23
|
+
remove_domains: Annotated[
|
24
|
+
Optional[List[str]], pydantic.Field(alias="removeDomains")
|
25
|
+
] = None
|
26
|
+
r"""A unique list of fully-qualified, top-level or sub-domain names to remove."""
|
@@ -0,0 +1,15 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .updatecolors import UpdateColors, UpdateColorsTypedDict
|
5
|
+
from moovio_sdk.types import BaseModel
|
6
|
+
from typing import Optional
|
7
|
+
from typing_extensions import NotRequired, TypedDict
|
8
|
+
|
9
|
+
|
10
|
+
class UpdateBrandTypedDict(TypedDict):
|
11
|
+
colors: NotRequired[UpdateColorsTypedDict]
|
12
|
+
|
13
|
+
|
14
|
+
class UpdateBrand(BaseModel):
|
15
|
+
colors: Optional[UpdateColors] = None
|
@@ -0,0 +1,51 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .e2eetokenupdate import E2EETokenUpdate, E2EETokenUpdateTypedDict
|
5
|
+
from .updatecardaddress import UpdateCardAddress, UpdateCardAddressTypedDict
|
6
|
+
from .updatecardexpiration import UpdateCardExpiration, UpdateCardExpirationTypedDict
|
7
|
+
from moovio_sdk.types import BaseModel
|
8
|
+
import pydantic
|
9
|
+
from typing import Optional
|
10
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
11
|
+
|
12
|
+
|
13
|
+
class UpdateCardTypedDict(TypedDict):
|
14
|
+
e2ee: NotRequired[E2EETokenUpdateTypedDict]
|
15
|
+
r"""Wraps a compact-serialized JSON Web Encryption (JWE) token used for secure transmission of sensitive data (e.g., PCI information) through intermediaries.
|
16
|
+
This token is encrypted using the public key from /end-to-end-keys and wraps an AES key. For details and examples, refer to our
|
17
|
+
[GitHub repository](https://github.com/moovfinancial/moov-go/blob/main/examples/e2ee/e2ee_test.go).
|
18
|
+
"""
|
19
|
+
billing_address: NotRequired[UpdateCardAddressTypedDict]
|
20
|
+
expiration: NotRequired[UpdateCardExpirationTypedDict]
|
21
|
+
card_cvv: NotRequired[str]
|
22
|
+
card_on_file: NotRequired[bool]
|
23
|
+
merchant_account_id: NotRequired[str]
|
24
|
+
verify_name: NotRequired[bool]
|
25
|
+
holder_name: NotRequired[str]
|
26
|
+
|
27
|
+
|
28
|
+
class UpdateCard(BaseModel):
|
29
|
+
e2ee: Optional[E2EETokenUpdate] = None
|
30
|
+
r"""Wraps a compact-serialized JSON Web Encryption (JWE) token used for secure transmission of sensitive data (e.g., PCI information) through intermediaries.
|
31
|
+
This token is encrypted using the public key from /end-to-end-keys and wraps an AES key. For details and examples, refer to our
|
32
|
+
[GitHub repository](https://github.com/moovfinancial/moov-go/blob/main/examples/e2ee/e2ee_test.go).
|
33
|
+
"""
|
34
|
+
|
35
|
+
billing_address: Annotated[
|
36
|
+
Optional[UpdateCardAddress], pydantic.Field(alias="billingAddress")
|
37
|
+
] = None
|
38
|
+
|
39
|
+
expiration: Optional[UpdateCardExpiration] = None
|
40
|
+
|
41
|
+
card_cvv: Annotated[Optional[str], pydantic.Field(alias="cardCvv")] = None
|
42
|
+
|
43
|
+
card_on_file: Annotated[Optional[bool], pydantic.Field(alias="cardOnFile")] = None
|
44
|
+
|
45
|
+
merchant_account_id: Annotated[
|
46
|
+
Optional[str], pydantic.Field(alias="merchantAccountID")
|
47
|
+
] = None
|
48
|
+
|
49
|
+
verify_name: Annotated[Optional[bool], pydantic.Field(alias="verifyName")] = None
|
50
|
+
|
51
|
+
holder_name: Annotated[Optional[str], pydantic.Field(alias="holderName")] = None
|
@@ -0,0 +1,32 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from moovio_sdk.types import BaseModel
|
5
|
+
import pydantic
|
6
|
+
from typing import Optional
|
7
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
8
|
+
|
9
|
+
|
10
|
+
class UpdateCardAddressTypedDict(TypedDict):
|
11
|
+
address_line1: NotRequired[str]
|
12
|
+
address_line2: NotRequired[str]
|
13
|
+
city: NotRequired[str]
|
14
|
+
state_or_province: NotRequired[str]
|
15
|
+
postal_code: NotRequired[str]
|
16
|
+
country: NotRequired[str]
|
17
|
+
|
18
|
+
|
19
|
+
class UpdateCardAddress(BaseModel):
|
20
|
+
address_line1: Annotated[Optional[str], pydantic.Field(alias="addressLine1")] = None
|
21
|
+
|
22
|
+
address_line2: Annotated[Optional[str], pydantic.Field(alias="addressLine2")] = None
|
23
|
+
|
24
|
+
city: Optional[str] = None
|
25
|
+
|
26
|
+
state_or_province: Annotated[
|
27
|
+
Optional[str], pydantic.Field(alias="stateOrProvince")
|
28
|
+
] = None
|
29
|
+
|
30
|
+
postal_code: Annotated[Optional[str], pydantic.Field(alias="postalCode")] = None
|
31
|
+
|
32
|
+
country: Optional[str] = None
|