# Retrieve Only Paid Orders

**URL:** <https://developer-forum.veeqo.com/t/retrieve-only-paid-orders/445>\
**Category:** API Queries (How To)\
**Created:** [September 16, 2021, 6:00pm UTC](https://developer-forum.veeqo.com/t/retrieve-only-paid-orders/445 "2021-09-16T18:00:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikel1991](https://avatars.discourse-cdn.com/v4/letter/m/FF6200/32.png) [@mikel1991](https://developer-forum.veeqo.com/u/mikel1991)\
**Post date:** [September 16, 2021, 6:00pm UTC](https://developer-forum.veeqo.com/t/retrieve-only-paid-orders/445/1 "2021-09-16T18:00:34Z")

</div>

Hi, this may be obvious in the documentation, but I don’t get to find it.

Is there any way I could retrieve only paid orders when calling the /orders endpoint? I saw all the different statuses available but I don’t find a “paid” status. Or is there any way to exclude one or more of the available statuses?, so I can exclude “awaiting\_payment” orders from the response. I also thought about writing in the query field something like “payment” needs to be different than null. But either that cannot be done or I don’t how to write queries there.

Thank you for your support.

---

<div class="post-metadata">

**Author:** ![Kristien](https://yyz1.discourse-cdn.com/flex033/user_avatar/developer-forum.veeqo.com/kristien/32/157_2.png) [@Kristien](https://developer-forum.veeqo.com/u/Kristien)\
**Post date:** [September 17, 2021, 8:07pm UTC](https://developer-forum.veeqo.com/t/retrieve-only-paid-orders/445/2 "2021-09-17T20:07:09Z")

</div>

Hi, @mikel1991!  
This is a tricky one because the order status doesn’t necessarily outline if an order has been paid or not. Our API doesn’t support any filters/parameters in the orders endpoint that could help with this.

The only thing I could suggest with this is that you filter the orders after you get a response, manually.

All the best!  
Kris.

---

<div class="post-metadata">

**Author:** ![mikel1991](https://avatars.discourse-cdn.com/v4/letter/m/FF6200/32.png) [@mikel1991](https://developer-forum.veeqo.com/u/mikel1991)\
**Post date:** [September 21, 2021, 1:07am UTC](https://developer-forum.veeqo.com/t/retrieve-only-paid-orders/445/3 "2021-09-21T01:07:34Z")

</div>

Thanks Kris, I appreciate your prompt response.  
Best,

Mikel

---

<div class="post-metadata">

**Author:** ![mikel1991](https://avatars.discourse-cdn.com/v4/letter/m/FF6200/32.png) [@mikel1991](https://developer-forum.veeqo.com/u/mikel1991)\
**Post date:** [September 22, 2021, 7:33pm UTC](https://developer-forum.veeqo.com/t/retrieve-only-paid-orders/445/5 "2021-09-22T19:33:40Z")

</div>

Hey Kris, since the order status “awaiting\_payment” is available. Can we take for granted that if the order has any other status but not “awaiting\_payment” it is because it has been paid?  
Or could there be any case where the order hasn’t been paid but the status is for example “awaiting\_stock” instead of “awaiting\_payment”?
