Versions in this module Expand all Collapse all v4 v4.0.0 Nov 30, 2020 Changes in this version + type AccountInfo struct + AccountAgeIndicator string + AccountChangeDate *time.Time + AccountChangeIndicator string + AccountCreationDate *time.Time + AccountType string + AddCardAttemptsDay int32 + DeliveryAddressUsageDate *time.Time + DeliveryAddressUsageIndicator string + HomePhone string + MobilePhone string + PasswordChangeDate *time.Time + PasswordChangeIndicator string + PastTransactionsDay int32 + PastTransactionsYear int32 + PaymentAccountAge *time.Time + PaymentAccountIndicator string + PurchasesLast6Months int32 + SuspiciousActivity bool + WorkPhone string + type AdditionalData3DSecure struct + Allow3DS2 string + ExecuteThreeD string + MpiImplementationType string + ScaExemption string + ThreeDSVersion string + type AdditionalDataAirline struct + AirlineAgencyInvoiceNumber string + AirlineAgencyPlanName string + AirlineAirlineCode string + AirlineAirlineDesignatorCode string + AirlineBoardingFee string + AirlineComputerizedReservationSystem string + AirlineCustomerReferenceNumber string + AirlineDocumentType string + AirlineFlightDate string + AirlineLegCarrierCode string + AirlineLegClassOfTravel string + AirlineLegDateOfTravel string + AirlineLegDepartAirport string + AirlineLegDepartTax string + AirlineLegDestinationCode string + AirlineLegFareBaseCode string + AirlineLegFlightNumber string + AirlineLegStopOverCode string + AirlinePassengerDateOfBirth string + AirlinePassengerFirstName string + AirlinePassengerLastName string + AirlinePassengerName string + AirlinePassengerTelephoneNumber string + AirlinePassengerTravellerType string + AirlineTicketIssueAddress string + AirlineTicketNumber string + AirlineTravelAgencyCode string + AirlineTravelAgencyName string + type AdditionalDataCarRental struct + CarRentalCheckOutDate string + CarRentalCustomerServiceTollFreeNumber string + CarRentalDaysRented string + CarRentalFuelCharges string + CarRentalInsuranceCharges string + CarRentalLocationCity string + CarRentalLocationCountry string + CarRentalLocationStateProvince string + CarRentalNoShowIndicator string + CarRentalOneWayDropOffCharges string + CarRentalRate string + CarRentalRateIndicator string + CarRentalRentalAgreementNumber string + CarRentalRentalClassId string + CarRentalRenterName string + CarRentalReturnCity string + CarRentalReturnCountry string + CarRentalReturnDate string + CarRentalReturnLocationId string + CarRentalReturnStateProvince string + CarRentalTaxExemptIndicator string + TravelEntertainmentAuthDataDuration string + TravelEntertainmentAuthDataMarket string + type AdditionalDataCommon struct + AuthorisationType string + CustomRoutingFlag string + IndustryUsage string + NetworkTxReference string + OverwriteBrand string + RequestedTestErrorResponseCode string + SubMerchantCity string + SubMerchantCountry string + SubMerchantID string + SubMerchantName string + SubMerchantPostalCode string + SubMerchantState string + SubMerchantStreet string + SubMerchantTaxId string + type AdditionalDataLevel23 struct + EnhancedSchemeDataCustomerReference string + EnhancedSchemeDataDestinationCountryCode string + EnhancedSchemeDataDestinationPostalCode string + EnhancedSchemeDataDestinationStateProvinceCode string + EnhancedSchemeDataDutyAmount string + EnhancedSchemeDataFreightAmount string + EnhancedSchemeDataItemDetailLineItemNrCommodityCode string + EnhancedSchemeDataItemDetailLineItemNrDescription string + EnhancedSchemeDataItemDetailLineItemNrDiscountAmount string + EnhancedSchemeDataItemDetailLineItemNrProductCode string + EnhancedSchemeDataItemDetailLineItemNrQuantity string + EnhancedSchemeDataItemDetailLineItemNrTotalAmount string + EnhancedSchemeDataItemDetailLineItemNrUnitOfMeasure string + EnhancedSchemeDataItemDetailLineItemNrUnitPrice string + EnhancedSchemeDataOrderDate string + EnhancedSchemeDataShipFromPostalCode string + EnhancedSchemeDataTotalTaxAmount string + type AdditionalDataLodging struct + LodgingCheckInDate string + LodgingCheckOutDate string + LodgingCustomerServiceTollFreeNumber string + LodgingFireSafetyActIndicator string + LodgingFolioCashAdvances string + LodgingFolioNumber string + LodgingFoodBeverageCharges string + LodgingNoShowIndicator string + LodgingPrepaidExpenses string + LodgingPropertyPhoneNumber string + LodgingRoom1NumberOfNights string + LodgingRoom1Rate string + LodgingRoom1Tax string + LodgingTotalRoomTax string + LodgingTotalTax string + TravelEntertainmentAuthDataDuration string + TravelEntertainmentAuthDataMarket string + type AdditionalDataModifications struct + InstallmentPaymentDataSelectedInstallmentOption string + type AdditionalDataOpenInvoice struct + OpeninvoicedataLineItemNrCurrencyCode string + OpeninvoicedataLineItemNrDescription string + OpeninvoicedataLineItemNrItemAmount string + OpeninvoicedataLineItemNrItemId string + OpeninvoicedataLineItemNrItemVatAmount string + OpeninvoicedataLineItemNrItemVatPercentage string + OpeninvoicedataLineItemNrNumberOfItems string + OpeninvoicedataLineItemNrVatCategory string + OpeninvoicedataMerchantData string + OpeninvoicedataNumberOfLines string + type AdditionalDataOpi struct + OpiIncludeTransToken string + type AdditionalDataRatepay struct + RatepayInstallmentAmount string + RatepayInterestRate string + RatepayLastInstallmentAmount string + RatepayPaymentFirstday string + RatepaydataDeliveryDate string + RatepaydataDueDate string + RatepaydataInvoiceDate string + RatepaydataInvoiceId string + type AdditionalDataRetry struct + RetryChainAttemptNumber string + RetryOrderAttemptNumber string + RetrySkipRetry string + type AdditionalDataRisk struct + RiskdataBasketItemItemNrAmountPerItem string + RiskdataBasketItemItemNrBrand string + RiskdataBasketItemItemNrCategory string + RiskdataBasketItemItemNrColor string + RiskdataBasketItemItemNrCurrency string + RiskdataBasketItemItemNrItemID string + RiskdataBasketItemItemNrManufacturer string + RiskdataBasketItemItemNrProductTitle string + RiskdataBasketItemItemNrQuantity string + RiskdataBasketItemItemNrReceiverEmail string + RiskdataBasketItemItemNrSize string + RiskdataBasketItemItemNrSku string + RiskdataBasketItemItemNrUpc string + RiskdataCustomFieldName string + RiskdataPromotionsPromotionItemNrPromotionCode string + RiskdataPromotionsPromotionItemNrPromotionDiscountAmount string + RiskdataPromotionsPromotionItemNrPromotionDiscountCurrency string + RiskdataPromotionsPromotionItemNrPromotionDiscountPercentage string + RiskdataPromotionsPromotionItemNrPromotionName string + type AdditionalDataRiskStandalone struct + AvsResultRaw string + Bin string + CvcResultRaw string + PayPalCountryCode string + PayPalEmailId string + PayPalFirstName string + PayPalLastName string + PayPalPayerId string + PayPalPhone string + PayPalProtectionEligibility string + PayPalTransactionId string + RiskToken string + ThreeDAuthenticated string + ThreeDOffered string + TokenDataType string + type AdditionalDataTemporaryServices struct + EnhancedSchemeDataCustomerReference string + EnhancedSchemeDataEmployeeName string + EnhancedSchemeDataJobDescription string + EnhancedSchemeDataRegularHoursRate string + EnhancedSchemeDataRegularHoursWorked string + EnhancedSchemeDataRequestName string + EnhancedSchemeDataTempStartDate string + EnhancedSchemeDataTempWeekEnding string + EnhancedSchemeDataTotalTaxAmount string + type AdditionalDataWallets struct + AndroidpayToken string + MasterpassTransactionId string + PaymentToken string + PaywithgoogleToken string + SamsungpayToken string + VisacheckoutCallId string + type Address struct + City string + Country string + HouseNumberOrName string + PostalCode string + StateOrProvince string + Street string + type Amount struct + Currency string + Value int64 + type ApplicationInfo struct + AdyenLibrary *CommonField + AdyenPaymentSource *CommonField + ExternalPlatform *ExternalPlatform + MerchantApplication *CommonField + MerchantDevice *MerchantDevice + ShopperInteractionDevice *ShopperInteractionDevice + type AuthenticationResultRequest struct + MerchantAccount string + PspReference string + type AuthenticationResultResponse struct + ThreeDS1Result *ThreeDS1Result + ThreeDS2Result *ThreeDS2Result + type BankAccount struct + BankAccountNumber string + BankCity string + BankLocationId string + BankName string + Bic string + CountryCode string + Iban string + OwnerName string + TaxId string + type BrowserInfo struct + AcceptHeader string + ColorDepth int32 + JavaEnabled bool + JavaScriptEnabled bool + Language string + ScreenHeight int32 + ScreenWidth int32 + TimeZoneOffset int32 + UserAgent string + type Card struct + Cvc string + ExpiryMonth string + ExpiryYear string + HolderName string + IssueNumber string + Number string + StartMonth string + StartYear string + type CommonField struct + Name string + Version string + type DeviceRenderOptions struct + SdkInterface string + SdkUiType []string + type DonationRequest struct + DonationAccount string + MerchantAccount string + ModificationAmount *Amount + OriginalReference string + Reference string + type ExternalPlatform struct + Integrator string + Name string + Version string + type ForexQuote struct + Account string + AccountType string + BaseAmount *Amount + BasePoints int32 + Buy *Amount + Interbank *Amount + Reference string + Sell *Amount + Signature string + Source string + Type string + ValidTill time.Time + type FraudCheckResult struct + AccountScore int32 + CheckId int32 + Name string + type FraudResult struct + AccountScore int32 + Results *[]FraudCheckResult + type Installments struct + Plan string + Value int32 + type MerchantDevice struct + Os string + OsVersion string + Reference string + type MerchantRiskIndicator struct + AddressMatch bool + DeliveryAddressIndicator string + DeliveryEmail string + DeliveryTimeframe string + GiftCardAmount *Amount + GiftCardCount int32 + PreOrderDate *time.Time + PreOrderPurchase bool + ReorderItems bool + type ModificationRequest struct + AdditionalData interface{} + MerchantAccount string + ModificationAmount *Amount + MpiData *ThreeDSecureData + OriginalMerchantReference string + OriginalReference string + Reference string + Splits *[]Split + TenderReference string + UniqueTerminalId string + type ModificationResult struct + AdditionalData *map[string]interface{} + PspReference string + Response string + type Name struct + FirstName string + Gender string + Infix string + LastName string + type PaymentRequest struct + AccountInfo *AccountInfo + AdditionalAmount *Amount + AdditionalData *map[string]interface{} + Amount Amount + ApplicationInfo *ApplicationInfo + BankAccount *BankAccount + BillingAddress *Address + BrowserInfo *BrowserInfo + CaptureDelayHours int32 + Card *Card + DateOfBirth *time.Time + DccQuote *ForexQuote + DeliveryAddress *Address + DeliveryDate *time.Time + DeviceFingerprint string + EnableRealTimeUpdate bool + EntityType string + FraudOffset int32 + FundingSource string + Installments *Installments + Mcc string + MerchantAccount string + MerchantOrderReference string + MerchantRiskIndicator *MerchantRiskIndicator + Metadata map[string]string + MpiData *ThreeDSecureData + Nationality string + OrderReference string + Recurring *Recurring + RecurringProcessingModel string + Reference string + SelectedBrand string + SelectedRecurringDetailReference string + SessionId string + ShopperEmail string + ShopperIP string + ShopperInteraction string + ShopperLocale string + ShopperName *Name + ShopperReference string + ShopperStatement string + SocialSecurityNumber string + Splits *[]Split + Store string + TelephoneNumber string + ThreeDS2RequestData *ThreeDS2RequestData + ThreeDSAuthenticationOnly bool + TotalsGroup string + TrustedShopper bool + type PaymentRequest3d struct + AccountInfo *AccountInfo + AdditionalAmount *Amount + AdditionalData *map[string]interface{} + Amount *Amount + ApplicationInfo *ApplicationInfo + BillingAddress *Address + BrowserInfo *BrowserInfo + CaptureDelayHours int32 + DateOfBirth *time.Time + DccQuote *ForexQuote + DeliveryAddress *Address + DeliveryDate *time.Time + DeviceFingerprint string + EnableRealTimeUpdate bool + FraudOffset int32 + Installments *Installments + Mcc string + Md string + MerchantAccount string + MerchantOrderReference string + MerchantRiskIndicator *MerchantRiskIndicator + Metadata map[string]string + OrderReference string + PaResponse string + Recurring *Recurring + RecurringProcessingModel string + Reference string + SelectedBrand string + SelectedRecurringDetailReference string + SessionId string + ShopperEmail string + ShopperIP string + ShopperInteraction string + ShopperLocale string + ShopperName *Name + ShopperReference string + ShopperStatement string + SocialSecurityNumber string + Splits *[]Split + Store string + TelephoneNumber string + ThreeDS2RequestData *ThreeDS2RequestData + ThreeDSAuthenticationOnly bool + TotalsGroup string + TrustedShopper bool + type PaymentRequest3ds2 struct + AccountInfo *AccountInfo + AdditionalAmount *Amount + AdditionalData *map[string]interface{} + Amount Amount + ApplicationInfo *ApplicationInfo + BillingAddress *Address + BrowserInfo *BrowserInfo + CaptureDelayHours int32 + DateOfBirth *time.Time + DccQuote *ForexQuote + DeliveryAddress *Address + DeliveryDate *time.Time + DeviceFingerprint string + EnableRealTimeUpdate bool + FraudOffset int32 + Installments *Installments + Mcc string + MerchantAccount string + MerchantOrderReference string + MerchantRiskIndicator *MerchantRiskIndicator + Metadata map[string]string + OrderReference string + Recurring *Recurring + RecurringProcessingModel string + Reference string + SelectedBrand string + SelectedRecurringDetailReference string + SessionId string + ShopperEmail string + ShopperIP string + ShopperInteraction string + ShopperLocale string + ShopperName *Name + ShopperReference string + ShopperStatement string + SocialSecurityNumber string + Splits *[]Split + Store string + TelephoneNumber string + ThreeDS2RequestData *ThreeDS2RequestData + ThreeDS2Result *ThreeDS2Result + ThreeDS2Token string + ThreeDSAuthenticationOnly bool + TotalsGroup string + TrustedShopper bool + type PaymentResult struct + AdditionalData *map[string]interface{} + AuthCode string + DccAmount *Amount + DccSignature string + FraudResult *FraudResult + IssuerUrl string + Md string + PaRequest string + PspReference string + RefusalReason string + ResultCode common.ResultCode + type Payments common.Service + func (a Payments) AdjustAuthorisation(req *ModificationRequest, ctxs ..._context.Context) (ModificationResult, *_nethttp.Response, error) + func (a Payments) Authorise(req *PaymentRequest, ctxs ..._context.Context) (PaymentResult, *_nethttp.Response, error) + func (a Payments) Authorise3d(req *PaymentRequest3d, ctxs ..._context.Context) (PaymentResult, *_nethttp.Response, error) + func (a Payments) Authorise3ds2(req *PaymentRequest3ds2, ctxs ..._context.Context) (PaymentResult, *_nethttp.Response, error) + func (a Payments) Cancel(req *ModificationRequest, ctxs ..._context.Context) (ModificationResult, *_nethttp.Response, error) + func (a Payments) CancelOrRefund(req *ModificationRequest, ctxs ..._context.Context) (ModificationResult, *_nethttp.Response, error) + func (a Payments) Capture(req *ModificationRequest, ctxs ..._context.Context) (ModificationResult, *_nethttp.Response, error) + func (a Payments) Donate(req *DonationRequest, ctxs ..._context.Context) (ModificationResult, *_nethttp.Response, error) + func (a Payments) GetAuthenticationResult(req *AuthenticationResultRequest, ctxs ..._context.Context) (AuthenticationResultResponse, *_nethttp.Response, error) + func (a Payments) Refund(req *ModificationRequest, ctxs ..._context.Context) (ModificationResult, *_nethttp.Response, error) + func (a Payments) Retrieve3ds2Result(req *ThreeDS2ResultRequest, ctxs ..._context.Context) (ThreeDS2ResultResponse, *_nethttp.Response, error) + func (a Payments) TechnicalCancel(req *ModificationRequest, ctxs ..._context.Context) (ModificationResult, *_nethttp.Response, error) + func (a Payments) VoidPendingRefund(req *ModificationRequest, ctxs ..._context.Context) (ModificationResult, *_nethttp.Response, error) + type Recurring struct + Contract string + RecurringDetailName string + RecurringExpiry *time.Time + RecurringFrequency string + TokenService string + type ResponseAdditionalData3DSecure struct + ScaExemptionRequested string + type ResponseAdditionalDataBillingAddress struct + BillingAddressCity string + BillingAddressCountry string + BillingAddressHouseNumberOrName string + BillingAddressPostalCode string + BillingAddressStateOrProvince string + BillingAddressStreet string + type ResponseAdditionalDataCard struct + CardBin string + CardHolderName string + CardIssuingBank string + CardIssuingCountry string + CardIssuingCurrency string + CardPaymentMethod string + CardSummary string + type ResponseAdditionalDataCommon struct + AcquirerAccountCode string + AcquirerCode string + AcquirerReference string + Alias string + AliasType string + AuthCode string + AuthorisedAmountCurrency string + AuthorisedAmountValue string + AvsResult string + AvsResultRaw string + Bic string + DsTransID string + Eci string + ExpiryDate string + ExtraCostsCurrency string + ExtraCostsValue string + FraudCheckItemNrFraudCheckname string + FundingSource string + FundsAvailability string + InferredRefusalReason string + IssuerCountry string + McBankNetReferenceNumber string + NetworkTxReference string + OwnerName string + PaymentAccountReference string + PaymentMethodVariant string + PayoutEligible string + RealtimeAccountUpdaterStatus string + ReceiptFreeText string + RecurringFirstPspReference string + RecurringRecurringDetailReference string + Referred string + RefusalReasonRaw string + ShopperInteraction string + ShopperReference string + TerminalId string + ThreeDAuthenticated string + ThreeDAuthenticatedResponse string + ThreeDOffered string + ThreeDOfferedResponse string + ThreeDSVersion string + VisaTransactionId string + Xid string + type ResponseAdditionalDataDeliveryAddress struct + DeliveryAddressCity string + DeliveryAddressCountry string + DeliveryAddressHouseNumberOrName string + DeliveryAddressPostalCode string + DeliveryAddressStateOrProvince string + DeliveryAddressStreet string + type ResponseAdditionalDataInstallments struct + InstallmentPaymentDataInstallmentType string + InstallmentPaymentDataOptionItemNrAnnualPercentageRate string + InstallmentPaymentDataOptionItemNrFirstInstallmentAmount string + InstallmentPaymentDataOptionItemNrInstallmentFee string + InstallmentPaymentDataOptionItemNrInterestRate string + InstallmentPaymentDataOptionItemNrMaximumNumberOfInstallments string + InstallmentPaymentDataOptionItemNrMinimumNumberOfInstallments string + InstallmentPaymentDataOptionItemNrNumberOfInstallments string + InstallmentPaymentDataOptionItemNrSubsequentInstallmentAmount string + InstallmentPaymentDataOptionItemNrTotalAmountDue string + InstallmentPaymentDataPaymentOptions string + InstallmentsValue string + type ResponseAdditionalDataNetworkTokens struct + NetworkTokenAvailable string + NetworkTokenBin string + NetworkTokenTokenSummary string + type ResponseAdditionalDataOpi struct + OpiTransToken string + type ResponseAdditionalDataPayPal struct + PaypalEmail string + PaypalPayerId string + PaypalPayerResidenceCountry string + PaypalPayerStatus string + PaypalProtectionEligibility string + type ResponseAdditionalDataSepa struct + SepadirectdebitDateOfSignature string + SepadirectdebitMandateId string + SepadirectdebitSequenceType string + type SDKEphemPubKey struct + Crv string + Kty string + X string + Y string + type ShopperInteractionDevice struct + Locale string + Os string + OsVersion string + type Split struct + Account string + Amount SplitAmount + Description string + Reference string + Type string + type SplitAmount struct + Currency string + Value int64 + type ThreeDS1Result struct + Cavv string + CavvAlgorithm string + Eci string + ThreeDAuthenticatedResponse string + ThreeDOfferedResponse string + Xid string + type ThreeDS2RequestData struct + AcquirerBIN string + AcquirerMerchantID string + AuthenticationOnly bool + ChallengeIndicator string + DeviceChannel string + DeviceRenderOptions *DeviceRenderOptions + Mcc string + MerchantName string + MessageVersion string + NotificationURL string + SdkAppID string + SdkEncData string + SdkEphemPubKey *SDKEphemPubKey + SdkMaxTimeout int32 + SdkReferenceNumber string + SdkTransID string + ThreeDSCompInd string + ThreeDSRequestorID string + ThreeDSRequestorName string + ThreeDSRequestorURL string + TransactionType string + WhiteListStatus string + type ThreeDS2Result struct + AuthenticationValue string + CavvAlgorithm string + DsTransID string + Eci string + MessageVersion string + ThreeDSServerTransID string + Timestamp string + TransStatus string + TransStatusReason string + WhiteListStatus string + type ThreeDS2ResultRequest struct + MerchantAccount string + PspReference string + type ThreeDS2ResultResponse struct + ThreeDS2Result *ThreeDS2Result + type ThreeDSecureData struct + AuthenticationResponse string + Cavv string + CavvAlgorithm string + DirectoryResponse string + DsTransID string + Eci string + ThreeDSVersion string + Xid string Other modules containing this package github.com/adyen/adyen-go-api-library github.com/adyen/adyen-go-api-library/v10 github.com/adyen/adyen-go-api-library/v11 github.com/adyen/adyen-go-api-library/v12 github.com/adyen/adyen-go-api-library/v13 github.com/adyen/adyen-go-api-library/v14 github.com/adyen/adyen-go-api-library/v15 github.com/adyen/adyen-go-api-library/v16 github.com/adyen/adyen-go-api-library/v2 github.com/adyen/adyen-go-api-library/v3 github.com/adyen/adyen-go-api-library/v5 github.com/adyen/adyen-go-api-library/v6 github.com/adyen/adyen-go-api-library/v7 github.com/adyen/adyen-go-api-library/v8 github.com/adyen/adyen-go-api-library/v9