GET
/
api
/
external
/
v2
/
billing_subscriptions
/
{id}
{
  "activated_at": "2023-08-30T10:08:08.146343Z",
  "created_at": "2023-08-30T10:08:08.146343Z",
  "customer": {
    "id": 42,
    "url": "https://app.pennylane.com/api/external/v2/customers/42"
  },
  "customer_invoice_data": {
    "amount": "230.32",
    "currency": "EUR",
    "currency_amount": "230.32",
    "currency_amount_before_tax": "196.32",
    "currency_tax": "34.0",
    "customer_invoice_template": {
      "id": -488901
    },
    "discount": {
      "type": "relative",
      "value": "25"
    },
    "exchange_rate": "1.0",
    "invoice_line_sections": {
      "url": "https://app.pennylane.com/api/external/v2/billing_subscriptions/42/invoice_line_sections"
    },
    "invoice_lines": {
      "url": "https://app.pennylane.com/api/external/v2/billing_subscriptions/42/invoice_lines"
    },
    "label": "Demo label",
    "language": "fr_FR",
    "pdf_description": "Invoice description",
    "pdf_invoice_free_text": "Thanks for paying this invoice",
    "pdf_invoice_subject": "Invoice subject",
    "special_mention": "Additional details"
  },
  "email_settings": {
    "billing_email_template": {
      "id": -39722384,
      "label": "ad est"
    },
    "recipients": [
      "vOdtU3Q@i.jhsd",
      "LR12Gy@ptuBtYFUPraObbti.dpww"
    ]
  },
  "finish": "2023-12-31",
  "id": 42,
  "mode": "awaiting_validation",
  "next_occurrence": "2023-01-01",
  "payment_conditions": "45_days",
  "payment_method": "gocardless_direct_debit",
  "prev_occurrence": "2023-01-01",
  "recurring_rule": {
    "count": 12,
    "day": [
      -81685170.72863732,
      39343460.08805153
    ],
    "day_of_month": [
      52407504.70488015,
      -60172127.97687837
    ],
    "interval": -16228956,
    "rule_type": "monthly",
    "until": "minim consectetur occaecat ad",
    "week_start": -46920795.19710379
  },
  "start": "2023-01-01",
  "status": "finished",
  "stopped_at": "2023-08-30T10:08:08.146343Z",
  "updated_at": "2023-08-30T10:08:08.146343Z"
}

Path Parameters

id
string
required

(Required) The ID of the billing subscription to retrieve

Example:

"42"

Response

200
application/json

Returns the requested billing subscription

The response is of type object.