get https://sandbox.moip.com.br/v2/orders
Through this API it is possible to list all previously created orders. Orders are ordered by date created, from the most recent to the oldest. In this version of the API, only orders that contain at least one payment are returned.
TIP
You can make your search, through for specific values, such as:
- Customer name / buyer (customer);
- Order status (WAITING, PAID, NOT_PAID, REVERTED);
- Payment method (CREDIT_CARD, TICKET);
- Order value.
EXAMPLE
GET https: //sandbox.moip.com.br/v2/orders?q=customer name&filters=status::in(PAID)|paymentMethod::in(CREDIT_CARD)|value::bt(5000,10000)&limit=3&offset=0
To learn more about refining your searches, visit the Search Filters