banktransferinstruction

package
v1.49.21 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Query

Types

type BankTransferInstruction

type BankTransferInstruction struct {
	mixin.Model[BankTransferInstruction]

	CustomerId    string        `json:"customerId"`
	Currency      currency.Type `json:"currency" orm:"default:usd"`
	Type          string        `json:"type"`      // "ach" | "wire" | "sepa"
	Reference     string        `json:"reference"` // unique payment reference
	BankName      string        `json:"bankName"`
	AccountHolder string        `json:"accountHolder,omitempty"`
	AccountNumber string        `json:"accountNumber"` // last 4 only (masked)
	RoutingNumber string        `json:"routingNumber,omitempty"`
	IBAN          string        `json:"iban,omitempty"`
	BIC           string        `json:"bic,omitempty"`
	Status        string        `json:"status" orm:"default:active"` // "active" | "expired"

	Metadata  Map    `json:"metadata,omitempty" datastore:"-"`
	Metadata_ string `json:"-" datastore:",noindex"`
}

BankTransferInstruction represents bank account details issued to a customer for receiving inbound wire/ACH/SEPA transfers. Each instruction carries a unique payment reference that is used to reconcile incoming funds.

func (*BankTransferInstruction) Load

func (i *BankTransferInstruction) Load(ps []datastore.Property) (err error)

func (*BankTransferInstruction) Save

func (i *BankTransferInstruction) Save() (ps []datastore.Property, err error)

func (*BankTransferInstruction) Validator

func (i *BankTransferInstruction) Validator() *val.Validator

Jump to

Keyboard shortcuts

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