examples/subscriptions/create.rb in mollie-api-ruby-4.1.4 vs examples/subscriptions/create.rb in mollie-api-ruby-4.1.5
- old
+ new
@@ -2,7 +2,8 @@
customer_id: 'cst_5a2pPrwaWy',
amount: { value: '20.00', currency: 'EUR' },
times: 4,
interval: '3 months',
description: 'Quarterly payment',
- webhook_url: 'https://webshop.example.org/payments/webhook/'
+ metadata: { my_field: 'value' },
+ webhook_url: 'https://webshop.example.org/payments/webhook/',
)