How to set installments

Hi! I’m developing a custom credit card extension, and my app supports installments. Is there a way to send those installment details to Shopify through the Payments API? I noticed that after the payment is processed, the checkout page doesn’t display the installment information.