GET
/
subscriptions
/
{id}
/
invoices
curl --request GET \
  --url https://api.smokeball.com/subscriptions/{id}/invoices \
  --header 'Authorization: <api-key>' \
  --header 'x-api-key: <api-key>'
{
  "id": "<string>",
  "href": "<string>",
  "relation": "<string>",
  "method": "GET",
  "self": {
    "id": "<string>",
    "href": "<string>",
    "relation": "<string>",
    "method": "GET"
  },
  "value": [
    {
      "status": "Paid",
      "description": "<string>",
      "total": 1899,
      "lineItems": [
        {
          "product": {
            "id": "<string>",
            "href": "<string>",
            "relation": "<string>",
            "method": "<string>"
          },
          "description": "<string>",
          "interval": "<string>",
          "amount": 109,
          "tax": 10.9,
          "preTaxCredit": 200,
          "quantity": 3
        }
      ],
      "createdDate": "2022-04-23T14:00:00Z"
    }
  ]
}

Authorizations

x-api-key
string
header
required
Authorization
string
header
required

Path Parameters

id
string
required

The unique identifier of the subscription

Query Parameters

limit
integer
default:10

Response

200
application/json

Successfully retrieved the subscription invoices

The response is of type object.