GET
/
billing_templates
/
curl --request GET \
  --url https://gate.chip-in.asia/api/v1/billing_templates/ \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "type": "<string>",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "created_on": 1619740800,
      "updated_on": 1619740800,
      "purchase": {
        "currency": "<string>",
        "products": [
          {
            "name": "<string>",
            "quantity": "<string>",
            "price": 1,
            "discount": 1,
            "tax_percent": "<string>",
            "category": "<string>"
          }
        ],
        "total": 123,
        "language": "<string>",
        "notes": "<string>",
        "debt": 123,
        "subtotal_override": 123,
        "total_tax_override": 123,
        "total_discount_override": 123,
        "total_override": 123,
        "request_client_details": [
          "email"
        ],
        "timezone": "Europe/Oslo",
        "due_strict": true,
        "email_message": "<string>"
      },
      "company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "is_test": true,
      "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "brand_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "title": "<string>",
      "is_subscription": true,
      "invoice_issued": "2020-04-30",
      "invoice_due": 1619740800,
      "invoice_skip_capture": true,
      "invoice_send_receipt": true,
      "subscription_period": 128,
      "subscription_period_units": "days",
      "subscription_due_period": 128,
      "subscription_due_period_units": "days",
      "subscription_charge_period_end": true,
      "subscription_trial_periods": 128,
      "subscription_active": true,
      "subscription_has_active_clients": true,
      "force_recurring": true
    }
  ],
  "next": "<string>",
  "previous": "<string>"
}

Authorizations

Authorization
string
headerrequired

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

Response

200 - application/json
results
object[]
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.