Get customer pending charges

GET /api/v1/delayed-charges/customers/{customer_id}/pending

Get pending delayed charges for a specific customer.

Operation ID: get_customer_pending_charges_api_v1_delayed_charges_customers__customer_id__pending_get · View as markdown · OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Path

customer_id string required

Responses

200 Successful Response

customer_id string required
customer_name string
total_charges integer

Total pending charges in cents

total_credits integer

Total pending credits in cents

net_amount integer

Net amount (charges - credits) in cents

count integer

Number of pending items

items array · DelayedChargeResponse DelayedChargeResponse
20 fields
id string required
business_id string required
customer_id string required
type string required
status string required
currency string required
amount integer required
amount_in_dollars string required
description string required
internal_notes string
line_items object
service_date string · date-time
invoiced_invoice_id string
invoiced_at string · date-time
created_at string · date-time required
updated_at string · date-time required
customer_name string
can_be_updated boolean
can_be_deleted boolean
can_be_invoiced boolean

401 Unauthorized - Authentication required

403 Forbidden - Insufficient permissions

404 Not Found - Resource does not exist

422 Validation Error

detail array · ValidationError ValidationError
5 fields
loc array · string | integer required
msg string required
type string required
input object
ctx object