Documentation ¶
Index ¶
- Constants
- type ANetApiRequest
- type ANetApiResponse
- type ARBCancelSubscriptionPayload
- type ARBCancelSubscriptionRequest
- type ARBCancelSubscriptionResponse
- type ARBCreateSubscriptionPayload
- type ARBCreateSubscriptionRequest
- type ARBCreateSubscriptionResponse
- type ARBGetSubscriptionListOrderFieldEnum
- type ARBGetSubscriptionListPayload
- type ARBGetSubscriptionListRequest
- type ARBGetSubscriptionListResponse
- type ARBGetSubscriptionListSearchTypeEnum
- type ARBGetSubscriptionPayload
- type ARBGetSubscriptionRequest
- type ARBGetSubscriptionResponse
- type ARBGetSubscriptionStatusPayload
- type ARBGetSubscriptionStatusRequest
- type ARBGetSubscriptionStatusResponse
- type ARBSubscription
- type ARBSubscriptionMasked
- type ARBSubscriptionStatusEnum
- type ARBSubscriptionUnitEnum
- type ARBTransactionList
- type ARBUpdateSubscriptionPayload
- type ARBUpdateSubscriptionRequest
- type ARBUpdateSubscriptionResponse
- type AUJobTypeEnum
- type AccountTypeEnum
- type AfdsTransactionEnum
- type ArbTransaction
- type AuDelete
- type AuDetails
- type AuResponse
- type AuUpdate
- type AuthenticateTestRequest
- type BankAccount
- type BankAccountMasked
- type BankAccountTypeEnum
- type BatchDetails
- type BatchStatistic
- type CCAuthentication
- type CardArt
- type CardTypeEnum
- type Client
- type ContactDetail
- type CreateCustomerPaymentProfilePayload
- type CreateCustomerPaymentProfileRequest
- type CreateCustomerPaymentProfileResponse
- type CreateCustomerProfileFromTransactionPayload
- type CreateCustomerProfileFromTransactionRequest
- type CreateCustomerProfileFromTransactionResponse
- type CreateCustomerProfilePayload
- type CreateCustomerProfileRequest
- type CreateCustomerProfileResponse
- type CreateCustomerProfileTransactionPayload
- type CreateCustomerProfileTransactionRequest
- type CreateCustomerProfileTransactionResponse
- type CreateCustomerShippingAddressPayload
- type CreateCustomerShippingAddressRequest
- type CreateCustomerShippingAddressResponse
- type CreateProfileResponse
- type CreateTransactionRequest
- type CreateTransactionResponse
- type CreditCard
- type CreditCardMasked
- type CreditCardTrack
- type Customer
- type CustomerAddress
- type CustomerAddressEx
- type CustomerData
- type CustomerPaymentProfile
- type CustomerPaymentProfileBase
- type CustomerPaymentProfileEx
- type CustomerPaymentProfileListItem
- type CustomerPaymentProfileMasked
- type CustomerPaymentProfileOrderFieldEnum
- type CustomerPaymentProfileSearchTypeEnum
- type CustomerProfile
- type CustomerProfileBase
- type CustomerProfileEx
- type CustomerProfileId
- type CustomerProfileInfoEx
- type CustomerProfileMasked
- type CustomerProfilePayment
- type CustomerProfileSummary
- type CustomerProfileTypeEnum
- type CustomerTypeEnum
- type Date
- type DateTime
- type DateTimeNano
- type DateTimeZ
- type DecryptPaymentDataPayload
- type DecryptPaymentDataRequest
- type DecryptPaymentDataResponse
- type DeleteCustomerPaymentProfilePayload
- type DeleteCustomerPaymentProfileRequest
- type DeleteCustomerPaymentProfileResponse
- type DeleteCustomerProfilePayload
- type DeleteCustomerProfileRequest
- type DeleteCustomerProfileResponse
- type DeleteCustomerShippingAddressPayload
- type DeleteCustomerShippingAddressRequest
- type DeleteCustomerShippingAddressResponse
- type DeviceActivationEnum
- type DriversLicense
- type DriversLicenseMasked
- type EcheckTypeEnum
- type EmailSettings
- type EmvResponse
- type EmvTag
- type EncodingType
- type EncryptedTrackData
- type EncryptionAlgorithmType
- type EnumCollection
- type ErrCodeEnum
- type ErrMessage
- type Error
- type ExtendedAmount
- type FDSFilter
- type FDSFilterActionEnum
- type FingerPrintType
- type FraudInformation
- type GetAUJobDetailsPayload
- type GetAUJobDetailsRequest
- type GetAUJobDetailsResponse
- type GetAUJobSummaryPayload
- type GetAUJobSummaryRequest
- type GetAUJobSummaryResponse
- type GetBatchStatisticsPayload
- type GetBatchStatisticsRequest
- type GetBatchStatisticsResponse
- type GetCustomerPaymentProfileListPayload
- type GetCustomerPaymentProfileListRequest
- type GetCustomerPaymentProfileListResponse
- type GetCustomerPaymentProfileNoncePayload
- type GetCustomerPaymentProfileNonceRequest
- type GetCustomerPaymentProfileNonceResponse
- type GetCustomerPaymentProfilePayload
- type GetCustomerPaymentProfileRequest
- type GetCustomerPaymentProfileResponse
- type GetCustomerProfileIdsRequest
- type GetCustomerProfileIdsResponse
- type GetCustomerProfilePayload
- type GetCustomerProfileRequest
- type GetCustomerProfileResponse
- type GetCustomerShippingAddressPayload
- type GetCustomerShippingAddressRequest
- type GetCustomerShippingAddressResponse
- type GetHostedPaymentPagePayload
- type GetHostedPaymentPageRequest
- type GetHostedPaymentPageResponse
- type GetHostedProfilePagePayload
- type GetHostedProfilePageRequest
- type GetHostedProfilePageResponse
- type GetMerchantDetailsRequest
- type GetMerchantDetailsResponse
- type GetSettledBatchListPayload
- type GetSettledBatchListRequest
- type GetSettledBatchListResponse
- type GetTransactionDetailsPayload
- type GetTransactionDetailsRequest
- type GetTransactionDetailsResponse
- type GetTransactionListForCustomerPayload
- type GetTransactionListForCustomerRequest
- type GetTransactionListPayload
- type GetTransactionListRequest
- type GetTransactionListResponse
- type GetUnsettledTransactionListPayload
- type GetUnsettledTransactionListRequest
- type GetUnsettledTransactionListResponse
- type HeldTransactionPayload
- type HeldTransactionRequest
- type HttpClientCfg
- type ImpersonationAuthenticationType
- type IsAliveRequest
- type IsAliveResponse
- type Item
- type KeyBlock
- type KeyManagementScheme
- type KeyManagementSchemeDUKPT
- type KeyManagementSchemeDUKPTDeviceInfo
- type KeyManagementSchemeDUKPTEncryptedData
- type KeyManagementSchemeDUKPTMode
- type KeyValue
- type ListOfAUDetails
- type Logger
- type LogoutRequest
- type LogoutResponse
- type MerchantAuthentication
- type MerchantContact
- type MerchantInitTransReasonEnum
- type Messages
- type MobileDevice
- type MobileDeviceLoginRequest
- type MobileDeviceLoginResponse
- type MobileDeviceRegistrationPayload
- type MobileDeviceRegistrationRequest
- type MobileDeviceRegistrationResponse
- type NameAndAddress
- type OpaqueData
- type OperationType
- type Order
- type OrderEx
- type OtherTax
- type Paging
- type PayPal
- type Payment
- type PaymentDetails
- type PaymentEmv
- type PaymentMasked
- type PaymentMethodEnum
- type PaymentMethodsTypeEnum
- type PaymentProfile
- type PaymentSchedule
- type PaymentScheduleTypeInterval
- type PaymentSimple
- type Permission
- type PermissionsEnum
- type ProcessingOptions
- type Processor
- type ProfileTransAmount
- type ProfileTransAuthOnly
- type ProfileTransCaptureOnly
- type ProfileTransOrder
- type ProfileTransPriorAuthCapture
- type ProfileTransRefund
- type ProfileTransVoid
- type ProfileTransaction
- type ReturnedItem
- type SecureAcceptance
- type SecurePaymentContainerPayload
- type SecurePaymentContainerRequest
- type SecurePaymentContainerResponse
- type SendCustomerTransactionReceiptPayload
- type SendCustomerTransactionReceiptRequest
- type SendCustomerTransactionReceiptResponse
- type Setting
- type SettingNameEnum
- type SettlementStateEnum
- type Solution
- type Sorting
- type SplitTenderPayment
- type SplitTenderStatusEnum
- type SubMerchant
- type SubscriptionCustomerProfile
- type SubscriptionDetail
- type SubscriptionPayment
- type SubsequentAuthInformation
- type TokenMasked
- type TransRetailInfo
- type Transaction
- type TransactionDetails
- type TransactionDetailsTypeEmvDetails
- type TransactionDetailsTypeEmvDetailsTag
- type TransactionGroupStatusEnum
- type TransactionListOrderFieldEnum
- type TransactionRequest
- type TransactionResponse
- type TransactionResponsePrePaidCard
- type TransactionStatusEnum
- type TransactionSummary
- type TransactionTypeEnum
- type UpdateCustomerPaymentProfilePayload
- type UpdateCustomerPaymentProfileRequest
- type UpdateCustomerPaymentProfileResponse
- type UpdateCustomerProfilePayload
- type UpdateCustomerProfileRequest
- type UpdateCustomerProfileResponse
- type UpdateCustomerShippingAddressPayload
- type UpdateCustomerShippingAddressRequest
- type UpdateCustomerShippingAddressResponse
- type UpdateHeldTransactionPayload
- type UpdateHeldTransactionRequest
- type UpdateHeldTransactionResponse
- type UpdateMerchantDetailsPayload
- type UpdateMerchantDetailsRequest
- type UpdateMerchantDetailsResponse
- type UpdateSplitTenderGroupPayload
- type UpdateSplitTenderGroupRequest
- type UpdateSplitTenderGroupResponse
- type UserField
- type UserFields
- type ValidateCustomerPaymentProfilePayload
- type ValidateCustomerPaymentProfileRequest
- type ValidateCustomerPaymentProfileResponse
- type ValidationModeEnum
- type WebCheckOutData
- type WebCheckOutDataTypeToken
- type WebCheckOutTypeEnum
Constants ¶
View Source
const ( SandboxEndpoint = "https://apitest.authorize.net/xml/v1/request.api" Endpoint = "https://api.authorize.net/xml/v1/request.api" DefaultTimeOut = 30 * time.Second DefaultKeepAlive = 30 * time.Second DefaultMaxIdleConns = 100 DefaultMaxIdleConnsPerHost = 100 DefaultIdleConnTimeout = 90 * time.Second DefaultTLSHandshakeTimeout = 10 * time.Second DefaultExpectContinueTimeout = 1 * time.Second DefaultMaxConnsPerHost = 50 ContentType = "Content-Type" Accept = "Accept" ApplicationJSON = "application/json; charset=utf-8" UserAgent = "User-Agent" Authorization = "Authorization" Bearer = "Bearer " )
View Source
const ( // The request was processed successfully. I00001 = 1 // original "I00001" EnUsI00001 = "Successful." // The subscription has already been canceled. I00002 = 2 // original "I00002" EnUsI00002 = "The subscription has already been canceled." // The record has already been deleted. I00003 = 3 // original "I00003" EnUsI00003 = "The record has already been deleted." // No records have been found that match your query. I00004 = 4 // original "I00004" EnUsI00004 = "No records found." // The mobile device was successfully inserted into the database. I00005 = 5 // original "I00005" EnUsI00005 = "The mobile device has been submitted for approval by the account administrator." // The mobile device was successfully registered and approved by the account administrator. I00006 = 6 // original "I00006" EnUsI00006 = "The mobile device is approved and ready for use." // The Payment Gateway Account service (id=8) has already been accepted. I00007 = 7 // original "I00007" EnUsI00007 = "The Payment Gateway Account service (id=8) has already been accepted." // The Payment Gateway Account service (id=8) has already been declined. I00008 = 8 // original "I00008" EnUsI00008 = "The Payment Gateway Account service (id=8) has already been declined." // The APIUser already exists. I00009 = 9 // original "I00009" EnUsI00009 = "The APIUser already exists." // The merchant is activated successfully. I00010 = 10 // original "I00010" EnUsI00010 = "The merchant is activated successfully." // The merchant is not activated. I00011 = 11 // original "I00011" EnUsI00011 = "The merchant is not activated." // An unexpected system error occurred while processing this request. E00001 = 13 // original "E00001" EnUsE00001 = "An error occurred during processing. Please try again." // The only supported content-types are text/xml and application/xml. E00002 = 14 // original "E00002" EnUsE00002 = "The content-type specified is not supported." // This is the result of an XML parser error. E00003 = 15 // original "E00003" EnUsE00003 = "An error occurred while parsing the XML request." // The name of the root node of the XML request is the API method being called. It is not valid. E00004 = 16 // original "E00004" EnUsE00004 = "The name of the requested API method is invalid." // User authentication requires a valid value for transaction key or API key. E00005 = 17 // original "E00005" EnUsE00005 = "The transaction key or API key is invalid or not present." // User authentication requires a valid value for API user name. E00006 = 18 // original "E00006" EnUsE00006 = "The API user name is invalid or not present." // The API user name is invalid and/or the transaction key or API key is invalid. E00007 = 19 // original "E00007" EnUsE00007 = "User authentication failed due to invalid authentication values." // The payment gateway, reseller, or user account is not currently active. E00008 = 20 // original "E00008" EnUsE00008 = "User authentication failed. The account or API user is inactive." // The requested API method cannot be executed while the payment gateway account is in Test Mode. // To disable Test Mode, log into the Merchant Interface at https://account.authorize.net/ and click Account > Test Mode > Turn Test OFF. E00009 = 21 // original "E00009" EnUsE00009 = "The payment gateway account is in Test Mode. The request cannot be processed." // The user does not have permission to call the API. E00010 = 22 // original "E00010" EnUsE00010 = "User authentication failed. You do not have the appropriate permissions." // The user does not have permission to call the API method. E00011 = 23 // original "E00011" EnUsE00011 = "Access denied. You do not have the appropriate permissions." // A duplicate of the subscription was already submitted. E00012 = 24 // original "E00012" EnUsE00012 = "A duplicate subscription already exists." // One of the field values is not valid. E00013 = 25 // original "E00013" EnUsE00013 = "The field is invalid." // One of the required fields was not present. E00014 = 26 // original "E00014" EnUsE00014 = "A required field is not present." // One of the fields has an invalid length. E00015 = 27 // original "E00015" EnUsE00015 = "The field length is invalid." // The field type is not valid. E00016 = 28 // original "E00016" EnUsE00016 = "The field type is invalid." // The subscription start date cannot occur before the subscription submission date. E00017 = 29 // original "E00017" EnUsE00017 = "The start date cannot occur in the past." // The credit card is not valid as of the start date of the subscription. E00018 = 30 // original "E00018" EnUsE00018 = "The credit card expires before the subscription start date." // The customer tax ID or driver's license information (driver's license number, driver's license state, driver's license DOB) is required for the subscription. E00019 = 31 // original "E00019" EnUsE00019 = "The customer tax id or drivers license information is required." // The payment gateway account is not set up to process eCheck.Net subscriptions. E00020 = 32 // original "E00020" EnUsE00020 = "The payment gateway account is not enabled for eCheck.Net subscriptions." // The payment gateway account is not set up to process credit card subscriptions. E00021 = 33 // original "E00021" EnUsE00021 = "The payment gateway account is not enabled for credit card subscriptions." // The interval length must be 7 to 365 days or 1 to 12 months. E00022 = 34 // original "E00022" EnUsE00022 = "The interval length cannot exceed 365 days or 12 months." // The number of total occurrences cannot extend the duration of the subscription beyond three years from the start date. E00023 = 35 // original "E00023" EnUsE00023 = "The subscription duration cannot exceed three years." // The number of trial occurrences cannot be zero if a valid trial amount is submitted. E00024 = 36 // original "E00024" EnUsE00024 = "Trial Occurrences is required when Trial Amount is specified." // The payment gateway account is not enabled for Automated Recurring Billing. E00025 = 37 // original "E00025" EnUsE00025 = "Automated Recurring Billing is not enabled." // If either a trial amount or number of trial occurrences is specified then values for both must be submitted. E00026 = 38 // original "E00026" EnUsE00026 = "Both Trial Amount and Trial Occurrences are required." // An approval was not returned for the transaction. // For more information, check the errorCode field in the response. E00027 = 39 // original "E00027" EnUsE00027 = "The transaction was unsuccessful." // The number of trial occurrences specified must be less than the number of total occurrences specified. E00028 = 40 // original "E00028" EnUsE00028 = "Trial Occurrences must be less than Total Occurrences." // Payment information is required when creating a subscription or payment profile. E00029 = 41 // original "E00029" EnUsE00029 = "Payment information is required." // A payment schedule is required when creating a subscription. E00030 = 42 // original "E00030" EnUsE00030 = "The payment schedule is required." // The subscription amount is required when creating a subscription. E00031 = 43 // original "E00031" EnUsE00031 = "The amount is required." // The subscription start date is required to create a subscription. E00032 = 44 // original "E00032" EnUsE00032 = "The start date is required." // Once a subscription is created the start date cannot be changed. E00033 = 45 // original "E00033" EnUsE00033 = "The start date cannot be changed." // Once a subscription is created the interval cannot be changed. E00034 = 46 // original "E00034" EnUsE00034 = "The interval information cannot be changed." // The subscription ID for this request is not valid for this merchant. E00035 = 47 // original "E00035" EnUsE00035 = "The subscription cannot be found." // Changing the subscription payment type between credit card and eCheck.Net is not currently supported. E00036 = 48 // original "E00036" EnUsE00036 = "The payment type cannot be changed." // Subscriptions that are expired, canceled or terminated cannot be updated. E00037 = 49 // original "E00037" EnUsE00037 = "The subscription cannot be updated." // Subscriptions that are expired or terminated cannot be canceled. E00038 = 50 // original "E00038" EnUsE00038 = "The subscription cannot be canceled." // A duplicate of the customer profile, customer payment profile, or customer address was already submitted. E00039 = 51 // original "E00039" EnUsE00039 = "A duplicate record already exists." // The customer profile ID, payment profile ID, shipping address ID, or transaction ID for this request is not valid for this merchant. E00040 = 52 // original "E00040" EnUsE00040 = "The record cannot be found." // All of the fields were empty or missing. E00041 = 53 // original "E00041" EnUsE00041 = "One or more fields must contain a value." // The maximum number of payment profiles for the customer profile has been reached. E00042 = 54 // original "E00042" EnUsE00042 = "You cannot add more than {0} payment profiles." // The maximum number of shipping addresses for the customer profile has been reached. E00043 = 55 // original "E00043" EnUsE00043 = "You cannot add more than {0} shipping addresses." // The payment gateway account is not enabled for Customer Information Manager (CIM). E00044 = 56 // original "E00044" EnUsE00044 = "Customer Information Manager is not enabled." // The root node does not reference a valid XML namespace. E00045 = 57 // original "E00045" EnUsE00045 = "The root node does not reference a valid XML namespace." // Generic InsertNewMerchant failure. E00046 = 58 // original "E00046" EnUsE00046 = "Generic InsertNewMerchant failure." // The reseller account is not enabled for Merchant Boarding API. E00047 = 59 // original "E00047" EnUsE00047 = "Merchant Boarding API is not enabled." // The merchant account must be set up to accept credit card payments, eCheck payments, or both. E00048 = 60 // original "E00048" EnUsE00048 = "At least one payment method must be set in payment types or an echeck service must be provided." // The database operation timed out before it could be completed. E00049 = 61 // original "E00049" EnUsE00049 = "The operation timed out before it could be completed." // Cannot set a buyrate to less than the sellrate E00050 = 62 // original "E00050" EnUsE00050 = "Sell Rates cannot be less than Buy Rates" // If customer profile ID, payment profile ID, and shipping address ID are included, they must match the original transaction. E00051 = 63 // original "E00051" EnUsE00051 = "The original transaction was not issued for this payment profile." // The maximum number of elements for an array has been reached. E00052 = 64 // original "E00052" EnUsE00052 = "The maximum number of elements for an array {0} is {1}." // The server is currently too busy, please try again later. E00053 = 65 // original "E00053" EnUsE00053 = "Server too busy" // The mobile device identifier is not associated with the merchant account. E00054 = 66 // original "E00054" EnUsE00054 = "The mobile device is not registered with this merchant account." // The mobile device exists but is in a pending status. E00055 = 67 // original "E00055" EnUsE00055 = "The mobile device has already been registered but is pending approval by the account administrator." // The mobile device exists but has a status of disabled. E00056 = 68 // original "E00056" EnUsE00056 = "The mobile device has been disabled for use with this account." // The user does not have sufficient permissions to use a mobile device with this merchant account. E00057 = 69 // original "E00057" EnUsE00057 = "The user does not have permissions to submit requests from a mobile device." // The merchant has too many devices in a pending status. E00058 = 70 // original "E00058" EnUsE00058 = "The merchant has met or exceeded the number of pending mobile devices permitted for this account." // The authentication type is not allowed for the requested method call. E00059 = 71 // original "E00059" EnUsE00059 = "The authentication type is not allowed for this method call." // The transaction type is invalid. E00060 = 72 // original "E00060" EnUsE00060 = "The transaction type is invalid." // Could not decrypt DUKPT blobs and returned error. E00061 = 73 // original "E00061" EnUsE00061 = "{0}({1})." // Fatal error when calling web service. E00062 = 74 // original "E00062" EnUsE00062 = "Fatal error when calling web service." // Calling web service return error. E00063 = 75 // original "E00063" EnUsE00063 = "Calling web service return error." // Client authorization denied. E00064 = 76 // original "E00064" EnUsE00064 = "Client authorization denied." // Prerequisite failed. E00065 = 77 // original "E00065" EnUsE00065 = "Prerequisite failed." // Invalid value. E00066 = 78 // original "E00066" EnUsE00066 = "Invalid value." // This is the result of an XML parser error. Too many nodes specified. E00067 = 79 // original "E00067" EnUsE00067 = "An error occurred while parsing the XML request. Too many {0} specified." // This is the result of an XML parser error. The node is invalid. E00068 = 80 // original "E00068" EnUsE00068 = "An error occurred while parsing the XML request. {0} is invalid." // The Payment Gateway Account service (id=8) has already been accepted. Decline is not allowed. E00069 = 81 // original "E00069" EnUsE00069 = "The Payment Gateway Account service (id=8) has already been accepted. Decline is not allowed." // The Payment Gateway Account service (id=8) has already been declined. Agree is not allowed. E00070 = 82 // original "E00070" EnUsE00070 = "The Payment Gateway Account service (id=8) has already been declined. Agree is not allowed." // All of the fields were empty or missing. E00071 = 83 // original "E00071" EnUsE00071 = "{0} must contain data." // Required node missing. E00072 = 84 // original "E00072" EnUsE00072 = "Node {0} is required." // One of the field values is not valid. E00073 = 85 // original "E00073" EnUsE00073 = "{0} is invalid." // This merchant is not associated with this reseller. E00074 = 86 // original "E00074" EnUsE00074 = "This merchant is not associated with this reseller." // This is the result of an XML parser error. Missing field(s). E00075 = 87 // original "E00075" EnUsE00075 = "An error occurred while parsing the XML request. Missing field(s) {0}." // Invalid value. E00076 = 88 // original "E00076" EnUsE00076 = "{0} contains invalid value." // Value too long. E00077 = 89 // original "E00077" EnUsE00077 = "The value of {0} is too long. The length of value should be {1}" // Pending Status (not completed). E00078 = 90 // original "E00078" EnUsE00078 = "Pending Status (not completed)." // Impersonation partner login ID is invalid or not present. E00079 = 91 // original "E00079" EnUsE00079 = "The impersonation login ID is invalid or not present." // Impersonation API Key is invalid or not present. E00080 = 92 // original "E00080" EnUsE00080 = "The impersonation API Key is invalid or not present." // The partner account is not authorized to impersonate the login account. E00081 = 93 // original "E00081" EnUsE00081 = "Partner account is not authorized to impersonate the login account." // Country is not valid. E00082 = 94 // original "E00082" EnUsE00082 = "Country for {0} is not valid." // Bank payment method is not accepted for the selected business country. E00083 = 95 // original "E00083" EnUsE00083 = "Bank payment method is not accepted for the selected business country." // Credit card payment method is not accepted for the selected business country. E00084 = 96 // original "E00084" EnUsE00084 = "Credit card payment method is not accepted for the selected business country." // State is not valid. E00085 = 97 // original "E00085" EnUsE00085 = "State for {0} is not valid." // Merchant has declined authorization to resource. E00086 = 98 // original "E00086" EnUsE00086 = "Merchant has declined authorization to resource." // There are no subscriptions available for the merchant account for the type of subscriptions requested. E00087 = 99 // original "E00087" EnUsE00087 = "No subscriptions found for the given request." // CreateProfile and profileIds are mutually exclusive, only one of them can be provided at a time. E00088 = 100 // original "E00088" EnUsE00088 = "ProfileIds cannot be sent when requesting CreateProfile." // When requesting CreateProfile payment data cannot be null. E00089 = 101 // original "E00089" EnUsE00089 = "Payment data is required when requesting CreateProfile." // PaymentProfile and PaymentData are mutually exclusive, only one of them can be provided at a time. E00090 = 102 // original "E00090" EnUsE00090 = "PaymentProfile cannot be sent with payment data." // PaymentProfileId and payment data are mutually exclusive, only one of them can be provided at a time. E00091 = 103 // original "E00091" EnUsE00091 = "PaymentProfileId cannot be sent with payment data." // ShippingProfileId and ShipToAddress are mutually exclusive, only one of them can be provided at a time. E00092 = 104 // original "E00092" EnUsE00092 = "ShippingProfileId cannot be sent with ShipTo data." // PaymentProfile and Billing information are mutually exclusive, only one of them can be provided at a time. E00093 = 105 // original "E00093" EnUsE00093 = "PaymentProfile cannot be sent with billing data." // Paging Offset exceeds allowed value. Check and lower the value. E00094 = 106 // original "E00094" EnUsE00094 = "Paging Offset exceeds the maximum allowed value." // When using Customer Profile with Credit Card Info to specify Shipping Profile, Shipping Profile Id must be included. E00095 = 107 // original "E00095" EnUsE00095 = "ShippingProfileId is not provided within Customer Profile." // Finger Print value is not valid. E00096 = 108 // original "E00096" EnUsE00096 = "Finger Print value is not valid." // Finger Print can't be generated. E00097 = 109 // original "E00097" EnUsE00097 = "Finger Print can't be generated." // Search for shipping profile using customer profile id and shipping profile id did not find any records. E00098 = 110 // original "E00098" EnUsE00098 = "Customer Profile ID or Shipping Profile ID not found." // Customer profile creation failed. This transaction ID is invalid. E00099 = 111 // original "E00099" EnUsE00099 = "Customer profile creation failed. This transaction ID is invalid." // Customer profile creation failed. This transaction type does not support profile creation. E00100 = 112 // original "E00100" EnUsE00100 = "Customer profile creation failed. This transaction type does not support profile creation." // Error creating a customer payment profile from transaction. E00101 = 113 // original "E00101" EnUsE00101 = "Customer profile creation failed." // Error creating a customer profile from transaction. E00102 = 114 // original "E00102" EnUsE00102 = "Customer Info is missing." // Customer profile creation failed. This payment method does not support profile creation. E00103 = 115 // original "E00103" EnUsE00103 = "Customer profile creation failed. This payment method does not support profile creation." // The server is in maintenance, so the requested method is unavailable. Please try again later. E00104 = 116 // original "E00104" EnUsE00104 = "Server in maintenance. Please try again later." // The specified payment profile is associated with an active or suspended subscription and cannot be deleted. E00105 = 117 // original "E00105" EnUsE00105 = "The specified payment profile is associated with an active or suspended subscription and cannot be deleted." // The specified customer profile is associated with an active or suspended subscription and cannot be deleted. E00106 = 118 // original "E00106" EnUsE00106 = "The specified customer profile is associated with an active or suspended subscription and cannot be deleted." // The specified shipping profile is associated with an active or suspended subscription and cannot be deleted. E00107 = 119 // original "E00107" EnUsE00107 = "The specified shipping profile is associated with an active or suspended subscription and cannot be deleted." // CustomerProfileId and Customer data are mutually exclusive, only one of them can be provided for any single request. E00108 = 120 // original "E00108" EnUsE00108 = "CustomerProfileId cannot be sent with customer data." // Shipping Address ID and Shipping data are mutually exclusive, only one of them can be provided for any single request. E00109 = 121 // original "E00109" EnUsE00109 = "CustomerAddressId cannot be sent with shipTo data." // When using Customer Profile, CustomerPaymentProfileId must be included. E00110 = 122 // original "E00110" EnUsE00110 = "CustomerPaymentProfileId is not provided within Customer Profile." // If Customer Profile ID is included, it must match the Customer Profile ID used for the original subscription. E00111 = 123 // original "E00111" EnUsE00111 = "The original subscription was not created with this Customer Profile." // Reports cannot be generated for future dates, thus the specified date is invalid. E00112 = 124 // original "E00112" EnUsE00112 = "The specified month should not be in the future." // The specified OTS Token Data is invalid. E00113 = 125 // original "E00113" EnUsE00113 = "Invalid OTS Token Data." // The specified OTS Token is invalid. E00114 = 126 // original "E00114" EnUsE00114 = "Invalid OTS Token." // The specified OTS Token has expired. E00115 = 127 // original "E00115" EnUsE00115 = "Expired OTS Token." // The authenticated merchant does not have access to the specified OTS Token. E00116 = 128 // original "E00116" EnUsE00116 = "OTS Token access violation" // The OTS Service cannot complete the request due to a validation or configuration error. E00117 = 129 // original "E00117" EnUsE00117 = "OTS Service Error '{0}'" // The transaction was submitted from a blocked IP address. E00118 = 130 // original "E00118" EnUsE00118 = "The transaction has been declined." // Hosted Payment Page will capture the payment (bank/card) information so this information should not be included with this request. E00119 = 131 // original "E00119" EnUsE00119 = "Payment information should not be sent to Hosted Payment Page request." // Payment and Shipping Profile IDs cannot be specified when creating new profiles. E00120 = 132 // original "E00120" EnUsE00120 = "Payment and Shipping Profile IDs cannot be specified when creating new profiles." // The customer profile does not have a default payment/shipping profile. E00121 = 133 // original "E00121" EnUsE00121 = "No default payment/shipping profile found." // Signature key missing. E00122 = 134 // original "E00122" EnUsE00122 = "Please use Merchant Interface settings (API Credentials and Keys) to generate a signature key." // The access token provided has expired. // See the <a href=`https://developer.authorize.net/api/reference/features/oauth.html`>OAuth documentation</a> for details. E00123 = 135 // original "E00123" EnUsE00123 = "The provided access token has expired" // The access token used to validate the request is insufficient to do so. // See the <a href=`https://developer.authorize.net/api/reference/features/oauth.html`>OAuth documentation</a> for more details. E00124 = 136 // original "E00124" EnUsE00124 = "The provided access token is invalid" // Hash doesn’t match. E00125 = 137 // original "E00125" EnUsE00125 = "Hash doesn’t match" // Failed shared key validation. E00126 = 138 // original "E00126" EnUsE00126 = "Failed shared key validation" // Invoice number did not find any records. E00127 = 139 // original "E00127" EnUsE00127 = "Invoice does not exist" // Requested action is not allowed due to current status of the object. E00128 = 140 // original "E00128" EnUsE00128 = "Requested action is not allowed" // Failed sending email. E00129 = 141 // original "E00129" EnUsE00129 = "Failed sending email" // Valid Customer Profile ID or Email is required E00130 = 142 // original "E00130" EnUsE00130 = "Valid Customer Profile ID or Email is required" // Invoice created but failed send email and update status E00131 = 143 // original "E00131" EnUsE00131 = "Invoice created but not processed completely" // The payment gateway account is not enabled for Invoicing or CIM service. E00132 = 144 // original "E00132" EnUsE00132 = "Invoicing or CIM service is not enabled." // Server error E00133 = 145 // original "E00133" EnUsE00133 = "Server error." // Due date is past date or not specified. E00134 = 146 // original "E00134" EnUsE00134 = "Due date is invalid" // Merchant has not yet provided processor information to set test mode flag to false. E00135 = 147 // original "E00135" EnUsE00135 = "Merchant has not provided processor information." // Processor account has not been setup to set test mode flag to false. E00136 = 148 // original "E00136" EnUsE00136 = "Processor account is still in process, please try again later." // Only either CreditCard or Bank is allowed. E00137 = 149 // original "E00137" EnUsE00137 = "Multiple payment types are not allowed." // Payment and Shipping Profile IDs cannot be specified when requesting a hosted payment page. E00138 = 150 // original "E00138" EnUsE00138 = "Payment and Shipping Profile IDs cannot be specified when requesting a hosted payment page." // The Access token does not have permission to call the API method. E00139 = 151 // original "E00139" EnUsE00139 = "Access denied. Access Token does not have correct permissions for this API." // Reference Id not found. E00140 = 152 // original "E00140" EnUsE00140 = "Reference Id not found" // Payment Profile creation with this OpaqueData descriptor requires transactionMode to be set to liveMode. E00141 = 153 // original "E00141" EnUsE00141 = "Payment Profile creation with this OpaqueData descriptor requires transactionMode to be set to liveMode." // RecurringBilling setting is a required field for recurring tokenized payment transactions. E00142 = 154 // original "E00142" EnUsE00142 = "RecurringBilling setting is a required field for recurring tokenized payment transactions." // Failed to parse the MerchantId to integer E00143 = 155 // original "E00143" EnUsE00143 = "Failed to parse MerchantId to integer" // We are currently holding the last transaction for review. Before you reactivate the subscription, review the transaction. // Alternately, the merchant can log into the <a href=`https://account.authorize.net/`>Merchant Interface</a> and click Tools > Fraud Detection Suite to view the Suspicious Transaction Reports and approve or decline the held transaction. E00144 = 156 // original "E00144" EnUsE00144 = "We are currently holding the last transaction for review. Before you reactivate the subscription, review the transaction." // This invoice has been canceled by the sender. Please contact the sender directly if you have questions. E00145 = 157 // original "E00145" EnUsE00145 = "This invoice has been canceled by the sender. Please contact the sender directly if you have questions. " Err0 = 158 // original "0" EnUsErr0 = "Unknown Error." Err1 = 159 // original "1" EnUsErr1 = "This transaction has been approved." Err2 = 160 // original "2" EnUsErr2 = "This transaction has been declined." Err3 = 161 // original "3" EnUsErr3 = "This transaction has been declined." // The code returned from the processor indicating that the card used needs to be picked up. Err4 = 162 // original "4" EnUsErr4 = "This transaction has been declined." // The value submitted in the amount field did not pass validation for a number. Err5 = 163 // original "5" EnUsErr5 = "A valid amount is required." Err6 = 164 // original "6" EnUsErr6 = "The credit card number is invalid." // The format of the date submitted was incorrect. Err7 = 165 // original "7" EnUsErr7 = "Credit card expiration date is invalid." Err8 = 166 // original "8" EnUsErr8 = "The credit card has expired." // The value submitted in the routingNumber field did not pass validation or was not for a valid financial institution. Err9 = 167 // original "9" EnUsErr9 = "The ABA code is invalid" // The value submitted in the accountNumber field did not pass validation. Err10 = 168 // original "10" EnUsErr10 = "The account number is invalid" // A transaction with identical amount and credit card information was submitted within the previous two minutes. Err11 = 169 // original "11" EnUsErr11 = "A duplicate transaction has been submitted." // The transaction request required the field authCode but either it was not submitted, or it was submitted without a value. Err12 = 170 // original "12" EnUsErr12 = "An authorization code is required but not present." Err13 = 171 // original "13" EnUsErr13 = "The merchant login ID or password is invalid or the account is inactive." // <para>Applicable only to SIM API. The Relay Response or Referrer URL does not match the merchant's configured value(s) or is absent.</para> // //<para><b>NOTE:</b> Parameterized URLs are not permitted.</para> Err14 = 172 // original "14" EnUsErr14 = "The referrer, relay response or receipt link URL is invalid." // The transaction ID value is non-numeric or was not present for a transaction that requires it (i.e., VOID, PRIOR_AUTH_CAPTURE, and CREDIT). Err15 = 173 // original "15" EnUsErr15 = "The transaction ID is invalid or not present." // The transaction ID sent in was properly formatted but the gateway had no record of the transaction. Err16 = 174 // original "16" EnUsErr16 = "The transaction cannot be found." // If you encounter this error on an Authorize.Net Sandbox account, please contact <a href&x3D;`https://developer.authorize.net/support/contact_us/">Developer Support</a> to enable this card type on your account. // Err17 = 175 // original "17" EnUsErr17 = "The merchant does not accept this type of credit card." // The merchant does not accept electronic checks. Err18 = 176 // original "18" EnUsErr18 = "ACH transactions are not accepted by this merchant." Err19 = 177 // original "19" EnUsErr19 = "An error occurred during processing. Please try again." Err20 = 178 // original "20" EnUsErr20 = "An error occurred during processing. Please try again." Err21 = 179 // original "21" EnUsErr21 = "An error occurred during processing. Please try again." Err22 = 180 // original "22" EnUsErr22 = "An error occurred during processing. Please try again." Err23 = 181 // original "23" EnUsErr23 = "An error occurred during processing. Please try again." Err24 = 182 // original "24" EnUsErr24 = "The Elavon bank number or terminal ID is incorrect. Call Merchant Service Provider." Err25 = 183 // original "25" EnUsErr25 = "An error occurred during processing. Please try again." Err26 = 184 // original "26" EnUsErr26 = "An error occurred during processing. Please try again." Err27 = 185 // original "27" EnUsErr27 = "" /* 128-byte string literal not displayed */ // If you encounter this error on an Authorize.Net Sandbox account, please contact <a href&x3D;`https://developer.authorize.net/support/contact_us/">Developer Support</a> for assistance. // Err28 = 186 // original "28" EnUsErr28 = "The merchant does not accept this type of credit card." // Invalid Paymentech client number, merchant number or terminal number. Err29 = 187 // original "29" EnUsErr29 = "The Paymentech identification numbers are incorrect. Call Merchant Service Provider." Err30 = 188 // original "30" EnUsErr30 = "The configuration with processor is invalid. Call Merchant Service Provider." // The merchant was incorrectly set up at the processor. Err31 = 189 // original "31" EnUsErr31 = "The FDC Merchant ID or Terminal ID is incorrect. Call Merchant Service Provider." Err32 = 190 // original "32" EnUsErr32 = "The merchant password is invalid or not present." // This error indicates that a field the merchant specified as required was not filled in. Err33 = 191 // original "33" EnUsErr33 = "%s cannot be left blank." // The merchant was incorrectly set up at the processor. Err34 = 192 // original "34" EnUsErr34 = "The VITAL identification numbers are incorrect. Call Merchant Service Provider." // The merchant was incorrectly set up at the processor. Err35 = 193 // original "35" EnUsErr35 = "An error occurred during processing. Call Merchant Service Provider." // The customer was approved at the time of authorization, but failed at settlement. Err36 = 194 // original "36" EnUsErr36 = "The authorization was approved but settlement failed." Err37 = 195 // original "37" EnUsErr37 = "The credit card number is invalid." // The merchant was incorrectly set up at the processor. Err38 = 196 // original "38" EnUsErr38 = "The Global Payment System identification numbers are incorrect. Call Merchant Service Provider." Err39 = 197 // original "39" EnUsErr39 = "The supplied currency code is either invalid, not supported, not allowed for this merchant or doesnt have an exchange rate." Err40 = 198 // original "40" EnUsErr40 = "This transaction must be encrypted." // Only merchants set up for the FraudScreen.Net service would receive this decline. This code will be returned if a given transaction's fraud score is higher than the threshold set by the merchant. Err41 = 199 // original "41" EnUsErr41 = "This transaction has been declined." // This is applicable only to merchants processing through the Wells Fargo SecureSource product who have requirements for transaction submission that are different from merchants not processing through Wells Fargo. Err42 = 200 // original "42" EnUsErr42 = "There is missing or invalid information in a required field." // The merchant was incorrectly set up at the processor. Err43 = 201 // original "43" EnUsErr43 = "The merchant was incorrectly set up at the processor. Call Merchant Service Provider." // The card code submitted with the transaction did not match the card code on file at the card issuing bank and the transaction was declined. Err44 = 202 // original "44" EnUsErr44 = "This transaction has been declined." // This error would be returned if the transaction received a code from the processor that matched the rejection criteria set by the merchant for both the AVS and Card Code filters. Err45 = 203 // original "45" EnUsErr45 = "This transaction has been declined." Err46 = 204 // original "46" EnUsErr46 = "Your session has expired or does not exist. You must log in again to continue working." // This occurs if the merchant tries to capture funds greater than the amount of the original authorization-only transaction. Err47 = 205 // original "47" EnUsErr47 = "The amount requested for settlement cannot be greater than the original amount authorized." // The merchant attempted to settle for less than the originally authorized amount. Err48 = 206 // original "48" EnUsErr48 = "This processor does not accept partial reversals." Err49 = 207 // original "49" EnUsErr49 = "The transaction amount submitted was greater than the maximum amount allowed." // Credits or refunds may only be performed against settled transactions. The transaction against which the credit/refund was submitted has not been settled, so a credit cannot be issued. Err50 = 208 // original "50" EnUsErr50 = "This transaction is awaiting settlement and cannot be refunded." Err51 = 209 // original "51" EnUsErr51 = "The sum of all credits against this transaction is greater than the original transaction amount." Err52 = 210 // original "52" EnUsErr52 = "The transaction was authorized but the client could not be notified; it will not be settled." // If payment type is bankAccount, transactionType cannot be set to captureOnlyTransaction. Err53 = 211 // original "53" EnUsErr53 = "The transaction type is invalid for ACH transactions." Err54 = 212 // original "54" EnUsErr54 = "The referenced transaction does not meet the criteria for issuing a credit." // The transaction is rejected if the sum of this credit and prior credits exceeds the original debit amount. Err55 = 213 // original "55" EnUsErr55 = "The sum of credits against the referenced transaction would exceed original debit amount." // The merchant processes eCheck.Net transactions only and does not accept credit cards. Err56 = 214 // original "56" EnUsErr56 = "Credit card transactions are not accepted by this merchant." Err57 = 215 // original "57" EnUsErr57 = "An error occurred during processing. Please try again." Err58 = 216 // original "58" EnUsErr58 = "An error occurred during processing. Please try again." Err59 = 217 // original "59" EnUsErr59 = "An error occurred during processing. Please try again." Err60 = 218 // original "60" EnUsErr60 = "An error occurred during processing. Please try again." Err61 = 219 // original "61" EnUsErr61 = "An error occurred during processing. Please try again." Err62 = 220 // original "62" EnUsErr62 = "An error occurred during processing. Please try again." Err63 = 221 // original "63" EnUsErr63 = "An error occurred during processing. Please try again." // This error is applicable to Wells Fargo SecureSource merchants only. Credits or refunds cannot be issued against transactions that were not authorized. Err64 = 222 // original "64" EnUsErr64 = "The referenced transaction was not approved." // The transaction was declined because the merchant configured their account through the Merchant Interface to reject transactions with certain values for a Card Code mismatch. Err65 = 223 // original "65" EnUsErr65 = "This transaction has been declined." // If you are using the SIM connection method, make sure your code is providing values for the SIM required fields listed below: // <ul> The sequence number of the transaction (x_fp_sequence) The time when the sequence number was generated (x_fp_timestamp) The Fingerprint Hash (x_fp_hash) Err66 = 224 // original "66" EnUsErr66 = "This transaction cannot be accepted for processing." // This error code is applicable to merchants using the Wells Fargo SecureSource product only. This product does not allow transactions of type CAPTURE_ONLY. Err67 = 225 // original "67" EnUsErr67 = "The given transaction type is not supported for this merchant." // The value submitted in x_version was invalid. Err68 = 226 // original "68" EnUsErr68 = "The version parameter is invalid" // The value submitted in transactionType was invalid. Err69 = 227 // original "69" EnUsErr69 = "The transaction type is invalid" // The value submitted in x_method was invalid. Err70 = 228 // original "70" EnUsErr70 = "The transaction method is invalid." // The value submitted in accountType was invalid. Err71 = 229 // original "71" EnUsErr71 = "The bank account type is invalid." // The value submitted in authCode was more than six characters in length. Err72 = 230 // original "72" EnUsErr72 = "The authorization code is invalid." // The format of the value submitted in x_drivers_license_num was invalid. Err73 = 231 // original "73" EnUsErr73 = "The drivers license date of birth is invalid." // The value submitted in duty failed format validation. Err74 = 232 // original "74" EnUsErr74 = "The duty amount is invalid." // The value submitted in freight failed format validation. Err75 = 233 // original "75" EnUsErr75 = "The freight amount is invalid." // The value submitted in tax failed format validation. Err76 = 234 // original "76" EnUsErr76 = "The tax amount is invalid." // The value submitted in x_customer_tax_id failed validation. Err77 = 235 // original "77" EnUsErr77 = "The SSN or tax ID is invalid." // The value submitted in cardCode failed format validation. Err78 = 236 // original "78" EnUsErr78 = "The card code is invalid." // The value submitted in x_drivers_license_num failed format validation. Err79 = 237 // original "79" EnUsErr79 = "The drivers license number is invalid." // The value submitted in x_drivers_license_state failed format validation. Err80 = 238 // original "80" EnUsErr80 = "The drivers license state is invalid." // The merchant requested an integration method not compatible with the AIM API. Err81 = 239 // original "81" EnUsErr81 = "The requested form type is invalid." // The system no longer supports version 2.5; requests cannot be posted to scripts. Err82 = 240 // original "82" EnUsErr82 = "Scripts are only supported in version 2.5." // The system no longer supports version 2.5; requests cannot be posted to scripts. Err83 = 241 // original "83" EnUsErr83 = "The requested script is either invalid or no longer supported." // Invalid value for deviceType. Err84 = 242 // original "84" EnUsErr84 = "The device type is invalid or missing." // Invalid value for marketType. Err85 = 243 // original "85" EnUsErr85 = "The market type is invalid" // Invalid value for x_response_format. Err86 = 244 // original "86" EnUsErr86 = "The Response Format is invalid" Err87 = 245 // original "87" EnUsErr87 = "Transactions of this market type cannot be processed on this system." // Invalid value for track1. Err88 = 246 // original "88" EnUsErr88 = "Track1 data is not in a valid format." // Invalid value for track2. Err89 = 247 // original "89" EnUsErr89 = "Track2 data is not in a valid format." Err90 = 248 // original "90" EnUsErr90 = "ACH transactions cannot be accepted by this system." Err91 = 249 // original "91" EnUsErr91 = "Version 2.5 is no longer supported." // Err92 = 250 // original "92" EnUsErr92 = "The gateway no longer supports the requested method of integration." // This code is applicable to Wells Fargo SecureSource merchants only. Country is a required field and must contain the value of a supported country. Err93 = 251 // original "93" EnUsErr93 = "A valid country is required." // This code is applicable to Wells Fargo SecureSource merchants only. Err94 = 252 // original "94" EnUsErr94 = "The shipping state or country is invalid." // This code is applicable to Wells Fargo SecureSource merchants only. Err95 = 253 // original "95" EnUsErr95 = "A valid state is required." // This code is applicable to Wells Fargo SecureSource merchants only. Country is a required field and must contain the value of a supported country. Err96 = 254 // original "96" EnUsErr96 = "This country is not authorized for buyers." // Applicable only to the SIM API. Fingerprints are only valid for a short period of time. This code indicates that the transaction fingerprint has expired. Err97 = 255 // original "97" EnUsErr97 = "This transaction cannot be accepted." // Applicable only to the SIM API. The transaction fingerprint has already been used. Err98 = 256 // original "98" EnUsErr98 = "This transaction cannot be accepted." // Applicable only to the SIM API. The server-generated fingerprint does not match the merchant-specified fingerprint in the x_fp_hash field. Err99 = 257 // original "99" EnUsErr99 = "This transaction cannot be accepted." // Applicable only to eCheck.Net. The value specified in the echeckType field is invalid. Err100 = 258 // original "100" EnUsErr100 = "The eCheck type parameter is invalid." // Applicable only to eCheck.Net. The specified name on the account and/or the account type do not match the NOC record for this account. Err101 = 259 // original "101" EnUsErr101 = "The given name on the account and/or the account type does not match the actual account." // A transaction key was submitted with this WebLink request. Err102 = 260 // original "102" EnUsErr102 = "This request cannot be accepted." Err103 = 261 // original "103" EnUsErr103 = "This transaction cannot be accepted." // Applicable only to eCheck.Net. The value submitted for country failed validation. Err104 = 262 // original "104" EnUsErr104 = "The transaction is currently under review." // Applicable only to eCheck.Net. The values submitted for city and country failed validation. Err105 = 263 // original "105" EnUsErr105 = "The transaction is currently under review." // Applicable only to eCheck.Net. The value submitted for company failed validation. Err106 = 264 // original "106" EnUsErr106 = "The transaction is currently under review." // The value submitted for bank account name failed validation. Err107 = 265 // original "107" EnUsErr107 = "The transaction is currently under review." // Applicable only to eCheck.Net. The values submitted for firstName and lastName failed validation. Err108 = 266 // original "108" EnUsErr108 = "The transaction is currently under review." // Applicable only to eCheck.Net. The values submitted for firstName and lastName failed validation. Err109 = 267 // original "109" EnUsErr109 = "The transaction is currently under review." // The value submitted for accountName does not contain valid characters. Err110 = 268 // original "110" EnUsErr110 = "The transaction is currently under review." // This code is applicable to Wells Fargo SecureSource merchants only. Err111 = 269 // original "111" EnUsErr111 = "A valid billing country is required." // This code is applicable to Wells Fargo SecureSource merchants only. Err112 = 270 // original "112" EnUsErr112 = "A valid billing state/province is required." Err113 = 271 // original "113" EnUsErr113 = "The commercial card type is invalid." Err114 = 272 // original "114" EnUsErr114 = "The merchant account is in test mode. This automated payment will not be processed." Err115 = 273 // original "115" EnUsErr115 = "The merchant account is not active. This automated payment will not be processed." // This code is applicable only to merchants that include the authenticationIndicator in the transaction request. The ECI value for a Visa transaction; or the UCAF indicator for a Mastercard transaction submitted in the authenticationIndicator field is invalid. Err116 = 274 // original "116" EnUsErr116 = "The authentication indicator is invalid." // This code is applicable only to merchants that include the cardholderAuthenticationValue in the transaction request. The CAVV for a Visa transaction or the AVV/UCAF for a Mastercard transaction is invalid or contains an invalid character. Err117 = 275 // original "117" EnUsErr117 = "The cardholder authentication value is invalid." // This code is applicable only to merchants that include the authenticationIndicator and cardholderAuthenticationValue in the transaction request. The combination of authenticationIndicator and cardholderAuthenticationValue is invalid. Err118 = 276 // original "118" EnUsErr118 = "The combination of card type, authentication indicator and cardholder authentication value is invalid." // This code is applicable only to merchants that include the authenticationIndicator and recurringBilling in the transaction request. Transactions submitted with a value in authenticationIndicator while recurringBilling is set to true will be rejected. Err119 = 277 // original "119" EnUsErr119 = "Transactions having cardholder authentication values cannot be marked as recurring." // The system-generated void for the original timed-out transaction failed. The original transaction timed out while waiting for a response from the authorizer. Err120 = 278 // original "120" EnUsErr120 = "An error occurred during processing. Please try again." // The system-generated void for the original errored transaction failed. The original transaction experienced a database error. Err121 = 279 // original "121" EnUsErr121 = "An error occurred during processing. Please try again." // The system-generated void for the original errored transaction failed. The original transaction experienced a processing error. Err122 = 280 // original "122" EnUsErr122 = "An error occurred during processing. Please try again." // The transaction request must include the API login ID associated with the payment gateway account. Err123 = 281 // original "123" EnUsErr123 = "This account has not been given the permission(s) required for this request." Err124 = 282 // original "124" EnUsErr124 = "This processor does not accept recurring transactions." Err125 = 283 // original "125" EnUsErr125 = "The surcharge amount is invalid." Err126 = 284 // original "126" EnUsErr126 = "The Tip amount is invalid." // The system-generated void for the original AVS-rejected transaction failed. Err127 = 285 // original "127" EnUsErr127 = "The transaction resulted in an AVS mismatch. The address provided does not match billing address of cardholder." // The customer's financial institution does not currently allow transactions for this account. Err128 = 286 // original "128" EnUsErr128 = "This transaction cannot be processed." // The payment gateway account status is Blacklisted. Err130 = 287 // original "130" EnUsErr130 = "This merchant account has been closed." // The payment gateway account status is Suspended-STA. Err131 = 288 // original "131" EnUsErr131 = "This transaction cannot be accepted at this time." // The payment gateway account status is Suspended - Blacklist. Err132 = 289 // original "132" EnUsErr132 = "This transaction cannot be accepted at this time." // The system-generated void for the original FraudScreen-rejected transaction failed. Err141 = 290 // original "141" EnUsErr141 = "This transaction has been declined." // The system-generated void for the original card code-rejected and AVS-rejected transaction failed. Err145 = 291 // original "145" EnUsErr145 = "This transaction has been declined." // The system-generated void for the original transaction failed. The response for the original transaction could not be communicated to the client. Err152 = 292 // original "152" EnUsErr152 = "The transaction was authorized but the client could not be notified; it will not be settled." // <ul>Set marketType to `0` to flag the transaction as e-commerce.Set transactionType to authCaptureTransaction or authOnlyTransaction.Specify both opaque data parameters.Do not include card number, expiration date, or track data.Do not include 3DS data. Ensure that you submit data that can be successfully decrypted.Only submit decrypted data that belongs to the merchant submitting the request.Encode the submitted data in Base64. </ul> Err153 = 293 // original "153" EnUsErr153 = "There was an error processing the payment data." Err154 = 294 // original "154" EnUsErr154 = "Processing Apple Payments is not enabled for this merchant account." Err155 = 295 // original "155" EnUsErr155 = "This processor does not support this method of submitting payment data." Err156 = 296 // original "156" EnUsErr156 = "The cryptogram is either invalid or cannot be used in combination with other parameters." // System void failed. CVV2 Code mismatch based on the CVV response and the merchant settings. Err165 = 297 // original "165" EnUsErr165 = "This transaction has been declined." // Concord EFS - Provisioning at the processor has not been completed. Err170 = 298 // original "170" EnUsErr170 = "An error occurred during processing. Please contact the merchant." // Concord EFS - This request is invalid. Err171 = 299 // original "171" EnUsErr171 = "An error occurred during processing. Please contact the merchant." // Concord EFS - The store ID is invalid. Err172 = 300 // original "172" EnUsErr172 = "An error occurred during processing. Please contact the merchant." // Concord EFS - The store key is invalid. Err173 = 301 // original "173" EnUsErr173 = "An error occurred during processing. Please contact the merchant." // Concord EFS - This transaction type is not accepted by the processor. Err174 = 302 // original "174" EnUsErr174 = "The transaction type is invalid. Please contact the merchant." // Concord EFS - This transaction is not allowed. The Concord EFS processing platform does not support voiding credit transactions. Please debit the credit card instead of voiding the credit. Err175 = 303 // original "175" EnUsErr175 = "This processor does not allow voiding of credits." // The processor response format is invalid. Err180 = 304 // original "180" EnUsErr180 = "An error occurred during processing. Please try again." // The system-generated void for the original invalid transaction failed. (The original transaction included an invalid processor response format.) Err181 = 305 // original "181" EnUsErr181 = "An error occurred during processing. Please try again." Err182 = 306 // original "182" EnUsErr182 = "One or more of the sub-merchant values are invalid." Err183 = 307 // original "183" EnUsErr183 = "One or more of the required sub-merchant values are missing." Err184 = 308 // original "184" EnUsErr184 = "Invalid Token Requestor Name." // Merchant is not configured for VPOS. Err185 = 309 // original "185" EnUsErr185 = "This transaction cannot be processed." Err186 = 310 // original "186" EnUsErr186 = "Invalid Token Requestor ID Length." Err187 = 311 // original "187" EnUsErr187 = "Invalid Token Requestor ECI Length." Err191 = 312 // original "191" EnUsErr191 = "This transaction has been declined." Err192 = 313 // original "192" EnUsErr192 = "An error occurred during processing. Please try again." Err193 = 314 // original "193" EnUsErr193 = "The transaction is currently under review." Err195 = 315 // original "195" EnUsErr195 = "One or more of the HTML type configuration fields do not appear to be safe." // This error code applies only to merchants on FDC Omaha. The credit card number is invalid. Err200 = 316 // original "200" EnUsErr200 = "This transaction has been declined" // This error code applies only to merchants on FDC Omaha. The expiration date is invalid. Err201 = 317 // original "201" EnUsErr201 = "This transaction has been declined" // This error code applies only to merchants on FDC Omaha. The transaction type is invalid. Err202 = 318 // original "202" EnUsErr202 = "This transaction has been declined" // This error code applies only to merchants on FDC Omaha. The value submitted in the amount field is invalid. Err203 = 319 // original "203" EnUsErr203 = "This transaction has been declined" // This error code applies only to merchants on FDC Omaha. The department code is invalid. Err204 = 320 // original "204" EnUsErr204 = "This transaction has been declined" // This error code applies only to merchants on FDC Omaha. The value submitted in the merchant number field is invalid. Err205 = 321 // original "205" EnUsErr205 = "This transaction has been declined" // This error code applies only to merchants on FDC Omaha. The merchant is not on file. Err206 = 322 // original "206" EnUsErr206 = "This transaction has been declined." // This error code applies only to merchants on FDC Omaha. The merchant account is closed. Err207 = 323 // original "207" EnUsErr207 = "This transaction has been declined" // This error code applies only to merchants on FDC Omaha. The merchant is not on file. Err208 = 324 // original "208" EnUsErr208 = "This transaction has been declined" // This error code applies only to merchants on FDC Omaha. Communication with the processor could not be established. Err209 = 325 // original "209" EnUsErr209 = "This transaction has been declined" // This error code applies only to merchants on FDC Omaha. The merchant type is incorrect. Err210 = 326 // original "210" EnUsErr210 = "This transaction has been declined" // This error code applies only to merchants on FDC Omaha. The cardholder is not on file. Err211 = 327 // original "211" EnUsErr211 = "This transaction has been declined" // This error code applies only to merchants on FDC Omaha. The bank configuration is not on file. Err212 = 328 // original "212" EnUsErr212 = "This transaction has been declined" // This error code applies only to merchants on FDC Omaha. The merchant assessment code is incorrect. Err213 = 329 // original "213" EnUsErr213 = "This transaction has been declined" // This error code applies only to merchants on FDC Omaha. This function is currently unavailable. Err214 = 330 // original "214" EnUsErr214 = "This transaction has been declined" // This error code applies only to merchants on FDC Omaha. The encrypted PIN field format is invalid. Err215 = 331 // original "215" EnUsErr215 = "This transaction has been declined" // This error code applies only to merchants on FDC Omaha. The ATM term ID is invalid. Err216 = 332 // original "216" EnUsErr216 = "This transaction has been declined" // This error code applies only to merchants on FDC Omaha. This transaction experienced a general message format problem. Err217 = 333 // original "217" EnUsErr217 = "This transaction has been declined" // This error code applies only to merchants on FDC Omaha. The PIN block format or PIN availability value is invalid. Err218 = 334 // original "218" EnUsErr218 = "This transaction has been declined" // This error code applies only to merchants on FDC Omaha. The ETC void is unmatched. Err219 = 335 // original "219" EnUsErr219 = "This transaction has been declined" // This error code applies only to merchants on FDC Omaha. The primary CPU is not available. Err220 = 336 // original "220" EnUsErr220 = "This transaction has been declined" // This error code applies only to merchants on FDC Omaha. The SE number is invalid. Err221 = 337 // original "221" EnUsErr221 = "This transaction has been declined" // This error code applies only to merchants on FDC Omaha. Duplicate auth request (from INAS). Err222 = 338 // original "222" EnUsErr222 = "This transaction has been declined" // This error code applies only to merchants on FDC Omaha. This transaction experienced an unspecified error. Err223 = 339 // original "223" EnUsErr223 = "This transaction has been declined" // This error code applies only to merchants on FDC Omaha. Please re-enter the transaction. Err224 = 340 // original "224" EnUsErr224 = "This transaction has been declined" // The transaction has an invalid dynamic currency conversion (DCC) action. Err225 = 341 // original "225" EnUsErr225 = "This transaction cannot be processed." // Incomplete set of Dynamic Currency Conversion (DCC) parameters. Err226 = 342 // original "226" EnUsErr226 = "This transaction cannot be processed." // Merchant is not configured for Dynamic Currency Conversion (DCC). Err227 = 343 // original "227" EnUsErr227 = "This transaction cannot be processed." // Dynamic Currency Conversion (DCC) is not allowed for this transaction type. Err228 = 344 // original "228" EnUsErr228 = "This transaction cannot be processed." Err229 = 345 // original "229" EnUsErr229 = "Conversion rate for this card is available." Err230 = 346 // original "230" EnUsErr230 = "This transaction cannot be processed." // Incoming data is different than the referenced Dynamic Currency Conversion (DCC) transaction. Err231 = 347 // original "231" EnUsErr231 = "This transaction cannot be processed." // Merchant is not configured for Dynamic Currency Conversion (DCC). Err232 = 348 // original "232" EnUsErr232 = "This transaction cannot be processed." // Cannot perform Dynamic Currency Conversion (DCC) action on this transaction. Err233 = 349 // original "233" EnUsErr233 = "This transaction cannot be processed." // This transaction has been voided. Err234 = 350 // original "234" EnUsErr234 = "This transaction cannot be processed." // This transaction has been captured previously. Err235 = 351 // original "235" EnUsErr235 = "This transaction cannot be processed." // Dynamic Currency Conversion (DCC) data for the referenced transaction is not available. Err236 = 352 // original "236" EnUsErr236 = "This transaction cannot be processed." // The referenced transaction has expired. Err237 = 353 // original "237" EnUsErr237 = "This transaction cannot be processed." // The transaction version does not support Dynamic Currency Conversion (DCC). Err238 = 354 // original "238" EnUsErr238 = "This transaction cannot be processed." // The response format for this transaction does not support Dynamic Currency Conversion (DCC). Err239 = 355 // original "239" EnUsErr239 = "This transaction cannot be processed." // Currency for Dynamic Currency Conversion (DCC) transactions must be US dollars. Err240 = 356 // original "240" EnUsErr240 = "This transaction cannot be processed." // Invalid response from card processor. Err241 = 357 // original "241" EnUsErr241 = "This transaction cannot be processed." // Recurring billing flag not allowed on Dynamic Currency Conversion (DCC). Err242 = 358 // original "242" EnUsErr242 = "This transaction cannot be processed." // The combination of values submitted for recurringBilling and echeckType is not allowed. Err243 = 359 // original "243" EnUsErr243 = "Recurring billing is not allowed for this eCheck.Net type." // The combination of values submitted for accountType and echeckType is not allowed. Err244 = 360 // original "244" EnUsErr244 = "This eCheck.Net type is not allowed for this Bank Account Type." // The value submitted for echeckType is not allowed when using the payment gateway hosted payment form. Err245 = 361 // original "245" EnUsErr245 = "This eCheck.Net type is not allowed when using the payment gateway hosted payment form." // The merchant's payment gateway account is not enabled to submit the eCheck.Net type. Err246 = 362 // original "246" EnUsErr246 = "This eCheck.Net type is not allowed." // The combination of values submitted for transactionType and echeckType is not allowed. Err247 = 363 // original "247" EnUsErr247 = "This eCheck.Net type is not allowed." // Invalid check number. Check numbers can only consist of letters and numbers, up to 15 characters. Err248 = 364 // original "248" EnUsErr248 = "The check number is invalid." // This transaction was submitted from a blocked IP address. Err250 = 365 // original "250" EnUsErr250 = "This transaction has been declined." // The transaction was declined as a result of triggering a Fraud Detection Suite filter. Err251 = 366 // original "251" EnUsErr251 = "This transaction has been declined." // The transaction was accepted, but is being held for merchant review. The merchant may customize the customer response in the Merchant Interface. Err252 = 367 // original "252" EnUsErr252 = "Your order has been received. Thank you for your business!" // The transaction was accepted and was authorized, but is being held for merchant review. The merchant may customize the customer response in the Merchant Interface. Err253 = 368 // original "253" EnUsErr253 = "Your order has been received. Thank you for your business!" // The transaction was declined after manual review. Err254 = 369 // original "254" EnUsErr254 = "This transaction has been declined." // Only authorizations and credits can be reversed. Err260 = 370 // original "260" EnUsErr260 = "Reversal not supported for this transaction type." // The transaction experienced an error during sensitive data encryption and was not processed. Please try again. Err261 = 371 // original "261" EnUsErr261 = "An error occurred during processing. Please try again." Err262 = 372 // original "262" EnUsErr262 = "The PayformMask is invalid." Err265 = 373 // original "265" EnUsErr265 = "This transaction cannot be processed." // A value submitted in lineItem for the item referenced is invalid. Err270 = 374 // original "270" EnUsErr270 = "Line item %1 is invalid." // The number of line items submitted in lineItem exceeds the allowed maximum of 30. Err271 = 375 // original "271" EnUsErr271 = "The number of line items submitted is not allowed. A maximum of %1 line items can be submitted." Err280 = 376 // original "280" EnUsErr280 = "The auction platform name is invalid." Err281 = 377 // original "281" EnUsErr281 = "The auction platform ID is invalid." Err282 = 378 // original "282" EnUsErr282 = "The auction listing type is invalid." Err283 = 379 // original "283" EnUsErr283 = "The auction listing ID is invalid." Err284 = 380 // original "284" EnUsErr284 = "The auction seller ID is invalid." Err285 = 381 // original "285" EnUsErr285 = "The auction buyer ID is invalid." Err286 = 382 // original "286" EnUsErr286 = "One or more required auction values were not submitted." Err287 = 383 // original "287" EnUsErr287 = "The combination of auction platform ID and auction platform name is invalid." Err288 = 384 // original "288" EnUsErr288 = "This transaction cannot be accepted." Err289 = 385 // original "289" EnUsErr289 = "This processor does not accept zero dollar authorization for this card type." Err290 = 386 // original "290" EnUsErr290 = "There is one or more missing or invalid required fields." Err295 = 387 // original "295" EnUsErr295 = "" /* 159-byte string literal not displayed */ Err296 = 388 // original "296" EnUsErr296 = "The specified SplitTenderID is invalid." Err297 = 389 // original "297" EnUsErr297 = "Transaction ID and Split Tender ID cannot both be used in the same request." Err298 = 390 // original "298" EnUsErr298 = "This order has already been released or voided therefore new transaction associations cannot be accepted." // Invalid deviceId value. Err300 = 391 // original "300" EnUsErr300 = "The device ID is invalid." // Invalid batchId value. Err301 = 392 // original "301" EnUsErr301 = "The device batch ID is invalid." // Invalid x_reversal value. Err302 = 393 // original "302" EnUsErr302 = "The reversal flag is invalid." // The current device batch must be closed manually from the POS device. Err303 = 394 // original "303" EnUsErr303 = "The device batch is full. Please close the batch." // The original transaction has been settled and cannot be reversed. Err304 = 395 // original "304" EnUsErr304 = "The original transaction is in a closed batch." // This merchant is configured for auto-close and cannot manually close batches. Err305 = 396 // original "305" EnUsErr305 = "The merchant is configured for auto-close." Err306 = 397 // original "306" EnUsErr306 = "The batch is already closed." Err307 = 398 // original "307" EnUsErr307 = "The reversal was processed successfully." // The transaction submitted for reversal was not found. Err308 = 399 // original "308" EnUsErr308 = "Original transaction for reversal not found." Err309 = 400 // original "309" EnUsErr309 = "The device has been disabled." Err310 = 401 // original "310" EnUsErr310 = "This transaction has already been voided." Err311 = 402 // original "311" EnUsErr311 = "This transaction has already been captured." Err312 = 403 // original "312" EnUsErr312 = "The specified security code was invalid." Err313 = 404 // original "313" EnUsErr313 = "A new security code was requested." Err314 = 405 // original "314" EnUsErr314 = "This transaction cannot be processed." // This is a processor-issued decline. Err315 = 406 // original "315" EnUsErr315 = "The credit card number is invalid." // This is a processor-issued decline. Err316 = 407 // original "316" EnUsErr316 = "Credit card expiration date is invalid." // This is a processor-issued decline. Err317 = 408 // original "317" EnUsErr317 = "The credit card has expired." // This is a processor-issued decline. Err318 = 409 // original "318" EnUsErr318 = "A duplicate transaction has been submitted." // This is a processor-issued decline. Err319 = 410 // original "319" EnUsErr319 = "The transaction cannot be found." Err320 = 411 // original "320" EnUsErr320 = "The device identifier is either not registered or not enabled." // <para>Merchants processing transactions via one of the following processors (AIBMS UK, Barclays, Cardnet, HBOS, HSBC, Streamline, FdiAus and Westpac) are required to submit the following billing information fields:</para><ul> First Name (firstName) Last Name (lastName) Address (address) City (city) State (state) Postal Code Country (country) Email Address (email) </ul> <para><b>NOTE:</b> State and Postal Code are optional if the billing address is not in the U.S. or Canada. If the address is in the U.S. or Canada, the two-digit State/Province code must be provided, along with the Zip/Postal Code.</para> Err325 = 412 // original "325" EnUsErr325 = "The request data did not pass the required fields check for this application." Err326 = 413 // original "326" EnUsErr326 = "The request field(s) are either invalid or missing." Err327 = 414 // original "327" EnUsErr327 = "" /* 139-byte string literal not displayed */ Err328 = 415 // original "328" EnUsErr328 = "A validation error occurred at the processor." Err330 = 416 // original "330" EnUsErr330 = "V.me transactions are not accepted by this merchant." Err331 = 417 // original "331" EnUsErr331 = "The x_call_id value is missing." Err332 = 418 // original "332" EnUsErr332 = "The x_call_id value is not found or invalid." Err333 = 419 // original "333" EnUsErr333 = "A validation error was returned from V.me." Err334 = 420 // original "334" EnUsErr334 = "The V.me transaction is in an invalid state." Err339 = 421 // original "339" EnUsErr339 = "Use x_method to specify method or send only x_call_id or card/account information." Err340 = 422 // original "340" EnUsErr340 = "" /* 163-byte string literal not displayed */ Err341 = 423 // original "341" EnUsErr341 = "The x_discount value is invalid." Err342 = 424 // original "342" EnUsErr342 = "The x_giftwrap value is invalid." Err343 = 425 // original "343" EnUsErr343 = "The x_subtotal value is invalid." Err344 = 426 // original "344" EnUsErr344 = "The x_misc value is invalid." Err350 = 427 // original "350" EnUsErr350 = "Country must be a valid two or three-character value if specified." Err351 = 428 // original "351" EnUsErr351 = "Employee ID must be 1 to %x characters in length." Err355 = 429 // original "355" EnUsErr355 = "An error occurred while parsing the EMV data." Err356 = 430 // original "356" EnUsErr356 = "EMV-based transactions are not currently supported for this processor and card type." Err357 = 431 // original "357" EnUsErr357 = "Opaque Descriptor is required." Err358 = 432 // original "358" EnUsErr358 = "EMV data is not supported with this transaction type." Err359 = 433 // original "359" EnUsErr359 = "EMV data is not supported with this market type." Err360 = 434 // original "360" EnUsErr360 = "An error occurred while decrypting the EMV data." Err361 = 435 // original "361" EnUsErr361 = "The EMV version is invalid." Err362 = 436 // original "362" EnUsErr362 = "The EMV version is required." Err363 = 437 // original "363" EnUsErr363 = "The POS Entry Mode value is invalid." Err370 = 438 // original "370" EnUsErr370 = "Signature data is too large." Err371 = 439 // original "371" EnUsErr371 = "Signature must be PNG formatted data." Err375 = 440 // original "375" EnUsErr375 = "Terminal/lane number must be numeric." Err380 = 441 // original "380" EnUsErr380 = "KSN is duplicated." Err901 = 442 // original "901" EnUsErr901 = "This transaction cannot be accepted at this time due to system maintenance. Please try again later." Err2000 = 443 // original "2000" EnUsErr2000 = "Need payer consent." Err2001 = 444 // original "2001" EnUsErr2001 = "PayPal transactions are not accepted by this merchant." Err2002 = 445 // original "2002" EnUsErr2002 = "PayPal transactions require x_version of at least 3.1." Err2003 = 446 // original "2003" EnUsErr2003 = "Request completed successfully" Err2004 = 447 // original "2004" EnUsErr2004 = "Success URL is required." Err2005 = 448 // original "2005" EnUsErr2005 = "Cancel URL is required." Err2006 = 449 // original "2006" EnUsErr2006 = "Payer ID is required." Err2007 = 450 // original "2007" EnUsErr2007 = "This processor does not accept zero dollar authorizations." Err2008 = 451 // original "2008" EnUsErr2008 = "The referenced transaction does not meet the criteria for issuing a Continued Authorization." Err2009 = 452 // original "2009" EnUsErr2009 = "The referenced transaction does not meet the criteria for issuing a Continued Authorization w/ Auto Capture." Err2100 = 453 // original "2100" EnUsErr2100 = "PayPal transactions require valid URL for success_url" Err2101 = 454 // original "2101" EnUsErr2101 = "PayPal transactions require valid URL for cancel_url" Err2102 = 455 // original "2102" EnUsErr2102 = "Payment not authorized. Payment has not been authorized by the user." Err2103 = 456 // original "2103" EnUsErr2103 = "This transaction has already been authorized." Err2104 = 457 // original "2104" EnUsErr2104 = "" /* 146-byte string literal not displayed */ Err2105 = 458 // original "2105" EnUsErr2105 = "PayPal has rejected the transaction.Invalid Payer ID." Err2106 = 459 // original "2106" EnUsErr2106 = "PayPal has already captured this transaction." Err2107 = 460 // original "2107" EnUsErr2107 = "PayPal has rejected the transaction. This Payer ID belongs to a different customer." Err2108 = 461 // original "2108" EnUsErr2108 = "PayPal has rejected the transaction. x_paypal_hdrimg exceeds maximum allowable length." Err2109 = 462 // original "2109" EnUsErr2109 = "PayPal has rejected the transaction. x_paypal_payflowcolor must be a 6 character hexadecimal value." // This error applies to WePay merchants only if the Prior Authorization Capture request amount is different than the Authorization Only request amount. Err2200 = 463 // original "2200" EnUsErr2200 = "" /* 128-byte string literal not displayed */ // This is a work in progress. This message will not be released to production. It's just a dev placeholder. ErrUnknown = 99999 // original "I99999" EnUsUnknown = "This feature has not yet been completed. One day it will be but it looks like today is not that day." )
View Source
const ( // RFC3339 a subset of the ISO8601 timestamp format. e.g 2014-04-29T18:30:38Z ISO8601TimeFormat = "2006-01-02T15:04:05Z" // same as above, but no ”Z” ISO8601NoZTimeFormat = "2006-01-02T15:04:05" // 2018-12-27T11:28:57.467 ISO8601TimeNano = "2006-01-02T15:04:05.999999999" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ANetApiRequest ¶
type ANetApiRequest struct { MerchantAuthentication MerchantAuthentication `json:"merchantAuthentication"` // Contains merchant authentication information. ClientId string `json:"clientId,omitempty"` RefId string `json:"refId,omitempty"` // Merchant-assigned reference ID for the request. If included in the request, this value is included in the response. This feature might be especially useful for multi-threaded applications. }
type ANetApiResponse ¶
type ANetApiResponse struct { RefId string `json:"refId,omitempty"` // Merchant-assigned reference ID for the request. If included in the request, this value will be included in the response. This feature might be especially useful for multi-threaded applications. Messages Messages `json:"messages"` SessionToken string `json:"sessionToken,omitempty"` }
type ARBCancelSubscriptionPayload ¶
type ARBCancelSubscriptionPayload struct { ANetApiRequest SubscriptionId string `json:"subscriptionId"` }
type ARBCancelSubscriptionRequest ¶
type ARBCancelSubscriptionRequest struct {
Payload ARBCancelSubscriptionPayload `json:"ARBCancelSubscriptionRequest"`
}
type ARBCancelSubscriptionResponse ¶
type ARBCancelSubscriptionResponse struct {
ANetApiResponse
}
-- response --
type ARBCreateSubscriptionPayload ¶
type ARBCreateSubscriptionPayload struct { ANetApiRequest Subscription ARBSubscription `json:"subscription"` }
type ARBCreateSubscriptionRequest ¶
type ARBCreateSubscriptionRequest struct {
Payload ARBCreateSubscriptionPayload `json:"ARBCreateSubscriptionRequest"`
}
type ARBCreateSubscriptionResponse ¶
type ARBCreateSubscriptionResponse struct { ANetApiResponse SubscriptionId string `json:"subscriptionId,omitempty"` Profile *CustomerProfileId `json:"profile,omitempty"` }
type ARBGetSubscriptionListOrderFieldEnum ¶
type ARBGetSubscriptionListOrderFieldEnum uint
const ( ARBGetSubscriptionListOrderFieldId ARBGetSubscriptionListOrderFieldEnum = 1 ARBGetSubscriptionListOrderFieldName ARBGetSubscriptionListOrderFieldEnum = 2 ARBGetSubscriptionListOrderFieldStatus ARBGetSubscriptionListOrderFieldEnum = 3 ARBGetSubscriptionListOrderFieldCreateTimeStampUTC ARBGetSubscriptionListOrderFieldEnum = 4 ARBGetSubscriptionListOrderFieldLastName ARBGetSubscriptionListOrderFieldEnum = 5 ARBGetSubscriptionListOrderFieldFirstName ARBGetSubscriptionListOrderFieldEnum = 6 ARBGetSubscriptionListOrderFieldAccountNumber ARBGetSubscriptionListOrderFieldEnum = 7 ARBGetSubscriptionListOrderFieldAmount ARBGetSubscriptionListOrderFieldEnum = 8 ARBGetSubscriptionListOrderFieldPastOccurrences ARBGetSubscriptionListOrderFieldEnum = 9 )
func (ARBGetSubscriptionListOrderFieldEnum) MarshalJSON ¶
func (a ARBGetSubscriptionListOrderFieldEnum) MarshalJSON() ([]byte, error)
func (*ARBGetSubscriptionListOrderFieldEnum) UnmarshalJSON ¶
func (a *ARBGetSubscriptionListOrderFieldEnum) UnmarshalJSON(data []byte) error
type ARBGetSubscriptionListPayload ¶
type ARBGetSubscriptionListPayload struct { ANetApiRequest SearchType string `json:"searchType"` Sorting Sorting `json:"sorting,omitempty"` Paging Paging `json:"paging,omitempty"` }
type ARBGetSubscriptionListRequest ¶
type ARBGetSubscriptionListRequest struct {
Payload ARBGetSubscriptionListPayload `json:"ARBGetSubscriptionListRequest"`
}
type ARBGetSubscriptionListResponse ¶
type ARBGetSubscriptionListResponse struct { ANetApiResponse TotalNumInResultSet int `json:"totalNumInResultSet,omitempty"` SubscriptionDetails []SubscriptionDetail `json:"subscriptionDetails,omitempty"` }
type ARBGetSubscriptionListSearchTypeEnum ¶
type ARBGetSubscriptionListSearchTypeEnum uint
const ( CardExpiringThisMonth ARBGetSubscriptionListSearchTypeEnum = 1 SubscriptionActive ARBGetSubscriptionListSearchTypeEnum = 2 SubscriptionExpiringThisMonth ARBGetSubscriptionListSearchTypeEnum = 3 SubscriptionInactive ARBGetSubscriptionListSearchTypeEnum = 4 )
func (ARBGetSubscriptionListSearchTypeEnum) MarshalJSON ¶
func (a ARBGetSubscriptionListSearchTypeEnum) MarshalJSON() ([]byte, error)
func (*ARBGetSubscriptionListSearchTypeEnum) UnmarshalJSON ¶
func (a *ARBGetSubscriptionListSearchTypeEnum) UnmarshalJSON(data []byte) error
type ARBGetSubscriptionPayload ¶
type ARBGetSubscriptionPayload struct { ANetApiRequest SubscriptionId string `json:"subscriptionId"` IncludeTransactions bool `json:"includeTransactions,omitempty"` }
type ARBGetSubscriptionRequest ¶
type ARBGetSubscriptionRequest struct {
Payload ARBGetSubscriptionPayload `json:"ARBGetSubscriptionRequest"`
}
type ARBGetSubscriptionResponse ¶
type ARBGetSubscriptionResponse struct { ANetApiResponse Subscription *ARBSubscriptionMasked `json:"subscription,omitempty"` }
type ARBGetSubscriptionStatusPayload ¶
type ARBGetSubscriptionStatusPayload struct { ANetApiRequest SubscriptionId string `json:"subscriptionId"` }
type ARBGetSubscriptionStatusRequest ¶
type ARBGetSubscriptionStatusRequest struct {
Payload ARBGetSubscriptionStatusPayload `json:"ARBGetSubscriptionStatusRequest"`
}
type ARBGetSubscriptionStatusResponse ¶
type ARBGetSubscriptionStatusResponse struct { ANetApiResponse Status string `json:"status,omitempty"` }
type ARBSubscription ¶
type ARBSubscription struct { Name string `json:"name,omitempty"` PaymentSchedule *PaymentSchedule `json:"paymentSchedule,omitempty"` Amount float64 `json:"amount,omitempty"` TrialAmount float64 `json:"trialAmount"` Payment *Payment `json:"payment,omitempty"` Order *Order `json:"order,omitempty"` Customer *Customer `json:"customer,omitempty"` BillTo *NameAndAddress `json:"billTo,omitempty"` ShipTo *NameAndAddress `json:"shipTo,omitempty"` Profile *CustomerProfileId `json:"profile,omitempty"` }
type ARBSubscriptionMasked ¶
type ARBSubscriptionMasked struct { Name string `json:"name,omitempty"` PaymentSchedule *PaymentSchedule `json:"paymentSchedule,omitempty"` Amount float64 `json:"amount,omitempty"` TrialAmount float64 `json:"trialAmount,omitempty"` Status string `json:"status,omitempty"` Profile *SubscriptionCustomerProfile `json:"profile,omitempty"` Order *Order `json:"order,omitempty"` ArbTransactions *ARBTransactionList `json:"arbTransactions,omitempty"` }
type ARBSubscriptionStatusEnum ¶
type ARBSubscriptionStatusEnum uint
const ( ARBSubscriptionActive ARBSubscriptionStatusEnum = 1 ARBSubscriptionExpired ARBSubscriptionStatusEnum = 2 ARBSubscriptionSuspended ARBSubscriptionStatusEnum = 3 ARBSubscriptionCanceled ARBSubscriptionStatusEnum = 4 ARBSubscriptionTerminated ARBSubscriptionStatusEnum = 5 )
func (ARBSubscriptionStatusEnum) MarshalJSON ¶
func (a ARBSubscriptionStatusEnum) MarshalJSON() ([]byte, error)
func (*ARBSubscriptionStatusEnum) UnmarshalJSON ¶
func (a *ARBSubscriptionStatusEnum) UnmarshalJSON(data []byte) error
type ARBSubscriptionUnitEnum ¶
type ARBSubscriptionUnitEnum uint
const ( Days ARBSubscriptionUnitEnum = 1 Months ARBSubscriptionUnitEnum = 2 )
func (ARBSubscriptionUnitEnum) MarshalJSON ¶
func (a ARBSubscriptionUnitEnum) MarshalJSON() ([]byte, error)
func (*ARBSubscriptionUnitEnum) UnmarshalJSON ¶
func (a *ARBSubscriptionUnitEnum) UnmarshalJSON(data []byte) error
type ARBTransactionList ¶
type ARBTransactionList struct {
ArbTransaction []ArbTransaction `json:"arbTransaction,omitempty"` //min=0
}
type ARBUpdateSubscriptionPayload ¶
type ARBUpdateSubscriptionPayload struct { ANetApiRequest SubscriptionId string `json:"subscriptionId"` Subscription ARBSubscription `json:"subscription"` }
type ARBUpdateSubscriptionRequest ¶
type ARBUpdateSubscriptionRequest struct {
Payload ARBUpdateSubscriptionPayload `json:"ARBUpdateSubscriptionRequest"`
}
-- request --
type ARBUpdateSubscriptionResponse ¶
type ARBUpdateSubscriptionResponse struct { ANetApiResponse Profile CustomerProfileId `json:"profile,omitempty"` }
type AUJobTypeEnum ¶
type AUJobTypeEnum uint
const ( AUJobAll AUJobTypeEnum = 1 AUJobUpdates AUJobTypeEnum = 2 AUJobDeletes AUJobTypeEnum = 3 )
func (AUJobTypeEnum) MarshalJSON ¶
func (a AUJobTypeEnum) MarshalJSON() ([]byte, error)
func (*AUJobTypeEnum) UnmarshalJSON ¶
func (a *AUJobTypeEnum) UnmarshalJSON(data []byte) error
type AccountTypeEnum ¶
type AccountTypeEnum uint
const ( AccountTypeVisa AccountTypeEnum = 1 AccountTypeMasterCard AccountTypeEnum = 2 AccountTypeAmericanExpress AccountTypeEnum = 3 AccountTypeDiscover AccountTypeEnum = 4 AccountTypeJCB AccountTypeEnum = 5 AccountTypeDinersClub AccountTypeEnum = 6 AccountTypeECheck AccountTypeEnum = 7 )
func (AccountTypeEnum) MarshalJSON ¶
func (a AccountTypeEnum) MarshalJSON() ([]byte, error)
func (*AccountTypeEnum) UnmarshalJSON ¶
func (a *AccountTypeEnum) UnmarshalJSON(data []byte) error
type AfdsTransactionEnum ¶
type AfdsTransactionEnum uint
const ( AFSDApprove AfdsTransactionEnum = 1 ASFDDecline AfdsTransactionEnum = 2 )
func (AfdsTransactionEnum) MarshalJSON ¶
func (a AfdsTransactionEnum) MarshalJSON() ([]byte, error)
func (*AfdsTransactionEnum) UnmarshalJSON ¶
func (a *AfdsTransactionEnum) UnmarshalJSON(data []byte) error
type ArbTransaction ¶
type AuDelete ¶
type AuDelete struct { AuDetails CreditCard *CreditCardMasked `json:"creditCard,omitempty"` }
type AuDetails ¶
type AuDetails struct { CustomerProfileID uint `json:"customerProfileID"` CustomerPaymentProfileID uint `json:"customerPaymentProfileID"` FirstName string `json:"firstName,omitempty"` LastName string `json:"lastName,omitempty"` UpdateTimeUTC string `json:"updateTimeUTC"` AuReasonCode string `json:"auReasonCode"` ReasonDescription string `json:"reasonDescription"` }
type AuResponse ¶
type AuUpdate ¶
type AuUpdate struct { AuDetails NewCreditCard *CreditCardMasked `json:"newCreditCard,omitempty"` OldCreditCard *CreditCardMasked `json:"oldCreditCard,omitempty"` }
type AuthenticateTestRequest ¶
type AuthenticateTestRequest struct {
ANetApiRequest `json:"authenticateTestRequest"`
}
type BankAccount ¶
type BankAccount struct { AccountType BankAccountTypeEnum `json:"accountType,omitempty"` RoutingNumber string `json:"routingNumber"` AccountNumber string `json:"accountNumber"` NameOnAccount string `json:"nameOnAccount"` EcheckType EcheckTypeEnum `json:"echeckType,omitempty"` BankName string `json:"bankName,omitempty"` CheckNumber string `json:"checkNumber,omitempty"` }
type BankAccountMasked ¶
type BankAccountMasked struct { AccountType BankAccountTypeEnum `json:"accountType,omitempty"` RoutingNumber string `json:"routingNumber"` AccountNumber string `json:"accountNumber"` NameOnAccount string `json:"nameOnAccount"` EcheckType string `json:"echeckType,omitempty"` BankName string `json:"bankName,omitempty"` }
type BankAccountTypeEnum ¶
type BankAccountTypeEnum uint
const ( BankAccountTypeChecking BankAccountTypeEnum = 1 BankAccountTypeSavings BankAccountTypeEnum = 2 BankAccountTypeBusinessChecking BankAccountTypeEnum = 3 )
func (BankAccountTypeEnum) MarshalJSON ¶
func (b BankAccountTypeEnum) MarshalJSON() ([]byte, error)
func (*BankAccountTypeEnum) UnmarshalJSON ¶
func (b *BankAccountTypeEnum) UnmarshalJSON(data []byte) error
type BatchDetails ¶
type BatchDetails struct { BatchId string `json:"batchId"` SettlementTimeUTC DateTimeZ `json:"settlementTimeUTC,omitempty"` SettlementTimeLocal DateTime `json:"settlementTimeLocal,omitempty"` SettlementState string `json:"settlementState"` PaymentMethod string `json:"paymentMethod,omitempty"` MarketType string `json:"marketType,omitempty"` Product string `json:"product,omitempty"` Statistics []BatchStatistic `json:"statistics,omitempty"` }
type BatchStatistic ¶
type BatchStatistic struct { AccountType string `json:"accountType"` ChargeAmount float64 `json:"chargeAmount"` ChargeCount int `json:"chargeCount"` RefundAmount float64 `json:"refundAmount"` RefundCount int `json:"refundCount"` VoidCount int `json:"voidCount"` DeclineCount int `json:"declineCount"` ErrorCount int `json:"errorCount"` ReturnedItemAmount float64 `json:"returnedItemAmount,omitempty"` ReturnedItemCount int `json:"returnedItemCount,omitempty"` ChargebackAmount float64 `json:"chargebackAmount,omitempty"` ChargebackCount int `json:"chargebackCount,omitempty"` CorrectionNoticeCount int `json:"correctionNoticeCount,omitempty"` ChargeChargeBackAmount float64 `json:"chargeChargeBackAmount,omitempty"` ChargeChargeBackCount int `json:"chargeChargeBackCount,omitempty"` RefundChargeBackAmount float64 `json:"refundChargeBackAmount,omitempty"` RefundChargeBackCount int `json:"refundChargeBackCount,omitempty"` ChargeReturnedItemsAmount float64 `json:"chargeReturnedItemsAmount,omitempty"` ChargeReturnedItemsCount int `json:"chargeReturnedItemsCount,omitempty"` RefundReturnedItemsAmount float64 `json:"refundReturnedItemsAmount,omitempty"` RefundReturnedItemsCount int `json:"refundReturnedItemsCount,omitempty"` }
type CCAuthentication ¶
type CardTypeEnum ¶
type CardTypeEnum uint
const ( CardVisa CardTypeEnum = 1 CardMasterCard CardTypeEnum = 2 CardAmericanExpress CardTypeEnum = 3 CardDiscover CardTypeEnum = 4 CardJCB CardTypeEnum = 5 CardDinersClub CardTypeEnum = 6 )
func (CardTypeEnum) MarshalJSON ¶
func (a CardTypeEnum) MarshalJSON() ([]byte, error)
func (*CardTypeEnum) UnmarshalJSON ¶
func (a *CardTypeEnum) UnmarshalJSON(data []byte) error
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewAPIClient ¶
func NewAPIClient(cfg *HttpClientCfg, logger Logger) *Client
type ContactDetail ¶
type CreateCustomerPaymentProfilePayload ¶
type CreateCustomerPaymentProfilePayload struct { ANetApiRequest CustomerProfileId string `json:"customerProfileId"` PaymentProfile *CustomerPaymentProfile `json:"paymentProfile,omitempty"` ValidationMode ValidationModeEnum `json:"validationMode"` }
type CreateCustomerPaymentProfileRequest ¶
type CreateCustomerPaymentProfileRequest struct {
Payload CreateCustomerPaymentProfilePayload `json:"createCustomerPaymentProfileRequest"`
}
type CreateCustomerPaymentProfileResponse ¶
type CreateCustomerPaymentProfileResponse struct { ANetApiResponse CustomerProfileId string `json:"customerProfileId,omitempty"` CustomerPaymentProfileId string `json:"customerPaymentProfileId,omitempty"` ValidationDirectResponse string `json:"validationDirectResponse,omitempty"` }
type CreateCustomerProfileFromTransactionPayload ¶
type CreateCustomerProfileFromTransactionPayload struct { ANetApiRequest TransId string `json:"transId"` Customer *CustomerProfileBase `json:"customer,omitempty"` CustomerProfileId string `json:"customerProfileId,omitempty"` DefaultPaymentProfile bool `json:"defaultPaymentProfile,omitempty"` DefaultShippingAddress bool `json:"defaultShippingAddress,omitempty"` ProfileType CustomerProfileTypeEnum `json:"profileType,omitempty"` }
type CreateCustomerProfileFromTransactionRequest ¶
type CreateCustomerProfileFromTransactionRequest struct {
Payload CreateCustomerProfileFromTransactionPayload `json:"createCustomerProfileFromTransactionRequest"`
}
type CreateCustomerProfileFromTransactionResponse ¶
type CreateCustomerProfileFromTransactionResponse struct { ANetApiResponse CustomerProfileID string `json:"customerProfileId"` CustomerPaymentProfileIDList []string `json:"customerPaymentProfileIdList"` CustomerShippingAddressIDList []string `json:"customerShippingAddressIdList"` ValidationDirectResponseList []string `json:"validationDirectResponseList"` }
type CreateCustomerProfilePayload ¶
type CreateCustomerProfilePayload struct { ANetApiRequest Profile *CustomerProfile `json:"profile,omitempty"` ValidationMode ValidationModeEnum `json:"validationMode"` }
type CreateCustomerProfileRequest ¶
type CreateCustomerProfileRequest struct {
Payload CreateCustomerProfilePayload `json:"createCustomerProfileRequest"`
}
type CreateCustomerProfileResponse ¶
type CreateCustomerProfileResponse struct { ANetApiResponse CustomerProfileId string `json:"customerProfileId,omitempty"` CustomerPaymentProfileIdList []string `json:"customerPaymentProfileIdList"` CustomerShippingAddressIdList []string `json:"customerShippingAddressIdList"` ValidationDirectResponseList []string `json:"validationDirectResponseList"` }
-- response --
type CreateCustomerProfileTransactionPayload ¶
type CreateCustomerProfileTransactionPayload struct { ANetApiRequest Transaction *ProfileTransaction `json:"transaction,omitempty"` ExtraOptions string `json:"extraOptions,omitempty"` }
type CreateCustomerProfileTransactionRequest ¶
type CreateCustomerProfileTransactionRequest struct {
Payload CreateCustomerProfileTransactionPayload `json:"createCustomerProfileTransactionRequest"`
}
type CreateCustomerProfileTransactionResponse ¶
type CreateCustomerProfileTransactionResponse struct { ANetApiResponse TransactionResponse *TransactionResponse `json:"transactionResponse,omitempty"` DirectResponse string `json:"directResponse,omitempty"` }
type CreateCustomerShippingAddressPayload ¶
type CreateCustomerShippingAddressPayload struct { ANetApiRequest CustomerProfileId string `json:"customerProfileId"` Address *CustomerAddress `json:"address,omitempty"` DefaultShippingAddress bool `json:"defaultShippingAddress"` }
type CreateCustomerShippingAddressRequest ¶
type CreateCustomerShippingAddressRequest struct {
Payload CreateCustomerShippingAddressPayload `json:"createCustomerShippingAddressRequest"`
}
type CreateCustomerShippingAddressResponse ¶
type CreateCustomerShippingAddressResponse struct { ANetApiResponse CustomerProfileId string `json:"customerProfileId,omitempty"` CustomerAddressId string `json:"customerAddressId,omitempty"` }
type CreateProfileResponse ¶
type CreateProfileResponse struct { Messages Messages `json:"messages"` CustomerProfileId string `json:"customerProfileId,omitempty"` CustomerPaymentProfileIdList []string `json:"customerPaymentProfileIdList,omitempty"` CustomerShippingAddressIdList []string `json:"customerShippingAddressIdList,omitempty"` }
type CreateTransactionRequest ¶
type CreateTransactionRequest struct {
CreateTransactionRequest TransactionRequest `json:"createTransactionRequest"`
}
type CreateTransactionResponse ¶
type CreateTransactionResponse struct { ANetApiResponse TransactionResponse TransactionResponse `json:"transactionResponse"` ProfileResponse CreateProfileResponse `json:"profileResponse,omitempty"` }
type CreditCard ¶
type CreditCard struct { CardNumber string `json:"cardNumber"` ExpirationDate string `json:"expirationDate"` CardCode string `json:"cardCode,omitempty"` IsPaymentToken bool `json:"isPaymentToken,omitempty"` Cryptogram string `json:"cryptogram,omitempty"` TokenRequestorName string `json:"tokenRequestorName,omitempty"` TokenRequestorId string `json:"tokenRequestorId,omitempty"` TokenRequestorEci string `json:"tokenRequestorEci,omitempty"` }
-- request --
type CreditCardMasked ¶
type CreditCardMasked struct { CardNumber string `json:"cardNumber"` ExpirationDate string `json:"expirationDate"` CardType string `json:"cardType,omitempty"` CardArt *CardArt `json:"cardArt,omitempty"` IssuerNumber string `json:"issuerNumber,omitempty"` IsPaymentToken bool `json:"isPaymentToken,omitempty"` }
type CreditCardTrack ¶
type Customer ¶
type Customer struct { Type string `json:"type,omitempty"` Id string `json:"id,omitempty"` Email string `json:"email,omitempty"` PhoneNumber string `json:"phoneNumber,omitempty"` FaxNumber string `json:"faxNumber,omitempty"` DriversLicense *DriversLicense `json:"driversLicense,omitempty"` TaxId string `json:"taxId,omitempty"` }
type CustomerAddress ¶
type CustomerAddress struct { NameAndAddress PhoneNumber string `json:"phoneNumber,omitempty"` FaxNumber string `json:"faxNumber,omitempty"` Email string `json:"email,omitempty"` }
-- request --
type CustomerAddressEx ¶
type CustomerAddressEx struct { CustomerAddress CustomerAddressId string `json:"customerAddressId,omitempty"` }
type CustomerData ¶
type CustomerData struct { Type string `json:"type,omitempty"` Id string `json:"id,omitempty"` Email string `json:"email,omitempty"` DriversLicense *DriversLicense `json:"driversLicense,omitempty"` TaxId string `json:"taxId,omitempty"` }
type CustomerPaymentProfile ¶
type CustomerPaymentProfile struct { CustomerPaymentProfileBase Payment *Payment `json:"payment,omitempty"` DriversLicense *DriversLicense `json:"driversLicense,omitempty"` TaxId string `json:"taxId,omitempty"` DefaultPaymentProfile bool `json:"defaultPaymentProfile,omitempty"` }
type CustomerPaymentProfileBase ¶
type CustomerPaymentProfileBase struct { CustomerType CustomerTypeEnum `json:"customerType,omitempty"` BillTo *CustomerAddress `json:"billTo,omitempty"` }
type CustomerPaymentProfileEx ¶
type CustomerPaymentProfileEx struct { CustomerPaymentProfile CustomerPaymentProfileId string `json:"customerPaymentProfileId,omitempty"` }
type CustomerPaymentProfileListItem ¶
type CustomerPaymentProfileListItem struct { DefaultPaymentProfile bool `json:"defaultPaymentProfile,omitempty"` CustomerPaymentProfileId int `json:"customerPaymentProfileId"` CustomerProfileId int `json:"customerProfileId"` BillTo *CustomerAddress `json:"billTo,omitempty"` Payment *PaymentMasked `json:"payment,omitempty"` }
type CustomerPaymentProfileMasked ¶
type CustomerPaymentProfileMasked struct { CustomerPaymentProfileBase CustomerProfileId string `json:"customerProfileId,omitempty"` CustomerPaymentProfileId string `json:"customerPaymentProfileId"` DefaultPaymentProfile bool `json:"defaultPaymentProfile,omitempty"` Payment *PaymentMasked `json:"payment,omitempty"` DriversLicense *DriversLicenseMasked `json:"driversLicense,omitempty"` TaxId string `json:"taxId,omitempty"` SubscriptionIds []string `json:"subscriptionIds,omitempty"` }
type CustomerPaymentProfileOrderFieldEnum ¶
type CustomerPaymentProfileOrderFieldEnum uint
const (
CustomerPaymentProfileOrderFieldID CustomerPaymentProfileOrderFieldEnum = 1
)
func (CustomerPaymentProfileOrderFieldEnum) MarshalJSON ¶
func (a CustomerPaymentProfileOrderFieldEnum) MarshalJSON() ([]byte, error)
func (*CustomerPaymentProfileOrderFieldEnum) UnmarshalJSON ¶
func (a *CustomerPaymentProfileOrderFieldEnum) UnmarshalJSON(data []byte) error
type CustomerPaymentProfileSearchTypeEnum ¶
type CustomerPaymentProfileSearchTypeEnum uint
const (
CardsExpiringInMonth CustomerPaymentProfileSearchTypeEnum = 1
)
func (CustomerPaymentProfileSearchTypeEnum) MarshalJSON ¶
func (a CustomerPaymentProfileSearchTypeEnum) MarshalJSON() ([]byte, error)
func (*CustomerPaymentProfileSearchTypeEnum) UnmarshalJSON ¶
func (a *CustomerPaymentProfileSearchTypeEnum) UnmarshalJSON(data []byte) error
type CustomerProfile ¶
type CustomerProfile struct { CustomerProfileBase PaymentProfiles []CustomerPaymentProfile `json:"paymentProfiles,omitempty"` //min=0 ShipToList []CustomerAddress `json:"shipToList,omitempty"` //min=0 ProfileType CustomerProfileTypeEnum `json:"profileType,omitempty"` }
type CustomerProfileBase ¶
type CustomerProfileEx ¶
type CustomerProfileEx struct { CustomerProfileBase CustomerProfileId string `json:"customerProfileId,omitempty"` }
type CustomerProfileId ¶
type CustomerProfileInfoEx ¶
type CustomerProfileInfoEx struct { CustomerProfileEx ProfileType CustomerProfileTypeEnum `json:"profileType,omitempty"` }
type CustomerProfileMasked ¶
type CustomerProfileMasked struct { CustomerProfileEx PaymentProfiles []CustomerPaymentProfileMasked `json:"paymentProfiles,omitempty"` //min=0 ShipToList []CustomerAddressEx `json:"shipToList,omitempty"` //min=0 ProfileType string `json:"profileType,omitempty"` }
type CustomerProfilePayment ¶
type CustomerProfilePayment struct { CreateProfile bool `json:"createProfile,omitempty"` CustomerProfileId string `json:"customerProfileId,omitempty"` PaymentProfile *PaymentProfile `json:"paymentProfile,omitempty"` ShippingProfileId string `json:"shippingProfileId,omitempty"` }
type CustomerProfileSummary ¶
type CustomerProfileTypeEnum ¶
type CustomerProfileTypeEnum uint
const ( CustomerProfileRegular CustomerProfileTypeEnum = 1 CustomerProfileGuest CustomerProfileTypeEnum = 2 )
func (CustomerProfileTypeEnum) MarshalJSON ¶
func (a CustomerProfileTypeEnum) MarshalJSON() ([]byte, error)
func (*CustomerProfileTypeEnum) UnmarshalJSON ¶
func (a *CustomerProfileTypeEnum) UnmarshalJSON(data []byte) error
type CustomerTypeEnum ¶
type CustomerTypeEnum uint
const ( Individual CustomerTypeEnum = 1 Business CustomerTypeEnum = 2 )
func (CustomerTypeEnum) MarshalJSON ¶
func (a CustomerTypeEnum) MarshalJSON() ([]byte, error)
func (*CustomerTypeEnum) UnmarshalJSON ¶
func (a *CustomerTypeEnum) UnmarshalJSON(data []byte) error
type Date ¶
func (Date) MarshalJSON ¶
type DateTimeNano ¶
func NowDateTimeNano ¶
func NowDateTimeNano() DateTimeNano
func (DateTimeNano) MarshalJSON ¶
func (t DateTimeNano) MarshalJSON() ([]byte, error)
func (*DateTimeNano) UnmarshalJSON ¶
func (t *DateTimeNano) UnmarshalJSON(data []byte) error
type DecryptPaymentDataPayload ¶
type DecryptPaymentDataPayload struct { ANetApiRequest OpaqueData *OpaqueData `json:"opaqueData,omitempty"` CallId string `json:"callId,omitempty"` }
type DecryptPaymentDataRequest ¶
type DecryptPaymentDataRequest struct {
Payload DecryptPaymentDataPayload `json:"decryptPaymentDataRequest"`
}
type DecryptPaymentDataResponse ¶
type DecryptPaymentDataResponse struct { ANetApiResponse ShippingInfo *CustomerAddress `json:"shippingInfo,omitempty"` BillingInfo *CustomerAddress `json:"billingInfo,omitempty"` CardInfo *CreditCardMasked `json:"cardInfo,omitempty"` PaymentDetails *PaymentDetails `json:"paymentDetails,omitempty"` }
type DeleteCustomerPaymentProfilePayload ¶
type DeleteCustomerPaymentProfilePayload struct { ANetApiRequest CustomerProfileId string `json:"customerProfileId"` CustomerPaymentProfileId string `json:"customerPaymentProfileId"` }
type DeleteCustomerPaymentProfileRequest ¶
type DeleteCustomerPaymentProfileRequest struct {
Payload DeleteCustomerPaymentProfilePayload `json:"deleteCustomerPaymentProfileRequest"`
}
type DeleteCustomerPaymentProfileResponse ¶
type DeleteCustomerPaymentProfileResponse struct {
ANetApiResponse
}
type DeleteCustomerProfilePayload ¶
type DeleteCustomerProfilePayload struct { ANetApiRequest CustomerProfileId string `json:"customerProfileId"` }
type DeleteCustomerProfileRequest ¶
type DeleteCustomerProfileRequest struct {
Payload DeleteCustomerProfilePayload `json:"deleteCustomerProfileRequest"`
}
type DeleteCustomerProfileResponse ¶
type DeleteCustomerProfileResponse struct {
ANetApiResponse
}
type DeleteCustomerShippingAddressPayload ¶
type DeleteCustomerShippingAddressPayload struct { ANetApiRequest CustomerProfileId string `json:"customerProfileId"` CustomerAddressId string `json:"customerAddressId"` }
type DeleteCustomerShippingAddressRequest ¶
type DeleteCustomerShippingAddressRequest struct {
Payload DeleteCustomerShippingAddressPayload `json:"deleteCustomerShippingAddressRequest"`
}
type DeleteCustomerShippingAddressResponse ¶
type DeleteCustomerShippingAddressResponse struct {
ANetApiResponse
}
type DeviceActivationEnum ¶
type DeviceActivationEnum uint
const ( Activate DeviceActivationEnum = 1 Disable DeviceActivationEnum = 2 )
func (DeviceActivationEnum) MarshalJSON ¶
func (a DeviceActivationEnum) MarshalJSON() ([]byte, error)
func (*DeviceActivationEnum) UnmarshalJSON ¶
func (a *DeviceActivationEnum) UnmarshalJSON(data []byte) error
type DriversLicense ¶
type DriversLicenseMasked ¶
type EcheckTypeEnum ¶
type EcheckTypeEnum uint
const ( EcheckPPD EcheckTypeEnum = 1 EcheckWEB EcheckTypeEnum = 2 EcheckCCD EcheckTypeEnum = 3 EcheckTEL EcheckTypeEnum = 4 EcheckARC EcheckTypeEnum = 5 EcheckBOC EcheckTypeEnum = 6 )
func (EcheckTypeEnum) MarshalJSON ¶
func (a EcheckTypeEnum) MarshalJSON() ([]byte, error)
func (*EcheckTypeEnum) UnmarshalJSON ¶
func (a *EcheckTypeEnum) UnmarshalJSON(data []byte) error
type EmailSettings ¶
type EmvResponse ¶
type EncodingType ¶
type EncodingType uint
const ( EncBase64 EncodingType = 1 EncHex EncodingType = 2 )
func (EncodingType) MarshalJSON ¶
func (a EncodingType) MarshalJSON() ([]byte, error)
func (*EncodingType) UnmarshalJSON ¶
func (a *EncodingType) UnmarshalJSON(data []byte) error
type EncryptedTrackData ¶
type EncryptedTrackData struct {
FormOfPayment KeyBlock `json:"formOfPayment"`
}
type EncryptionAlgorithmType ¶
type EncryptionAlgorithmType uint
const ( EncryptionAlgoTDES EncryptionAlgorithmType = 1 EncryptionAlgoAES EncryptionAlgorithmType = 2 EncryptionAlgoRSA EncryptionAlgorithmType = 3 )
func (EncryptionAlgorithmType) MarshalJSON ¶
func (a EncryptionAlgorithmType) MarshalJSON() ([]byte, error)
func (*EncryptionAlgorithmType) UnmarshalJSON ¶
func (a *EncryptionAlgorithmType) UnmarshalJSON(data []byte) error
type EnumCollection ¶
type EnumCollection struct { CustomerProfileSummaryType *CustomerProfileSummary `json:"customerProfileSummaryType,omitempty"` PaymentSimpleType *PaymentSimple `json:"paymentSimpleType,omitempty"` AccountTypeEnum string `json:"accountTypeEnum"` CardTypeEnum string `json:"cardTypeEnum"` FdsFilterActionEnum string `json:"fdsFilterActionEnum"` PermissionsEnum string `json:"permissionsEnum"` SettingNameEnum string `json:"settingNameEnum"` SettlementStateEnum string `json:"settlementStateEnum"` TransactionStatusEnum string `json:"transactionStatusEnum"` TransactionTypeEnum string `json:"transactionTypeEnum"` }
type ErrCodeEnum ¶
type ErrCodeEnum uint
func (ErrCodeEnum) String ¶
func (e ErrCodeEnum) String() string
func (*ErrCodeEnum) UnmarshalJSON ¶
func (e *ErrCodeEnum) UnmarshalJSON(data []byte) error
type ErrMessage ¶
type ErrMessage struct { Code ErrCodeEnum `json:"code"` Text string `json:"text"` Description string `json:"description,omitempty"` }
type Error ¶
type Error struct { ErrorCode ErrCodeEnum `json:"errorCode,omitempty"` ErrorText string `json:"errorText,omitempty"` }
type ExtendedAmount ¶
type FDSFilterActionEnum ¶
type FDSFilterActionEnum uint
const ( FDSFilterActionReject FDSFilterActionEnum = 1 FDSFilterActionDecline FDSFilterActionEnum = 2 FDSFilterActionHold FDSFilterActionEnum = 3 FDSFilterActionAuthAndHold FDSFilterActionEnum = 4 FDSFilterActionReport FDSFilterActionEnum = 5 )
func (FDSFilterActionEnum) MarshalJSON ¶
func (a FDSFilterActionEnum) MarshalJSON() ([]byte, error)
func (*FDSFilterActionEnum) UnmarshalJSON ¶
func (a *FDSFilterActionEnum) UnmarshalJSON(data []byte) error
type FingerPrintType ¶
type FraudInformation ¶
type GetAUJobDetailsPayload ¶
type GetAUJobDetailsPayload struct { ANetApiRequest Month string `json:"month"` ModifiedTypeFilter string `json:"modifiedTypeFilter,omitempty"` Paging Paging `json:"paging,omitempty"` }
type GetAUJobDetailsRequest ¶
type GetAUJobDetailsRequest struct {
Payload GetAUJobDetailsPayload `json:"getAUJobDetailsRequest"`
}
type GetAUJobDetailsResponse ¶
type GetAUJobDetailsResponse struct { ANetApiResponse TotalNumInResultSet int `json:"totalNumInResultSet,omitempty"` AuDetails *ListOfAUDetails `json:"auDetails,omitempty"` }
type GetAUJobSummaryPayload ¶
type GetAUJobSummaryPayload struct { ANetApiRequest Month string `json:"month"` }
type GetAUJobSummaryRequest ¶
type GetAUJobSummaryRequest struct {
Payload GetAUJobSummaryPayload `json:"getAUJobSummaryRequest"`
}
type GetAUJobSummaryResponse ¶
type GetAUJobSummaryResponse struct { ANetApiResponse AuSummary []AuResponse `json:"auSummary,omitempty"` }
type GetBatchStatisticsPayload ¶
type GetBatchStatisticsPayload struct { ANetApiRequest BatchId string `json:"batchId"` }
type GetBatchStatisticsRequest ¶
type GetBatchStatisticsRequest struct {
Payload GetBatchStatisticsPayload `json:"getBatchStatisticsRequest"`
}
type GetBatchStatisticsResponse ¶
type GetBatchStatisticsResponse struct { ANetApiResponse Batch *BatchDetails `json:"batch,omitempty"` }
type GetCustomerPaymentProfileListPayload ¶
type GetCustomerPaymentProfileListPayload struct { ANetApiRequest SearchType string `json:"searchType"` Month string `json:"month"` //String, 7 characters. Use XML gYearMonth (YYYY-MM) formatting. Sorting Sorting `json:"sorting,omitempty"` Paging Paging `json:"paging,omitempty"` }
type GetCustomerPaymentProfileListRequest ¶
type GetCustomerPaymentProfileListRequest struct {
Payload GetCustomerPaymentProfileListPayload `json:"getCustomerPaymentProfileListRequest"`
}
type GetCustomerPaymentProfileListResponse ¶
type GetCustomerPaymentProfileListResponse struct { ANetApiResponse TotalNumInResultSet int `json:"totalNumInResultSet"` PaymentProfiles []CustomerPaymentProfileListItem `json:"paymentProfiles,omitempty"` }
type GetCustomerPaymentProfileNoncePayload ¶
type GetCustomerPaymentProfileNoncePayload struct { ANetApiRequest ConnectedAccessToken string `json:"connectedAccessToken"` CustomerProfileId string `json:"customerProfileId"` CustomerPaymentProfileId string `json:"customerPaymentProfileId"` }
type GetCustomerPaymentProfileNonceRequest ¶
type GetCustomerPaymentProfileNonceRequest struct {
Payload GetCustomerPaymentProfileNoncePayload `json:"getCustomerPaymentProfileNonceRequest"`
}
type GetCustomerPaymentProfileNonceResponse ¶
type GetCustomerPaymentProfileNonceResponse struct { ANetApiResponse OpaqueData *OpaqueData `json:"opaqueData,omitempty"` }
type GetCustomerPaymentProfilePayload ¶
type GetCustomerPaymentProfilePayload struct { ANetApiRequest CustomerProfileId string `json:"customerProfileId"` CustomerPaymentProfileId string `json:"customerPaymentProfileId,omitempty"` UnmaskExpirationDate bool `json:"unmaskExpirationDate,omitempty"` IncludeIssuerInfo bool `json:"includeIssuerInfo,omitempty"` }
type GetCustomerPaymentProfileRequest ¶
type GetCustomerPaymentProfileRequest struct {
Payload GetCustomerPaymentProfilePayload `json:"getCustomerPaymentProfileRequest"`
}
type GetCustomerPaymentProfileResponse ¶
type GetCustomerPaymentProfileResponse struct { ANetApiResponse PaymentProfile *CustomerPaymentProfileMasked `json:"paymentProfile,omitempty"` }
type GetCustomerProfileIdsRequest ¶
type GetCustomerProfileIdsRequest struct {
ANetApiRequest `json:"getCustomerProfileIdsRequest"`
}
type GetCustomerProfileIdsResponse ¶
type GetCustomerProfileIdsResponse struct { ANetApiResponse Ids []string `json:"ids"` }
type GetCustomerProfilePayload ¶
type GetCustomerProfilePayload struct { ANetApiRequest CustomerProfileId string `json:"customerProfileId,omitempty"` MerchantCustomerId string `json:"merchantCustomerId,omitempty"` Email string `json:"email,omitempty"` UnmaskExpirationDate bool `json:"unmaskExpirationDate,omitempty"` IncludeIssuerInfo bool `json:"includeIssuerInfo,omitempty"` }
type GetCustomerProfileRequest ¶
type GetCustomerProfileRequest struct {
Payload GetCustomerProfilePayload `json:"getCustomerProfileRequest"`
}
type GetCustomerProfileResponse ¶
type GetCustomerProfileResponse struct { ANetApiResponse Profile *CustomerProfileMasked `json:"profile,omitempty"` SubscriptionIds []string `json:"subscriptionIds,omitempty"` }
type GetCustomerShippingAddressPayload ¶
type GetCustomerShippingAddressPayload struct { ANetApiRequest CustomerProfileId string `json:"customerProfileId"` CustomerAddressId string `json:"customerAddressId,omitempty"` }
type GetCustomerShippingAddressRequest ¶
type GetCustomerShippingAddressRequest struct {
Payload GetCustomerShippingAddressPayload `json:"getCustomerShippingAddressRequest"`
}
type GetCustomerShippingAddressResponse ¶
type GetCustomerShippingAddressResponse struct { ANetApiResponse DefaultShippingAddress bool `json:"defaultShippingAddress,omitempty"` Address *CustomerAddressEx `json:"address,omitempty"` SubscriptionIds []string `json:"subscriptionIds,omitempty"` }
type GetHostedPaymentPagePayload ¶
type GetHostedPaymentPagePayload struct { ANetApiRequest TransactionRequest *Transaction `json:"transactionRequest,omitempty"` HostedPaymentSettings []Setting `json:"hostedPaymentSettings,omitempty"` }
type GetHostedPaymentPageRequest ¶
type GetHostedPaymentPageRequest struct {
Payload GetHostedPaymentPagePayload `json:"getHostedPaymentPageRequest"`
}
type GetHostedPaymentPageResponse ¶
type GetHostedPaymentPageResponse struct { ANetApiResponse Token string `json:"token"` }
type GetHostedProfilePagePayload ¶
type GetHostedProfilePagePayload struct { ANetApiRequest CustomerProfileId string `json:"customerProfileId"` HostedProfileSettings []Setting `json:"hostedProfileSettings,omitempty"` }
type GetHostedProfilePageRequest ¶
type GetHostedProfilePageRequest struct {
Payload GetHostedProfilePagePayload `json:"getHostedProfilePageRequest"`
}
type GetHostedProfilePageResponse ¶
type GetHostedProfilePageResponse struct { ANetApiResponse Token string `json:"token"` }
type GetMerchantDetailsRequest ¶
type GetMerchantDetailsRequest struct {
ANetApiRequest `json:"getMerchantDetailsRequest"`
}
type GetMerchantDetailsResponse ¶
type GetMerchantDetailsResponse struct { ANetApiResponse IsTestMode bool `json:"isTestMode,omitempty"` Processors []Processor `json:"processors,omitempty"` MerchantName string `json:"merchantName"` GatewayId string `json:"gatewayId"` MarketTypes []string `json:"marketTypes,omitempty"` ProductCodes []string `json:"productCodes,omitempty"` PaymentMethods []string `json:"paymentMethods,omitempty"` Currencies []string `json:"currencies,omitempty"` PublicClientKey string `json:"publicClientKey,omitempty"` BusinessInformation *CustomerAddress `json:"businessInformation,omitempty"` MerchantTimeZone string `json:"merchantTimeZone,omitempty"` ContactDetails []ContactDetail `json:"contactDetails,omitempty"` }
type GetSettledBatchListPayload ¶
type GetSettledBatchListPayload struct { ANetApiRequest IncludeStatistics bool `json:"includeStatistics,omitempty"` FirstSettlementDate Date `json:"firstSettlementDate,omitempty"` LastSettlementDate Date `json:"lastSettlementDate,omitempty"` }
type GetSettledBatchListRequest ¶
type GetSettledBatchListRequest struct {
Payload GetSettledBatchListPayload `json:"getSettledBatchListRequest"`
}
type GetSettledBatchListResponse ¶
type GetSettledBatchListResponse struct { ANetApiResponse BatchList []BatchDetails `json:"batchList,omitempty"` }
type GetTransactionDetailsPayload ¶
type GetTransactionDetailsPayload struct { ANetApiRequest TransId string `json:"transId"` }
type GetTransactionDetailsRequest ¶
type GetTransactionDetailsRequest struct {
Payload GetTransactionDetailsPayload `json:"getTransactionDetailsRequest"`
}
type GetTransactionDetailsResponse ¶
type GetTransactionDetailsResponse struct { ANetApiResponse Transaction *TransactionDetails `json:"transaction,omitempty"` ClientId string `json:"clientId,omitempty"` TransrefId string `json:"transrefId,omitempty"` }
type GetTransactionListForCustomerPayload ¶
type GetTransactionListForCustomerPayload struct { ANetApiRequest CustomerProfileId string `json:"customerProfileId"` CustomerPaymentProfileId string `json:"customerPaymentProfileId,omitempty"` Sorting Sorting `json:"sorting,omitempty"` Paging Paging `json:"paging,omitempty"` }
type GetTransactionListForCustomerRequest ¶
type GetTransactionListForCustomerRequest struct {
Payload GetTransactionListForCustomerPayload `json:"getTransactionListForCustomerRequest"`
}
type GetTransactionListPayload ¶
type GetTransactionListPayload struct { ANetApiRequest BatchId string `json:"batchId,omitempty"` Sorting Sorting `json:"sorting"` Paging Paging `json:"paging"` }
type GetTransactionListRequest ¶
type GetTransactionListRequest struct {
Payload GetTransactionListPayload `json:"getTransactionListRequest"`
}
type GetTransactionListResponse ¶
type GetTransactionListResponse struct { ANetApiResponse Transactions []TransactionSummary `json:"transactions,omitempty"` TotalNumInResultSet int `json:"totalNumInResultSet,omitempty"` }
type GetUnsettledTransactionListPayload ¶
type GetUnsettledTransactionListPayload struct { ANetApiRequest Status string `json:"status,omitempty"` Sorting Sorting `json:"sorting"` Paging Paging `json:"paging"` }
type GetUnsettledTransactionListRequest ¶
type GetUnsettledTransactionListRequest struct {
Payload GetUnsettledTransactionListPayload `json:"getUnsettledTransactionListRequest"`
}
type GetUnsettledTransactionListResponse ¶
type GetUnsettledTransactionListResponse struct { ANetApiResponse Transactions []CustomerPaymentProfileListItem `json:"transactions,omitempty"` TotalNumInResultSet int `json:"totalNumInResultSet,omitempty"` }
type HeldTransactionPayload ¶
type HeldTransactionRequest ¶
type HeldTransactionRequest struct {
Payload HeldTransactionPayload `json:"heldTransactionRequest"`
}
type HttpClientCfg ¶
type IsAliveRequest ¶
type IsAliveRequest struct {
RefId string `json:"refId,omitempty"`
}
type IsAliveResponse ¶
type IsAliveResponse struct {
ANetApiResponse
}
type Item ¶
type Item struct { ItemId string `json:"itemId"` Name string `json:"name"` Description string `json:"description,omitempty"` Quantity float64 `json:"quantity"` UnitPrice float64 `json:"unitPrice"` Taxable bool `json:"taxable,omitempty"` UnitOfMeasure string `json:"unitOfMeasure,omitempty"` TypeOfSupply string `json:"typeOfSupply,omitempty"` TaxRate float64 `json:"taxRate,omitempty"` TaxAmount float64 `json:"taxAmount,omitempty"` NationalTax float64 `json:"nationalTax,omitempty"` LocalTax float64 `json:"localTax,omitempty"` VatRate float64 `json:"vatRate,omitempty"` AlternateTaxId string `json:"alternateTaxId,omitempty"` AlternateTaxType string `json:"alternateTaxType,omitempty"` AlternateTaxTypeApplied string `json:"alternateTaxTypeApplied,omitempty"` AlternateTaxRate float64 `json:"alternateTaxRate,omitempty"` AlternateTaxAmount float64 `json:"alternateTaxAmount,omitempty"` TotalAmount float64 `json:"totalAmount,omitempty"` CommodityCode string `json:"commodityCode,omitempty"` ProductCode string `json:"productCode,omitempty"` ProductSKU string `json:"productSKU,omitempty"` DiscountRate float64 `json:"discountRate,omitempty"` DiscountAmount float64 `json:"discountAmount,omitempty"` TaxIncludedInTotal bool `json:"taxIncludedInTotal,omitempty"` TaxIsAfterDiscount bool `json:"taxIsAfterDiscount,omitempty"` }
type KeyManagementScheme ¶
type KeyManagementScheme struct {
Dukpt *KeyManagementSchemeDUKPT `json:"dukpt,omitempty"`
}
type KeyManagementSchemeDUKPT ¶
type KeyManagementSchemeDUKPT struct { Operation string `json:"operation"` Mode *KeyManagementSchemeDUKPTMode `json:"mode,omitempty"` DeviceInfo *KeyManagementSchemeDUKPTDeviceInfo `json:"deviceInfo,omitempty"` EncryptedData *KeyManagementSchemeDUKPTEncryptedData `json:"encryptedData,omitempty"` }
type KeyManagementSchemeDUKPTDeviceInfo ¶
type KeyManagementSchemeDUKPTDeviceInfo struct {
Description string `json:"description"`
}
type KeyManagementSchemeDUKPTEncryptedData ¶
type KeyManagementSchemeDUKPTEncryptedData struct {
Value string `json:"value"`
}
type KeyValue ¶
type KeyValue struct { Encoding string `json:"encoding"` EncryptionAlgorithm string `json:"encryptionAlgorithm"` Scheme *KeyManagementScheme `json:"scheme,omitempty"` }
type ListOfAUDetails ¶
type ListOfAUDetails struct {
AuUpdateOrAuDelete []string `json:"auUpdateOrAuDelete,omitempty"` //min=0
}
type LogoutRequest ¶
type LogoutRequest struct {
ANetApiRequest `json:"logoutRequest"`
}
type LogoutResponse ¶
type LogoutResponse struct {
ANetApiResponse
}
type MerchantAuthentication ¶
type MerchantAuthentication struct { Name string `json:"name"` // Merchant’s unique API Login ID. TransactionKey string `json:"transactionKey"` // Merchant’s unique Transaction Key. Password string `json:"password,omitempty"` SessionToken string `json:"sessionToken,omitempty"` ImpersonationAuthentication *ImpersonationAuthenticationType `json:"impersonationAuthentication,omitempty"` FingerPrint *FingerPrintType `json:"fingerPrint,omitempty"` ClientKey string `json:"clientKey,omitempty"` AccessToken string `json:"accessToken,omitempty"` MobileDeviceId string `json:"mobileDeviceId,omitempty"` }
type MerchantContact ¶
type MerchantContact struct { MerchantName string `json:"merchantName,omitempty"` MerchantAddress string `json:"merchantAddress,omitempty"` MerchantCity string `json:"merchantCity,omitempty"` MerchantState string `json:"merchantState,omitempty"` MerchantZip string `json:"merchantZip,omitempty"` MerchantPhone string `json:"merchantPhone,omitempty"` }
type MerchantInitTransReasonEnum ¶
type MerchantInitTransReasonEnum uint
const ( ReasonResubmission MerchantInitTransReasonEnum = 1 ReasonDelayedCharg MerchantInitTransReasonEnum = 2 ReasonNoShow MerchantInitTransReasonEnum = 4 )
func (MerchantInitTransReasonEnum) MarshalJSON ¶
func (a MerchantInitTransReasonEnum) MarshalJSON() ([]byte, error)
func (*MerchantInitTransReasonEnum) UnmarshalJSON ¶
func (a *MerchantInitTransReasonEnum) UnmarshalJSON(data []byte) error
type Messages ¶
type Messages struct { ResultCode string `json:"resultCode"` // "Ok" or "Error" Messages []ErrMessage `json:"message"` // min=0 }
type MobileDevice ¶
type MobileDeviceLoginRequest ¶
type MobileDeviceLoginRequest struct {
ANetApiRequest `json:"mobileDeviceLoginRequest"`
}
type MobileDeviceLoginResponse ¶
type MobileDeviceLoginResponse struct { ANetApiResponse MerchantContact *MerchantContact `json:"merchantContact,omitempty"` UserPermissions []Permission `json:"userPermissions,omitempty"` MerchantAccount *TransRetailInfo `json:"merchantAccount,omitempty"` }
type MobileDeviceRegistrationPayload ¶
type MobileDeviceRegistrationPayload struct { ANetApiRequest MobileDevice *MobileDevice `json:"mobileDevice,omitempty"` }
type MobileDeviceRegistrationRequest ¶
type MobileDeviceRegistrationRequest struct {
Payload MobileDeviceRegistrationPayload `json:"mobileDeviceRegistrationRequest"`
}
type MobileDeviceRegistrationResponse ¶
type MobileDeviceRegistrationResponse struct {
ANetApiResponse
}
type NameAndAddress ¶
type NameAndAddress struct { FirstName string `json:"firstName,omitempty"` LastName string `json:"lastName,omitempty"` Company string `json:"company,omitempty"` Address string `json:"address,omitempty"` City string `json:"city,omitempty"` State string `json:"state,omitempty"` Zip string `json:"zip,omitempty"` Country string `json:"country,omitempty"` }
type OpaqueData ¶
type OpaqueData struct { DataDescriptor string `json:"dataDescriptor"` // use "COMMON.VCO.ONLINE.PAYMENT" for Visa checkout transactions DataValue string `json:"dataValue"` // Base64 encoded data that contains encrypted payment data. DataKey string `json:"dataKey,omitempty"` // The encryption key used to encrypt the payment data. ExpirationTimeStamp time.Time `json:"expirationTimeStamp,omitempty"` }
type OperationType ¶
type OperationType uint
const (
OperationTypeDECRYPT OperationType = 1
)
func (OperationType) MarshalJSON ¶
func (a OperationType) MarshalJSON() ([]byte, error)
func (*OperationType) UnmarshalJSON ¶
func (a *OperationType) UnmarshalJSON(data []byte) error
type Order ¶
type Order struct { InvoiceNumber string `json:"invoiceNumber,omitempty"` Description string `json:"description,omitempty"` DiscountAmount float64 `json:"discountAmount,omitempty"` TaxIsAfterDiscount bool `json:"taxIsAfterDiscount,omitempty"` TotalTaxTypeCode string `json:"totalTaxTypeCode,omitempty"` PurchaserVATRegistrationNumber string `json:"purchaserVATRegistrationNumber,omitempty"` MerchantVATRegistrationNumber string `json:"merchantVATRegistrationNumber,omitempty"` VatInvoiceReferenceNumber string `json:"vatInvoiceReferenceNumber,omitempty"` PurchaserCode string `json:"purchaserCode,omitempty"` SummaryCommodityCode string `json:"summaryCommodityCode,omitempty"` PurchaseOrderDateUTC Date `json:"purchaseOrderDateUTC,omitempty"` SupplierOrderReference string `json:"supplierOrderReference,omitempty"` AuthorizedContactName string `json:"authorizedContactName,omitempty"` CardAcceptorRefNumber string `json:"cardAcceptorRefNumber,omitempty"` AmexDataTAA1 string `json:"amexDataTAA1,omitempty"` AmexDataTAA2 string `json:"amexDataTAA2,omitempty"` AmexDataTAA3 string `json:"amexDataTAA3,omitempty"` AmexDataTAA4 string `json:"amexDataTAA4,omitempty"` }
type OtherTax ¶
type OtherTax struct { AlternateTaxId string `json:"alternateTaxId,omitempty"` NationalTaxAmount float64 `json:"nationalTaxAmount,omitempty"` LocalTaxAmount float64 `json:"localTaxAmount,omitempty"` AlternateTaxAmount float64 `json:"alternateTaxAmount,omitempty"` VatTaxRate float64 `json:"vatTaxRate,omitempty"` VatTaxAmount float64 `json:"vatTaxAmount,omitempty"` }
type PayPal ¶
type PayPal struct { SuccessUrl string `json:"successUrl,omitempty"` CancelUrl string `json:"cancelUrl,omitempty"` PaypalLc string `json:"paypalLc,omitempty"` PaypalHdrImg string `json:"paypalHdrImg,omitempty"` PaypalPayFlowColor string `json:"paypalPayflowcolor,omitempty"` PayerID string `json:"payerID,omitempty"` }
type Payment ¶
type Payment struct { CreditCard *CreditCard `json:"creditCard,omitempty"` BankAccount *BankAccount `json:"bankAccount,omitempty"` TrackData *CreditCardTrack `json:"trackData,omitempty"` EncryptedTrackData *EncryptedTrackData `json:"encryptedTrackData,omitempty"` PayPal *PayPal `json:"payPal,omitempty"` OpaqueData *OpaqueData `json:"opaqueData,omitempty"` Emv *PaymentEmv `json:"emv,omitempty"` DataSource string `json:"dataSource,omitempty"` }
type PaymentDetails ¶
type PaymentDetails struct { Currency string `json:"currency,omitempty"` PromoCode string `json:"promoCode,omitempty"` Misc string `json:"misc,omitempty"` GiftWrap string `json:"giftWrap,omitempty"` Discount string `json:"discount,omitempty"` Tax string `json:"tax,omitempty"` ShippingHandling string `json:"shippingHandling,omitempty"` SubTotal string `json:"subTotal,omitempty"` OrderID string `json:"orderID,omitempty"` Amount string `json:"amount,omitempty"` }
type PaymentEmv ¶
type PaymentEmv struct { EmvData interface{} `json:"emvData"` EmvDescriptor interface{} `json:"emvDescriptor"` EmvVersion interface{} `json:"emvVersion"` }
type PaymentMasked ¶
type PaymentMasked struct { CreditCard *CreditCardMasked `json:"creditCard,omitempty"` BankAccount *BankAccountMasked `json:"bankAccount,omitempty"` TokenInformation *TokenMasked `json:"tokenInformation,omitempty"` }
type PaymentMethodEnum ¶
type PaymentMethodEnum uint
const ( CC PaymentMethodEnum = 1 Check PaymentMethodEnum = 2 WebPayPal PaymentMethodEnum = 3 )
func (PaymentMethodEnum) MarshalJSON ¶
func (a PaymentMethodEnum) MarshalJSON() ([]byte, error)
func (*PaymentMethodEnum) UnmarshalJSON ¶
func (a *PaymentMethodEnum) UnmarshalJSON(data []byte) error
type PaymentMethodsTypeEnum ¶
type PaymentMethodsTypeEnum uint
const ( PaymentMethodVisa PaymentMethodsTypeEnum = 1 PaymentMethodMasterCard PaymentMethodsTypeEnum = 2 PaymentMethodAmericanExpress PaymentMethodsTypeEnum = 3 PaymentMethodDiscover PaymentMethodsTypeEnum = 4 PaymentMethodJCB PaymentMethodsTypeEnum = 5 PaymentMethodDinersClub PaymentMethodsTypeEnum = 6 PaymentMethodEnRoute PaymentMethodsTypeEnum = 7 PaymentMethodECheck PaymentMethodsTypeEnum = 8 PaymentMethodPaypal PaymentMethodsTypeEnum = 9 PaymentMethodVisaCheckout PaymentMethodsTypeEnum = 10 PaymentMethodApplePay PaymentMethodsTypeEnum = 11 PaymentMethodAndroidPay PaymentMethodsTypeEnum = 12 )
func (PaymentMethodsTypeEnum) MarshalJSON ¶
func (a PaymentMethodsTypeEnum) MarshalJSON() ([]byte, error)
func (*PaymentMethodsTypeEnum) UnmarshalJSON ¶
func (a *PaymentMethodsTypeEnum) UnmarshalJSON(data []byte) error
type PaymentProfile ¶
type PaymentSchedule ¶
type PaymentSchedule struct { Interval *PaymentScheduleTypeInterval `json:"interval,omitempty"` StartDate DateTime `json:"startDate,omitempty"` TotalOccurrences int `json:"totalOccurrences,omitempty"` TrialOccurrences int `json:"trialOccurrences,omitempty"` }
type PaymentScheduleTypeInterval ¶
type PaymentScheduleTypeInterval struct { Length int `json:"length"` Unit ARBSubscriptionUnitEnum `json:"unit"` }
type PaymentSimple ¶
type PaymentSimple struct { CreditCard struct { CardNumber string `json:"cardNumber"` ExpirationDate string `json:"expirationDate"` } `json:"creditCard"` BankAccount *BankAccount `json:"bankAccount,omitempty"` }
type Permission ¶
type Permission struct {
PermissionName string `json:"permissionName,omitempty"`
}
type PermissionsEnum ¶
type PermissionsEnum uint
const ( PermissionAPIMerchantBasicReporting PermissionsEnum = 1 PermissionSubmitCharge PermissionsEnum = 2 PermissionSubmitRefund PermissionsEnum = 3 PermissionSubmitUpdate PermissionsEnum = 4 PermissionMobileAdmin PermissionsEnum = 5 )
func (PermissionsEnum) MarshalJSON ¶
func (a PermissionsEnum) MarshalJSON() ([]byte, error)
func (*PermissionsEnum) UnmarshalJSON ¶
func (a *PermissionsEnum) UnmarshalJSON(data []byte) error
type ProcessingOptions ¶
type ProfileTransAmount ¶
type ProfileTransAmount struct { Amount float64 `json:"amount"` Tax *ExtendedAmount `json:"tax,omitempty"` Shipping *ExtendedAmount `json:"shipping,omitempty"` Duty *ExtendedAmount `json:"duty,omitempty"` LineItems []Item `json:"lineItems,omitempty"` //min=0 max=30 }
type ProfileTransAuthOnly ¶
type ProfileTransAuthOnly struct {
ProfileTransOrder
}
type ProfileTransCaptureOnly ¶
type ProfileTransCaptureOnly struct { ProfileTransOrder ApprovalCode string `json:"approvalCode"` }
type ProfileTransOrder ¶
type ProfileTransOrder struct { ProfileTransAmount CustomerProfileId string `json:"customerProfileId"` CustomerPaymentProfileId string `json:"customerPaymentProfileId"` CustomerShippingAddressId string `json:"customerShippingAddressId,omitempty"` Order *OrderEx `json:"order,omitempty"` TaxExempt bool `json:"taxExempt,omitempty"` RecurringBilling bool `json:"recurringBilling,omitempty"` CardCode string `json:"cardCode,omitempty"` SplitTenderId string `json:"splitTenderId,omitempty"` ProcessingOptions *ProcessingOptions `json:"processingOptions,omitempty"` SubsequentAuthInformation *SubsequentAuthInformation `json:"subsequentAuthInformation,omitempty"` }
type ProfileTransPriorAuthCapture ¶
type ProfileTransPriorAuthCapture struct { ProfileTransAmount CustomerProfileId string `json:"customerProfileId,omitempty"` CustomerPaymentProfileId string `json:"customerPaymentProfileId,omitempty"` CustomerShippingAddressId string `json:"customerShippingAddressId,omitempty"` TransId string `json:"transId"` }
type ProfileTransRefund ¶
type ProfileTransRefund struct { ProfileTransAmount CustomerProfileId string `json:"customerProfileId,omitempty"` CustomerPaymentProfileId string `json:"customerPaymentProfileId,omitempty"` CustomerShippingAddressId string `json:"customerShippingAddressId,omitempty"` CreditCardNumberMasked string `json:"creditCardNumberMasked,omitempty"` BankRoutingNumberMasked string `json:"bankRoutingNumberMasked,omitempty"` BankAccountNumberMasked string `json:"bankAccountNumberMasked,omitempty"` Order *OrderEx `json:"order,omitempty"` TransId string `json:"transId,omitempty"` }
type ProfileTransVoid ¶
type ProfileTransaction ¶
type ProfileTransaction struct { ProfileTransAuthCapture *ProfileTransOrder `json:"profileTransAuthCapture,omitempty"` ProfileTransAuthOnly *ProfileTransAuthOnly `json:"profileTransAuthOnly,omitempty"` ProfileTransPriorAuthCapture *ProfileTransPriorAuthCapture `json:"profileTransPriorAuthCapture,omitempty"` ProfileTransCaptureOnly *ProfileTransCaptureOnly `json:"profileTransCaptureOnly,omitempty"` ProfileTransRefund *ProfileTransRefund `json:"profileTransRefund,omitempty"` ProfileTransVoid *ProfileTransVoid `json:"profileTransVoid,omitempty"` }
type ReturnedItem ¶
type ReturnedItem struct { ErrMessage Id string `json:"id"` DateUTC DateTimeZ `json:"dateUTC"` DateLocal DateTime `json:"dateLocal"` }
type SecureAcceptance ¶
type SecurePaymentContainerPayload ¶
type SecurePaymentContainerPayload struct { ANetApiRequest Data *WebCheckOutData `json:"data,omitempty"` }
type SecurePaymentContainerRequest ¶
type SecurePaymentContainerRequest struct {
Payload SecurePaymentContainerPayload `json:"securePaymentContainerRequest"`
}
type SecurePaymentContainerResponse ¶
type SecurePaymentContainerResponse struct { ANetApiResponse OpaqueData OpaqueData `json:"opaqueData"` }
type SendCustomerTransactionReceiptPayload ¶
type SendCustomerTransactionReceiptPayload struct { ANetApiRequest TransId string `json:"transId"` CustomerEmail string `json:"customerEmail"` EmailSettings *EmailSettings `json:"emailSettings,omitempty"` }
type SendCustomerTransactionReceiptRequest ¶
type SendCustomerTransactionReceiptRequest struct {
Payload SendCustomerTransactionReceiptPayload `json:"sendCustomerTransactionReceiptRequest"`
}
type SendCustomerTransactionReceiptResponse ¶
type SendCustomerTransactionReceiptResponse struct {
ANetApiResponse
}
type SettingNameEnum ¶
type SettingNameEnum uint
const ( SettingEmailCustomer SettingNameEnum = 1 SettingMerchantEmail SettingNameEnum = 2 SettingAllowPartialAuth SettingNameEnum = 3 SettingHeaderEmailReceipt SettingNameEnum = 4 SettingRecurringBilling SettingNameEnum = 6 SettingDuplicateWindow SettingNameEnum = 7 SettingTestRequest SettingNameEnum = 8 SettingHostedProfileReturnUrl SettingNameEnum = 9 SettingHostedProfileReturnUrlText SettingNameEnum = 10 SettingHostedProfilePageBorderVisible SettingNameEnum = 11 SettingHostedProfileIFrameCommunicatorUrl SettingNameEnum = 12 SettingHostedProfileHeadingBgColor SettingNameEnum = 13 SettingHostedProfileValidationMode SettingNameEnum = 14 SettingHostedProfileBillingAddressRequired SettingNameEnum = 15 SettingHostedProfileCardCodeRequired SettingNameEnum = 16 SettingHostedProfileBillingAddressOptions SettingNameEnum = 17 SettingHostedProfileManageOptions SettingNameEnum = 18 SettingHostedPaymentIFrameCommunicatorUrl SettingNameEnum = 19 SettingHostedPaymentButtonOptions SettingNameEnum = 20 SettingHostedPaymentReturnOptions SettingNameEnum = 21 SettingHostedPaymentOrderOptions SettingNameEnum = 22 SettingHostedPaymentPaymentOptions SettingNameEnum = 23 SettingHostedPaymentBillingAddressOptions SettingNameEnum = 24 SettingHostedPaymentShippingAddressOptions SettingNameEnum = 25 SettingHostedPaymentSecurityOptions SettingNameEnum = 26 SettingHostedPaymentCustomerOptions SettingNameEnum = 27 SettingHostedPaymentStyleOptions SettingNameEnum = 28 SettingTypeEmailReceipt SettingNameEnum = 29 SettingHostedProfilePaymentOptions SettingNameEnum = 30 SettingHostedProfileSaveButtonText SettingNameEnum = 31 )
func (SettingNameEnum) MarshalJSON ¶
func (a SettingNameEnum) MarshalJSON() ([]byte, error)
func (*SettingNameEnum) UnmarshalJSON ¶
func (a *SettingNameEnum) UnmarshalJSON(data []byte) error
type SettlementStateEnum ¶
type SettlementStateEnum uint
const ( StateSettledSuccessfully SettlementStateEnum = 1 StateSettlementError SettlementStateEnum = 2 StatePendingSettlement SettlementStateEnum = 3 )
func (SettlementStateEnum) MarshalJSON ¶
func (a SettlementStateEnum) MarshalJSON() ([]byte, error)
func (*SettlementStateEnum) UnmarshalJSON ¶
func (a *SettlementStateEnum) UnmarshalJSON(data []byte) error
type SplitTenderPayment ¶
type SplitTenderPayment struct { TransId string `json:"transId,omitempty"` ResponseCode string `json:"responseCode,omitempty"` ResponseToCustomer string `json:"responseToCustomer,omitempty"` AuthCode string `json:"authCode,omitempty"` AccountNumber string `json:"accountNumber,omitempty"` AccountType AccountTypeEnum `json:"accountType,omitempty"` RequestedAmount string `json:"requestedAmount,omitempty"` ApprovedAmount string `json:"approvedAmount,omitempty"` BalanceOnCard string `json:"balanceOnCard,omitempty"` }
type SplitTenderStatusEnum ¶
type SplitTenderStatusEnum uint
const ( SplitTenderCompleted SplitTenderStatusEnum = 1 SplitTenderHeld SplitTenderStatusEnum = 2 SplitTenderVoided SplitTenderStatusEnum = 3 )
func (SplitTenderStatusEnum) MarshalJSON ¶
func (a SplitTenderStatusEnum) MarshalJSON() ([]byte, error)
func (*SplitTenderStatusEnum) UnmarshalJSON ¶
func (a *SplitTenderStatusEnum) UnmarshalJSON(data []byte) error
type SubMerchant ¶
type SubMerchant struct { Identifier string `json:"identifier"` DoingBusinessAs string `json:"doingBusinessAs,omitempty"` PaymentServiceProviderName string `json:"paymentServiceProviderName,omitempty"` PaymentServiceFacilitator string `json:"paymentServiceFacilitator,omitempty"` StreetAddress string `json:"streetAddress,omitempty"` Phone string `json:"phone,omitempty"` Email string `json:"email,omitempty"` PostalCode string `json:"postalCode,omitempty"` City string `json:"city,omitempty"` RegionCode string `json:"regionCode,omitempty"` CountryCode string `json:"countryCode,omitempty"` }
type SubscriptionCustomerProfile ¶
type SubscriptionCustomerProfile struct { CustomerProfileEx PaymentProfile *CustomerPaymentProfileMasked `json:"paymentProfile,omitempty"` ShippingProfile *CustomerAddressEx `json:"shippingProfile,omitempty"` }
type SubscriptionDetail ¶
type SubscriptionDetail struct { Id int `json:"id"` Name string `json:"name,omitempty"` Status string `json:"status"` CreateTimeStampUTC DateTimeNano `json:"createTimeStampUTC"` FirstName string `json:"firstName,omitempty"` LastName string `json:"lastName,omitempty"` TotalOccurrences int `json:"totalOccurrences"` PastOccurrences int `json:"pastOccurrences"` PaymentMethod string `json:"paymentMethod"` AccountNumber string `json:"accountNumber,omitempty"` Invoice string `json:"invoice,omitempty"` Amount float64 `json:"amount"` CurrencyCode string `json:"currencyCode,omitempty"` CustomerProfileId int `json:"customerProfileId"` CustomerPaymentProfileId int `json:"customerPaymentProfileId"` CustomerShippingProfileId int `json:"customerShippingProfileId,omitempty"` }
type SubscriptionPayment ¶
type TokenMasked ¶
type TransRetailInfo ¶
type Transaction ¶
type Transaction struct { TransactionType TransactionTypeEnum `json:"transactionType"` Amount float64 `json:"amount,omitempty"` CurrencyCode string `json:"currencyCode,omitempty"` Payment *Payment `json:"payment,omitempty"` Profile *CustomerProfilePayment `json:"profile,omitempty"` Solution *Solution `json:"solution,omitempty"` CallId string `json:"callId,omitempty"` TerminalNumber string `json:"terminalNumber,omitempty"` AuthCode string `json:"authCode,omitempty"` RefTransId string `json:"refTransId,omitempty"` SplitTenderId string `json:"splitTenderId,omitempty"` Order *Order `json:"order,omitempty"` LineItems []Item `json:"lineItems,omitempty"` //min=0 Tax *ExtendedAmount `json:"tax,omitempty"` Duty *ExtendedAmount `json:"duty,omitempty"` Shipping *ExtendedAmount `json:"shipping,omitempty"` Surcharge *ExtendedAmount `json:"surcharge,omitempty"` Tip *ExtendedAmount `json:"tip,omitempty"` TaxExempt bool `json:"taxExempt,omitempty"` PoNumber string `json:"poNumber,omitempty"` Customer *CustomerData `json:"customer,omitempty"` BillTo *CustomerAddress `json:"billTo,omitempty"` ShipTo *NameAndAddress `json:"shipTo,omitempty"` CustomerIP string `json:"customerIP,omitempty"` CardholderAuthentication *CCAuthentication `json:"cardholderAuthentication,omitempty"` Retail *TransRetailInfo `json:"retail,omitempty"` EmployeeId string `json:"employeeId,omitempty"` TransactionSettings []Setting `json:"transactionSettings,omitempty"` //min=0 UserFields *UserFields `json:"userFields,omitempty"` MerchantDescriptor string `json:"merchantDescriptor,omitempty"` SubMerchant *SubMerchant `json:"subMerchant,omitempty"` ProcessingOptions *ProcessingOptions `json:"processingOptions,omitempty"` SubsequentAuthInformation *SubsequentAuthInformation `json:"subsequentAuthInformation,omitempty"` OtherTax *OtherTax `json:"otherTax,omitempty"` ShipFrom *NameAndAddress `json:"shipFrom,omitempty"` }
type TransactionDetails ¶
type TransactionDetails struct { TransId string `json:"transId"` RefTransId string `json:"refTransId,omitempty"` SplitTenderId string `json:"splitTenderId,omitempty"` SubmitTimeUTC DateTimeZ `json:"submitTimeUTC"` SubmitTimeLocal DateTime `json:"submitTimeLocal"` TransactionType string `json:"transactionType"` TransactionStatus string `json:"transactionStatus"` ResponseCode int `json:"responseCode"` ResponseReasonCode int `json:"responseReasonCode"` Subscription *SubscriptionPayment `json:"subscription,omitempty"` ResponseReasonDescription string `json:"responseReasonDescription"` AuthCode string `json:"authCode,omitempty"` AvsResponse string `json:"avsResponse,omitempty"` CardCodeResponse string `json:"cardCodeResponse,omitempty"` CavvResponse string `json:"cavvResponse,omitempty"` FdsFilterAction string `json:"fdsFilterAction,omitempty"` FdsFilters []FDSFilter `json:"fdsFilters,omitempty"` Batch *BatchDetails `json:"batch,omitempty"` Order *OrderEx `json:"order,omitempty"` RequestedAmount float64 `json:"requestedAmount,omitempty"` AuthAmount float64 `json:"authAmount"` SettleAmount float64 `json:"settleAmount"` Tax *ExtendedAmount `json:"tax,omitempty"` Shipping *ExtendedAmount `json:"shipping,omitempty"` Duty *ExtendedAmount `json:"duty,omitempty"` LineItems []Item `json:"lineItems,omitempty"` PrepaidBalanceRemaining float64 `json:"prepaidBalanceRemaining,omitempty"` TaxExempt bool `json:"taxExempt,omitempty"` Payment *PaymentMasked `json:"payment,omitempty"` Customer *CustomerData `json:"customer,omitempty"` BillTo *CustomerAddress `json:"billTo,omitempty"` ShipTo *NameAndAddress `json:"shipTo,omitempty"` RecurringBilling bool `json:"recurringBilling,omitempty"` CustomerIP string `json:"customerIP,omitempty"` Product string `json:"product,omitempty"` EntryMode string `json:"entryMode,omitempty"` MarketType string `json:"marketType,omitempty"` MobileDeviceId string `json:"mobileDeviceId,omitempty"` CustomerSignature string `json:"customerSignature,omitempty"` ReturnedItems []ReturnedItem `json:"returnedItems,omitempty"` Solution *Solution `json:"solution,omitempty"` EmvDetails *TransactionDetailsTypeEmvDetails `json:"emvDetails,omitempty"` Profile *CustomerProfileId `json:"profile,omitempty"` Surcharge *ExtendedAmount `json:"surcharge,omitempty"` EmployeeId string `json:"employeeId,omitempty"` Tip *ExtendedAmount `json:"tip,omitempty"` OtherTax *OtherTax `json:"otherTax,omitempty"` ShipFrom *NameAndAddress `json:"shipFrom,omitempty"` }
type TransactionDetailsTypeEmvDetails ¶
type TransactionDetailsTypeEmvDetails struct {
Tag []TransactionDetailsTypeEmvDetailsTag `json:"tag"` //min=0
}
type TransactionGroupStatusEnum ¶
type TransactionGroupStatusEnum uint
const ( TransactionGroupAny TransactionGroupStatusEnum = 1 TransactionGroupPendingApproval TransactionGroupStatusEnum = 2 )
func (TransactionGroupStatusEnum) MarshalJSON ¶
func (a TransactionGroupStatusEnum) MarshalJSON() ([]byte, error)
func (*TransactionGroupStatusEnum) UnmarshalJSON ¶
func (a *TransactionGroupStatusEnum) UnmarshalJSON(data []byte) error
type TransactionListOrderFieldEnum ¶
type TransactionListOrderFieldEnum uint
const ( TransactionListFieldID TransactionListOrderFieldEnum = 1 TransactionListSubmitTimeUTC TransactionListOrderFieldEnum = 2 )
func (TransactionListOrderFieldEnum) MarshalJSON ¶
func (a TransactionListOrderFieldEnum) MarshalJSON() ([]byte, error)
func (*TransactionListOrderFieldEnum) UnmarshalJSON ¶
func (a *TransactionListOrderFieldEnum) UnmarshalJSON(data []byte) error
type TransactionRequest ¶
type TransactionRequest struct { MerchantAuthentication MerchantAuthentication `json:"merchantAuthentication"` Transaction Transaction `json:"transactionRequest"` }
type TransactionResponse ¶
type TransactionResponse struct { ResponseCode string `json:"responseCode,omitempty"` RawResponseCode string `json:"rawResponseCode,omitempty"` AuthCode string `json:"authCode,omitempty"` AvsResultCode string `json:"avsResultCode,omitempty"` CvvResultCode string `json:"cvvResultCode,omitempty"` CavvResultCode string `json:"cavvResultCode,omitempty"` TransId string `json:"transId,omitempty"` RefTransID string `json:"refTransID,omitempty"` TransHash string `json:"transHash,omitempty"` TestRequest string `json:"testRequest,omitempty"` AccountNumber string `json:"accountNumber,omitempty"` EntryMode string `json:"entryMode,omitempty"` AccountType AccountTypeEnum `json:"accountType,omitempty"` SplitTenderId string `json:"splitTenderId,omitempty"` PrePaidCard *TransactionResponsePrePaidCard `json:"prePaidCard,omitempty"` Messages []ErrMessage `json:"messages,omitempty"` Errors []Error `json:"errors,omitempty"` //min=0 SplitTenderPayments []SplitTenderPayment `json:"splitTenderPayments,omitempty"` UserFields []UserField `json:"userFields,omitempty"` ShipTo *NameAndAddress `json:"shipTo,omitempty"` SecureAcceptance *SecureAcceptance `json:"secureAcceptance,omitempty"` EmvResponse *EmvResponse `json:"emvResponse,omitempty"` TransHashSha2 string `json:"transHashSha2,omitempty"` Profile *CustomerProfileId `json:"profile,omitempty"` NetworkTransId string `json:"networkTransId,omitempty"` }
type TransactionResponsePrePaidCard ¶
type TransactionResponsePrePaidCard struct { RequestedAmount string `json:"requestedAmount,omitempty"` ApprovedAmount string `json:"approvedAmount,omitempty"` BalanceOnCard string `json:"balanceOnCard,omitempty"` }
-- response --
type TransactionStatusEnum ¶
type TransactionStatusEnum uint
const ( TransactionAuthorizedPendingCapture TransactionStatusEnum = 1 TransactionCapturedPendingSettlement TransactionStatusEnum = 2 TransactionCommunicationError TransactionStatusEnum = 3 TransactionRefundSettledSuccessfully TransactionStatusEnum = 4 TransactionRefundPendingSettlement TransactionStatusEnum = 5 TransactionApprovedReview TransactionStatusEnum = 6 TransactionDeclined TransactionStatusEnum = 7 TransactionCouldNotVoid TransactionStatusEnum = 8 TransactionExpired TransactionStatusEnum = 9 TransactionGeneralError TransactionStatusEnum = 10 TransactionPendingFinalSettlement TransactionStatusEnum = 11 TransactionPendingSettlement TransactionStatusEnum = 12 TransactionFailedReview TransactionStatusEnum = 13 TransactionSettledSuccessfully TransactionStatusEnum = 14 TransactionSettlementError TransactionStatusEnum = 15 TransactionUnderReview TransactionStatusEnum = 16 TransactionUpdatingSettlement TransactionStatusEnum = 17 TransactionVoided TransactionStatusEnum = 18 TransactionFDSPendingReview TransactionStatusEnum = 19 TransactionFDSAuthorizedPendingReview TransactionStatusEnum = 20 TransactionReturnedItem TransactionStatusEnum = 21 TransactionChargeback TransactionStatusEnum = 22 TransactionChargebackReversal TransactionStatusEnum = 23 TransactionAuthorizedPendingRelease TransactionStatusEnum = 24 )
func (TransactionStatusEnum) MarshalJSON ¶
func (a TransactionStatusEnum) MarshalJSON() ([]byte, error)
func (*TransactionStatusEnum) UnmarshalJSON ¶
func (a *TransactionStatusEnum) UnmarshalJSON(data []byte) error
type TransactionSummary ¶
type TransactionSummary struct { TransId string `json:"transId"` SubmitTimeUTC DateTimeZ `json:"submitTimeUTC"` SubmitTimeLocal DateTime `json:"submitTimeLocal"` TransactionStatus string `json:"transactionStatus"` InvoiceNumber string `json:"invoiceNumber,omitempty"` FirstName string `json:"firstName,omitempty"` LastName string `json:"lastName,omitempty"` AccountType string `json:"accountType"` AccountNumber string `json:"accountNumber"` SettleAmount float64 `json:"settleAmount"` MarketType string `json:"marketType,omitempty"` Product string `json:"product,omitempty"` MobileDeviceId string `json:"mobileDeviceId,omitempty"` Subscription *SubscriptionPayment `json:"subscription,omitempty"` HasReturnedItems bool `json:"hasReturnedItems,omitempty"` FraudInformation *FraudInformation `json:"fraudInformation,omitempty"` Profile *CustomerProfileId `json:"profile,omitempty"` }
type TransactionTypeEnum ¶
type TransactionTypeEnum uint
const ( AuthOnlyTransaction TransactionTypeEnum = 1 AuthCaptureTransaction TransactionTypeEnum = 2 CaptureOnlyTransaction TransactionTypeEnum = 3 RefundTransaction TransactionTypeEnum = 4 PriorAuthCaptureTransaction TransactionTypeEnum = 5 VoidTransaction TransactionTypeEnum = 6 GetDetailsTransaction TransactionTypeEnum = 7 AuthOnlyContinueTransaction TransactionTypeEnum = 8 AuthCaptureContinueTransaction TransactionTypeEnum = 9 )
func (TransactionTypeEnum) MarshalJSON ¶
func (t TransactionTypeEnum) MarshalJSON() ([]byte, error)
func (*TransactionTypeEnum) UnmarshalJSON ¶
func (t *TransactionTypeEnum) UnmarshalJSON(data []byte) error
type UpdateCustomerPaymentProfilePayload ¶
type UpdateCustomerPaymentProfilePayload struct { ANetApiRequest CustomerProfileId string `json:"customerProfileId"` PaymentProfile *CustomerPaymentProfileEx `json:"paymentProfile,omitempty"` ValidationMode ValidationModeEnum `json:"validationMode"` }
type UpdateCustomerPaymentProfileRequest ¶
type UpdateCustomerPaymentProfileRequest struct {
Payload UpdateCustomerPaymentProfilePayload `json:"updateCustomerPaymentProfileRequest"`
}
type UpdateCustomerPaymentProfileResponse ¶
type UpdateCustomerPaymentProfileResponse struct { ANetApiResponse ValidationDirectResponse string `json:"validationDirectResponse,omitempty"` }
type UpdateCustomerProfilePayload ¶
type UpdateCustomerProfilePayload struct { ANetApiRequest Profile *CustomerProfileInfoEx `json:"profile,omitempty"` }
type UpdateCustomerProfileRequest ¶
type UpdateCustomerProfileRequest struct {
Payload UpdateCustomerProfilePayload `json:"updateCustomerProfileRequest"`
}
type UpdateCustomerProfileResponse ¶
type UpdateCustomerProfileResponse struct {
ANetApiResponse
}
type UpdateCustomerShippingAddressPayload ¶
type UpdateCustomerShippingAddressPayload struct { ANetApiRequest CustomerProfileId string `json:"customerProfileId"` Address *CustomerAddressEx `json:"address,omitempty"` DefaultShippingAddress bool `json:"defaultShippingAddress,omitempty"` }
type UpdateCustomerShippingAddressRequest ¶
type UpdateCustomerShippingAddressRequest struct {
Payload UpdateCustomerShippingAddressPayload `json:"updateCustomerShippingAddressRequest"`
}
type UpdateCustomerShippingAddressResponse ¶
type UpdateCustomerShippingAddressResponse struct {
ANetApiResponse
}
type UpdateHeldTransactionPayload ¶
type UpdateHeldTransactionPayload struct { ANetApiRequest HeldTransactionRequest *HeldTransactionRequest `json:"heldTransactionRequest,omitempty"` }
type UpdateHeldTransactionRequest ¶
type UpdateHeldTransactionRequest struct {
Payload UpdateHeldTransactionPayload `json:"updateHeldTransactionRequest"`
}
type UpdateHeldTransactionResponse ¶
type UpdateHeldTransactionResponse struct { ANetApiResponse TransactionResponse *TransactionResponse `json:"transactionResponse,omitempty"` }
type UpdateMerchantDetailsPayload ¶
type UpdateMerchantDetailsPayload struct { ANetApiRequest IsTestMode bool `json:"isTestMode"` }
type UpdateMerchantDetailsRequest ¶
type UpdateMerchantDetailsRequest struct {
Payload UpdateMerchantDetailsPayload `json:"updateMerchantDetailsRequest"`
}
-- request --
type UpdateMerchantDetailsResponse ¶
type UpdateMerchantDetailsResponse struct {
ANetApiResponse
}
type UpdateSplitTenderGroupPayload ¶
type UpdateSplitTenderGroupPayload struct { ANetApiRequest SplitTenderId string `json:"splitTenderId"` SplitTenderStatus string `json:"splitTenderStatus"` }
type UpdateSplitTenderGroupRequest ¶
type UpdateSplitTenderGroupRequest struct {
Payload UpdateSplitTenderGroupPayload `json:"updateSplitTenderGroupRequest"`
}
type UpdateSplitTenderGroupResponse ¶
type UpdateSplitTenderGroupResponse struct {
ANetApiResponse
}
type UserFields ¶
type UserFields struct {
UserField []UserField `json:"userField,omitempty"` //min=0 max=20
}
type ValidateCustomerPaymentProfilePayload ¶
type ValidateCustomerPaymentProfilePayload struct { ANetApiRequest CustomerProfileId string `json:"customerProfileId"` CustomerPaymentProfileId string `json:"customerPaymentProfileId"` CustomerShippingAddressId string `json:"customerShippingAddressId,omitempty"` CardCode string `json:"cardCode,omitempty"` ValidationMode ValidationModeEnum `json:"validationMode"` }
type ValidateCustomerPaymentProfileRequest ¶
type ValidateCustomerPaymentProfileRequest struct {
Payload ValidateCustomerPaymentProfilePayload `json:"validateCustomerPaymentProfileRequest"`
}
type ValidateCustomerPaymentProfileResponse ¶
type ValidateCustomerPaymentProfileResponse struct { ANetApiResponse DirectResponse string `json:"directResponse,omitempty"` }
type ValidationModeEnum ¶
type ValidationModeEnum uint
const ( ValidationModeNone ValidationModeEnum = 1 ValidationModeTestMode ValidationModeEnum = 2 ValidationModeLiveMode ValidationModeEnum = 3 ValidationModeOldLiveMode ValidationModeEnum = 4 )
func (ValidationModeEnum) MarshalJSON ¶
func (a ValidationModeEnum) MarshalJSON() ([]byte, error)
func (*ValidationModeEnum) UnmarshalJSON ¶
func (a *ValidationModeEnum) UnmarshalJSON(data []byte) error
type WebCheckOutData ¶
type WebCheckOutData struct { Type string `json:"type"` Id string `json:"id"` Token *WebCheckOutDataTypeToken `json:"token,omitempty"` BankToken *BankAccount `json:"bankToken,omitempty"` }
type WebCheckOutTypeEnum ¶
type WebCheckOutTypeEnum uint
const ( WebCheckOutTypeEnumPAN WebCheckOutTypeEnum = 1 WebCheckOutTypeEnumTOKEN WebCheckOutTypeEnum = 2 )
func (WebCheckOutTypeEnum) MarshalJSON ¶
func (a WebCheckOutTypeEnum) MarshalJSON() ([]byte, error)
func (*WebCheckOutTypeEnum) UnmarshalJSON ¶
func (a *WebCheckOutTypeEnum) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.