Retrieve an account

Retrieves the account with the given ID.

Request
path Parameters
account_id
required
string

Identifier for the account, either account_number or account_id

query Parameters
expand[]
Array of strings

Allows you to expand responses by including related object information in a single call. See the 'Expand responses' section of the Quickstart API Tutorial for detailed instructions.

Responses
200

Default Response

4XX

Default Response

get/accounts/{account_id}
Request samples

curl --request GET      --url https://rest.apisandbox.zuora.com/v2/accounts/2c92c0f86a8dd422016a9e7a70116b0d      --header 'Authorization: Bearer dcf5d050c6e7493688859d04da581938'      --header 'Content-Type: application/json'
Response samples
application/json
{
  • "id": "8ad085518262bc17018265525eab3696",
  • "updated_by_id": "2c92c0946a6dffc0016a7faab604299b",
  • "updated_time": "2022-08-03T13:07:53-07:00",
  • "created_by_id": "2c92c0946a6dffc0016a7faab604299b",
  • "created_time": "2022-08-03T13:07:53-07:00",
  • "custom_fields": {
    },
  • "account_number": "RC-00020489",
  • "billing_document_settings": {
    },
  • "batch": "Batch1",
  • "bill_cycle_day": 0,
  • "communication_profile_id": "",
  • "crm_id": "",
  • "default_payment_method_id": "",
  • "name": "Amy Lawrence Account",
  • "description": "",
  • "payment_gateway": "",
  • "payment_terms": "Due Upon Receipt",
  • "auto_pay": false,
  • "currency": "USD",
  • "enabled": true,
  • "remaining_debit_memo_balance": 0,
  • "remaining_invoice_balance": 0,
  • "remaining_credit_memo_balance": 0,
  • "remaining_payment_balance": 0,
  • "bill_to_id": "8ad085518262bc17018265525ebb3697",
  • "sold_to_id": "8ad085518262bc17018265525ec43699"
}