GET /api/subscriptions
Get a list of company-specific user-specific subscriptions

Returns a list of company-specific user-specific subscriptions

Supported Formats

json

Examples

[
 {"ccb_name":"MANEKI NEKO: Githup monthly payment", created_at: "28/05/21 12:28"},
 {"ccb_name":"MANEKI NEKO: Soups Inc yearly payment", created_at: "28/05/21 12:28"}
] 

GET /api/subscriptions/:id/receipts
Get a list of the last 20 receipts of the subscription

Returns a list of last 20 receipts for the subscription

Supported Formats

json

Examples

[
  {"description":"MANEKI NEKO: Soups Inc yearly payment", "date":"2021-03-18", "total":"154.36 EUR", "href":"#receipts/122/edit"},
  {"description":"MANEKI NEKO: Fancy kitty monthly subscription",  "date":"2021-11-12", "total":"14.82 EUR", "href":"#receipts/123/edit"}
]