Get List
Get orders list.
Post
https://store.payproglobal.com/api/Orders/GetListRequest Parameters
application/jsonOrdersListRequestModel
objectskip
integeroptional
Define how many results you want to skip. The default value is 0.
take
integeroptional
Define how many first results to display after the skipped ones.
Default - 50. Maximum - 100.
Default - 50. Maximum - 100.
search
objectThe search options.
orderIds
array[integer]conditional
The list of order IDs for which you want to get the details.
subscriptionId
integerconditional
The subscription ID for which you want to get the details.
customerEmail
stringconditional
The customer's billing email. Only domain in the format example.com
can also be used to retrieve the data.
can also be used to retrieve the data.
orderStatusId
integeroptional
The ID of the order status. Possible values: 1 - Waiting, 2 - Canceled,
3 - Refunded, 4 - Chargeback, 5 - Processed.
3 - Refunded, 4 - Chargeback, 5 - Processed.
dateFrom
stringoptional
Start date of the search period. Date format "yyyy-MM-ddTHH:mm:ss.fff".
dateTo
stringoptional
End date of the search period. Date format "yyyy-MM-ddTHH:mm:ss.fff".
sortByDate
stringoptional
Sort the orders by the creation date. Possible values:
"asc" - ascending order. Default.
"desc" - descending order.
"asc" - ascending order. Default.
"desc" - descending order.
includeTestOrders
booleanoptional
Possible values are true or false. False by default.
vendorAccountId
integerrequired
The vendor account ID identifies your PayPro Global account.
It can be found in Account settings > Business info.
It can be found in Account settings > Business info.
apiSecretKey
stringrequired
The vendor account API secret key is a unique key
that was generated specifically for authenticating API requests.
It can be found in Store settings > General settings > Integration tab.
that was generated specifically for authenticating API requests.
It can be found in Store settings > General settings > Integration tab.
Response Parameters
application/jsonOrdersListResponseModel
objectresponse
objectskip
integerDefine how many results you want to skip. The default value is 0.
take
integerDefine how many first results to display after the skipped ones. Default - 50. Maximum - 100.
totalCount
integerTotal results count.
orders
array[object]The collection of orders.
id
integerThe order ID value.
placedAtUtc
string<date-time>The date when the order was placed in UTC time zone.
invoiceUrl
stringThe invoice URL. It can be empty.
customerBillingEmail
stringThe customer's billing email address.
customerBillingFirstName
stringThe customer's billing first name.
customerBillingLastName
stringThe customer's billing last name.
orderStatusId
integerThe ID of the order status. Possible values: 1 – Waiting, 2 – Canceled,
3 –Refunded, 4 – Chargeback, 5 – Processed.
3 –Refunded, 4 – Chargeback, 5 – Processed.
paymentMethodId
integerThe payment method ID.
orderStatusName
stringThe text representation of the order status.
paymentMethodName
stringThe text representation of the payment method.
request
objectskip
integerDefine how many results you want to skip. The default value is 0.
take
integerDefine how many first results to display after the skipped ones. Default - 50. Maximum - 100.
search
objectThe search options.
orderIds
array[integer]The list of order IDs for which you want to get the details.
subscriptionId
integerThe subscription ID for which you want to get the details.
customerEmail
stringThe customer's billing email. Only domain in the format example.com
can also be used to retrieve the data
can also be used to retrieve the data
orderStatusId
integerThe ID of the order status. Possible values: 1 - Waiting, 2 - Canceled,
3 - Refunded, 4 - Chargeback, 5 - Processed.
3 - Refunded, 4 - Chargeback, 5 - Processed.
dateFrom
stringoptional
Start date of the search period. Date format "yyyy-MM-ddTHH:mm:ss.fff".
dateTo
stringoptional
End date of the search period. Date format "yyyy-MM-ddTHH:mm:ss.fff".
sortByDate
stringSort the orders by the creation date. Possible values:
"asc" - ascending order. Default.
"desc" - descending order.
"asc" - ascending order. Default.
"desc" - descending order.
includeTestOrders
booleanPossible values are true or false. False by default.
vendorAccountId
integerThe vendor account ID identifies your PayPro Global account.
It can be found in Account settings > Business info.
It can be found in Account settings > Business info.
apiSecretKey
stringThe vendor account API secret key is a unique key
that was generated specifically for authenticating API requests.
It can be found in Store settings > General settings > Integration tab.
that was generated specifically for authenticating API requests.
It can be found in Store settings > General settings > Integration tab.
errors
array[object]propertyWithError
stringpropertyErrorMessages
array[string]isSuccess
booleanRequest Sample
{
"skip": 0,
"take": 50,
"search": {
"orderIds": [
12345678,
12345678
],
"subscriptionId": null,
"customerEmail": null,
"orderStatusId": null,
"dateFrom": "2023-10-02T08:00:34",
"dateTo": "2024-10-02T09:30:34"
},
"sortByDate": "asc",
"includeTestOrders": false,
"vendorAccountId": 123456,
"apiSecretKey": "your_api_secret_key"
}
Response Sample
{
"response": {
"skip": 0,
"take": 50,
"totalCount": 2,
"orders": [{
"id": 12345678,
"placedAtUtc": "2023-09-09T12:37:43.113",
"invoiceUrl": "https://invoice_example",
"customerBillingEmail": "[email protected]",
"customerBillingFirstName": "John",
"customerBillingLastName": "Doe",
"orderStatusId": 5,
"paymentMethodId": 2,
"orderStatusName": "Processed",
"paymentMethodName": "Visa"
},{
"id": 12345678,
"placedAtUtc": "2023-09-09T12:37:43.113",
"invoiceUrl": "https://invoice_example",
"customerBillingEmail": "[email protected]",
"customerBillingFirstName": "John",
"customerBillingLastName": "Doe",
"orderStatusId": 5,
"paymentMethodId": 2,
"orderStatusName": "Processed",
"paymentMethodName": "Visa"
}]
},
"request": {
"skip": 0,
"take": 50,
"search": {
"orderIds": [
12345678,
12345678
],
"subscriptionId": null,
"customerEmail": null,
"orderStatusId": null,
"dateFrom": "2023-10-02T08:00:34",
"dateTo": "2024-10-02T09:30:34"
},
"sortByDate": "asc",
"includeTestOrders": true,
"vendorAccountId": 123456,
"apiSecretKey": "your_api_secret_key"
},
"errors": [],
"isSuccess": true
}