{"action":"closed","issue":{"url":"https://api.github.com/repos/stripe/stripe-php/issues/167","labels_url":"https://api.github.com/repos/stripe/stripe-php/issues/167/labels{/name}","comments_url":"https://api.github.com/repos/stripe/stripe-php/issues/167/comments","events_url":"https://api.github.com/repos/stripe/stripe-php/issues/167/events","html_url":"https://github.com/stripe/stripe-php/issues/167","id":80796111,"number":167,"title":"Stripe List all cards isn't returning the card id","user":{"login":"zeckdude","id":947856,"avatar_url":"https://avatars.githubusercontent.com/u/947856?v=3","gravatar_id":"","url":"https://api.github.com/users/zeckdude","html_url":"https://github.com/zeckdude","followers_url":"https://api.github.com/users/zeckdude/followers","following_url":"https://api.github.com/users/zeckdude/following{/other_user}","gists_url":"https://api.github.com/users/zeckdude/gists{/gist_id}","starred_url":"https://api.github.com/users/zeckdude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeckdude/subscriptions","organizations_url":"https://api.github.com/users/zeckdude/orgs","repos_url":"https://api.github.com/users/zeckdude/repos","events_url":"https://api.github.com/users/zeckdude/events{/privacy}","received_events_url":"https://api.github.com/users/zeckdude/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-05-26T05:11:26Z","updated_at":"2015-05-27T05:01:37Z","closed_at":"2015-05-27T05:01:37Z","body":"I am trying to list out all the cards for a specific customer using the List all card code found here(https://stripe.com/docs/api?lang=php#list_cards). I am able get an array of objects for each card, but the id for the card is not present.\r\n\r\nHere's my code:\r\n\r\n        Stripe::setApiKey($stripe_secret_key);\r\n\t\t$o = Stripe_Customer::retrieve($stripe_customer_id);\r\n\r\n        $card_on_file = $o->sources->all(array(\r\n            'limit'=>1,\r\n            'object' => 'card'\r\n        ));\r\n\r\n        $card_on_file_array = json_decode($card_on_file);\r\n        var_dump($card_on_file_array->data[0]);\r\n\r\nWhen I var dump, I get the following: \r\n\r\n    object(stdClass)[328]\r\n      public 'object' => string 'card' (length=4)\r\n      public 'last4' => string '4242' (length=4)\r\n      public 'brand' => string 'Visa' (length=4)\r\n      public 'funding' => string 'credit' (length=6)\r\n      public 'exp_month' => int 5\r\n      public 'exp_year' => int 2016\r\n      public 'fingerprint' => string 'PtNRNDLAHV3szLHw' (length=16)\r\n      public 'country' => string 'US' (length=2)\r\n      public 'name' => null\r\n      public 'address_line1' => null\r\n      public 'address_line2' => null\r\n      public 'address_city' => null\r\n      public 'address_state' => null\r\n      public 'address_zip' => null\r\n      public 'address_country' => null\r\n      public 'cvc_check' => string 'pass' (length=4)\r\n      public 'address_line1_check' => null\r\n      public 'address_zip_check' => null\r\n      public 'dynamic_last4' => null\r\n      public 'metadata' => \r\n        array (size=0)\r\n          empty\r\n      public 'customer' => string 'cus_6JC8EnkcTdTHVg' (length=18)\r\n      public 'type' => string 'Visa' (length=4)\r\n\r\nWhy is the card ID missing? According to the documentation, it should be present."}}