Types and enums
Prefer importing types with
import type { … } so they erase at compile time and don’t affect your runtime bundle.Importing types
Importing enums
Configuration types
CreateGoPayClientConfigGoPayClientOptionsGoPayClientConfigInputGoPayClientConfigNormalized
Core payment request types
CreatePaymentRequestCreateRecurrenceRequestCaptureAuthorizationPartialRequestRefundPaymentRequest
Core payment response types
PaymentResponsePaymentOperationResponseRefundHistoryItemCardDetailsResponse
Statement types
AccountStatementRequestAccountStatementResponse
Payment methods types
PaymentInstrumentsResponsePaymentInstrumentsAllResponsePaymentMethodGroups
Error types
GoPayFieldErrorGoPayErrorBodyGoPayErrorResponseGoPayApiError(class)GoPayConfigError(class)
Token and transport abstractions
TokenCache(interface)OAuthTokenOAuthTokenResponseHttpTransportHttpTransportRequestHttpMethodContentType
Main enums and constants
CurrencyLanguageTokenScopePaymentInstrumentPaymentMethodGroupPaymentStatusPaymentSubStatusValuesRefundStateRecurrenceCycleRecurrenceStatePreauthorizationStateStatementFormatBankSwiftCodeErrorScopeErrorCodeValues