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 |
|---|---|
idstring readonly |
Object ID |
objectstring readonly |
Value: billing_charge |
amountnumber required |
Amount of the charge |
attrsjson |
Custom object attributes |
billing_schedule_idid required |
ID of the associated Billing Schedule object |
created_atdatetime readonly |
None |
descriptionstring |
Description of charge |
end_datedate |
End date for when this charge should be applied |
modified_atdatetime readonly |
None |
qtynumber |
Quantity of the item |
start_datedate |
Start date for when this charge should be applied |
totalnumber readonly |
Total amount of charge |
typestring |
Arbitrary type classification |