9 * @property string $object
10 * @property mixed $bank_account
11 * @property mixed $card
12 * @property mixed $client_ip
13 * @property int $created
14 * @property bool $livemode
15 * @property string $type
16 * @property bool $used
20 class Token
extends ApiResource
23 * @param array|string $id The ID of the token to retrieve, or an options
24 * array containing an `id` key.
25 * @param array|string|null $opts
29 public static function retrieve($id, $opts = null)
31 return self
::_retrieve($id, $opts);
35 * @param array|null $params
36 * @param array|string|null $opts
38 * @return Token The created token.
40 public static function create($params = null, $opts = null)
42 return self
::_create($params, $opts);