https://api.payload.com/billing_schedules
Nested Objects
https://api.payload.com/billing_schedules/{id}/charges
https://api.payload.com/billing_schedules/{id}/customer
https://api.payload.com/billing_schedules/{id}/invoices
Example
{
"id": "bscd_Rb6nKJsKwiDtiZMgPslYalvc",
"object": "billing_schedule",
"amount_due": 31.67,
"attrs": {},
"charges": [],
"created_at": "2024-08-21 13:35:03",
"customer_id": "acct_os7Re9MDOXo3ns7fjpYDQr8l",
"description": "string",
"end_date": "2024-08-21",
"invoices": [],
"modified_at": "2024-08-21 13:35:03",
"processing_id": "acct_19AOL3AvhQ5i9uHbF0ptowZJs",
"recurring_amount": 767.3,
"recurring_frequency": "daily",
"start_date": "2024-08-21",
"total_due": 676.75,
"total_paid": 846.35,
"type": "string",
"annually": {
"billing_day": 1,
"billing_month": 1
},
"bimonthly": {
"first_billing_day": 1,
"second_billing_day": 1
},
"monthly": {
"billing_day": null,
"billing_week": null,
"billing_weekday": null
},
"quarterly": {
"q1": {
"billing_day": 1,
"billing_month": 1
},
"q2": {
"billing_day": 1,
"billing_month": 4
},
"q3": {
"billing_day": 1,
"billing_month": 7
},
"q4": {
"billing_day": 1,
"billing_month": 10
}
}
}
| Attributes | Description |
|---|---|
idstring readonly |
Object ID |
objectstring readonly |
Value: billing_schedule |
amount_duenumber readonly |
Remaining amount due |
attrsjson |
Custom object attributes |
chargeslist |
Array of associated Billing Charge objects |
created_atdatetime readonly |
None |
customer_idid required |
ID of the associated Customer Account object |
descriptionstring |
Billing Description |
end_datedate |
End date of the billing schedule |
invoiceslist |
Array of associated Invoice objects |
modified_atdatetime readonly |
None |
processing_idid required |
ID of associated Processing Account object |
recurring_amountnumber readonly |
Recurring amount due |
recurring_frequencystring |
Values: daily weekly biweekly bimonthly monthly quarterly annually |
start_datedate |
Start date of the billing schedule |
total_duenumber readonly |
Total amount due |
total_paidnumber readonly |
Total amount paid |
typestring |
Arbitrary type classification |
| annually: | |
|---|---|
billing_dayint required |
Values: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
billing_monthint required |
Values: 1 2 3 4 5 6 7 8 9 10 11 12 |
| bimonthly: | |
|---|---|
first_billing_dayint required |
Values: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
second_billing_dayint required |
Values: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
| monthly: | |
|---|---|
billing_dayint |
Values: None 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
billing_weekstring |
Values: None first last |
billing_weekdayint |
Values: None 0 1 2 3 4 5 6 |
| quarterly: |
|---|
| q1: | |
|---|---|
billing_dayint required |
Values: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
billing_monthint required |
Values: 1 2 3 |
| q2: | |
|---|---|
billing_dayint required |
Values: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
billing_monthint required |
Values: 4 5 6 |
| q3: | |
|---|---|
billing_dayint required |
Values: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
billing_monthint required |
Values: 7 8 9 |
| q4: | |
|---|---|
billing_dayint required |
Values: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
billing_monthint required |
Values: 10 11 12 |