Versions in this module Expand all Collapse all v1 v1.0.0 Aug 7, 2026 Changes in this version + const ErrorSourceLegacy + const ErrorSourceLegacyList + const ErrorSourceProblem + const ErrorSourceTransport + const ErrorSourceUnknown + var ExponentFor = money.ExponentFor + var IsZeroDecimalCurrency = money.IsZeroDecimalCurrency + var NewMinorUnitMoneyFromDecimal = money.NewMinorUnitMoneyFromDecimal + var WithTrace = tracing.WithTrace + type Client struct + Checkouts *checkouts.Service + Customers *customers.Service + Members *members.Service + Memberships *memberships.Service + Merchants *merchants.Service + PaymentInstruments *paymentinstruments.Service + Payouts *payouts.Service + Readers *readers.Service + Receipts *receipts.Service + Roles *roles.Service + Transactions *transactions.Service + Webhooks *webhooks.Service + func NewClient(opts ...Option) (*Client, error) + type Error = apierror.Error + type ErrorSource = apierror.ErrorSource + type FloatMoney = money.FloatMoney + type MinorUnitMoney = money.MinorUnitMoney + type Option func(*clientConfig) error + func WithAPIKey(key string) Option + func WithAccessToken(token string) Option + func WithBaseURL(baseURL string) Option + func WithHTTPClient(httpClient *http.Client) Option + func WithHeader(key, value string) Option + func WithMaxRetries(n int) Option + func WithReceiveTimeout(d time.Duration) Option + func WithRetryBaseDelay(d time.Duration) Option + func WithRetryMaxDelay(d time.Duration) Option + func WithUserAgent(userAgent string) Option + type RequestErrorInfo = tracing.RequestErrorInfo + type RequestInfo = tracing.RequestInfo + type RequestRetryInfo = tracing.RequestRetryInfo + type RequestSuccessInfo = tracing.RequestSuccessInfo + type Trace = tracing.Trace + type ValidationError = apierror.ValidationError