How can i display meta data in the stripe

I used this metadata as array of object [{},{},{}]

const sessionData = {
      payment_method_types: ["card"],
      shipping_address_collection: {
        allowed_countries: ["US", "CA", "KE"],
      },
      line_items: [
        {
          price_data: {
            currency: "USD",
            product_data: {
              name: title,
              description: description,
              metadata: {
                endpoints: JSON.stringify(data),
              },
            },
            unit_amount: totalPrice.toFixed(0) * 100,
          },
          quantity: 1,
        },
      ],
      mode: "payment",
      customer: customer.id,
      success_url: `${getBaseClientUrl}/stripe/success`,
      cancel_url: `${getBaseClientUrl}/stripe/cancel`,
    };

    const session = await createCheckoutSession(sessionData);

but it render only title price and description on the checkout session on stripe ui , any one can help me over there ,
thank you in advance.

i want to return the metadata on the stripe checkout session ui