# Retrieves a list subscription periods that belong to this subscription Retrieves a list of subscription periods that belong to this subscription. Endpoint: GET /subscriptions/{id}/subscription_periods Version: v1 Security: apiKey ## Path parameters: - `id` (string, required) ## Response 200 fields (application/json): - `type` (string, required) Enum: "list" - `data` (array, required) Example: [{"id":"SPD344S1PDY8XX","type":"subscription_period","amount":1500,"period_number":1,"subscription":"PSUJDW4VCMG9JS","state":"paid","payments":{"type":"list","data":[{"id":"PPH25H07JYWLR7PA82","type":"payment","amount":1000,"description":"Test Payment","currency":"EUR","state":"paid","refunded_amount":0,"return_url":"https://example.com/thank-you","cancel_url":"https://example.com/cancel","paid_at":"2023-06-30T12:44:35Z","created_at":"2023-06-30T12:40:10Z","_links":{"self":"https://api.paypro.nl/payments/PPH25H07JYWLR7PA82"}}],"count":1,"_links":{"self":"https://api.paypro.nl/subscription_periods/SPD344S1PDY8XX/payments"}},"created_at":"2023-06-30T12:40:10Z","_links":{"self":"https://api.paypro.nl/subscription_periods/SPD344S1PDY8XX","subscription":"https://api.paypro.nl/subscriptions/PSUJDW4VCMG9JS"}}] - `data.id` (string, required) Example: "SPD344S1PDY8XX" - `data.amount` (integer, required) Example: 1500 - `data.period_number` (integer, required) Example: 1 - `data.subscription` (string, required) Example: "PSUJDW4VCMG9JS" - `data.state` (string, required) Enum: "open", "pending", "paid", "canceled", "reversed", "refunded" - `data.payments` (object, required) Example: {"type":"list","data":[{"id":"PPH25H07JYWLR7PA82","type":"payment","amount":1000,"description":"Test Payment","currency":"EUR","state":"paid","refunded_amount":0,"return_url":"https://example.com/thank-you","cancel_url":"https://example.com/cancel","paid_at":"2023-06-30T12:44:35Z","created_at":"2023-06-30T12:40:10Z","_links":{"self":"https://api.paypro.nl/payments/PPH25H07JYWLR7PA82"}}],"count":1,"_links":{"self":"https://api.paypro.nl/subscription_periods/SPD344S1PDY8XX/payments"}} - `data.payments.count` (integer, required) Example: 1 - `data.payments._links` (object, required) Example: {"self":"https://api.paypro.nl/subscription_periods/SPD344S1PDY8XX/payments"} - `data.payments._links.self` (string, required) Example: "https://api.paypro.nl/subscription_periods/SPD344S1PDY8XX/payments" - `data.created_at` (string, required) Example: "2023-06-30T12:40:10Z"