Capture and Authorized payment in manual configuration

We are currently developing a payment app, and one of the payment method returns type paymentAndCapture which means this order should be authorised and capture. Is there any way to do this with the manual configurations? As every mutation requires gid to be passed in the variable but we are programmatically capturing and we don’t have that, is there any possibility to do that?
Because some payment method like IDEAL requires Capture right after authorisation but we don’t want this to be dependent on Automatic configuration.

https://shopify.dev/apps/payments/processing-a-payment