Payouts and payees API
Bank payments out (ACH, RTP, wire) to saved payees, with cut-off times.
Base URL https://api.ndstill.com/v2. Send Authorization: Bearer with a key, Ndstill-Version: 2026-11-01, and an Idempotency-Key on every POST. Conventions, scopes and errors are in the API overview and Errors and decline reasons. Examples come from the mock backend; the shapes are the TypeScript types in packages/api.
Create a payee#
/v2/payees- namestringrequired
- kindstring enumrequired
"business""individual" - emailstring
- routing_numberstringrequired
- account_numberstringrequired
- idId
- object"payee"
- org_idId
- created_atTimestamp
- updated_atTimestampoptional
- test_modebooleanoptional
True for test-mode objects (simulations, sandbox).
- namestring
- kindstring enum
"business""individual" - emailstring | null
- bankobject
3 fields
- routing_last4string
- account_last4string
- bank_namestring
- railsarray of string enum
"ach""rtp""wire""fednow" - statusstring enum
"active""pending_verification""disabled" - paid_totalMoney
An amount: integer minor units + asset.
Money: 2 fields
- amountnumber
- assetAssetCode
"USD""USDC""EUR""GBP"
- last_paid_atTimestamp | null
- 400invalid_request
A field is missing or invalid; fields names each one.
- 401authentication
The key or token is missing, expired or revoked.
- 403permission
The key's scopes or the person's role don't allow this.
- 409conflict
The object changed or already exists, or the Idempotency-Key was reused with a different body.
- 429rate_limited
Slow down; retry after the Retry-After header.
curl -X POST "https://api.ndstill.com/v2/payees" \
-H "Authorization: Bearer $NDSTILL_API_KEY" \
-H "Ndstill-Version: 2026-11-01" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"name": "Northwind Supplies",
"kind": "business",
"email": "ap@northwind.example",
"routing_number": "021000021",
"account_number": "000123456789"
}'{
"id": "payee_01M82XPRP3J56THYF7FP3SGYGA",
"object": "payee",
"org_id": "org_A99F918124609C9DAAACB209D8",
"created_at": "2026-11-23T00:43:13.475Z",
"name": "Northwind Supplies",
"kind": "business",
"email": "ap@northwind.example",
"bank": {
"routing_last4": "0021",
"account_last4": "6789",
"bank_name": "Verified on first payment"
},
"rails": [
"ach"
],
"status": "pending_verification",
"paid_total": {
"amount": 0,
"asset": "USD"
},
"last_paid_at": null
}Runs against the in-browser mock with a test key. Nothing leaves your browser.
Create a payout#
/v2/payoutsSend a bank payment (ACH, RTP or wire) to a saved payee, under policy.
- payee_idIdrequired
- account_idIdrequired
- amountMoneyrequired
An amount: integer minor units + asset.
Money: 2 fields
- amountnumberrequired
- assetAssetCoderequired
"USD""USDC""EUR""GBP"
- railstring enumrequired
"ach""rtp""wire""fednow" - memostring
- step_upstring
- idId
- object"payout"
- org_idId
- created_atTimestamp
- updated_atTimestampoptional
- test_modebooleanoptional
True for test-mode objects (simulations, sandbox).
- payeeRef
Small reference used for denormalized names in lists (no N+1 lookups in tables).
Ref: 2 fields
- idId
- namestring
- accountRef
Small reference used for denormalized names in lists (no N+1 lookups in tables).
Ref: 2 fields
- idId
- namestring
- amountMoney
An amount: integer minor units + asset.
Money: 2 fields
- amountnumber
- assetAssetCode
"USD""USDC""EUR""GBP"
- railstring enum
"ach""rtp""wire""fednow" - memostring
- statusstring enum
"pending""submitted""settled""failed""returned""pending_approval""canceled" - approval_idId | null
- intent_idId | null
- submitted_atTimestamp | null
- settled_atTimestamp | null
- cutoff_atTimestamp | null
The rail's cut-off for same-day processing.
- return_codestring | null
- return_reasonstring | nulloptional
Plain-language return reason ("Account closed").
- approval_routePayoutApprovalRoute | nulloptional
Who must approve, by which rule (null = no approval needed).
PayoutApprovalRoute: 4 fields
- rulestring
- approversstring[]
- required_assurancestring enum
"passkey""any""dual" - approved_bystring[]
- expected_settlement_atTimestamp | nulloptional
When the money should arrive, from the rail calendar.
- 400invalid_request
A field is missing or invalid; fields names each one.
- 400step_up_required
A person must confirm with a passkey first, when the org requires it.
- 401authentication
The key or token is missing, expired or revoked.
- 403permission
The key's scopes or the person's role don't allow this.
- 409conflict
The object changed or already exists, or the Idempotency-Key was reused with a different body.
- 429rate_limited
Slow down; retry after the Retry-After header.
curl -X POST "https://api.ndstill.com/v2/payouts" \
-H "Authorization: Bearer $NDSTILL_API_KEY" \
-H "Ndstill-Version: 2026-11-01" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"payee_id": "payee_01KT2WHMME6PTXCWQ1R58GKHJC",
"account_id": "acct_01KFYEF2ME06XAB4EK595YGSS2",
"amount": {
"amount": 25000,
"asset": "USD"
},
"rail": "ach",
"memo": "Invoice 1042"
}'{
"id": "po_01M82XPRP65FSDPCRZEK07935X",
"object": "payout",
"org_id": "org_A99F918124609C9DAAACB209D8",
"created_at": "2026-11-23T00:43:13.478Z",
"payee": {
"id": "payee_01KT2WHMME6PTXCWQ1R58GKHJC",
"name": "Bright Path Cleaning"
},
"account": {
"id": "acct_01KFYEF2ME06XAB4EK595YGSS2",
"name": "Operating"
},
"amount": {
"amount": 25000,
"asset": "USD"
},
"rail": "ach",
"memo": "Invoice 1042",
"status": "pending",
"approval_id": null,
"intent_id": null,
"submitted_at": null,
"settled_at": null,
"cutoff_at": "2026-11-23T21:00:00.000Z",
"return_code": null,
"return_reason": null,
"approval_route": null,
"expected_settlement_at": "2026-11-24T19:00:00.000Z"
}Runs against the in-browser mock with a test key. Nothing leaves your browser.
List payees#
/v2/payees- statusstring enum
"active""pending_verification""disabled" - cursorstring
- limitnumber
1–200, default 50.
- qstring
Free-text search over names, ids and descriptors.
- sortstring
Sort field, prefix "-" for descending ("-created_at" is the default).
- created_gteTimestamp
created_at >= (ISO).
- created_lteTimestamp
created_at <= (ISO).
Returns a list envelope: object "list", data[], has_more, next_cursor (pass it back as cursor) and total when cheap to count. Items:
The same Payee object as Create a payee.
- 400invalid_request
A query parameter is invalid.
- 401authentication
The key or token is missing, expired or revoked.
- 403permission
The key's scopes or the person's role don't allow this.
- 429rate_limited
Slow down; retry after the Retry-After header.
curl -X GET "https://api.ndstill.com/v2/payees?limit=2" \
-H "Authorization: Bearer $NDSTILL_API_KEY" \
-H "Ndstill-Version: 2026-11-01"{
"object": "list",
"data": [
{
"id": "payee_01KT2WHMME6PTXCWQ1R58GKHJC",
"object": "payee",
"org_id": "org_A99F918124609C9DAAACB209D8",
"created_at": "2026-06-02T00:43:11.374Z",
"name": "Bright Path Cleaning",
"kind": "business",
"email": "billing@brightpathcleaning.example",
"bank": {
"routing_last4": "1395",
"account_last4": "4735",
"bank_name": "Chase"
},
"rails": [
"ach",
"wire"
],
"status": "active",
"paid_total": {
"amount": 3918200,
"asset": "USD"
},
"last_paid_at": "2026-10-24T00:43:11.374Z"
},
{
"id": "payee_01M2VHVZMEMKM1PV8QMDB27PGQ",
"object": "payee",
"org_id": "org_A99F918124609C9DAAACB209D8",
"created_at": "2026-09-19T00:43:11.374Z",
"name": "Delgado Consulting",
"kind": "business",
"email": "billing@delgadoconsulting.example",
"bank": {
"routing_last4": "8479",
"account_last4": "1679",
"bank_name": "Bank of America"
},
"rails": [
"ach",
"rtp"
],
"status": "active",
"paid_total": {
"amount": 4860900,
"asset": "USD"
},
"last_paid_at": "2026-11-20T00:43:11.374Z"
}
],
"has_more": true,
"next_cursor": "Mg==",
"total": 6
}Runs against the in-browser mock with a test key. Nothing leaves your browser.
List payouts#
/v2/payouts- statusstring enum
"pending""submitted""settled""failed""returned""pending_approval""canceled" - payee_idId
- cursorstring
- limitnumber
1–200, default 50.
- qstring
Free-text search over names, ids and descriptors.
- sortstring
Sort field, prefix "-" for descending ("-created_at" is the default).
- created_gteTimestamp
created_at >= (ISO).
- created_lteTimestamp
created_at <= (ISO).
Returns a list envelope: object "list", data[], has_more, next_cursor (pass it back as cursor) and total when cheap to count. Items:
The same Payout object as Create a payout.
- 400invalid_request
A query parameter is invalid.
- 401authentication
The key or token is missing, expired or revoked.
- 403permission
The key's scopes or the person's role don't allow this.
- 429rate_limited
Slow down; retry after the Retry-After header.
curl -X GET "https://api.ndstill.com/v2/payouts?limit=2" \
-H "Authorization: Bearer $NDSTILL_API_KEY" \
-H "Ndstill-Version: 2026-11-01"{
"object": "list",
"data": [
{
"id": "po_01M82PTZCE5QZZ3T2K3XE2C20A",
"object": "payout",
"org_id": "org_A99F918124609C9DAAACB209D8",
"created_at": "2026-11-22T22:43:11.374Z",
"payee": {
"id": "payee_01KWG4F6MER2GM84XRJQ2V4MB4",
"name": "Lumen Translation"
},
"account": {
"id": "acct_01KFYEF2ME06XAB4EK595YGSS2",
"name": "Operating"
},
"amount": {
"amount": 883200,
"asset": "USD"
},
"rail": "ach",
"memo": "October retainer",
"status": "pending",
"approval_id": null,
"intent_id": null,
"submitted_at": null,
"settled_at": null,
"cutoff_at": "2026-11-23T21:00:00.000Z",
"return_code": null,
"approval_route": {
"rule": "Payouts of $5,000.00 or more need one approver with a passkey",
"approvers": [
"Dana Whitfield",
"Marcus Lee",
"Priya Raman"
],
"required_assurance": "passkey",
"approved_by": [
"Priya Raman"
]
},
"expected_settlement_at": "2026-11-24T19:00:00.000Z",
"return_reason": null
},
{
"id": "po_01M82KD3RE9TK4DMFK786B3TYN",
"object": "payout",
"org_id": "org_A99F918124609C9DAAACB209D8",
"created_at": "2026-11-22T21:43:11.374Z",
"payee": {
"id": "payee_01KPM5EQME03WRCK433KA9F1YW",
"name": "Northside Design LLC"
},
"account": {
"id": "acct_01KFYEF2ME06XAB4EK595YGSS2",
"name": "Operating"
},
"amount": {
"amount": 520300,
"asset": "USD"
},
"rail": "wire",
"memo": "Office lease",
"status": "pending_approval",
"approval_id": null,
"intent_id": null,
"submitted_at": null,
"settled_at": null,
"cutoff_at": "2026-11-23T22:00:00.000Z",
"return_code": null,
"approval_route": {
"rule": "Payouts of $5,000.00 or more need one approver with a passkey",
"approvers": [
"Dana Whitfield",
"Marcus Lee",
"Priya Raman"
],
"required_assurance": "passkey",
"approved_by": []
},
"expected_settlement_at": "2026-11-23T23:00:00.000Z",
"return_reason": null
}
],
"has_more": true,
"next_cursor": "Mg==",
"total": 15
}Runs against the in-browser mock with a test key. Nothing leaves your browser.
Retrieve a payee#
/v2/payees/{id}- idIdrequired
A prefixed ID from this org.
The same Payee object as Create a payee.
- 401authentication
The key or token is missing, expired or revoked.
- 403permission
The key's scopes or the person's role don't allow this.
- 404not_found
No object with that id in this org.
- 429rate_limited
Slow down; retry after the Retry-After header.
curl -X GET "https://api.ndstill.com/v2/payees/payee_01KT2WHMME6PTXCWQ1R58GKHJC" \
-H "Authorization: Bearer $NDSTILL_API_KEY" \
-H "Ndstill-Version: 2026-11-01"{
"id": "payee_01KT2WHMME6PTXCWQ1R58GKHJC",
"object": "payee",
"org_id": "org_A99F918124609C9DAAACB209D8",
"created_at": "2026-06-02T00:43:11.374Z",
"name": "Bright Path Cleaning",
"kind": "business",
"email": "billing@brightpathcleaning.example",
"bank": {
"routing_last4": "1395",
"account_last4": "4735",
"bank_name": "Chase"
},
"rails": [
"ach",
"wire"
],
"status": "active",
"paid_total": {
"amount": 3918200,
"asset": "USD"
},
"last_paid_at": "2026-10-24T00:43:11.374Z"
}Runs against the in-browser mock with a test key. Nothing leaves your browser.
Retrieve a payout#
/v2/payouts/{id}- idIdrequired
A prefixed ID from this org.
The same Payout object as Create a payout.
- 401authentication
The key or token is missing, expired or revoked.
- 403permission
The key's scopes or the person's role don't allow this.
- 404not_found
No object with that id in this org.
- 429rate_limited
Slow down; retry after the Retry-After header.
curl -X GET "https://api.ndstill.com/v2/payouts/po_01M82KD3RE9TK4DMFK786B3TYN" \
-H "Authorization: Bearer $NDSTILL_API_KEY" \
-H "Ndstill-Version: 2026-11-01"{
"id": "po_01M82KD3RE9TK4DMFK786B3TYN",
"object": "payout",
"org_id": "org_A99F918124609C9DAAACB209D8",
"created_at": "2026-11-22T21:43:11.374Z",
"payee": {
"id": "payee_01KPM5EQME03WRCK433KA9F1YW",
"name": "Northside Design LLC"
},
"account": {
"id": "acct_01KFYEF2ME06XAB4EK595YGSS2",
"name": "Operating"
},
"amount": {
"amount": 520300,
"asset": "USD"
},
"rail": "wire",
"memo": "Office lease",
"status": "pending_approval",
"approval_id": null,
"intent_id": null,
"submitted_at": null,
"settled_at": null,
"cutoff_at": "2026-11-23T22:00:00.000Z",
"return_code": null,
"approval_route": {
"rule": "Payouts of $5,000.00 or more need one approver with a passkey",
"approvers": [
"Dana Whitfield",
"Marcus Lee",
"Priya Raman"
],
"required_assurance": "passkey",
"approved_by": []
},
"expected_settlement_at": "2026-11-23T23:00:00.000Z",
"return_reason": null
}Runs against the in-browser mock with a test key. Nothing leaves your browser.
Get payout cut-off times#
/v2/payouts/cutoffs- object"payout_cutoffs"
- time_zonestring
- railsobject[]
6 fields
- railstring enum
"ach""rtp""wire""fednow" - labelstring
- cutoff_atTimestamp | null
- settlesstring
- open_nowboolean
- notestring
- next_holidayobject | null
2 fields
- datestring
- namestring
- approval_thresholdMoney
Orders at or above this need approval.
Money: 2 fields
- amountnumber
- assetAssetCode
"USD""USDC""EUR""GBP"
- 401authentication
The key or token is missing, expired or revoked.
- 403permission
The key's scopes or the person's role don't allow this.
- 429rate_limited
Slow down; retry after the Retry-After header.
curl -X GET "https://api.ndstill.com/v2/payouts/cutoffs" \
-H "Authorization: Bearer $NDSTILL_API_KEY" \
-H "Ndstill-Version: 2026-11-01"{
"object": "payout_cutoffs",
"time_zone": "America/New_York",
"rails": [
{
"rail": "ach",
"label": "ACH",
"cutoff_at": "2026-11-23T21:00:00.000Z",
"settles": "Next business day",
"open_now": false,
"note": "Orders in before the cut-off go out today and arrive the next business day."
},
{
"rail": "wire",
"label": "Wire",
"cutoff_at": "2026-11-23T22:00:00.000Z",
"settles": "Same business day",
"open_now": false,
"note": "Orders in before the cut-off arrive today. Wires can't be recalled once sent."
},
{
"rail": "rtp",
"label": "RTP",
"cutoff_at": null,
"settles": "In seconds, any day",
"open_now": true,
"note": "Instant and final. The receiving bank must be on the RTP network."
}
],
"next_holiday": {
"date": "2026-11-26",
"name": "Thanksgiving Day"
},
"approval_threshold": {
"amount": 500000,
"asset": "USD"
}
}Runs against the in-browser mock with a test key. Nothing leaves your browser.
Approve a payout#
/v2/payouts/{id}/approve- idIdrequired
A prefixed ID from this org.
- passkey_assertionstringrequired
The same Payout object as Create a payout.
- 400invalid_request
A field is missing or invalid; fields names each one.
- 400step_up_required
A person must confirm with a passkey first, when the org requires it.
- 401authentication
The key or token is missing, expired or revoked.
- 403permission
The key's scopes or the person's role don't allow this.
- 404not_found
No object with that id in this org.
- 409conflict
The object changed or already exists, or the Idempotency-Key was reused with a different body.
- 429rate_limited
Slow down; retry after the Retry-After header.
curl -X POST "https://api.ndstill.com/v2/payouts/po_01M82KD3RE9TK4DMFK786B3TYN/approve" \
-H "Authorization: Bearer $NDSTILL_API_KEY" \
-H "Ndstill-Version: 2026-11-01" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"passkey_assertion": "passkey_assertion_from_webauthn"
}'{
"id": "po_01M82KD3RE9TK4DMFK786B3TYN",
"object": "payout",
"org_id": "org_A99F918124609C9DAAACB209D8",
"created_at": "2026-11-22T21:43:11.374Z",
"payee": {
"id": "payee_01KPM5EQME03WRCK433KA9F1YW",
"name": "Northside Design LLC"
},
"account": {
"id": "acct_01KFYEF2ME06XAB4EK595YGSS2",
"name": "Operating"
},
"amount": {
"amount": 520300,
"asset": "USD"
},
"rail": "wire",
"memo": "Office lease",
"status": "pending",
"approval_id": null,
"intent_id": null,
"submitted_at": null,
"settled_at": null,
"cutoff_at": "2026-11-23T22:00:00.000Z",
"return_code": null,
"approval_route": {
"rule": "Payouts of $5,000.00 or more need one approver with a passkey",
"approvers": [
"Dana Whitfield",
"Marcus Lee",
"Priya Raman"
],
"required_assurance": "passkey",
"approved_by": [
"Dana Whitfield"
]
},
"expected_settlement_at": "2026-11-24T00:00:00.000Z",
"return_reason": null,
"updated_at": "2026-11-23T00:43:13.577Z"
}Runs against the in-browser mock with a test key. Nothing leaves your browser.
Cancel a payout#
/v2/payouts/{id}/cancel- idIdrequired
A prefixed ID from this org.
The same Payout object as Create a payout.
- 400step_up_required
A person must confirm with a passkey first, when the org requires it.
- 401authentication
The key or token is missing, expired or revoked.
- 403permission
The key's scopes or the person's role don't allow this.
- 404not_found
No object with that id in this org.
- 409conflict
The object changed or already exists, or the Idempotency-Key was reused with a different body.
- 429rate_limited
Slow down; retry after the Retry-After header.
curl -X POST "https://api.ndstill.com/v2/payouts/po_01M82XPRP65FSDPCRZEK07935X/cancel" \
-H "Authorization: Bearer $NDSTILL_API_KEY" \
-H "Ndstill-Version: 2026-11-01" \
-H "Idempotency-Key: $(uuidgen)"{
"id": "po_01M82XPRP65FSDPCRZEK07935X",
"object": "payout",
"org_id": "org_A99F918124609C9DAAACB209D8",
"created_at": "2026-11-23T00:43:13.478Z",
"payee": {
"id": "payee_01KT2WHMME6PTXCWQ1R58GKHJC",
"name": "Bright Path Cleaning"
},
"account": {
"id": "acct_01KFYEF2ME06XAB4EK595YGSS2",
"name": "Operating"
},
"amount": {
"amount": 25000,
"asset": "USD"
},
"rail": "ach",
"memo": "Invoice 1042",
"status": "canceled",
"approval_id": null,
"intent_id": null,
"submitted_at": null,
"settled_at": null,
"cutoff_at": "2026-11-23T21:00:00.000Z",
"return_code": null,
"return_reason": null,
"approval_route": null,
"expected_settlement_at": null,
"updated_at": "2026-11-23T00:43:13.568Z"
}Runs against the in-browser mock with a test key. Nothing leaves your browser.