Pay private bolt11 via sendpay I need to get fee, before send payment.
BOLT11:
root@855e20daeae9:/# lightning-cli --testnet decodepay lntb1u1p07t3tdpp5ax3hk4jzf08sn8a8dupayswf6ja497mj25lmcdqn7m0ce22ch0qqdq8vankwecxqrrss9qy9qsqsp5f5s9kqwnp7uh3pg93wr970420xy7vueelqhratwlrt9jzvn2lv7srzjqwfn3p9278ttzzpe0e00uhyxhned3j5d9acqak5emwfpflp8z2cng8xmauqqq0gqqqqqqqlgqqqqqeqqjqatpu8h3tcatdvvxl0t93zkltwlpzaqlu75sgrh3vv92utfqaq6gpgmyaks48v5tptmc30yaach48pr3l3dfnhm5ytr5my8z87xjmnpcqmjh036
{
   &quot;currency&quot;: &quot;tb&quot;,
   &quot;created_at&quot;: 1608893805,
   &quot;expiry&quot;: 3600,
   &quot;payee&quot;: &quot;03aba9dfe8612755f6edc363b90e3f1f4a684517cd0558452fb9620ffaebab683e&quot;,
   &quot;msatoshi&quot;: 100000,
   &quot;amount_msat&quot;: &quot;100000msat&quot;,
   &quot;description&quot;: &quot;gggg&quot;,
   &quot;min_final_cltv_expiry&quot;: 18,
   &quot;payment_secret&quot;: &quot;4d205b01d30fb97885058b865f3eaa7989e67339f82e3eaddf1acb21326afb3d&quot;,
   &quot;features&quot;: &quot;028200&quot;,
   &quot;routes&quot;: [
      [
         {
            &quot;pubkey&quot;: &quot;03933884aaf1d6b108397e5efe5c86bcf2d8ca8d2f700eda99db9214fc2712b134&quot;,
            &quot;short_channel_id&quot;: &quot;1891311x61x0&quot;,
            &quot;fee_base_msat&quot;: 1000,
            &quot;fee_proportional_millionths&quot;: 100,
            &quot;cltv_expiry_delta&quot;: 144
         }
      ]
   ],
   &quot;payment_hash&quot;: &quot;e9a37b56424bcf099fa76f03d241c9d4bb52fb72553fbc3413f6df8ca958bbc0&quot;,
   &quot;signature&quot;: &quot;3045022100eac3c3de2bc756d630df7acb115beb77c22e83fcf52081de2c6155c5a41d06900220146c9db42a7651615ef11793bdc5ea708e3f8b533bee8458e9b21c47f1a5b987&quot;
}

Then i need to get route:
getroute id msatoshi riskfactor [cltv] [fromid] [fuzzpercent] [exclude] [maxhops]

Final node ID:
root@855e20daeae9:/# lightning-cli --testnet getroute 030f1784fafe1b5b143e4e4545e6c2f612943c60e6a5b770b35e324c60b6ae9516 10000000 10
{
   &quot;route&quot;: [
      {
         &quot;id&quot;: &quot;03933884aaf1d6b108397e5efe5c86bcf2d8ca8d2f700eda99db9214fc2712b134&quot;,
         &quot;channel&quot;: &quot;1900118x8x0&quot;,
         &quot;direction&quot;: 1,
         &quot;msatoshi&quot;: 10002000,
         &quot;amount_msat&quot;: &quot;10002000msat&quot;,
         &quot;delay&quot;: 178,
         &quot;style&quot;: &quot;tlv&quot;
      },
      {
         &quot;id&quot;: &quot;03d5e17a3c213fe490e1b0c389f8cfcfcea08a29717d50a9f453735e0ab2a7c003&quot;,
         &quot;channel&quot;: &quot;1834823x53x0&quot;,
         &quot;direction&quot;: 0,
         &quot;msatoshi&quot;: 10000000,
         &quot;amount_msat&quot;: &quot;10000000msat&quot;,
         &quot;delay&quot;: 34,
         &quot;style&quot;: &quot;tlv&quot;
      },
      {
         &quot;id&quot;: &quot;030f1784fafe1b5b143e4e4545e6c2f612943c60e6a5b770b35e324c60b6ae9516&quot;,
         &quot;channel&quot;: &quot;1722566x108x0&quot;,
         &quot;direction&quot;: 1,
         &quot;msatoshi&quot;: 10000000,
         &quot;amount_msat&quot;: &quot;10000000msat&quot;,
         &quot;delay&quot;: 9,
         &quot;style&quot;: &quot;tlv&quot;
      }
   ]
}

which id should i use to get the route fot private BOLT11?
how to pay private BOLT11 in manual mode?
There is the routes field in the invoice as a routing hint
   &quot;routes&quot;: [
      [
         {
            &quot;pubkey&quot;: &quot;03933884aaf1d6b108397e5efe5c86bcf2d8ca8d2f700eda99db9214fc2712b134&quot;,
            &quot;short_channel_id&quot;: &quot;1891311x61x0&quot;,
            &quot;fee_base_msat&quot;: 1000,
            &quot;fee_proportional_millionths&quot;: 100,
            &quot;cltv_expiry_delta&quot;: 144
         }
      ]

This tells you the node ID which getroute can find:
03933884aaf1d6b108397e5efe5c86bcf2d8ca8d2f700eda99db9214fc2712b134
There are plugins that allow you to create custom routes along a given path. So I suggest to call getroute to the node from the routing hint extend that route with the private hope and use the following plugin to create a custom onion:
https://github.com/lightningd/plugins/pull/85