Documentation
¶
Index ¶
- type Address
- type AddressParam
- type AuthRule
- type AuthRuleState
- type CarrierParam
- type Currency
- type Document
- type DocumentDocumentType
- type DocumentRequiredDocumentUpload
- type DocumentRequiredDocumentUploadsImageType
- type DocumentRequiredDocumentUploadsStatus
- type DocumentRequiredDocumentUploadsStatusReason
- type ShippingAddressParam
- type UnionFloat
- func (UnionFloat) ImplementsAuthRuleMigrateV1ToV2ResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionFloat) ImplementsAuthRuleMigrateV1ToV2ResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionFloat) ImplementsAuthRuleV2ApplyResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionFloat) ImplementsAuthRuleV2ApplyResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionFloat) ImplementsAuthRuleV2DraftParamsParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionFloat) ImplementsAuthRuleV2DraftResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionFloat) ImplementsAuthRuleV2DraftResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionFloat) ImplementsAuthRuleV2GetResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionFloat) ImplementsAuthRuleV2GetResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionFloat) ImplementsAuthRuleV2ListResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionFloat) ImplementsAuthRuleV2ListResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionFloat) ImplementsAuthRuleV2NewParamsBodyCreateAuthRuleRequestAccountTokensParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionFloat) ImplementsAuthRuleV2NewParamsBodyCreateAuthRuleRequestCardTokensParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionFloat) ImplementsAuthRuleV2NewParamsBodyCreateAuthRuleRequestProgramLevelParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionFloat) ImplementsAuthRuleV2NewResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionFloat) ImplementsAuthRuleV2NewResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionFloat) ImplementsAuthRuleV2PromoteResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionFloat) ImplementsAuthRuleV2PromoteResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionFloat) ImplementsAuthRuleV2UpdateResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionFloat) ImplementsAuthRuleV2UpdateResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionFloat) ImplementsSharedVelocityLimitParamsPeriodUnion()
- type UnionString
- func (UnionString) ImplementsAuthRuleMigrateV1ToV2ResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionString) ImplementsAuthRuleMigrateV1ToV2ResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionString) ImplementsAuthRuleV2ApplyResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionString) ImplementsAuthRuleV2ApplyResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionString) ImplementsAuthRuleV2DraftParamsParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionString) ImplementsAuthRuleV2DraftResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionString) ImplementsAuthRuleV2DraftResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionString) ImplementsAuthRuleV2GetResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionString) ImplementsAuthRuleV2GetResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionString) ImplementsAuthRuleV2ListResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionString) ImplementsAuthRuleV2ListResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionString) ImplementsAuthRuleV2NewParamsBodyCreateAuthRuleRequestAccountTokensParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionString) ImplementsAuthRuleV2NewParamsBodyCreateAuthRuleRequestCardTokensParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionString) ImplementsAuthRuleV2NewParamsBodyCreateAuthRuleRequestProgramLevelParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionString) ImplementsAuthRuleV2NewResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionString) ImplementsAuthRuleV2NewResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionString) ImplementsAuthRuleV2PromoteResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionString) ImplementsAuthRuleV2PromoteResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionString) ImplementsAuthRuleV2UpdateResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion()
- func (UnionString) ImplementsAuthRuleV2UpdateResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion()
- type VelocityLimitParams
- func (r VelocityLimitParams) ImplementsAuthRuleMigrateV1ToV2ResponseCurrentVersionParameters()
- func (r VelocityLimitParams) ImplementsAuthRuleMigrateV1ToV2ResponseDraftVersionParameters()
- func (r VelocityLimitParams) ImplementsAuthRuleV2ApplyResponseCurrentVersionParameters()
- func (r VelocityLimitParams) ImplementsAuthRuleV2ApplyResponseDraftVersionParameters()
- func (r VelocityLimitParams) ImplementsAuthRuleV2DraftResponseCurrentVersionParameters()
- func (r VelocityLimitParams) ImplementsAuthRuleV2DraftResponseDraftVersionParameters()
- func (r VelocityLimitParams) ImplementsAuthRuleV2GetResponseCurrentVersionParameters()
- func (r VelocityLimitParams) ImplementsAuthRuleV2GetResponseDraftVersionParameters()
- func (r VelocityLimitParams) ImplementsAuthRuleV2ListResponseCurrentVersionParameters()
- func (r VelocityLimitParams) ImplementsAuthRuleV2ListResponseDraftVersionParameters()
- func (r VelocityLimitParams) ImplementsAuthRuleV2NewResponseCurrentVersionParameters()
- func (r VelocityLimitParams) ImplementsAuthRuleV2NewResponseDraftVersionParameters()
- func (r VelocityLimitParams) ImplementsAuthRuleV2PromoteResponseCurrentVersionParameters()
- func (r VelocityLimitParams) ImplementsAuthRuleV2PromoteResponseDraftVersionParameters()
- func (r VelocityLimitParams) ImplementsAuthRuleV2UpdateResponseCurrentVersionParameters()
- func (r VelocityLimitParams) ImplementsAuthRuleV2UpdateResponseDraftVersionParameters()
- func (r *VelocityLimitParams) UnmarshalJSON(data []byte) (err error)
- type VelocityLimitParamsFilters
- type VelocityLimitParamsPeriodUnion
- type VelocityLimitParamsPeriodWindow
- type VelocityLimitParamsScope
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct {
// Valid deliverable address (no PO boxes).
Address1 string `json:"address1,required"`
// Name of city.
City string `json:"city,required"`
// Valid country code, entered in uppercase ISO 3166-1 alpha-3 three-character
// format. Only USA is currently supported for all workflows. KYC_EXEMPT supports
// CAN additionally.
Country string `json:"country,required"`
// Valid postal code. USA postal codes (ZIP codes) are supported, entered as a
// five-digit postal code or nine-digit postal code (ZIP+4) using the format
// 12345-1234. KYC_EXEMPT supports Canadian postal codes.
PostalCode string `json:"postal_code,required"`
// Valid state code. USA state codes are supported, entered in uppercase ISO 3166-2
// two-character format. KYC_EXEMPT supports Canadian province codes.
State string `json:"state,required"`
// Unit or apartment number (if applicable).
Address2 string `json:"address2"`
JSON addressJSON `json:"-"`
}
func (*Address) UnmarshalJSON ¶
type AddressParam ¶
type AddressParam struct {
// Valid deliverable address (no PO boxes).
Address1 param.Field[string] `json:"address1,required"`
// Name of city.
City param.Field[string] `json:"city,required"`
// Valid country code, entered in uppercase ISO 3166-1 alpha-3 three-character
// format. Only USA is currently supported for all workflows. KYC_EXEMPT supports
// CAN additionally.
Country param.Field[string] `json:"country,required"`
// Valid postal code. USA postal codes (ZIP codes) are supported, entered as a
// five-digit postal code or nine-digit postal code (ZIP+4) using the format
// 12345-1234. KYC_EXEMPT supports Canadian postal codes.
PostalCode param.Field[string] `json:"postal_code,required"`
// Valid state code. USA state codes are supported, entered in uppercase ISO 3166-2
// two-character format. KYC_EXEMPT supports Canadian province codes.
State param.Field[string] `json:"state,required"`
// Unit or apartment number (if applicable).
Address2 param.Field[string] `json:"address2"`
}
func (AddressParam) MarshalJSON ¶
func (r AddressParam) MarshalJSON() (data []byte, err error)
type AuthRule ¶ added in v0.51.0
type AuthRule struct {
// Globally unique identifier.
Token string `json:"token,required" format:"uuid"`
// Indicates whether the Auth Rule is ACTIVE or INACTIVE
State AuthRuleState `json:"state,required"`
// Array of account_token(s) identifying the accounts that the Auth Rule applies
// to. Note that only this field or `card_tokens` can be provided for a given Auth
// Rule.
AccountTokens []string `json:"account_tokens"`
// Countries in which the Auth Rule permits transactions. Note that Lithic
// maintains a list of countries in which all transactions are blocked; "allowing"
// those countries in an Auth Rule does not override the Lithic-wide restrictions.
AllowedCountries []string `json:"allowed_countries"`
// Merchant category codes for which the Auth Rule permits transactions.
AllowedMcc []string `json:"allowed_mcc"`
// Countries in which the Auth Rule automatically declines transactions.
BlockedCountries []string `json:"blocked_countries"`
// Merchant category codes for which the Auth Rule automatically declines
// transactions.
BlockedMcc []string `json:"blocked_mcc"`
// Array of card_token(s) identifying the cards that the Auth Rule applies to. Note
// that only this field or `account_tokens` can be provided for a given Auth Rule.
CardTokens []string `json:"card_tokens"`
// Boolean indicating whether the Auth Rule is applied at the program level.
ProgramLevel bool `json:"program_level"`
JSON authRuleJSON `json:"-"`
}
func (*AuthRule) UnmarshalJSON ¶ added in v0.51.0
type AuthRuleState ¶ added in v0.51.0
type AuthRuleState string
Indicates whether the Auth Rule is ACTIVE or INACTIVE
const ( AuthRuleStateActive AuthRuleState = "ACTIVE" AuthRuleStateInactive AuthRuleState = "INACTIVE" )
func (AuthRuleState) IsKnown ¶ added in v0.51.0
func (r AuthRuleState) IsKnown() bool
type CarrierParam ¶
type CarrierParam struct {
// QR code url to display on the card carrier
QrCodeURL param.Field[string] `json:"qr_code_url"`
}
func (CarrierParam) MarshalJSON ¶
func (r CarrierParam) MarshalJSON() (data []byte, err error)
type Currency ¶ added in v0.50.0
type Currency string
ISO 4217 currency. Its enumerants are ISO 4217 currencies except for some special currencies like “XXX`. Enumerants names are lowercase currency code e.g. :attr:`EUR`, :attr:`USD`.
const ( CurrencyAed Currency = "AED" CurrencyAfn Currency = "AFN" CurrencyAll Currency = "ALL" CurrencyAmd Currency = "AMD" CurrencyAng Currency = "ANG" CurrencyAoa Currency = "AOA" CurrencyArs Currency = "ARS" CurrencyAud Currency = "AUD" CurrencyAwg Currency = "AWG" CurrencyAzn Currency = "AZN" CurrencyBam Currency = "BAM" CurrencyBbd Currency = "BBD" CurrencyBdt Currency = "BDT" CurrencyBgn Currency = "BGN" CurrencyBhd Currency = "BHD" CurrencyBif Currency = "BIF" CurrencyBmd Currency = "BMD" CurrencyBnd Currency = "BND" CurrencyBob Currency = "BOB" CurrencyBov Currency = "BOV" CurrencyBrl Currency = "BRL" CurrencyBsd Currency = "BSD" CurrencyBtn Currency = "BTN" CurrencyBwp Currency = "BWP" CurrencyByn Currency = "BYN" CurrencyBzd Currency = "BZD" CurrencyCad Currency = "CAD" CurrencyCdf Currency = "CDF" CurrencyChe Currency = "CHE" CurrencyChf Currency = "CHF" CurrencyChw Currency = "CHW" CurrencyClf Currency = "CLF" CurrencyClp Currency = "CLP" CurrencyCny Currency = "CNY" CurrencyCop Currency = "COP" CurrencyCou Currency = "COU" CurrencyCrc Currency = "CRC" CurrencyCuc Currency = "CUC" CurrencyCup Currency = "CUP" CurrencyCve Currency = "CVE" CurrencyCzk Currency = "CZK" CurrencyDjf Currency = "DJF" CurrencyDkk Currency = "DKK" CurrencyDop Currency = "DOP" CurrencyDzd Currency = "DZD" CurrencyEgp Currency = "EGP" CurrencyErn Currency = "ERN" CurrencyEtb Currency = "ETB" CurrencyEur Currency = "EUR" CurrencyFjd Currency = "FJD" CurrencyFkp Currency = "FKP" CurrencyGbp Currency = "GBP" CurrencyGel Currency = "GEL" CurrencyGhs Currency = "GHS" CurrencyGip Currency = "GIP" CurrencyGmd Currency = "GMD" CurrencyGnf Currency = "GNF" CurrencyGtq Currency = "GTQ" CurrencyGyd Currency = "GYD" CurrencyHkd Currency = "HKD" CurrencyHnl Currency = "HNL" CurrencyHrk Currency = "HRK" CurrencyHtg Currency = "HTG" CurrencyHuf Currency = "HUF" CurrencyIdr Currency = "IDR" CurrencyIls Currency = "ILS" CurrencyInr Currency = "INR" CurrencyIqd Currency = "IQD" CurrencyIrr Currency = "IRR" CurrencyIsk Currency = "ISK" CurrencyJmd Currency = "JMD" CurrencyJod Currency = "JOD" CurrencyJpy Currency = "JPY" CurrencyKes Currency = "KES" CurrencyKgs Currency = "KGS" CurrencyKhr Currency = "KHR" CurrencyKmf Currency = "KMF" CurrencyKpw Currency = "KPW" CurrencyKrw Currency = "KRW" CurrencyKwd Currency = "KWD" CurrencyKyd Currency = "KYD" CurrencyKzt Currency = "KZT" CurrencyLak Currency = "LAK" CurrencyLbp Currency = "LBP" CurrencyLkr Currency = "LKR" CurrencyLrd Currency = "LRD" CurrencyLsl Currency = "LSL" CurrencyLyd Currency = "LYD" CurrencyMad Currency = "MAD" CurrencyMdl Currency = "MDL" CurrencyMga Currency = "MGA" CurrencyMkd Currency = "MKD" CurrencyMmk Currency = "MMK" CurrencyMnt Currency = "MNT" CurrencyMop Currency = "MOP" CurrencyMru Currency = "MRU" CurrencyMur Currency = "MUR" CurrencyMvr Currency = "MVR" CurrencyMwk Currency = "MWK" CurrencyMxn Currency = "MXN" CurrencyMxv Currency = "MXV" CurrencyMyr Currency = "MYR" CurrencyMzn Currency = "MZN" CurrencyNad Currency = "NAD" CurrencyNgn Currency = "NGN" CurrencyNio Currency = "NIO" CurrencyNok Currency = "NOK" CurrencyNpr Currency = "NPR" CurrencyNzd Currency = "NZD" CurrencyOmr Currency = "OMR" CurrencyPab Currency = "PAB" CurrencyPen Currency = "PEN" CurrencyPgk Currency = "PGK" CurrencyPhp Currency = "PHP" CurrencyPkr Currency = "PKR" CurrencyPln Currency = "PLN" CurrencyPyg Currency = "PYG" CurrencyQar Currency = "QAR" CurrencyRon Currency = "RON" CurrencyRsd Currency = "RSD" CurrencyRub Currency = "RUB" CurrencyRwf Currency = "RWF" CurrencySar Currency = "SAR" CurrencySbd Currency = "SBD" CurrencyScr Currency = "SCR" CurrencySdg Currency = "SDG" CurrencySek Currency = "SEK" CurrencySgd Currency = "SGD" CurrencyShp Currency = "SHP" CurrencySle Currency = "SLE" CurrencySll Currency = "SLL" CurrencySos Currency = "SOS" CurrencySrd Currency = "SRD" CurrencySsp Currency = "SSP" CurrencyStn Currency = "STN" CurrencySvc Currency = "SVC" CurrencySyp Currency = "SYP" CurrencySzl Currency = "SZL" CurrencyThb Currency = "THB" CurrencyTjs Currency = "TJS" CurrencyTmt Currency = "TMT" CurrencyTnd Currency = "TND" CurrencyTop Currency = "TOP" CurrencyTry Currency = "TRY" CurrencyTtd Currency = "TTD" CurrencyTwd Currency = "TWD" CurrencyTzs Currency = "TZS" CurrencyUah Currency = "UAH" CurrencyUgx Currency = "UGX" CurrencyUsd Currency = "USD" CurrencyUsn Currency = "USN" CurrencyUyi Currency = "UYI" CurrencyUyu Currency = "UYU" CurrencyUyw Currency = "UYW" CurrencyUzs Currency = "UZS" CurrencyVed Currency = "VED" CurrencyVes Currency = "VES" CurrencyVnd Currency = "VND" CurrencyVuv Currency = "VUV" CurrencyWst Currency = "WST" CurrencyXaf Currency = "XAF" CurrencyXag Currency = "XAG" CurrencyXau Currency = "XAU" CurrencyXba Currency = "XBA" CurrencyXbb Currency = "XBB" CurrencyXbc Currency = "XBC" CurrencyXbd Currency = "XBD" CurrencyXcd Currency = "XCD" CurrencyXdr Currency = "XDR" CurrencyXof Currency = "XOF" CurrencyXpd Currency = "XPD" CurrencyXpf Currency = "XPF" CurrencyXpt Currency = "XPT" CurrencyXsu Currency = "XSU" CurrencyXts Currency = "XTS" CurrencyXua Currency = "XUA" CurrencyXxx Currency = "XXX" CurrencyYer Currency = "YER" CurrencyZar Currency = "ZAR" CurrencyZmw Currency = "ZMW" CurrencyZwl Currency = "ZWL" )
type Document ¶ added in v0.48.0
type Document struct {
// Globally unique identifier for the document.
Token string `json:"token,required" format:"uuid"`
// Globally unique identifier for the account holder.
AccountHolderToken string `json:"account_holder_token,required" format:"uuid"`
// Type of documentation to be submitted for verification of an account holder
DocumentType DocumentDocumentType `json:"document_type,required"`
// Globally unique identifier for an entity.
EntityToken string `json:"entity_token,required" format:"uuid"`
// Represents a single image of the document to upload.
RequiredDocumentUploads []DocumentRequiredDocumentUpload `json:"required_document_uploads,required"`
JSON documentJSON `json:"-"`
}
Describes the document and the required document image uploads required to re-run KYC
func (*Document) UnmarshalJSON ¶ added in v0.48.0
type DocumentDocumentType ¶ added in v0.48.0
type DocumentDocumentType string
Type of documentation to be submitted for verification of an account holder
const ( DocumentDocumentTypeDriversLicense DocumentDocumentType = "DRIVERS_LICENSE" DocumentDocumentTypePassport DocumentDocumentType = "PASSPORT" DocumentDocumentTypePassportCard DocumentDocumentType = "PASSPORT_CARD" DocumentDocumentTypeEinLetter DocumentDocumentType = "EIN_LETTER" DocumentDocumentTypeTaxReturn DocumentDocumentType = "TAX_RETURN" DocumentDocumentTypeOperatingAgreement DocumentDocumentType = "OPERATING_AGREEMENT" DocumentDocumentTypeCertificateOfFormation DocumentDocumentType = "CERTIFICATE_OF_FORMATION" DocumentDocumentTypeCertificateOfGoodStanding DocumentDocumentType = "CERTIFICATE_OF_GOOD_STANDING" DocumentDocumentTypeArticlesOfIncorporation DocumentDocumentType = "ARTICLES_OF_INCORPORATION" DocumentDocumentTypeArticlesOfOrganization DocumentDocumentType = "ARTICLES_OF_ORGANIZATION" DocumentDocumentTypeBylaws DocumentDocumentType = "BYLAWS" DocumentDocumentTypeGovernmentBusinessLicense DocumentDocumentType = "GOVERNMENT_BUSINESS_LICENSE" DocumentDocumentTypePartnershipAgreement DocumentDocumentType = "PARTNERSHIP_AGREEMENT" DocumentDocumentTypeSs4Form DocumentDocumentType = "SS4_FORM" DocumentDocumentTypeBankStatement DocumentDocumentType = "BANK_STATEMENT" DocumentDocumentTypeUtilityBillStatement DocumentDocumentType = "UTILITY_BILL_STATEMENT" DocumentDocumentTypeSsnCard DocumentDocumentType = "SSN_CARD" DocumentDocumentTypeItinLetter DocumentDocumentType = "ITIN_LETTER" )
func (DocumentDocumentType) IsKnown ¶ added in v0.48.0
func (r DocumentDocumentType) IsKnown() bool
type DocumentRequiredDocumentUpload ¶ added in v0.48.0
type DocumentRequiredDocumentUpload struct {
// Globally unique identifier for the document upload.
Token string `json:"token,required" format:"uuid"`
// A list of status reasons associated with a KYB account holder that have been
// satisfied by the document upload
AcceptedEntityStatusReasons []string `json:"accepted_entity_status_reasons,required"`
// When the document upload was created
Created time.Time `json:"created,required" format:"date-time"`
// Type of image to upload.
ImageType DocumentRequiredDocumentUploadsImageType `json:"image_type,required"`
// A list of status reasons associated with a KYB account holder that have not been
// satisfied by the document upload
RejectedEntityStatusReasons []string `json:"rejected_entity_status_reasons,required"`
// Status of an account holder's document upload.
Status DocumentRequiredDocumentUploadsStatus `json:"status,required"`
// Reasons for document image upload status.
StatusReasons []DocumentRequiredDocumentUploadsStatusReason `json:"status_reasons,required"`
// When the document upload was last updated
Updated time.Time `json:"updated,required" format:"date-time"`
// URL to upload document image to.
//
// Note that the upload URLs expire after 7 days. If an upload URL expires, you can
// refresh the URLs by retrieving the document upload from
// `GET /account_holders/{account_holder_token}/documents`.
UploadURL string `json:"upload_url,required"`
JSON documentRequiredDocumentUploadJSON `json:"-"`
}
Represents a single image of the document to upload.
func (*DocumentRequiredDocumentUpload) UnmarshalJSON ¶ added in v0.48.0
func (r *DocumentRequiredDocumentUpload) UnmarshalJSON(data []byte) (err error)
type DocumentRequiredDocumentUploadsImageType ¶ added in v0.48.0
type DocumentRequiredDocumentUploadsImageType string
Type of image to upload.
const ( DocumentRequiredDocumentUploadsImageTypeFront DocumentRequiredDocumentUploadsImageType = "FRONT" DocumentRequiredDocumentUploadsImageTypeBack DocumentRequiredDocumentUploadsImageType = "BACK" )
func (DocumentRequiredDocumentUploadsImageType) IsKnown ¶ added in v0.48.0
func (r DocumentRequiredDocumentUploadsImageType) IsKnown() bool
type DocumentRequiredDocumentUploadsStatus ¶ added in v0.48.0
type DocumentRequiredDocumentUploadsStatus string
Status of an account holder's document upload.
const ( DocumentRequiredDocumentUploadsStatusAccepted DocumentRequiredDocumentUploadsStatus = "ACCEPTED" DocumentRequiredDocumentUploadsStatusRejected DocumentRequiredDocumentUploadsStatus = "REJECTED" DocumentRequiredDocumentUploadsStatusPendingUpload DocumentRequiredDocumentUploadsStatus = "PENDING_UPLOAD" DocumentRequiredDocumentUploadsStatusUploaded DocumentRequiredDocumentUploadsStatus = "UPLOADED" DocumentRequiredDocumentUploadsStatusPartialApproval DocumentRequiredDocumentUploadsStatus = "PARTIAL_APPROVAL" )
func (DocumentRequiredDocumentUploadsStatus) IsKnown ¶ added in v0.48.0
func (r DocumentRequiredDocumentUploadsStatus) IsKnown() bool
type DocumentRequiredDocumentUploadsStatusReason ¶ added in v0.48.0
type DocumentRequiredDocumentUploadsStatusReason string
The status reasons for an account holder document upload that is not ACCEPTED
const ( DocumentRequiredDocumentUploadsStatusReasonDocumentMissingRequiredData DocumentRequiredDocumentUploadsStatusReason = "DOCUMENT_MISSING_REQUIRED_DATA" DocumentRequiredDocumentUploadsStatusReasonDocumentUploadTooBlurry DocumentRequiredDocumentUploadsStatusReason = "DOCUMENT_UPLOAD_TOO_BLURRY" DocumentRequiredDocumentUploadsStatusReasonFileSizeTooLarge DocumentRequiredDocumentUploadsStatusReason = "FILE_SIZE_TOO_LARGE" DocumentRequiredDocumentUploadsStatusReasonInvalidDocumentType DocumentRequiredDocumentUploadsStatusReason = "INVALID_DOCUMENT_TYPE" DocumentRequiredDocumentUploadsStatusReasonInvalidDocumentUpload DocumentRequiredDocumentUploadsStatusReason = "INVALID_DOCUMENT_UPLOAD" DocumentRequiredDocumentUploadsStatusReasonInvalidEntity DocumentRequiredDocumentUploadsStatusReason = "INVALID_ENTITY" DocumentRequiredDocumentUploadsStatusReasonDocumentExpired DocumentRequiredDocumentUploadsStatusReason = "DOCUMENT_EXPIRED" DocumentRequiredDocumentUploadsStatusReasonDocumentIssuedGreaterThan30Days DocumentRequiredDocumentUploadsStatusReason = "DOCUMENT_ISSUED_GREATER_THAN_30_DAYS" DocumentRequiredDocumentUploadsStatusReasonDocumentTypeNotSupported DocumentRequiredDocumentUploadsStatusReason = "DOCUMENT_TYPE_NOT_SUPPORTED" DocumentRequiredDocumentUploadsStatusReasonUnknownFailureReason DocumentRequiredDocumentUploadsStatusReason = "UNKNOWN_FAILURE_REASON" DocumentRequiredDocumentUploadsStatusReasonUnknownError DocumentRequiredDocumentUploadsStatusReason = "UNKNOWN_ERROR" )
func (DocumentRequiredDocumentUploadsStatusReason) IsKnown ¶ added in v0.48.0
func (r DocumentRequiredDocumentUploadsStatusReason) IsKnown() bool
type ShippingAddressParam ¶
type ShippingAddressParam struct {
// Valid USPS routable address.
Address1 param.Field[string] `json:"address1,required"`
// City
City param.Field[string] `json:"city,required"`
// Uppercase ISO 3166-1 alpha-3 three character abbreviation.
Country param.Field[string] `json:"country,required"`
// Customer's first name. This will be the first name printed on the physical card.
// The combined length of `first_name` and `last_name` may not exceed 25
// characters.
FirstName param.Field[string] `json:"first_name,required"`
// Customer's surname (family name). This will be the last name printed on the
// physical card. The combined length of `first_name` and `last_name` may not
// exceed 25 characters.
LastName param.Field[string] `json:"last_name,required"`
// Postal code (formerly zipcode). For US addresses, either five-digit postal code
// or nine-digit postal code (ZIP+4) using the format 12345-1234.
PostalCode param.Field[string] `json:"postal_code,required"`
// Uppercase ISO 3166-2 two character abbreviation for US and CA. Optional with a
// limit of 24 characters for other countries.
State param.Field[string] `json:"state,required"`
// Unit number (if applicable).
Address2 param.Field[string] `json:"address2"`
// Email address to be contacted for expedited shipping process purposes. Required
// if `shipping_method` is `EXPEDITED`.
Email param.Field[string] `json:"email"`
// Text to be printed on line two of the physical card. Use of this field requires
// additional permissions.
Line2Text param.Field[string] `json:"line2_text"`
// Cardholder's phone number in E.164 format to be contacted for expedited shipping
// process purposes. Required if `shipping_method` is `EXPEDITED`.
PhoneNumber param.Field[string] `json:"phone_number"`
}
func (ShippingAddressParam) MarshalJSON ¶
func (r ShippingAddressParam) MarshalJSON() (data []byte, err error)
type UnionFloat ¶ added in v0.51.0
type UnionFloat float64
func (UnionFloat) ImplementsAuthRuleMigrateV1ToV2ResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.54.0
func (UnionFloat) ImplementsAuthRuleMigrateV1ToV2ResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion()
func (UnionFloat) ImplementsAuthRuleMigrateV1ToV2ResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.54.0
func (UnionFloat) ImplementsAuthRuleMigrateV1ToV2ResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion()
func (UnionFloat) ImplementsAuthRuleV2ApplyResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.51.0
func (UnionFloat) ImplementsAuthRuleV2ApplyResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion()
func (UnionFloat) ImplementsAuthRuleV2ApplyResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.51.0
func (UnionFloat) ImplementsAuthRuleV2ApplyResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion()
func (UnionFloat) ImplementsAuthRuleV2DraftParamsParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.51.0
func (UnionFloat) ImplementsAuthRuleV2DraftParamsParametersConditionalBlockParametersConditionsValueUnion()
func (UnionFloat) ImplementsAuthRuleV2DraftResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.51.0
func (UnionFloat) ImplementsAuthRuleV2DraftResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion()
func (UnionFloat) ImplementsAuthRuleV2DraftResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.51.0
func (UnionFloat) ImplementsAuthRuleV2DraftResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion()
func (UnionFloat) ImplementsAuthRuleV2GetResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.51.0
func (UnionFloat) ImplementsAuthRuleV2GetResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion()
func (UnionFloat) ImplementsAuthRuleV2GetResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.51.0
func (UnionFloat) ImplementsAuthRuleV2GetResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion()
func (UnionFloat) ImplementsAuthRuleV2ListResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.51.0
func (UnionFloat) ImplementsAuthRuleV2ListResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion()
func (UnionFloat) ImplementsAuthRuleV2ListResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.51.0
func (UnionFloat) ImplementsAuthRuleV2ListResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion()
func (UnionFloat) ImplementsAuthRuleV2NewParamsBodyCreateAuthRuleRequestAccountTokensParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.51.0
func (UnionFloat) ImplementsAuthRuleV2NewParamsBodyCreateAuthRuleRequestAccountTokensParametersConditionalBlockParametersConditionsValueUnion()
func (UnionFloat) ImplementsAuthRuleV2NewParamsBodyCreateAuthRuleRequestCardTokensParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.51.0
func (UnionFloat) ImplementsAuthRuleV2NewParamsBodyCreateAuthRuleRequestCardTokensParametersConditionalBlockParametersConditionsValueUnion()
func (UnionFloat) ImplementsAuthRuleV2NewParamsBodyCreateAuthRuleRequestProgramLevelParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.51.0
func (UnionFloat) ImplementsAuthRuleV2NewParamsBodyCreateAuthRuleRequestProgramLevelParametersConditionalBlockParametersConditionsValueUnion()
func (UnionFloat) ImplementsAuthRuleV2NewResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.51.0
func (UnionFloat) ImplementsAuthRuleV2NewResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion()
func (UnionFloat) ImplementsAuthRuleV2NewResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.51.0
func (UnionFloat) ImplementsAuthRuleV2NewResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion()
func (UnionFloat) ImplementsAuthRuleV2PromoteResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.51.0
func (UnionFloat) ImplementsAuthRuleV2PromoteResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion()
func (UnionFloat) ImplementsAuthRuleV2PromoteResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.51.0
func (UnionFloat) ImplementsAuthRuleV2PromoteResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion()
func (UnionFloat) ImplementsAuthRuleV2UpdateResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.51.0
func (UnionFloat) ImplementsAuthRuleV2UpdateResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion()
func (UnionFloat) ImplementsAuthRuleV2UpdateResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.51.0
func (UnionFloat) ImplementsAuthRuleV2UpdateResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion()
func (UnionFloat) ImplementsSharedVelocityLimitParamsPeriodUnion ¶ added in v0.51.0
func (UnionFloat) ImplementsSharedVelocityLimitParamsPeriodUnion()
type UnionString ¶ added in v0.51.0
type UnionString string
func (UnionString) ImplementsAuthRuleMigrateV1ToV2ResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.54.0
func (UnionString) ImplementsAuthRuleMigrateV1ToV2ResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion()
func (UnionString) ImplementsAuthRuleMigrateV1ToV2ResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.54.0
func (UnionString) ImplementsAuthRuleMigrateV1ToV2ResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion()
func (UnionString) ImplementsAuthRuleV2ApplyResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.51.0
func (UnionString) ImplementsAuthRuleV2ApplyResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion()
func (UnionString) ImplementsAuthRuleV2ApplyResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.51.0
func (UnionString) ImplementsAuthRuleV2ApplyResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion()
func (UnionString) ImplementsAuthRuleV2DraftParamsParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.51.0
func (UnionString) ImplementsAuthRuleV2DraftParamsParametersConditionalBlockParametersConditionsValueUnion()
func (UnionString) ImplementsAuthRuleV2DraftResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.51.0
func (UnionString) ImplementsAuthRuleV2DraftResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion()
func (UnionString) ImplementsAuthRuleV2DraftResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.51.0
func (UnionString) ImplementsAuthRuleV2DraftResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion()
func (UnionString) ImplementsAuthRuleV2GetResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.51.0
func (UnionString) ImplementsAuthRuleV2GetResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion()
func (UnionString) ImplementsAuthRuleV2GetResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.51.0
func (UnionString) ImplementsAuthRuleV2GetResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion()
func (UnionString) ImplementsAuthRuleV2ListResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.51.0
func (UnionString) ImplementsAuthRuleV2ListResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion()
func (UnionString) ImplementsAuthRuleV2ListResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.51.0
func (UnionString) ImplementsAuthRuleV2ListResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion()
func (UnionString) ImplementsAuthRuleV2NewParamsBodyCreateAuthRuleRequestAccountTokensParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.51.0
func (UnionString) ImplementsAuthRuleV2NewParamsBodyCreateAuthRuleRequestAccountTokensParametersConditionalBlockParametersConditionsValueUnion()
func (UnionString) ImplementsAuthRuleV2NewParamsBodyCreateAuthRuleRequestCardTokensParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.51.0
func (UnionString) ImplementsAuthRuleV2NewParamsBodyCreateAuthRuleRequestCardTokensParametersConditionalBlockParametersConditionsValueUnion()
func (UnionString) ImplementsAuthRuleV2NewParamsBodyCreateAuthRuleRequestProgramLevelParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.51.0
func (UnionString) ImplementsAuthRuleV2NewParamsBodyCreateAuthRuleRequestProgramLevelParametersConditionalBlockParametersConditionsValueUnion()
func (UnionString) ImplementsAuthRuleV2NewResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.51.0
func (UnionString) ImplementsAuthRuleV2NewResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion()
func (UnionString) ImplementsAuthRuleV2NewResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.51.0
func (UnionString) ImplementsAuthRuleV2NewResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion()
func (UnionString) ImplementsAuthRuleV2PromoteResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.51.0
func (UnionString) ImplementsAuthRuleV2PromoteResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion()
func (UnionString) ImplementsAuthRuleV2PromoteResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.51.0
func (UnionString) ImplementsAuthRuleV2PromoteResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion()
func (UnionString) ImplementsAuthRuleV2UpdateResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.51.0
func (UnionString) ImplementsAuthRuleV2UpdateResponseCurrentVersionParametersConditionalBlockParametersConditionsValueUnion()
func (UnionString) ImplementsAuthRuleV2UpdateResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion ¶ added in v0.51.0
func (UnionString) ImplementsAuthRuleV2UpdateResponseDraftVersionParametersConditionalBlockParametersConditionsValueUnion()
type VelocityLimitParams ¶ added in v0.51.0
type VelocityLimitParams struct {
Filters VelocityLimitParamsFilters `json:"filters,required"`
// The size of the trailing window to calculate Spend Velocity over in seconds.
Period VelocityLimitParamsPeriodUnion `json:"period,required"`
Scope VelocityLimitParamsScope `json:"scope,required"`
// The maximum amount of spend velocity allowed in the period in minor units (the
// smallest unit of a currency, e.g. cents for USD). Transactions exceeding this
// limit will be declined.
LimitAmount float64 `json:"limit_amount,nullable"`
// The number of spend velocity impacting transactions may not exceed this limit in
// the period. Transactions exceeding this limit will be declined. A spend velocity
// impacting transaction is a transaction that has been authorized, and optionally
// settled, or a force post (a transaction that settled without prior
// authorization).
LimitCount float64 `json:"limit_count,nullable"`
JSON velocityLimitParamsJSON `json:"-"`
}
func (VelocityLimitParams) ImplementsAuthRuleMigrateV1ToV2ResponseCurrentVersionParameters ¶ added in v0.54.0
func (r VelocityLimitParams) ImplementsAuthRuleMigrateV1ToV2ResponseCurrentVersionParameters()
func (VelocityLimitParams) ImplementsAuthRuleMigrateV1ToV2ResponseDraftVersionParameters ¶ added in v0.54.0
func (r VelocityLimitParams) ImplementsAuthRuleMigrateV1ToV2ResponseDraftVersionParameters()
func (VelocityLimitParams) ImplementsAuthRuleV2ApplyResponseCurrentVersionParameters ¶ added in v0.51.0
func (r VelocityLimitParams) ImplementsAuthRuleV2ApplyResponseCurrentVersionParameters()
func (VelocityLimitParams) ImplementsAuthRuleV2ApplyResponseDraftVersionParameters ¶ added in v0.51.0
func (r VelocityLimitParams) ImplementsAuthRuleV2ApplyResponseDraftVersionParameters()
func (VelocityLimitParams) ImplementsAuthRuleV2DraftResponseCurrentVersionParameters ¶ added in v0.51.0
func (r VelocityLimitParams) ImplementsAuthRuleV2DraftResponseCurrentVersionParameters()
func (VelocityLimitParams) ImplementsAuthRuleV2DraftResponseDraftVersionParameters ¶ added in v0.51.0
func (r VelocityLimitParams) ImplementsAuthRuleV2DraftResponseDraftVersionParameters()
func (VelocityLimitParams) ImplementsAuthRuleV2GetResponseCurrentVersionParameters ¶ added in v0.51.0
func (r VelocityLimitParams) ImplementsAuthRuleV2GetResponseCurrentVersionParameters()
func (VelocityLimitParams) ImplementsAuthRuleV2GetResponseDraftVersionParameters ¶ added in v0.51.0
func (r VelocityLimitParams) ImplementsAuthRuleV2GetResponseDraftVersionParameters()
func (VelocityLimitParams) ImplementsAuthRuleV2ListResponseCurrentVersionParameters ¶ added in v0.51.0
func (r VelocityLimitParams) ImplementsAuthRuleV2ListResponseCurrentVersionParameters()
func (VelocityLimitParams) ImplementsAuthRuleV2ListResponseDraftVersionParameters ¶ added in v0.51.0
func (r VelocityLimitParams) ImplementsAuthRuleV2ListResponseDraftVersionParameters()
func (VelocityLimitParams) ImplementsAuthRuleV2NewResponseCurrentVersionParameters ¶ added in v0.51.0
func (r VelocityLimitParams) ImplementsAuthRuleV2NewResponseCurrentVersionParameters()
func (VelocityLimitParams) ImplementsAuthRuleV2NewResponseDraftVersionParameters ¶ added in v0.51.0
func (r VelocityLimitParams) ImplementsAuthRuleV2NewResponseDraftVersionParameters()
func (VelocityLimitParams) ImplementsAuthRuleV2PromoteResponseCurrentVersionParameters ¶ added in v0.51.0
func (r VelocityLimitParams) ImplementsAuthRuleV2PromoteResponseCurrentVersionParameters()
func (VelocityLimitParams) ImplementsAuthRuleV2PromoteResponseDraftVersionParameters ¶ added in v0.51.0
func (r VelocityLimitParams) ImplementsAuthRuleV2PromoteResponseDraftVersionParameters()
func (VelocityLimitParams) ImplementsAuthRuleV2UpdateResponseCurrentVersionParameters ¶ added in v0.51.0
func (r VelocityLimitParams) ImplementsAuthRuleV2UpdateResponseCurrentVersionParameters()
func (VelocityLimitParams) ImplementsAuthRuleV2UpdateResponseDraftVersionParameters ¶ added in v0.51.0
func (r VelocityLimitParams) ImplementsAuthRuleV2UpdateResponseDraftVersionParameters()
func (*VelocityLimitParams) UnmarshalJSON ¶ added in v0.51.0
func (r *VelocityLimitParams) UnmarshalJSON(data []byte) (err error)
type VelocityLimitParamsFilters ¶ added in v0.51.0
type VelocityLimitParamsFilters struct {
// ISO-3166-1 alpha-3 Country Codes to include in the velocity calculation.
// Transactions not matching any of the provided will not be included in the
// calculated velocity.
IncludeCountries []string `json:"include_countries,nullable"`
// Merchant Category Codes to include in the velocity calculation. Transactions not
// matching this MCC will not be included in the calculated velocity.
IncludeMccs []string `json:"include_mccs,nullable"`
JSON velocityLimitParamsFiltersJSON `json:"-"`
}
func (*VelocityLimitParamsFilters) UnmarshalJSON ¶ added in v0.51.0
func (r *VelocityLimitParamsFilters) UnmarshalJSON(data []byte) (err error)
type VelocityLimitParamsPeriodUnion ¶ added in v0.51.0
type VelocityLimitParamsPeriodUnion interface {
}
The size of the trailing window to calculate Spend Velocity over in seconds.
Union satisfied by shared.UnionFloat or shared.VelocityLimitParamsPeriodWindow.
type VelocityLimitParamsPeriodWindow ¶ added in v0.51.0
type VelocityLimitParamsPeriodWindow string
The window of time to calculate Spend Velocity over.
- `DAY`: Velocity over the current day since midnight Eastern Time.
- `MONTH`: Velocity over the current month since 00:00 / 12 AM on the first of the month in Eastern Time.
const ( VelocityLimitParamsPeriodWindowDay VelocityLimitParamsPeriodWindow = "DAY" VelocityLimitParamsPeriodWindowMonth VelocityLimitParamsPeriodWindow = "MONTH" )
func (VelocityLimitParamsPeriodWindow) ImplementsSharedVelocityLimitParamsPeriodUnion ¶ added in v0.51.0
func (r VelocityLimitParamsPeriodWindow) ImplementsSharedVelocityLimitParamsPeriodUnion()
func (VelocityLimitParamsPeriodWindow) IsKnown ¶ added in v0.51.0
func (r VelocityLimitParamsPeriodWindow) IsKnown() bool
type VelocityLimitParamsScope ¶ added in v0.51.0
type VelocityLimitParamsScope string
const ( VelocityLimitParamsScopeCard VelocityLimitParamsScope = "CARD" VelocityLimitParamsScopeAccount VelocityLimitParamsScope = "ACCOUNT" )
func (VelocityLimitParamsScope) IsKnown ¶ added in v0.51.0
func (r VelocityLimitParamsScope) IsKnown() bool