# Get subscription Ruft bestimmte Abonnementangaben mithilfe einer ID ab. Endpoint: GET /projects/{project_id}/subscriptions/{subscription_id} Version: 2.0 Security: basicAuth ## Path parameters: - `project_id` (integer, required) Projekt-ID. - `subscription_id` (integer, required) Abonnement-ID. ## Response 200 fields (application/json): - `charge_amount` (number) Abrechnungsbetrag. - `comment` (string) Grund für die Änderung des Abonnementstatus - `currency` (string) Kaufwährung. Währungscode, bestehend aus drei Buchstaben gemäß ISO 4217. - `date_create` (string) Abschlussdatum des Abonnements im Format "JJJJ-MM-TT’T’HH:MM:SS" gemäß [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601). - `date_end` (string) Enddatum de Abonnements im Format "JJJJ-MM-TT’T’HH:MM:SS" gemäß [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601). - `date_last_charge` (string,null) Datum der letzten Abozahlung im Format "JJJJ-MM-TT’T’HH:MM:SS" gemäß [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601). - `date_next_charge` (string,null) Datum der nächsten Abozahlung im Format "JJJJ-MM-TT’T’HH:MM:SS" gemäß [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601). - `id` (integer) Abonnement-ID - `plan` (object) - `plan.billing_retry` (object) Details zu erneuten Abrechnungsversuchen. - `plan.billing_retry.value` (integer, required) Anzahl der erneuten Abrechnungsversuche. - `plan.charge` (object) Details zur Abrechnung. - `plan.charge.amount` (number) Abrechnungsbetrag. - `plan.charge.currency` (string) Kaufwährung. Währungscode, bestehend aus drei Buchstaben gemäß [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217). - `plan.charge.period` (object, required) Abrechnungszeitraum. - `plan.charge.period.type` (string, required) Zeiteinheit. Möglich sind day, month oder lifetime. Enum: "day", "month", "lifetime" - `plan.charge.period.value` (integer, required) Anzahl der Zeiteinheiten. Der Wert hängt vom Parametertyp ab, möglich sind: - von 1 bis 366, sofern für type day festgelegt ist - von 1 bis 12, sofern für type month festgelegt ist -0, sofern für type lifetime festgelegt ist - `plan.charge.prices` (array) Liste der Preise in verschiedenen Währungen. - `plan.charge.prices.setup_fee` (number) Einmalige Einrichtungsgebühr, die als Teil der ersten Rechnung berechnet wird. - `plan.description` (object) Beschreibung zum Abo-Modell. Besteht aus Paaren vom Typ "localization":"plan description" (Sprache:Beschreibung zum Abo-Modell). - `plan.description.ar` (string) Arabisch. - `plan.description.bg` (string) Bulgarisch. - `plan.description.cn` (string) Chinesisch (vereinfacht). - `plan.description.cs` (string) Tschechisch. - `plan.description.de` (string) Deutsch. - `plan.description.en` (string) Englisch. - `plan.description.es` (string) Spanisch. - `plan.description.fr` (string) Französisch. - `plan.description.he` (string) Hebräisch. - `plan.description.it` (string) Italienisch. - `plan.description.ja` (string) Japanisch. - `plan.description.ko` (string) Koreanisch. - `plan.description.pl` (string) Polnisch. - `plan.description.pt` (string) Portugiesisch. - `plan.description.ro` (string) Rumänisch. - `plan.description.ru` (string) Russisch. - `plan.description.th` (string) Thai. - `plan.description.tr` (string) Türkisch. - `plan.description.tw` (string) Chinesisch (traditionell). - `plan.description.vi` (string) Vietnamesisch. - `plan.expiration` (object) Details zum Auslaufen des Abonnements. - `plan.expiration.type` (string, required) Zeiteinheit. Möglich sind day oder month. Enum: "day", "month" - `plan.expiration.value` (integer,null, required) Zeitliche Gültigkeit. - `plan.external_id` (string) Externe ID des Abo-Modells (32 Zeichen). - `plan.grace_period` (object) Angaben zur Übergangsfrist. - `plan.grace_period.type` (string, required) Zeiteinheit. Möglich sind day. Enum: "day" - `plan.grace_period.value` (integer, required) Anzahl der Zeiteinheiten. - `plan.group_id` (string,null) Gruppen-ID, mit der das Abo-Modell verknüpft ist. - `plan.id` (integer) ID des Abo-Modells. - `plan.name` (object) Bezeichnung des Abo-Modells. Besteht aus Paaren vom Typ "localization":"plan name" (Sprache:Bezeichnung des Abo-Modells). - `plan.project_id` (integer) Projekt-ID. - `plan.refund_period` (integer,null) Zeitraum, in dem der Nutzer die Zahlung für ein Abo-Modell erstattet bekommen kann (in Tagen). - `plan.status` (object) - `plan.status.value` (string) Status des Abo-Modells. Enum: "active", "disabled" - `plan.tags` (array) Abo-Modell-Markierungen. - `plan.trial` (object) Details zum Probezeitraum. - `product` (object,null) - `product.id` (integer,null) Produkt-ID, mit der die Abo-Modelle verknüpft sind. - `product.description` (object) Lokalisierte Beschreibungen des Gegenstands. - `product.group_id` (string) Gruppen-ID, mit der das Produkt verknüpft ist. - `product.name` (string) Produktbezeichnung. - `status` (string) Status Enum: "new", "active", "canceled", "non_renewing", "freeze" - `user` (object) - `user.id` (string) Benutzer-ID - `user.name` (string) Benutzername