List all billing template clients for this billing template.
https://gate.qorepay.com/api/v1/billing_templates/{id}/clients
HEADER PARAMS
authorization
String
required
Set value to
BEARER SECRET_KEY
content-type
String
required
Set value to
JSON
PATH PARAMS
id
string
required
ID associated with the billing template.
RESPONSES
200
OK
Query
Javascript
const options = {
method: 'GET',
headers: {
accept: 'application/json'
}
};
fetch('https://gate.qorepay.com/api/v1/billing_templates/{id}/clients', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
Sample Response
JSON
{
"results": [
{
"type": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"created_on": 1619740800,
"updated_on": 1619740800,
"client_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"number_of_billing_cycles_passed": 0,
"invoice_reference": "string",
"status": "inactive",
"subscription_billing_scheduled_on": "2020-04-30",
"payment_method_whitelist": [
"string"
],
"send_invoice_on_charge_failure": true,
"send_invoice_on_add_subscriber": false,
"send_receipt": true
}
],
"next": "string",
"previous": "string"
}