{"action":"created","issue":{"url":"https://api.github.com/repos/braintree/braintree_ios/issues/104","labels_url":"https://api.github.com/repos/braintree/braintree_ios/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/braintree/braintree_ios/issues/104/comments","events_url":"https://api.github.com/repos/braintree/braintree_ios/issues/104/events","html_url":"https://github.com/braintree/braintree_ios/issues/104","id":59587077,"number":104,"title":"Saving BTMutableCardPaymentMethod to Keycain","user":{"login":"SolomonBier","id":8339609,"avatar_url":"https://avatars.githubusercontent.com/u/8339609?v=3","gravatar_id":"","url":"https://api.github.com/users/SolomonBier","html_url":"https://github.com/SolomonBier","followers_url":"https://api.github.com/users/SolomonBier/followers","following_url":"https://api.github.com/users/SolomonBier/following{/other_user}","gists_url":"https://api.github.com/users/SolomonBier/gists{/gist_id}","starred_url":"https://api.github.com/users/SolomonBier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SolomonBier/subscriptions","organizations_url":"https://api.github.com/users/SolomonBier/orgs","repos_url":"https://api.github.com/users/SolomonBier/repos","events_url":"https://api.github.com/users/SolomonBier/events{/privacy}","received_events_url":"https://api.github.com/users/SolomonBier/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-03T02:45:04Z","updated_at":"2015-03-03T17:22:11Z","closed_at":null,"body":"I'm unable to save `BTMutableCardPaymentMethod` to the Keychain because it does not respond to `encodeWithCoder`. Can this ability be added so default payment can be saved without having to be reloaded every time ? \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/braintree/braintree_ios/issues/comments/76990859","html_url":"https://github.com/braintree/braintree_ios/issues/104#issuecomment-76990859","issue_url":"https://api.github.com/repos/braintree/braintree_ios/issues/104","id":76990859,"user":{"login":"mickeyreiss","id":47405,"avatar_url":"https://avatars.githubusercontent.com/u/47405?v=3","gravatar_id":"","url":"https://api.github.com/users/mickeyreiss","html_url":"https://github.com/mickeyreiss","followers_url":"https://api.github.com/users/mickeyreiss/followers","following_url":"https://api.github.com/users/mickeyreiss/following{/other_user}","gists_url":"https://api.github.com/users/mickeyreiss/gists{/gist_id}","starred_url":"https://api.github.com/users/mickeyreiss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mickeyreiss/subscriptions","organizations_url":"https://api.github.com/users/mickeyreiss/orgs","repos_url":"https://api.github.com/users/mickeyreiss/repos","events_url":"https://api.github.com/users/mickeyreiss/events{/privacy}","received_events_url":"https://api.github.com/users/mickeyreiss/received_events","type":"User","site_admin":false},"created_at":"2015-03-03T17:22:11Z","updated_at":"2015-03-03T17:22:11Z","body":"Can you go into more depth as to why you would need to save this object in the keychain? \r\n\r\n`BTPaymentMethod`'s contain a nonce, which is a short-lived, single-use token that can be used to [save a payment method in the vault](https://developers.braintreepayments.com/ios/start/vault). There is no reason to persist them on the client."}}