createPaymentOnOrder returned invoice_id do not matches the invoice ID

api
rest

(Page Designer) #1

Im adding payment to an invoice via REST API after successful payment the returned invoice_id do not matches the invoice ID on which i applied payment, though the payment is applied to correct invoice:

Ref Method: https://developer.infusionsoft.com/docs/rest/#!/E-Commerce/createPaymentOnOrderUsingPOST