PINXS.Transfers.Transfer (pinxs v3.2.0) View Source
Proived functions for creating and working with transfers
Link to this section Summary
Functions
Create a transfer
Gets a transfer
Gets a paginated list of transfers
Gets a specific pages of transfers
Retrieve transfers based on search criteria
Link to this section Types
Specs
t() :: %PINXS.Transfers.Transfer{
amount: integer(),
bank_account: nil | PINXS.BankAccounts.BankAccount,
created_at: nil | String.t(),
currency: nil | String.t(),
description: nil | String.t(),
paid_at: nil | String.t(),
recipient: String.t(),
reference: nil | String.t(),
status: nil | String.t(),
token: nil | String.t(),
total_credits: nil | integer(),
total_debits: nil | integer()
}
Link to this section Functions
Create a transfer
Gets a transfer
Gets a paginated list of transfers
Gets a specific pages of transfers
Retrieve transfers based on search criteria
Search options
%{
query: "",
start_date: "YYYY/MM/DD", # 2013/01/01
end_date: "YYYY/MM/DD", # 2013/12/25
sort: "", # field to sort by, default `created_at`
direction: 1 # 1 or -1
}