GET
/
billing_templates
/
{id}
/
clients
curl --request GET \
  --url https://gate.chip-in.asia/api/v1/billing_templates/{id}/clients/ \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "type": "<string>",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "created_on": 1619740800,
      "updated_on": 1619740800,
      "client_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "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>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Object ID (UUID)

Response

200 - application/json
OK
results
object[]

Connects a Client object to a BillingTemplate having is_subscription = true to store information about a single subscriber.

You will be able to pause an individual subscription client's cycle by PATCH-ing its' status field to the value of subscription_paused.

next
string | null

The next page of pagination results. null if there are no more results.

previous
string | null

The previous page of pagination results. null if there was no previous page.