$PUBLIC_KEY)); // Creando Cargo a una tarjeta $token = $culqi->Tokens->create( array( "card_number" => "4111111111111111", "cvv" => "123", "email" => "wmuro".uniqid()."@me.com", //email must not repeated "expiration_month" => 9, "expiration_year" => 2020, "fingerprint" => uniqid() ) ); // Respuesta echo json_encode("Token: ".$token->id); } catch (Exception $e) { echo json_encode($e->getMessage()); }