         email: "ivan@example.com",
         credential: %{
           type: "external-credential",
-          id: @valid_claim_id,
+          id: Ecto.UUID.generate(),
           metadata: %{
             phone: "+380631112233"
           }

      } = resp
    end

    test "with invalid card data" do
      resp = "claims"
      |> post!(construct_claim(@valid_claim_id, %{type: "card-number", number: "1473959513413611"}))
      |> get_body

      assert %{

      } = resp
    end

    test "with invalid credential type", %{claim_id: claim_id} do
      resp = "claims"
      |> post!(construct_claim(claim_id, %{type: "card-token", token: "invalid_token"}))
      |> get_body

      assert %{
