https://api.payload.com/billing_charges
Nested Objects
https://api.payload.com/billing_charges/{id}/billing_schedule
Example
{
"id": "bcrg_28XDkQAyCOAZ1FuvOYBbOmWqg",
"object": "billing_charge",
"amount": 825.32,
"attrs": {},
"billing_schedule_id": "bscd_1qbnGgFQUgyPGujNYP5KOJi3O",
"created_at": "2024-08-21 13:35:03",
"description": "string",
"end_date": "2024-08-21",
"modified_at": "2024-08-21 13:35:03",
"qty": 645.06,
"start_date": "2024-08-21",
"total": 898.23,
"type": "string"
}
Attributes | Description |
---|---|
id string readonly |
Object ID |
object string readonly |
Value: billing_charge |
amount number required |
Amount of the charge |
attrs json |
Custom object attributes |
billing_schedule_id id required |
ID of the associated Billing Schedule object |
created_at datetime readonly |
None |
description string |
Description of charge |
end_date date |
End date for when this charge should be applied |
modified_at datetime readonly |
None |
qty number |
Quantity of the item |
start_date date |
Start date for when this charge should be applied |
total number readonly |
Total amount of charge |
type string |
Arbitrary type classification |