recurly-client-ruby icon indicating copy to clipboard operation
recurly-client-ruby copied to clipboard

Changing Billing info?

Open QasimQureshi opened this issue 2 years ago • 1 comments

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!

QasimQureshi avatar Dec 29 '23 11:12 QasimQureshi

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

judith avatar Jan 03 '24 18:01 judith