Money arriving from other banks: inbound ACH transfers (credits and
debits against your account numbers), inbound wires, inbound
Real-Time Payments and inbound FedNow transfers. Inbound ACH debits
can be declined or returned, inbound wires reversed, and inbound RTP
transfers returned. Returns, declines and reversals send money back,
so they need an idempotency-key like any other money movement.
Inbound objects carry the sender's account and routing numbers: don't
log them. Follow inbound_ach_transfer.created (and the wire, RTP and
FedNow equivalents) events rather than polling.
Functions
create-notification-of-change
fn (inbound-ach-transfer-id: Str, params: Map): Map
fn (inbound-ach-transfer-id: Str, params: Map, opts: Map): Map
POST /inbound_ach_transfers/{id}/create_notification_of_change: tell the
originator to use corrected details next time. params:
updated_account_number and/or updated_routing_number (sensitive;
never logged by this package).
Example
::increase::inbound-transfers/create-notification-of-change("inbound_ach_transfer_tdrwqr3fq9gnnq49odev",
{updated_routing_number: "101050001"})
decline-inbound-ach-transfer
fn (inbound-ach-transfer-id: Str, reason: Str?, opts: Map): Map
POST /inbound_ach_transfers/{id}/decline: decline a pending Inbound
ACH Transfer before it settles. reason is an ACH return reason such
as "insufficient_funds", "authorization_revoked_by_customer",
"payment_stopped" or
"customer_advised_unauthorized_improper_ineligible_or_incomplete"
(null lets Increase pick). Needs an idempotency-key.
Example
::increase::inbound-transfers/decline-inbound-ach-transfer("inbound_ach_transfer_tdrwqr3fq9gnnq49odev", "payment_stopped",
{idempotency-key: "decline-inbound-ach-tdrwqr"})
get-inbound-ach-transfer
fn (inbound-ach-transfer-id: Str): Map
fn (inbound-ach-transfer-id: Str, opts: Map): Map
GET /inbound_ach_transfers/{id}: retrieve an Inbound ACH Transfer.
Example
transfer ::increase::inbound-transfers/get-inbound-ach-transfer("inbound_ach_transfer_tdrwqr3fq9gnnq49odev")
transfer.status
transfer.amount
get-inbound-fednow-transfer
fn (inbound-fednow-transfer-id: Str): Map
fn (inbound-fednow-transfer-id: Str, opts: Map): Map
GET /inbound_fednow_transfers/{id}: retrieve an Inbound FedNow Transfer.
Example
transfer ::increase::inbound-transfers/get-inbound-fednow-transfer("inbound_fednow_transfer_ctxxbc07oh5ke5w1hk20")
transfer.status
transfer.amount
get-inbound-rtp-transfer
fn (inbound-rtp-transfer-id: Str): Map
fn (inbound-rtp-transfer-id: Str, opts: Map): Map
GET /inbound_real_time_payments_transfers/{id}: retrieve an Inbound Real-Time Payments Transfer.
Example
transfer ::increase::inbound-transfers/get-inbound-rtp-transfer("inbound_real_time_payments_transfer_shp8pcdyn3xqm9hk1zh2")
transfer.status
transfer.amount
get-inbound-wire-transfer
fn (inbound-wire-transfer-id: Str): Map
fn (inbound-wire-transfer-id: Str, opts: Map): Map
GET /inbound_wire_transfers/{id}: retrieve an Inbound Wire Transfer.
Example
transfer ::increase::inbound-transfers/get-inbound-wire-transfer("inbound_wire_transfer_f228m6bmhtcxjco9pwp0")
transfer.status
transfer.amount
list-inbound-ach-transfers
fn (): Map
fn (params: Map): Map
fn (params: Map, opts: Map): Map
GET /inbound_ach_transfers: one page of Inbound ACH Transfers. Filters:
account_id, account_number_id, "status.in" (pending, declined,
accepted, returned), created_at, limit, cursor.
Example
page ::increase::inbound-transfers/list-inbound-ach-transfers({account_id: "account_in71c4amph0vgo2qllky", "status.in": ["pending"]})
map(page.data, %.id)
list-inbound-fednow-transfers
fn (): Map
fn (params: Map): Map
fn (params: Map, opts: Map): Map
GET /inbound_fednow_transfers: one page of Inbound FedNow Transfers.
Filters: account_id, account_number_id, created_at, limit,
cursor.
Example
page ::increase::inbound-transfers/list-inbound-fednow-transfers({account_id: "account_in71c4amph0vgo2qllky", limit: 25})
map(page.data, %.id)
list-inbound-rtp-transfers
fn (): Map
fn (params: Map): Map
fn (params: Map, opts: Map): Map
GET /inbound_real_time_payments_transfers: one page of Inbound Real-Time
Payments Transfers. Filters: account_id, account_number_id,
created_at, limit, cursor.
Example
page ::increase::inbound-transfers/list-inbound-rtp-transfers({account_id: "account_in71c4amph0vgo2qllky", limit: 25})
map(page.data, %.id)
list-inbound-wire-transfers
fn (): Map
fn (params: Map): Map
fn (params: Map, opts: Map): Map
GET /inbound_wire_transfers: one page of Inbound Wire Transfers.
Filters: account_id, account_number_id, "status.in" (pending,
accepted, declined, reversed), wire_drawdown_request_id,
created_at, limit, cursor.
Example
page ::increase::inbound-transfers/list-inbound-wire-transfers({account_id: "account_in71c4amph0vgo2qllky", "status.in": ["accepted"]})
map(page.data, %.id)
return-inbound-ach-transfer
fn (inbound-ach-transfer-id: Str, reason: Str, opts: Map): Map
POST /inbound_ach_transfers/{id}/transfer_return: return an
accepted Inbound ACH Transfer, e.g. a debit your customer disputes.
reason is required (see decline-inbound-ach-transfer). Needs an
idempotency-key.
Example
::increase::inbound-transfers/return-inbound-ach-transfer("inbound_ach_transfer_tdrwqr3fq9gnnq49odev", "payment_stopped",
{idempotency-key: "return-inbound-ach-tdrwqr"})
return-inbound-rtp-transfer
fn (inbound-rtp-transfer-id: Str, params: Map, opts: Map): Map
POST /inbound_real_time_payments_transfers/{id}/return: return a
received Real-Time Payment to its sender as a new outbound transfer.
params may set amount (cents; default the full amount). Needs an
idempotency-key.
Example
::increase::inbound-transfers/return-inbound-rtp-transfer("inbound_real_time_payments_transfer_shp8pcdyn3xqm9hk1zh2", {amount: 500},
{idempotency-key: "return-inbound-rtp-shp8pc"})
reverse-inbound-wire-transfer
fn (inbound-wire-transfer-id: Str, reason: Str, opts: Map): Map
POST /inbound_wire_transfers/{id}/reverse: send an inbound wire back.
reason is "duplicate", "creditor_request" or
"transaction_forbidden". Needs an idempotency-key.
Example
::increase::inbound-transfers/reverse-inbound-wire-transfer("inbound_wire_transfer_f228m6bmhtcxjco9pwp0", "duplicate",
{idempotency-key: "reverse-inbound-wire-f228m6"})