Updates an Installment plan object. Returns the updated Installment plan
Description of the installment plan. This will be shown to customers and in the PayPro dashboard
ID of the mandate for installment plan. Only approved 'direct-debit' customer's mandates are supported.
Settings for when new periods should be created and with which amounts. When the Installment plan is active updates to these settings will only affect new periods.
installment plan updated
{ "id": "PIV1QACRO4DSMQT0KK", "type": "installment_plan", "description": "Test installment plan", "currency": "EUR", "installment_plan_type": "direct_debit", "state": "active", "created_at": "2023-07-24T12:40:10Z", "customer": "CU7JRN6W6K3DA9", "mandate": "MDC7XX65BH42PW", "period": { "amount": "1000", "vat": "21", "multiplier": 1, "interval": "month" }, "first_period": { "amount": "1000", "vat": "21", "multiplier": 1, "interval": "month" }, "number_of_periods": 5, "payment_details": { "return_url": null, "cancel_url": null }, "metadata": {}, "_links": { "self": "https://api.paypro.nl/installment_plans/PIV1QACRO4DSMQT0KK", "customer": "https://api.paypro.nl/customers/CU7JRN6W6K3DA9", "mandate": "https://api.paypro.nl/mandates/MDC7XX65BH42PW" } }
installment plan canceled
{ "id": "PIV1QACRO4DSMQT0KK", "type": "installment_plan", "description": "Test installment plan", "currency": "EUR", "installment_plan_type": "direct_debit", "state": "active", "created_at": "2023-07-24T12:40:10Z", "customer": "CU7JRN6W6K3DA9", "mandate": "MDC7XX65BH42PW", "period": { "amount": "1000", "vat": "21", "multiplier": 1, "interval": "month" }, "first_period": { "amount": "1000", "vat": "21", "multiplier": 1, "interval": "month" }, "number_of_periods": 5, "payment_details": { "return_url": null, "cancel_url": null }, "metadata": {}, "_links": { "self": "https://api.paypro.nl/installment_plans/PIV1QACRO4DSMQT0KK", "customer": "https://api.paypro.nl/customers/CU7JRN6W6K3DA9", "mandate": "https://api.paypro.nl/mandates/MDC7XX65BH42PW" } }
installment plan periods found
{ "type": "list", "data": [ { … } ], "count": 0, "_links": { "self": "http://example.com", "next": "http://example.com", "prev": "http://example.com" } }