efi

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package efi connects to the operator's own Efí account through the official Pix API. It reads balances, received Pix and their completed refunds; it is not a full statement.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Environment      string
	ClientID         string
	ClientSecretFile string
	CertificateFile  string
	PrivateKeyFile   string
	LookbackDays     int
}

type Source

type Source struct {
	// contains filtered or unexported fields
}

func New

func New(cfg Config) (*Source, error)

func (*Source) Close

func (s *Source) Close()

func (*Source) CredentialID

func (s *Source) CredentialID() string

func (*Source) Fetch

func (*Source) Institutions

func (s *Source) Institutions() []ranjit.Institution

func (*Source) Verify

func (s *Source) Verify(ctx context.Context) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL