Get installments number on wixpay

Hi,
How can i get the number of installments after customer payed?

I need to add it to the invoice

And why we cant add discount on wix pay backend??

Thanks

I don’t think that you can currently use Wix for installments so to speak.
https://support.wix.com/en/article/request-accepting-payments-in-installments
https://support.wix.com/en/article/request-accepting-partial-payments-deposits-in-wix-stores

Also, the Wix Pay API is all about payments itself, if you need to add discount options then look at using coupons instead.
https://www.wix.com/corvid/reference/wix-marketing-backend.coupons.html

When paying in wix pay i have the option of installment number. So wix have the data just need them to send it back to me after the payment.

About discount - there is an option there to add several products
But I cant use it without the option of discount