https://api.payload.co/billing_charges
Nested Objects
https://api.payload.co/billing_charges/{id}/billing_schedule
Example
{
"id": "bcrg_wSVXMoZklrAPnZfo1rm1vitX",
"object": "billing_charge",
"amount": 541.82,
"attrs": {},
"billing_schedule_id": "bscd_FuCInbPRynt1BiqYQtKqjtGK",
"created_at": "2022-02-02 21:11:49",
"description": "string",
"modified_at": "2022-02-02 21:11:49",
"qty": 495.54,
"total": 960.6,
"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 |
Timestamp object was created |
description string |
Description of charge |
modified_at datetime readonly |
Timestamp object was last updated |
qty number |
Quantity of the item |
total number readonly |
Total amount of charge |
type string |
Arbitrary type classification |