recurly-client-ruby
recurly-client-ruby copied to clipboard
Changing Billing info?
How do I update billing info (switching to a different card) for an existing subscription?
I can see a class for this in lib/recurly/resources/subscription_change_billing_info.rb but it seems to define no methods.
Thanks!
If your site has the Wallet feature (multiple billing infos per account enabled), you can use the billing_info attribute on the subscription_change endpoint. Otherwise if your site only has one billing info per account, you can use the billing_info endpoint to change it.
See the developer docs for more information: https://recurly.com/developers/api/v2021-02-25/index.html