v1

latestOpenAPI 3.1.02026-07-245178279.0 KB
Orden

Get Orders

Allows searching and filtering merchant orders with various criteria.

get/merchants/orders

Query parameters

page_sizeinteger

Page size for pagination. Default 10

store_codestring[]

Store codes

cursorstring

Cursor for pagination

from_datestring date-time
Example:2025-01-01T00:00:00Z

Start date for filtering (ISO 8601 format, example 2024-12-18T22:49:57.011226365Z)

to_datestring date-time
Example:2025-07-04T23:59:59Z

End date for filtering (ISO 8601 format, example 2024-12-18T22:49:57.011226365Z)

payment_statusstring[]

Payment statuses

[
  "captured"
]
emailstring email
Example:cliente@ejemplo.com

Customer email

processorstring[]

Payment processors

[
  "KUSHKI"
]
payment_methodstring[]

Payment methods

[
  "CREDIT_CARD"
]
fraud_decisionstring[]

Fraud decisions

[
  "low_risk"
]
order_idstring
Example:ORD-12345678

Order ID

group_idstring
Example:GRP-987654

Group ID

external_transaction_idstring
Example:EXT-TX-789012

External transaction ID

authorization_codestring
Example:AUTH123456

Authorization code

ticket_numberstring
Example:1234567890

Airline ticket number

pnrstring
Example:ABC123

PNR (Passenger Name Record)

payment_created_from_datestring date-time
Example:2025-01-01T00:00:00Z

Payment creation start date (ISO 8601 format, example 2024-12-18T22:49:57.011226365Z)

payment_created_to_datestring date-time
Example:2025-07-04T23:59:59Z

Payment creation end date (ISO 8601 format, example 2024-12-18T22:49:57.011226365Z)

Headers

X-API-KEYstring required

<a href="https://docs.deuna.com/reference/checkout-deuna#autenticaci%C3%B3n" target="_blank">Llave pública</a> del comercio.

Response

Successful response with the list of orders

cursorstring

Cursor for pagination. Use this value in the next request to get the next page of results. A value of "ZW1wdHk=" indicates there are no more pages.

there_are_more_recordsboolean

Indicates if there are more records available to query on the next page

totalinteger

Total number of results

Example response

{
  "orders": [
    {
      "order": {
        "metadata": {
          "authorization_code": "8769123"
        }
      }
    }
  ]
}