FedNow transfers over the Federal Reserve's instant payment network:
instant and final. The receiving bank must be on FedNow. Use
require_approval: true.
Functions
approve-fednow-transfer
fn (transfer-id: Str): Map
fn (transfer-id: Str, opts: Map): Map
POST /fednow_transfers/{id}/approve: approve a FedNow Transfer in
pending_approval. Approving releases the transfer to be sent: agents
must not approve on their own; leave it to a person (in the Increase
dashboard, or through your own approval step that calls this).
Example
// Call this from a person's approval step, never from an agent.
transfer ::increase::fednow-transfers/approve-fednow-transfer("fednow_transfer_uoxatyh3lt5evrsdvo7q")
transfer.status
cancel-fednow-transfer
fn (transfer-id: Str): Map
fn (transfer-id: Str, opts: Map): Map
POST /fednow_transfers/{id}/cancel: cancel a FedNow Transfer that is
still pending_approval.
Example
transfer ::increase::fednow-transfers/cancel-fednow-transfer("fednow_transfer_uoxatyh3lt5evrsdvo7q")
transfer.status
create-fednow-transfer
fn (params: Map, opts: Map): Map
POST /fednow_transfers: create a FedNow Transfer. Moves money: opts must carry an
idempotency-key (the call errs without one and sends nothing), and
the call is never retried. params needs amount, creditor_name, debtor_name, source_account_number_id, unstructured_remittance_information.
The destination is external_account_id or account_number plus
routing_number. Optional: creditor_address and debtor_address
({line1, city, state, postal_code}).
Example
::increase::fednow-transfers/create-fednow-transfer({
source_account_number_id: "account_number_v18nkfqm6afpsrvy82b2",
external_account_id: "external_account_ukk55lr923a3ac0pp7iv",
amount: 5000,
creditor_name: "Ian Crease",
debtor_name: "National Phonograph Company",
unstructured_remittance_information: "Invoice 42",
require_approval: true
}, {idempotency-key: "invoice-42-fednow"})
Set require_approval: true (or the increase.transfers.require-approval
context variable) so a person approves the transfer before it is sent.
get-fednow-transfer
fn (transfer-id: Str): Map
fn (transfer-id: Str, opts: Map): Map
GET /fednow_transfers/{id}: retrieve a FedNow Transfer.
Example
transfer ::increase::fednow-transfers/get-fednow-transfer("fednow_transfer_uoxatyh3lt5evrsdvo7q")
transfer.status
transfer.amount
list-fednow-transfers
fn (): Map
fn (params: Map): Map
fn (params: Map, opts: Map): Map
GET /fednow_transfers: one page of FedNow Transfers ({data, next_cursor}). Filters: account_id, external_account_id,
"status.in", idempotency_key, created_at: {after, before, on_or_after, on_or_before}, limit, cursor.
Example
page ::increase::fednow-transfers/list-fednow-transfers({account_id: "account_in71c4amph0vgo2qllky", "status.in": ["pending_approval"], limit: 25})
map(page.data, %.id)