# createPaymentOnOrder returned invoice\_id do not matches the invoice ID

**URL:** <https://integration.keap.com/t/createpaymentonorder-returned-invoice-id-do-not-matches-the-invoice-id/58498>\
**Category:** API Q&A\
**Tags:** api, rest\
**Created:** [December 3, 2018, 1:37pm UTC](https://integration.keap.com/t/createpaymentonorder-returned-invoice-id-do-not-matches-the-invoice-id/58498 "2018-12-03T13:37:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pagedesigner](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/pagedesigner/32/2769_2.png) [@pagedesigner](https://integration.keap.com/u/pagedesigner)\
**Post date:** [December 3, 2018, 1:37pm UTC](https://integration.keap.com/t/createpaymentonorder-returned-invoice-id-do-not-matches-the-invoice-id/58498/1 "2018-12-03T13:37:36Z")

</div>

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:

> **[2018-12-02\_2110](https://www.screencast.com/t/7Cs4tkocQER)**
>
> Shared from Screencast.com

Ref Method: [Keap REST API](https://developer.infusionsoft.com/docs/rest/#!/E-Commerce/createPaymentOnOrderUsingPOST)
