Pauses a subscription. A paused subscription will no longer create new subscription periods.
You can resume the subscription by calling the /subscriptions/:id/resume endpoint.
subscription paused
{ "id": "PSV1QACRO4DSMQT0KK", "type": "subscription", "description": "Test subscription", "currency": "EUR", "subscription_type": "direct_debit", "state": "active", "start_at": null, "created_at": "2023-07-24T12:40:10Z", "cancel_at": null, "customer": "CU7JRN6W6K3DA9", "mandate": "MD6ULYXJ4HP9RJ", "scheduling": "automatic", "period": { "amount": "1000", "vat": "21", "multiplier": 1, "interval": "month" }, "first_period": { "amount": "1000", "vat": "21", "multiplier": 1, "interval": "month" }, "payment_details": { "return_url": null, "cancel_url": null }, "metadata": {}, "_links": { "self": "https://api.paypro.nl/subscriptions/PSV1QACRO4DSMQT0KK", "customer": "https://api.paypro.nl/customers/CU7JRN6W6K3DA9", "mandate": "https://api.paypro.nl/mandates/MD6ULYXJ4HP9RJ" } }
subscription resumes
{ "id": "PSV1QACRO4DSMQT0KK", "type": "subscription", "description": "Test subscription", "currency": "EUR", "subscription_type": "direct_debit", "state": "active", "start_at": null, "created_at": "2023-07-24T12:40:10Z", "cancel_at": null, "customer": "CU7JRN6W6K3DA9", "mandate": "MD6ULYXJ4HP9RJ", "scheduling": "automatic", "period": { "amount": "1000", "vat": "21", "multiplier": 1, "interval": "month" }, "first_period": { "amount": "1000", "vat": "21", "multiplier": 1, "interval": "month" }, "payment_details": { "return_url": null, "cancel_url": null }, "metadata": {}, "_links": { "self": "https://api.paypro.nl/subscriptions/PSV1QACRO4DSMQT0KK", "customer": "https://api.paypro.nl/customers/CU7JRN6W6K3DA9", "mandate": "https://api.paypro.nl/mandates/MD6ULYXJ4HP9RJ" } }
subscription periods found
{ "type": "list", "data": [ { … } ], "count": 0, "_links": { "self": "http://example.com", "next": "http://example.com", "prev": "http://example.com" } }