---
updatedAt: 2026-09-28T15:45:53.000Z
agentTools:
  projectIndex: https://developer.bill.com/llms.txt
---

# Customers

A customer is an organization that pays you for goods and services you provide. Vendors and customers using BILL can be connected to each other in the BILL network. Network connections between vendors and customers enable electronic payments between them.

See the <Anchor label="/v3/customers" target="_blank" href="createcustomer">/v3/customers</Anchor> API for the complete list of available operations.

## Tutorial: BILL AR API Deep Dive

<Embed typeOfEmbed="youtube" url="https://www.youtube.com/watch?v=SLzl0MvDrv0" html="%3Ciframe%20class%3D%22embedly-embed%22%20src%3D%22%2F%2Fcdn.embedly.com%2Fwidgets%2Fmedia.html%3Fsrc%3Dhttps%253A%252F%252Fwww.youtube.com%252Fembed%252FSLzl0MvDrv0%253Ffeature%253Doembed%26display_name%3DYouTube%26url%3Dhttps%253A%252F%252Fwww.youtube.com%252Fwatch%253Fv%253DSLzl0MvDrv0%26image%3Dhttps%253A%252F%252Fi.ytimg.com%252Fvi%252FSLzl0MvDrv0%252Fhqdefault.jpg%26type%3Dtext%252Fhtml%26schema%3Dyoutube%22%20width%3D%22854%22%20height%3D%22480%22%20scrolling%3D%22no%22%20title%3D%22YouTube%20embed%22%20frameborder%3D%220%22%20allow%3D%22autoplay%3B%20fullscreen%3B%20encrypted-media%3B%20picture-in-picture%3B%22%20allowfullscreen%3D%22true%22%3E%3C%2Fiframe%3E" href="https://www.youtube.com/watch?v=SLzl0MvDrv0" providerUrl="https://www.youtube.com/" providerName="YouTube" />

## Create a customer

In your `POST /v3/customers` request, set the required fields.

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th>
        Field
      </th>

      <th>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `name`
      </td>

      <td>
        Customer name
      </td>
    </tr>

    <tr>
      <td>
        `email`
      </td>

      <td>
        Customer email address
      </td>
    </tr>

    <tr>
      <td>
        `invoiceCurrency`
      </td>

      <td>
        Customer invoice currency. This field specifies the currency with which an international customer pays invoices.

        This field is required for creating an international customer.
      </td>
    </tr>
  </tbody>
</Table>

See the <Anchor label="POST /v3/customers" target="_blank" href="createcustomer">POST /v3/customers</Anchor> API for more information about the other customer fields you can set.

### Sample request

In this cURL example, a customer is created with the specified details. The `contact` and `billingAddress` details are added to maintain customer contact information.

```curl
curl --request POST \
--url 'https://gateway.stage.bill.com/connect/v3/customers' \
--header 'content-type: application/json' \
--header 'devKey: {developer_key}' \
--header 'sessionId: {session_id}' \
--data '{
  "name": "Paperless Band", 
  "companyName": "Paperless Band LLC",
  "contact": {
    "firstName": "Check",
    "lastName": "Mailworth"
  },
  "email": "contact@paperlessband.org", 
  "accountType": "BUSINESS",
  "phone": "9998887654",
  "billingAddress": {
    "line1": "987 Side Street",
    "city": "San Jose",
    "stateOrProvince": "CA",
    "zipOrPostalCode": "95002",
    "country": "US"
  }
}'
```

### Response

In the response, a BILL-generated customer `id` is available. The value begins with `0cu`. You can use this customer `id` for other BILL operations.

In addition, a balance `value` is available. This value is updated when invoices are created for this customer.

```json
{
  "id": "{customer_id}",
  "archived": false,
  "name": "Paperless Band",
  "companyName": "Paperless Band LLC",
  "contact": {
      "firstName": "Check",
      "lastName": "Mailworth"
  },
  "email": "contact@paperlessband.org",
  "phone": "9998887654",
  "invoiceCurrency": "USD",
  "accountType": "BUSINESS",
  "billingAddress": {
    "line1": "987 Side Street",
    "city": "San Jose",
    "stateOrProvince": "CA",
    "zipOrPostalCode": "95002",
    "country": "US"
  },
  "balance": {
    "amount": {
      "value": 0.00
      }
  },
  "createdTime": "2026-12-30T23:25:27.127+00:00",
  "updatedTime": "2026-12-30T23:25:28.127+00:00"
}
```

See the <Anchor label="/v3/customers" target="_blank" href="ref:createcustomer">/v3/customers</Anchor> API for the complete list of available operations.

## Create a customer bank account

Use `POST /v3/customers/{customerId}/bank-accounts` to add a customer bank account. When you add customer bank account information, you can charge the customer for invoices with your BILL account.

The customer `billingAddress` information is required before you can create a customer bank account. You can add the `billingAddress` for an existing customer with `PATCH /v3/customers/{customerId}`.

> 👍 Contact the support team to get access to the Create a customer bank account feature
>
> Contact the BILL support team to get access to the Create a customer bank account feature with the API. If the feature is not enabled for your sandbox BILL organization, you will get the `Current user or organization does not have valid permissions.` error in the response.
>
> This a temporary step. In the future, creating customer bank accounts with the API will not require any special access.

In your `POST /v3/customers/{customerId}/bank-accounts` request, set the required fields.

| Field           | Description                                                 |
| :-------------- | :---------------------------------------------------------- |
| `nameOnAccount` | Customer bank account name                                  |
| `routingNumber` | Customer bank routing number                                |
| `accountNumber` | Customer bank account number                                |
| `type`          | Customer bank account type (`CHECKING` or `SAVINGS`)        |
| `ownerType`     | Customer bank account owner type (`BUSINESS` or `PERSONAL`) |

See the <Anchor label="POST /v3/customers/\{customerId}/bank-accounts" target="_blank" href="https://developer.bill.com/reference/createcustomerbankaccount">POST /v3/customers/\{customerId}/bank-accounts</Anchor> API for more information about the other fields you can set.

### Sample request

In this cURL example, a customer bank account is added for an existing customer.

```curl
curl --request POST \
--url 'https://gateway.stage.bill.com/connect/v3/customers/{customerId}/bank-accounts' \
--header 'content-type: application/json' \
--header 'devKey: {developer_key}' \
--header 'sessionId: {session_id}' \
--data '{
  "nameOnAccount": "Clark Spenderson", 
  "routingNumber": "074000010",
  "accountNumber": "9876543210", 
  "type": "CHECKING",
  "ownerType": "BUSINESS"
}'
```

### Response

In the response, a BILL-generated ID of the customer bank account is available. The value begins with `cba`.

See the <Anchor label="/v3/customers" target="_blank" href="createcustomer">/v3/customers</Anchor> API for the complete list of available operations.