This article contains changes made within our APIs related to the January 2022 release.
New Billing Run Processing Option
New: Introduced a new boolean for processing options for Billing Runs where no email is sent to a customer when their invoice total amount is equal to zero (Do not email if the total invoice amount is equal to zero).
Endpoint: /api/v1/billing_runs
Field Name: do_not_email_if_invoice_total_zero
{
"id": "BR-00005",
"target_date": "2017-05-01",
"invoice_date": "2017-05-01",
"filter_options": {
"customer": [
{
"id": "C-0001"
},
{
"name": {
"not": [
"cutomer_name1",
"cutomer_name2"
]
}
},
{
"status": {
"not": "in_active"
}
}
],
"subscription": [
{
"id": [
"S-00001",
"S-00002"
]
}
],
"order": [
{
"order_date": "2020-12-01"
},
{
"order_amount": {
"gt": 0
}
}
],
"plan": [
{
"id": "/.*PLN-00.*/"
}
],
"product": [
{
"price": {
"lt": 1000
}
}
],
"subscription_charge": [
{
"charge_id": [
"CHG-00001",
"CHG-00002"
]
},
{
"start_date": {
"gte": "2020-10-01"
}
},
{
"end_date": {
"lte": "2020-12-31"
}
}
]
},
"created_by": "no-reply@ordwaylabs.com",
"updated_by": "no-reply@ordwaylabs.com",
"created_date": "2018-09-04T21:16:36.731Z",
"updated_date": "2018-09-04T21:16:36.731Z",
"charge_type": "recurring",
"auto_post": true,
"send_after_post": true,
"do_not_email_if_auto_pay_is_on_with_payment_method": true,
"do_not_email_if_invoice_total_zero": true
"do_not_email_if_invoice_balance_zero": true,
}
Comments
0 comments
Please sign in to leave a comment.