Charge a customer
Changed onCharge a customer for one or more invoices.
Charging a customer follows a set of rules.
- Customer authorization: The customer authorizedToCharge field must be set as true for you to charge the customer for invoices. Set charge customer authorization with POST /v3/customers/{customerId}/charge-authorization.
- Customer bank account: A customer bank account is required for you to charge a customer. Create a customer bank account with POST /v3/customers/{customerId}/bank-accounts.
Request
- Base URLhttps://gateway.stage.bill.com/connect
- URLhttps://gateway.stage.bill.com/connect/v3/receivable-payments
- Authnone declared
Headers
API session ID generated with /v3/login
Developer key generated with your BILL developer account
Request body
Example request
{
"customerId": "{{customer_id}}",
"fundingAccount": {
"id": "{{customer_bank_account_id}}",
"type": "BANK_ACCOUNT"
},
"description": "Invoice 202602 customer payment",
"paymentDate": "2026-12-15",
"invoicePayments": [
{
"invoiceId": "{{invoice_id}}",
"amount": 100
}
]
}Response
Charge a customer response
Changes
- breaking
the
/////response's property type changed fromstringto no type for status - warning
removed the optional property
/////from the response with the status - warning
removed the optional property
/////from the response with the status - info
added the optional property
/////to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status - info
added
subschema #2to the/////response propertyallOflist for the response status
- breaking