Customers

List eligible electronic billing addresses for a customer

Changed on

List the electronic billing addresses that can be selected for a company customer.

ℹ️ This endpoint requires one of the following scopes: customers:all, customers:readonly

get/api/external/v2/customers/{customer_id}/electronic_billing_addresses

Request

  • Base URL
    https://app.pennylane.com
  • URL
    https://app.pennylane.com/api/external/v2/customers/{customer_id}/electronic_billing_addresses
  • Auth
    OAuth 2
    Authorization code: https://app.pennylane.com/oauth/authorize
    Token URL: https://app.pennylane.com/oauth/oauth/token scopes: customers:all, customers:readonly

Path parameters

customer_idinteger required

Headers

X-Company-Idstring
Example:12345

Numeric ID of the company to act on. Required when authenticating with a firm token. Ignored when the token is already bound to a company.

Response

The list of eligible electronic billing addresses

has_moreboolean required

Always false. This endpoint returns every eligible address in a single response.

next_cursorstring nullable required

Always null. This endpoint returns every eligible address in a single response.

Example response

{
  "items": [
    {
      "electronic_billing_address": "123456789_00012"
    }
  ]
}

Changes