How to delete a "Recurly" account completely from ruby api

Posted by Subrahmanyam Konduri on Stack Overflow See other posts from Stack Overflow or by Subrahmanyam Konduri
Published on 2012-03-28T09:33:14Z Indexed on 2012/03/28 11:29 UTC
Read the original article Hit count: 134

Filed under:

Can anyone please tell me how to delete a recurly account. As, I have tried with the following commands,

r = Recurly::Account.find(account_code)
r.delete

And also, I have tried with "r.destroy".

But, it only changing the state of recurly account from "active" to "closed" and not deleting the account completely.

I am using rails 2.3.11 for this application.

Thanks in advance.

K. Subrahmanyam.

© Stack Overflow or respective owner

Related posts about ruby-on-rails-2