v1

latestOpenAPI 3.0.12026-07-24310590875.6 KB
customers

Set charge customer authorization

Authorize your organization to charge a customer for invoices.

By default, your organization is not authorized to charge a customer. The customer authorizedToCharge field must be set as true for you to charge the customer for invoices.

post/v3/customers/{customerId}/charge-authorization

Path parameters

customerIdstring required

BILL-generated ID of the customer. The value begins with 0cu.

Example:{{customer_id}}

Headers

sessionIdstring nullable

API session ID generated with /v3/login

Example:{{session_id}}
devKeystring nullable

Developer key generated with your BILL developer account

Example:{{developer_key}}

Request body

authorizedToChargeboolean required

Set as true if your organization is authorized to charge the customer for invoices

Example request

{
  "authorizedToCharge": true
}

Response

Set charge customer authorization response

authorizedToChargeboolean

Set as true if your organization is authorized to charge the customer for invoices