How can I add a transaction to an edited order?

Hi All,

I am creating an app that Edit existing orders using the mutation explained over here https://shopify.dev/apps/fulfillment/order-management-apps/order-editing#add-a-custom-line-item.

I got success in editing the order with mentioned link. But over there they didn’t describe how we add the payment/Transaction for the items that I add to the order.

Is anyone know how to add the payments for the edited Item?

I really appreciate the help.

Regards,
Villiam