Versions in this module Expand all Collapse all v1 v1.0.0 Jan 12, 2022 Changes in this version + const LiveEndpoint + const SandboxEndpoint + func NewIdempotencyKey() string + type APIError struct + Code int + DocumentationUrl string + Errors []ValidationError + Message string + RequestID string + Type string + func (err *APIError) Error() string + type BankAuthorisation struct + AuthorisationType string + AuthorisedAt string + CreatedAt string + ExpiresAt string + Id string + LastVisitedAt string + Links struct{ ... } + RedirectUri string + Url string + type BankAuthorisationCreateParams struct + AuthorisationType string + Links struct{ ... } + RedirectUri string + type BankAuthorisationService struct + func (s *BankAuthorisationService) Create(ctx context.Context, p BankAuthorisationCreateParams, opts ...RequestOption) (*BankAuthorisation, error) + func (s *BankAuthorisationService) Get(ctx context.Context, identity string, opts ...RequestOption) (*BankAuthorisation, error) + type BankDetailsLookup struct + AvailableDebitSchemes []string + BankName string + Bic string + type BankDetailsLookupCreateParams struct + AccountNumber string + BankCode string + BranchCode string + CountryCode string + Iban string + type BankDetailsLookupService struct + func (s *BankDetailsLookupService) Create(ctx context.Context, p BankDetailsLookupCreateParams, opts ...RequestOption) (*BankDetailsLookup, error) + type BillingRequest struct + Actions []struct{ ... } + CreatedAt string + Id string + Links struct{ ... } + MandateRequest struct{ ... } + Metadata map[string]interface{} + PaymentRequest struct{ ... } + Resources struct{ ... } + Status string + type BillingRequestCancelParams struct + Metadata map[string]interface{} + type BillingRequestCollectBankAccountParams struct + AccountHolderName string + AccountNumber string + AccountNumberSuffix string + AccountType string + BankCode string + BranchCode string + CountryCode string + Currency string + Iban string + Metadata map[string]interface{} + type BillingRequestCollectCustomerDetailsParams struct + Customer struct{ ... } + CustomerBillingDetail struct{ ... } + type BillingRequestConfirmPayerDetailsParams struct + Metadata map[string]interface{} + type BillingRequestCreateParams struct + Links struct{ ... } + MandateRequest struct{ ... } + Metadata map[string]interface{} + PaymentRequest struct{ ... } + type BillingRequestFlow struct + AuthorisationUrl string + AutoFulfil bool + CreatedAt string + ExitUri string + ExpiresAt string + Id string + Links struct{ ... } + LockBankAccount bool + LockCustomerDetails bool + RedirectUri string + SessionToken string + type BillingRequestFlowCreateParams struct + AutoFulfil bool + ExitUri string + Links struct{ ... } + LockBankAccount bool + LockCustomerDetails bool + RedirectUri string + type BillingRequestFlowInitialiseParams struct + type BillingRequestFlowService struct + func (s *BillingRequestFlowService) Create(ctx context.Context, p BillingRequestFlowCreateParams, opts ...RequestOption) (*BillingRequestFlow, error) + func (s *BillingRequestFlowService) Initialise(ctx context.Context, identity string, p BillingRequestFlowInitialiseParams, ...) (*BillingRequestFlow, error) + type BillingRequestFulfilParams struct + Metadata map[string]interface{} + type BillingRequestListPagingIterator struct + func (c *BillingRequestListPagingIterator) Next() bool + func (c *BillingRequestListPagingIterator) Value(ctx context.Context) (*BillingRequestListResult, error) + type BillingRequestListParams struct + After string + Before string + CreatedAt string + Customer string + Limit int + Status string + type BillingRequestListResult struct + BillingRequests []BillingRequest + Meta struct{ ... } + type BillingRequestNotifyParams struct + NotificationType string + RedirectUri string + type BillingRequestService struct + func (s *BillingRequestService) All(ctx context.Context, p BillingRequestListParams, opts ...RequestOption) *BillingRequestListPagingIterator + func (s *BillingRequestService) Cancel(ctx context.Context, identity string, p BillingRequestCancelParams, ...) (*BillingRequest, error) + func (s *BillingRequestService) CollectBankAccount(ctx context.Context, identity string, p BillingRequestCollectBankAccountParams, ...) (*BillingRequest, error) + func (s *BillingRequestService) CollectCustomerDetails(ctx context.Context, identity string, ...) (*BillingRequest, error) + func (s *BillingRequestService) ConfirmPayerDetails(ctx context.Context, identity string, ...) (*BillingRequest, error) + func (s *BillingRequestService) Create(ctx context.Context, p BillingRequestCreateParams, opts ...RequestOption) (*BillingRequest, error) + func (s *BillingRequestService) Fulfil(ctx context.Context, identity string, p BillingRequestFulfilParams, ...) (*BillingRequest, error) + func (s *BillingRequestService) Get(ctx context.Context, identity string, opts ...RequestOption) (*BillingRequest, error) + func (s *BillingRequestService) List(ctx context.Context, p BillingRequestListParams, opts ...RequestOption) (*BillingRequestListResult, error) + func (s *BillingRequestService) Notify(ctx context.Context, identity string, p BillingRequestNotifyParams, ...) (*BillingRequest, error) + type BillingRequestTemplate struct + AuthorisationUrl string + CreatedAt string + Id string + MandateRequestCurrency string + MandateRequestMetadata map[string]interface{} + MandateRequestScheme string + MandateRequestVerify string + Metadata map[string]interface{} + Name string + PaymentRequestAmount int + PaymentRequestCurrency string + PaymentRequestDescription string + PaymentRequestMetadata map[string]interface{} + PaymentRequestScheme string + RedirectUri string + UpdatedAt string + type BillingRequestTemplateCreateParams struct + Links struct{ ... } + MandateRequestCurrency string + MandateRequestMetadata map[string]interface{} + MandateRequestScheme string + MandateRequestVerify string + Metadata map[string]interface{} + Name string + PaymentRequestAmount int + PaymentRequestCurrency string + PaymentRequestDescription string + PaymentRequestMetadata map[string]interface{} + PaymentRequestScheme string + RedirectUri string + type BillingRequestTemplateListPagingIterator struct + func (c *BillingRequestTemplateListPagingIterator) Next() bool + func (c *BillingRequestTemplateListPagingIterator) Value(ctx context.Context) (*BillingRequestTemplateListResult, error) + type BillingRequestTemplateListParams struct + After string + Before string + Limit int + type BillingRequestTemplateListResult struct + BillingRequestTemplates []BillingRequestTemplate + Meta struct{ ... } + type BillingRequestTemplateService struct + func (s *BillingRequestTemplateService) All(ctx context.Context, p BillingRequestTemplateListParams, opts ...RequestOption) *BillingRequestTemplateListPagingIterator + func (s *BillingRequestTemplateService) Create(ctx context.Context, p BillingRequestTemplateCreateParams, ...) (*BillingRequestTemplate, error) + func (s *BillingRequestTemplateService) Get(ctx context.Context, identity string, opts ...RequestOption) (*BillingRequestTemplate, error) + func (s *BillingRequestTemplateService) List(ctx context.Context, p BillingRequestTemplateListParams, opts ...RequestOption) (*BillingRequestTemplateListResult, error) + func (s *BillingRequestTemplateService) Update(ctx context.Context, identity string, p BillingRequestTemplateUpdateParams, ...) (*BillingRequestTemplate, error) + type BillingRequestTemplateUpdateParams struct + MandateRequestCurrency string + MandateRequestMetadata map[string]interface{} + MandateRequestScheme string + MandateRequestVerify string + Metadata map[string]interface{} + Name string + PaymentRequestAmount int + PaymentRequestCurrency string + PaymentRequestDescription string + PaymentRequestMetadata map[string]interface{} + PaymentRequestScheme string + RedirectUri string + type Block struct + Active bool + BlockType string + CreatedAt string + Id string + ReasonDescription string + ReasonType string + ResourceReference string + UpdatedAt string + type BlockBlockByRefParams struct + Active bool + ReasonDescription string + ReasonType string + ReferenceType string + ReferenceValue string + type BlockBlockByRefResult struct + Blocks []struct{ ... } + Meta struct{ ... } + type BlockCreateParams struct + Active bool + BlockType string + ReasonDescription string + ReasonType string + ResourceReference string + type BlockListPagingIterator struct + func (c *BlockListPagingIterator) Next() bool + func (c *BlockListPagingIterator) Value(ctx context.Context) (*BlockListResult, error) + type BlockListParams struct + After string + Before string + Block string + BlockType string + CreatedAt string + Limit int + ReasonType string + UpdatedAt string + type BlockListResult struct + Blocks []Block + Meta struct{ ... } + type BlockService struct + func (s *BlockService) All(ctx context.Context, p BlockListParams, opts ...RequestOption) *BlockListPagingIterator + func (s *BlockService) BlockByRef(ctx context.Context, p BlockBlockByRefParams, opts ...RequestOption) (*BlockBlockByRefResult, error) + func (s *BlockService) Create(ctx context.Context, p BlockCreateParams, opts ...RequestOption) (*Block, error) + func (s *BlockService) Disable(ctx context.Context, identity string, opts ...RequestOption) (*Block, error) + func (s *BlockService) Enable(ctx context.Context, identity string, opts ...RequestOption) (*Block, error) + func (s *BlockService) Get(ctx context.Context, identity string, opts ...RequestOption) (*Block, error) + func (s *BlockService) List(ctx context.Context, p BlockListParams, opts ...RequestOption) (*BlockListResult, error) + type Creditor struct + AddressLine1 string + AddressLine2 string + AddressLine3 string + CanCreateRefunds bool + City string + CountryCode string + CreatedAt string + CustomPaymentPagesEnabled bool + FxPayoutCurrency string + Id string + Links struct{ ... } + LogoUrl string + MandateImportsEnabled bool + MerchantResponsibleForNotifications bool + Name string + PostalCode string + Region string + SchemeIdentifiers []struct{ ... } + VerificationStatus string + type CreditorBankAccount struct + AccountHolderName string + AccountNumberEnding string + AccountType string + BankName string + CountryCode string + CreatedAt string + Currency string + Enabled bool + Id string + Links struct{ ... } + Metadata map[string]interface{} + type CreditorBankAccountCreateParams struct + AccountHolderName string + AccountNumber string + AccountType string + BankCode string + BranchCode string + CountryCode string + Currency string + Iban string + Links struct{ ... } + Metadata map[string]interface{} + SetAsDefaultPayoutAccount bool + type CreditorBankAccountListPagingIterator struct + func (c *CreditorBankAccountListPagingIterator) Next() bool + func (c *CreditorBankAccountListPagingIterator) Value(ctx context.Context) (*CreditorBankAccountListResult, error) + type CreditorBankAccountListParams struct + After string + Before string + CreatedAt struct{ ... } + Creditor string + Enabled bool + Limit int + type CreditorBankAccountListResult struct + CreditorBankAccounts []CreditorBankAccount + Meta struct{ ... } + type CreditorBankAccountService struct + func (s *CreditorBankAccountService) All(ctx context.Context, p CreditorBankAccountListParams, opts ...RequestOption) *CreditorBankAccountListPagingIterator + func (s *CreditorBankAccountService) Create(ctx context.Context, p CreditorBankAccountCreateParams, opts ...RequestOption) (*CreditorBankAccount, error) + func (s *CreditorBankAccountService) Disable(ctx context.Context, identity string, opts ...RequestOption) (*CreditorBankAccount, error) + func (s *CreditorBankAccountService) Get(ctx context.Context, identity string, opts ...RequestOption) (*CreditorBankAccount, error) + func (s *CreditorBankAccountService) List(ctx context.Context, p CreditorBankAccountListParams, opts ...RequestOption) (*CreditorBankAccountListResult, error) + type CreditorCreateParams struct + AddressLine1 string + AddressLine2 string + AddressLine3 string + City string + CountryCode string + Links map[string]interface{} + Name string + PostalCode string + Region string + type CreditorGetParams map[string]interface + type CreditorListPagingIterator struct + func (c *CreditorListPagingIterator) Next() bool + func (c *CreditorListPagingIterator) Value(ctx context.Context) (*CreditorListResult, error) + type CreditorListParams struct + After string + Before string + CreatedAt struct{ ... } + Limit int + type CreditorListResult struct + Creditors []Creditor + Meta struct{ ... } + type CreditorService struct + func (s *CreditorService) All(ctx context.Context, p CreditorListParams, opts ...RequestOption) *CreditorListPagingIterator + func (s *CreditorService) Create(ctx context.Context, p CreditorCreateParams, opts ...RequestOption) (*Creditor, error) + func (s *CreditorService) Get(ctx context.Context, identity string, p CreditorGetParams, ...) (*Creditor, error) + func (s *CreditorService) List(ctx context.Context, p CreditorListParams, opts ...RequestOption) (*CreditorListResult, error) + func (s *CreditorService) Update(ctx context.Context, identity string, p CreditorUpdateParams, ...) (*Creditor, error) + type CreditorUpdateParams struct + AddressLine1 string + AddressLine2 string + AddressLine3 string + City string + CountryCode string + Links struct{ ... } + Name string + PostalCode string + Region string + type CurrencyExchangeRate struct + Rate string + Source string + Target string + Time string + type CurrencyExchangeRateListPagingIterator struct + func (c *CurrencyExchangeRateListPagingIterator) Next() bool + func (c *CurrencyExchangeRateListPagingIterator) Value(ctx context.Context) (*CurrencyExchangeRateListResult, error) + type CurrencyExchangeRateListParams struct + After string + Before string + CreatedAt struct{ ... } + Limit int + Source string + Target string + type CurrencyExchangeRateListResult struct + CurrencyExchangeRates []CurrencyExchangeRate + Meta struct{ ... } + type CurrencyExchangeRateService struct + func (s *CurrencyExchangeRateService) All(ctx context.Context, p CurrencyExchangeRateListParams, opts ...RequestOption) *CurrencyExchangeRateListPagingIterator + func (s *CurrencyExchangeRateService) List(ctx context.Context, p CurrencyExchangeRateListParams, opts ...RequestOption) (*CurrencyExchangeRateListResult, error) + type Customer struct + AddressLine1 string + AddressLine2 string + AddressLine3 string + City string + CompanyName string + CountryCode string + CreatedAt string + DanishIdentityNumber string + Email string + FamilyName string + GivenName string + Id string + Language string + Metadata map[string]interface{} + PhoneNumber string + PostalCode string + Region string + SwedishIdentityNumber string + type CustomerBankAccount struct + AccountHolderName string + AccountNumberEnding string + AccountType string + BankName string + CountryCode string + CreatedAt string + Currency string + Enabled bool + Id string + Links struct{ ... } + Metadata map[string]interface{} + type CustomerBankAccountCreateParams struct + AccountHolderName string + AccountNumber string + AccountType string + BankCode string + BranchCode string + CountryCode string + Currency string + Iban string + Links struct{ ... } + Metadata map[string]interface{} + type CustomerBankAccountListPagingIterator struct + func (c *CustomerBankAccountListPagingIterator) Next() bool + func (c *CustomerBankAccountListPagingIterator) Value(ctx context.Context) (*CustomerBankAccountListResult, error) + type CustomerBankAccountListParams struct + After string + Before string + CreatedAt struct{ ... } + Customer string + Enabled bool + Limit int + type CustomerBankAccountListResult struct + CustomerBankAccounts []CustomerBankAccount + Meta struct{ ... } + type CustomerBankAccountService struct + func (s *CustomerBankAccountService) All(ctx context.Context, p CustomerBankAccountListParams, opts ...RequestOption) *CustomerBankAccountListPagingIterator + func (s *CustomerBankAccountService) Create(ctx context.Context, p CustomerBankAccountCreateParams, opts ...RequestOption) (*CustomerBankAccount, error) + func (s *CustomerBankAccountService) Disable(ctx context.Context, identity string, opts ...RequestOption) (*CustomerBankAccount, error) + func (s *CustomerBankAccountService) Get(ctx context.Context, identity string, opts ...RequestOption) (*CustomerBankAccount, error) + func (s *CustomerBankAccountService) List(ctx context.Context, p CustomerBankAccountListParams, opts ...RequestOption) (*CustomerBankAccountListResult, error) + func (s *CustomerBankAccountService) Update(ctx context.Context, identity string, p CustomerBankAccountUpdateParams, ...) (*CustomerBankAccount, error) + type CustomerBankAccountUpdateParams struct + Metadata map[string]interface{} + type CustomerCreateParams struct + AddressLine1 string + AddressLine2 string + AddressLine3 string + City string + CompanyName string + CountryCode string + DanishIdentityNumber string + Email string + FamilyName string + GivenName string + Language string + Metadata map[string]interface{} + PhoneNumber string + PostalCode string + Region string + SwedishIdentityNumber string + type CustomerListPagingIterator struct + func (c *CustomerListPagingIterator) Next() bool + func (c *CustomerListPagingIterator) Value(ctx context.Context) (*CustomerListResult, error) + type CustomerListParams struct + After string + Before string + CreatedAt struct{ ... } + Currency string + Limit int + SortDirection string + SortField string + type CustomerListResult struct + Customers []Customer + Meta struct{ ... } + type CustomerNotification struct + ActionTaken string + ActionTakenAt string + ActionTakenBy string + Id string + Links struct{ ... } + Type string + type CustomerNotificationHandleParams map[string]interface + type CustomerNotificationService struct + func (s *CustomerNotificationService) Handle(ctx context.Context, identity string, p CustomerNotificationHandleParams, ...) (*CustomerNotification, error) + type CustomerRemoveParams map[string]interface + type CustomerService struct + func (s *CustomerService) All(ctx context.Context, p CustomerListParams, opts ...RequestOption) *CustomerListPagingIterator + func (s *CustomerService) Create(ctx context.Context, p CustomerCreateParams, opts ...RequestOption) (*Customer, error) + func (s *CustomerService) Get(ctx context.Context, identity string, opts ...RequestOption) (*Customer, error) + func (s *CustomerService) List(ctx context.Context, p CustomerListParams, opts ...RequestOption) (*CustomerListResult, error) + func (s *CustomerService) Remove(ctx context.Context, identity string, p CustomerRemoveParams, ...) (*Customer, error) + func (s *CustomerService) Update(ctx context.Context, identity string, p CustomerUpdateParams, ...) (*Customer, error) + type CustomerUpdateParams struct + AddressLine1 string + AddressLine2 string + AddressLine3 string + City string + CompanyName string + CountryCode string + DanishIdentityNumber string + Email string + FamilyName string + GivenName string + Language string + Metadata map[string]interface{} + PhoneNumber string + PostalCode string + Region string + SwedishIdentityNumber string + type Event struct + Action string + CreatedAt string + CustomerNotifications []struct{ ... } + Details struct{ ... } + Id string + Links struct{ ... } + Metadata map[string]interface{} + ResourceType string + type EventHandler interface + HandleEvent func(Event) error + type EventHandlerFunc func(Event) error + func (h EventHandlerFunc) HandleEvent(e Event) error + type EventListPagingIterator struct + func (c *EventListPagingIterator) Next() bool + func (c *EventListPagingIterator) Value(ctx context.Context) (*EventListResult, error) + type EventListParams struct + Action string + After string + Before string + BillingRequest string + CreatedAt struct{ ... } + Include string + Limit int + Mandate string + ParentEvent string + PayerAuthorisation string + Payment string + Payout string + Refund string + ResourceType string + Subscription string + type EventListResult struct + Events []Event + Meta struct{ ... } + type EventService struct + func (s *EventService) All(ctx context.Context, p EventListParams, opts ...RequestOption) *EventListPagingIterator + func (s *EventService) Get(ctx context.Context, identity string, opts ...RequestOption) (*Event, error) + func (s *EventService) List(ctx context.Context, p EventListParams, opts ...RequestOption) (*EventListResult, error) + type InstalmentSchedule struct + CreatedAt string + Currency string + Id string + Links struct{ ... } + Metadata map[string]interface{} + Name string + PaymentErrors map[string]interface{} + Status string + TotalAmount int + type InstalmentScheduleCancelParams map[string]interface + type InstalmentScheduleCreateWithDatesParams struct + AppFee int + Currency string + Instalments []struct{ ... } + Links struct{ ... } + Metadata map[string]interface{} + Name string + PaymentReference string + RetryIfPossible bool + TotalAmount int + type InstalmentScheduleCreateWithScheduleParams struct + AppFee int + Currency string + Instalments struct{ ... } + Links struct{ ... } + Metadata map[string]interface{} + Name string + PaymentReference string + RetryIfPossible bool + TotalAmount int + type InstalmentScheduleListPagingIterator struct + func (c *InstalmentScheduleListPagingIterator) Next() bool + func (c *InstalmentScheduleListPagingIterator) Value(ctx context.Context) (*InstalmentScheduleListResult, error) + type InstalmentScheduleListParams struct + After string + Before string + CreatedAt struct{ ... } + Customer string + Limit int + Mandate string + Status []string + type InstalmentScheduleListResult struct + InstalmentSchedules []InstalmentSchedule + Meta struct{ ... } + type InstalmentScheduleService struct + func (s *InstalmentScheduleService) All(ctx context.Context, p InstalmentScheduleListParams, opts ...RequestOption) *InstalmentScheduleListPagingIterator + func (s *InstalmentScheduleService) Cancel(ctx context.Context, identity string, p InstalmentScheduleCancelParams, ...) (*InstalmentSchedule, error) + func (s *InstalmentScheduleService) CreateWithDates(ctx context.Context, p InstalmentScheduleCreateWithDatesParams, ...) (*InstalmentSchedule, error) + func (s *InstalmentScheduleService) CreateWithSchedule(ctx context.Context, p InstalmentScheduleCreateWithScheduleParams, ...) (*InstalmentSchedule, error) + func (s *InstalmentScheduleService) Get(ctx context.Context, identity string, opts ...RequestOption) (*InstalmentSchedule, error) + func (s *InstalmentScheduleService) List(ctx context.Context, p InstalmentScheduleListParams, opts ...RequestOption) (*InstalmentScheduleListResult, error) + func (s *InstalmentScheduleService) Update(ctx context.Context, identity string, p InstalmentScheduleUpdateParams, ...) (*InstalmentSchedule, error) + type InstalmentScheduleUpdateParams struct + Metadata map[string]interface{} + type Institution struct + CountryCode string + IconUrl string + Id string + LogoUrl string + Name string + type InstitutionListParams struct + CountryCode string + type InstitutionListResult struct + Institutions []Institution + Meta struct{ ... } + type InstitutionService struct + func (s *InstitutionService) List(ctx context.Context, p InstitutionListParams, opts ...RequestOption) (*InstitutionListResult, error) + type Mandate struct + CreatedAt string + Id string + Links struct{ ... } + Metadata map[string]interface{} + NextPossibleChargeDate string + PaymentsRequireApproval bool + Reference string + Scheme string + Status string + type MandateCancelParams struct + Metadata map[string]interface{} + type MandateCreateParams struct + Links struct{ ... } + Metadata map[string]interface{} + PayerIpAddress string + Reference string + Scheme string + type MandateImport struct + CreatedAt string + Id string + Scheme string + Status string + type MandateImportCancelParams map[string]interface + type MandateImportCreateParams struct + Scheme string + type MandateImportEntry struct + CreatedAt string + Links struct{ ... } + RecordIdentifier string + type MandateImportEntryCreateParams struct + Amendment struct{ ... } + BankAccount struct{ ... } + Customer struct{ ... } + Links struct{ ... } + RecordIdentifier string + type MandateImportEntryListPagingIterator struct + func (c *MandateImportEntryListPagingIterator) Next() bool + func (c *MandateImportEntryListPagingIterator) Value(ctx context.Context) (*MandateImportEntryListResult, error) + type MandateImportEntryListParams struct + After string + Before string + Limit int + MandateImport string + type MandateImportEntryListResult struct + MandateImportEntries []MandateImportEntry + Meta struct{ ... } + type MandateImportEntryService struct + func (s *MandateImportEntryService) All(ctx context.Context, p MandateImportEntryListParams, opts ...RequestOption) *MandateImportEntryListPagingIterator + func (s *MandateImportEntryService) Create(ctx context.Context, p MandateImportEntryCreateParams, opts ...RequestOption) (*MandateImportEntry, error) + func (s *MandateImportEntryService) List(ctx context.Context, p MandateImportEntryListParams, opts ...RequestOption) (*MandateImportEntryListResult, error) + type MandateImportGetParams map[string]interface + type MandateImportService struct + func (s *MandateImportService) Cancel(ctx context.Context, identity string, p MandateImportCancelParams, ...) (*MandateImport, error) + func (s *MandateImportService) Create(ctx context.Context, p MandateImportCreateParams, opts ...RequestOption) (*MandateImport, error) + func (s *MandateImportService) Get(ctx context.Context, identity string, p MandateImportGetParams, ...) (*MandateImport, error) + func (s *MandateImportService) Submit(ctx context.Context, identity string, p MandateImportSubmitParams, ...) (*MandateImport, error) + type MandateImportSubmitParams map[string]interface + type MandateListPagingIterator struct + func (c *MandateListPagingIterator) Next() bool + func (c *MandateListPagingIterator) Value(ctx context.Context) (*MandateListResult, error) + type MandateListParams struct + After string + Before string + CreatedAt struct{ ... } + Creditor string + Customer string + CustomerBankAccount string + Limit int + Reference string + Scheme []string + Status []string + type MandateListResult struct + Mandates []Mandate + Meta struct{ ... } + type MandatePdf struct + ExpiresAt string + Url string + type MandatePdfCreateParams struct + AccountHolderName string + AccountNumber string + AccountType string + AddressLine1 string + AddressLine2 string + AddressLine3 string + BankCode string + Bic string + BranchCode string + City string + CountryCode string + DanishIdentityNumber string + Iban string + Links struct{ ... } + MandateReference string + PayerIpAddress string + PhoneNumber string + PostalCode string + Region string + Scheme string + SignatureDate string + SubscriptionAmount int + SubscriptionFrequency string + SwedishIdentityNumber string + type MandatePdfService struct + func (s *MandatePdfService) Create(ctx context.Context, p MandatePdfCreateParams, opts ...RequestOption) (*MandatePdf, error) + type MandateReinstateParams struct + Metadata map[string]interface{} + type MandateService struct + func (s *MandateService) All(ctx context.Context, p MandateListParams, opts ...RequestOption) *MandateListPagingIterator + func (s *MandateService) Cancel(ctx context.Context, identity string, p MandateCancelParams, ...) (*Mandate, error) + func (s *MandateService) Create(ctx context.Context, p MandateCreateParams, opts ...RequestOption) (*Mandate, error) + func (s *MandateService) Get(ctx context.Context, identity string, opts ...RequestOption) (*Mandate, error) + func (s *MandateService) List(ctx context.Context, p MandateListParams, opts ...RequestOption) (*MandateListResult, error) + func (s *MandateService) Reinstate(ctx context.Context, identity string, p MandateReinstateParams, ...) (*Mandate, error) + func (s *MandateService) Update(ctx context.Context, identity string, p MandateUpdateParams, ...) (*Mandate, error) + type MandateUpdateParams struct + Metadata map[string]interface{} + type Option func(*options) error + func WithClient(c *http.Client) Option + func WithEndpoint(endpoint string) Option + type PagingIterator interface + Next func() bool + Value func(context.Context) interface{} + type PayerAuthorisation struct + BankAccount struct{ ... } + CreatedAt string + Customer struct{ ... } + Id string + IncompleteFields []struct{ ... } + Links struct{ ... } + Mandate struct{ ... } + Status string + type PayerAuthorisationCreateParams struct + BankAccount struct{ ... } + Customer struct{ ... } + Mandate struct{ ... } + type PayerAuthorisationService struct + func (s *PayerAuthorisationService) Confirm(ctx context.Context, identity string, opts ...RequestOption) (*PayerAuthorisation, error) + func (s *PayerAuthorisationService) Create(ctx context.Context, p PayerAuthorisationCreateParams, opts ...RequestOption) (*PayerAuthorisation, error) + func (s *PayerAuthorisationService) Get(ctx context.Context, identity string, opts ...RequestOption) (*PayerAuthorisation, error) + func (s *PayerAuthorisationService) Submit(ctx context.Context, identity string, opts ...RequestOption) (*PayerAuthorisation, error) + func (s *PayerAuthorisationService) Update(ctx context.Context, identity string, p PayerAuthorisationUpdateParams, ...) (*PayerAuthorisation, error) + type PayerAuthorisationUpdateParams struct + BankAccount struct{ ... } + Customer struct{ ... } + Mandate struct{ ... } + type Payment struct + Amount int + AmountRefunded int + ChargeDate string + CreatedAt string + Currency string + Description string + Fx struct{ ... } + Id string + Links struct{ ... } + Metadata map[string]interface{} + Reference string + RetryIfPossible bool + Status string + type PaymentCancelParams struct + Metadata map[string]interface{} + type PaymentCreateParams struct + Amount int + AppFee int + ChargeDate string + Currency string + Description string + Links struct{ ... } + Metadata map[string]interface{} + Reference string + RetryIfPossible bool + type PaymentListPagingIterator struct + func (c *PaymentListPagingIterator) Next() bool + func (c *PaymentListPagingIterator) Value(ctx context.Context) (*PaymentListResult, error) + type PaymentListParams struct + After string + Before string + ChargeDate struct{ ... } + CreatedAt struct{ ... } + Creditor string + Currency string + Customer string + Limit int + Mandate string + SortDirection string + SortField string + Status string + Subscription string + type PaymentListResult struct + Meta struct{ ... } + Payments []Payment + type PaymentRetryParams struct + ChargeDate string + Metadata map[string]interface{} + type PaymentService struct + func (s *PaymentService) All(ctx context.Context, p PaymentListParams, opts ...RequestOption) *PaymentListPagingIterator + func (s *PaymentService) Cancel(ctx context.Context, identity string, p PaymentCancelParams, ...) (*Payment, error) + func (s *PaymentService) Create(ctx context.Context, p PaymentCreateParams, opts ...RequestOption) (*Payment, error) + func (s *PaymentService) Get(ctx context.Context, identity string, opts ...RequestOption) (*Payment, error) + func (s *PaymentService) List(ctx context.Context, p PaymentListParams, opts ...RequestOption) (*PaymentListResult, error) + func (s *PaymentService) Retry(ctx context.Context, identity string, p PaymentRetryParams, ...) (*Payment, error) + func (s *PaymentService) Update(ctx context.Context, identity string, p PaymentUpdateParams, ...) (*Payment, error) + type PaymentUpdateParams struct + Metadata map[string]interface{} + RetryIfPossible bool + type Payout struct + Amount int + ArrivalDate string + CreatedAt string + Currency string + DeductedFees int + Fx struct{ ... } + Id string + Links struct{ ... } + Metadata map[string]interface{} + PayoutType string + Reference string + Status string + TaxCurrency string + type PayoutItem struct + Amount string + Links struct{ ... } + Taxes []struct{ ... } + Type string + type PayoutItemListPagingIterator struct + func (c *PayoutItemListPagingIterator) Next() bool + func (c *PayoutItemListPagingIterator) Value(ctx context.Context) (*PayoutItemListResult, error) + type PayoutItemListParams struct + After string + Before string + Include2020TaxCutover string + Limit int + Payout string + type PayoutItemListResult struct + Meta struct{ ... } + PayoutItems []PayoutItem + type PayoutItemService struct + func (s *PayoutItemService) All(ctx context.Context, p PayoutItemListParams, opts ...RequestOption) *PayoutItemListPagingIterator + func (s *PayoutItemService) List(ctx context.Context, p PayoutItemListParams, opts ...RequestOption) (*PayoutItemListResult, error) + type PayoutListPagingIterator struct + func (c *PayoutListPagingIterator) Next() bool + func (c *PayoutListPagingIterator) Value(ctx context.Context) (*PayoutListResult, error) + type PayoutListParams struct + After string + Before string + CreatedAt struct{ ... } + Creditor string + CreditorBankAccount string + Currency string + Limit int + Metadata map[string]interface{} + PayoutType string + Reference string + Status string + type PayoutListResult struct + Meta struct{ ... } + Payouts []Payout + type PayoutService struct + func (s *PayoutService) All(ctx context.Context, p PayoutListParams, opts ...RequestOption) *PayoutListPagingIterator + func (s *PayoutService) Get(ctx context.Context, identity string, opts ...RequestOption) (*Payout, error) + func (s *PayoutService) List(ctx context.Context, p PayoutListParams, opts ...RequestOption) (*PayoutListResult, error) + func (s *PayoutService) Update(ctx context.Context, identity string, p PayoutUpdateParams, ...) (*Payout, error) + type PayoutUpdateParams struct + Metadata map[string]interface{} + type RedirectFlow struct + ConfirmationUrl string + CreatedAt string + Description string + Id string + Links struct{ ... } + MandateReference string + Metadata map[string]interface{} + RedirectUrl string + Scheme string + SessionToken string + SuccessRedirectUrl string + type RedirectFlowCompleteParams struct + SessionToken string + type RedirectFlowCreateParams struct + Description string + Links struct{ ... } + Metadata map[string]interface{} + PrefilledBankAccount struct{ ... } + PrefilledCustomer struct{ ... } + Scheme string + SessionToken string + SuccessRedirectUrl string + type RedirectFlowService struct + func (s *RedirectFlowService) Complete(ctx context.Context, identity string, p RedirectFlowCompleteParams, ...) (*RedirectFlow, error) + func (s *RedirectFlowService) Create(ctx context.Context, p RedirectFlowCreateParams, opts ...RequestOption) (*RedirectFlow, error) + func (s *RedirectFlowService) Get(ctx context.Context, identity string, opts ...RequestOption) (*RedirectFlow, error) + type Refund struct + Amount int + CreatedAt string + Currency string + Fx struct{ ... } + Id string + Links struct{ ... } + Metadata map[string]interface{} + Reference string + Status string + type RefundCreateParams struct + Amount int + Links struct{ ... } + Metadata map[string]interface{} + Reference string + TotalAmountConfirmation int + type RefundListPagingIterator struct + func (c *RefundListPagingIterator) Next() bool + func (c *RefundListPagingIterator) Value(ctx context.Context) (*RefundListResult, error) + type RefundListParams struct + After string + Before string + CreatedAt struct{ ... } + Limit int + Mandate string + Payment string + RefundType string + type RefundListResult struct + Meta struct{ ... } + Refunds []Refund + type RefundService struct + func (s *RefundService) All(ctx context.Context, p RefundListParams, opts ...RequestOption) *RefundListPagingIterator + func (s *RefundService) Create(ctx context.Context, p RefundCreateParams, opts ...RequestOption) (*Refund, error) + func (s *RefundService) Get(ctx context.Context, identity string, opts ...RequestOption) (*Refund, error) + func (s *RefundService) List(ctx context.Context, p RefundListParams, opts ...RequestOption) (*RefundListResult, error) + func (s *RefundService) Update(ctx context.Context, identity string, p RefundUpdateParams, ...) (*Refund, error) + type RefundUpdateParams struct + Metadata map[string]interface{} + type RequestOption func(*requestOptions) error + func WithHeaders(headers map[string]string) RequestOption + func WithIdempotencyKey(key string) RequestOption + func WithRetries(n int) RequestOption + func WithoutRetries() RequestOption + type ScenarioSimulator struct + Id string + type ScenarioSimulatorRunParams struct + Links struct{ ... } + type ScenarioSimulatorService struct + func (s *ScenarioSimulatorService) Run(ctx context.Context, identity string, p ScenarioSimulatorRunParams, ...) (*ScenarioSimulator, error) + type Service struct + BankAuthorisations *BankAuthorisationService + BankDetailsLookups *BankDetailsLookupService + BillingRequestFlows *BillingRequestFlowService + BillingRequestTemplates *BillingRequestTemplateService + BillingRequests *BillingRequestService + Blocks *BlockService + CreditorBankAccounts *CreditorBankAccountService + Creditors *CreditorService + CurrencyExchangeRates *CurrencyExchangeRateService + CustomerBankAccounts *CustomerBankAccountService + CustomerNotifications *CustomerNotificationService + Customers *CustomerService + Events *EventService + InstalmentSchedules *InstalmentScheduleService + Institutions *InstitutionService + MandateImportEntries *MandateImportEntryService + MandateImports *MandateImportService + MandatePdfs *MandatePdfService + Mandates *MandateService + PayerAuthorisations *PayerAuthorisationService + Payments *PaymentService + PayoutItems *PayoutItemService + Payouts *PayoutService + RedirectFlows *RedirectFlowService + Refunds *RefundService + ScenarioSimulators *ScenarioSimulatorService + Subscriptions *SubscriptionService + TaxRates *TaxRateService + Webhooks *WebhookService + func New(token string, opts ...Option) (*Service, error) + type Subscription struct + Amount int + AppFee int + Count int + CreatedAt string + Currency string + DayOfMonth int + EarliestChargeDateAfterResume string + EndDate string + Id string + Interval int + IntervalUnit string + Links struct{ ... } + Metadata map[string]interface{} + Month string + Name string + PaymentReference string + RetryIfPossible bool + StartDate string + Status string + UpcomingPayments []struct{ ... } + type SubscriptionCancelParams struct + Metadata map[string]interface{} + type SubscriptionCreateParams struct + Amount int + AppFee int + Count int + Currency string + DayOfMonth int + EndDate string + Interval int + IntervalUnit string + Links struct{ ... } + Metadata map[string]interface{} + Month string + Name string + PaymentReference string + RetryIfPossible bool + StartDate string + type SubscriptionListPagingIterator struct + func (c *SubscriptionListPagingIterator) Next() bool + func (c *SubscriptionListPagingIterator) Value(ctx context.Context) (*SubscriptionListResult, error) + type SubscriptionListParams struct + After string + Before string + CreatedAt struct{ ... } + Customer string + Limit int + Mandate string + Status []string + type SubscriptionListResult struct + Meta struct{ ... } + Subscriptions []Subscription + type SubscriptionPauseParams struct + Metadata map[string]interface{} + PauseCycles int + type SubscriptionResumeParams struct + Metadata map[string]interface{} + type SubscriptionService struct + func (s *SubscriptionService) All(ctx context.Context, p SubscriptionListParams, opts ...RequestOption) *SubscriptionListPagingIterator + func (s *SubscriptionService) Cancel(ctx context.Context, identity string, p SubscriptionCancelParams, ...) (*Subscription, error) + func (s *SubscriptionService) Create(ctx context.Context, p SubscriptionCreateParams, opts ...RequestOption) (*Subscription, error) + func (s *SubscriptionService) Get(ctx context.Context, identity string, opts ...RequestOption) (*Subscription, error) + func (s *SubscriptionService) List(ctx context.Context, p SubscriptionListParams, opts ...RequestOption) (*SubscriptionListResult, error) + func (s *SubscriptionService) Pause(ctx context.Context, identity string, p SubscriptionPauseParams, ...) (*Subscription, error) + func (s *SubscriptionService) Resume(ctx context.Context, identity string, p SubscriptionResumeParams, ...) (*Subscription, error) + func (s *SubscriptionService) Update(ctx context.Context, identity string, p SubscriptionUpdateParams, ...) (*Subscription, error) + type SubscriptionUpdateParams struct + Amount int + AppFee int + Metadata map[string]interface{} + Name string + PaymentReference string + RetryIfPossible bool + type TaxRate struct + EndDate string + Id string + Jurisdiction string + Percentage string + StartDate string + Type string + type TaxRateListPagingIterator struct + func (c *TaxRateListPagingIterator) Next() bool + func (c *TaxRateListPagingIterator) Value(ctx context.Context) (*TaxRateListResult, error) + type TaxRateListParams struct + After string + Before string + Jurisdiction string + type TaxRateListResult struct + Meta struct{ ... } + TaxRates []TaxRate + type TaxRateService struct + func (s *TaxRateService) All(ctx context.Context, p TaxRateListParams, opts ...RequestOption) *TaxRateListPagingIterator + func (s *TaxRateService) Get(ctx context.Context, identity string, opts ...RequestOption) (*TaxRate, error) + func (s *TaxRateService) List(ctx context.Context, p TaxRateListParams, opts ...RequestOption) (*TaxRateListResult, error) + type ValidationError struct + Field string + Message string + RequestPointer string + type Webhook struct + CreatedAt string + Id string + IsTest bool + RequestBody string + RequestHeaders map[string]interface{} + ResponseBody string + ResponseBodyTruncated bool + ResponseCode int + ResponseHeaders map[string]interface{} + ResponseHeadersContentTruncated bool + ResponseHeadersCountTruncated bool + Successful bool + Url string + type WebhookHandler struct + func NewWebhookHandler(secret string, h EventHandler) (*WebhookHandler, error) + func (h *WebhookHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) + type WebhookListPagingIterator struct + func (c *WebhookListPagingIterator) Next() bool + func (c *WebhookListPagingIterator) Value(ctx context.Context) (*WebhookListResult, error) + type WebhookListParams struct + After string + Before string + CreatedAt struct{ ... } + IsTest bool + Limit int + Successful bool + type WebhookListResult struct + Meta struct{ ... } + Webhooks []Webhook + type WebhookService struct + func (s *WebhookService) All(ctx context.Context, p WebhookListParams, opts ...RequestOption) *WebhookListPagingIterator + func (s *WebhookService) Get(ctx context.Context, identity string, opts ...RequestOption) (*Webhook, error) + func (s *WebhookService) List(ctx context.Context, p WebhookListParams, opts ...RequestOption) (*WebhookListResult, error) + func (s *WebhookService) Retry(ctx context.Context, identity string, opts ...RequestOption) (*Webhook, error) Other modules containing this package github.com/gocardless/gocardless-pro-go/v2 github.com/gocardless/gocardless-pro-go/v3