List Xero accounts for deposits

Returns live Xero chart accounts for the organization on the API key. purpose=prepayment returns the revenue-account set. The id is the value accepted as revenueAccountId on the deposit charge. purpose=overpayment returns bank accounts only. QuickBooks and Business Central return 400. These are not gateway deposit or refund accounts.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
enum
required

Which deposit the account is for. prepayment returns Xero revenue accounts (the id accepted as revenueAccountId). overpayment returns Xero bank accounts only.

Allowed:
integer
1 to 1000
Defaults to 20
integer
0 to 9007199254740991
Defaults to 0
Headers
uuid

Optional client-supplied unique ID for one request. The server generates a UUID v4 if omitted and always echoes the value in the response.

uuid

Optional ID that flows across service boundaries for distributed tracing. The server generates a UUID v4 if omitted and always echoes the value in the response.

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json