Improved
Account nickname becomes label, transfer exports change shape, sandbox routes move under /sandbox
18 days ago by Roots
Breaking changes: an account's nickname is renamed label on POST /accounts, PATCH /accounts/{account_id} and every account and transfer response, and the transfers export has new default columns, readable cell values and amounts in dollars. The sandbox-only routes move under /sandbox, and an individual customer can own an account.
Breaking changes
nicknameis nowlabelon accounts.- Send
labelonPOST /accountsandPATCH /accounts/{account_id}. A request that sendsnicknamegets a422validation error. See Name an account. - Read
labelonGET /accounts/{account_id}, the account list, theaccount.createdandaccount.status.changedwebhooks, and onsourceanddestinationof every transfer.
- Send
- The transfers export changed shape. This applies to both
format=csvandformat=pdfofGET /transfers/export.- Without
columns, the export hasid,created_at,source_name,source_label,destination_name,destination_label,direction,rail,amount_minorandstatus.account_id,destination_account_idandcounterparty_idare left out unless you ask for them withcolumns. source_labelanddestination_labelare new columns: your own label for each side.- Cells are display text, not API values: for example
Same-day ACH,Internal transferandPendinginstead ofsameday_ach,internalandpending. - The amount column is headed
Amountand is in dollars with two decimals (1000.00), not minor units. You still ask for it withcolumns=amount_minor. - Read the JSON list (
GET /transfers) when you need API values.
- Without
Changes
- Sandbox routes are served under
/api/v1/sandbox.- Fund an account with
POST /sandbox/deposits, with an optionalsender_name; top up billing withPOST /sandbox/billing/deposits; settle, fail or return a transfer withPOST /sandbox/transfers/{transfer_id}/settle,/failand/return; decide a referred review withPOST /sandbox/persons/{person_id}/review. See Test scenarios. POST /transfers/simulate-deposit,POST /transfers/{transfer_id}/simulate-outcome,POST /billing/simulate-depositand the/test-helpersroutes still work and are deprecated. Move to the/sandboxroutes.
- Fund an account with
- An individual can own an account. A person of type
individualwith rolecustomerwhose review has cleared can open an account withPOST /accounts, like a business. Agraph_nodeperson still cannot. See Manage accounts. - PDF exports print names in any script. Names in Cyrillic, Chinese, Arabic and other non-Latin scripts are printed as written in PDF exports and statements, instead of as
?. - Two API reference sections are renamed. Payments is now Transfers, and Test helpers is now Sandbox. The endpoints in them are unchanged.