This operation enables you to:
The result will be returned paginated
When you search for orders you can send in the below attributes:
To search for orders for one or several merchants you have to send the above attributes, via a server-side call to our REST API. You’ll find the complete REST API reference here.
GET /v1/orders/?paymentMethod=<paymentMethod>
x-api-key: njdfdsdkjfl5598503mnfkfe
x-merchant-key: 86969769
Content-Type: application/json
All request parameters have to be submittet in the url. No message body should be sent.
The response will either be OK or an error code.
Below you have an example of the response from the request obove.
Status: 200 OK
{
"id": "qIDwoGeRHonrx7968CLh",
"merchantId": "177358941",
"status": "READY",
"properties": {
"method": "PARTPAYMENT"
},
"created": "2018-11-09T10:46:28+02:00",
"amount": 100000,
"currency": "SEK",
"debitedAmount": 0,
"creditedAmount": 0,
"orderReference": "orderReferenceDefValue",
"consumer": {
"nationalId": "SE650805-0074",
"name": {
"firstName": "Felipe",
"lastName": "Hermansson"
}
}
},
{
"id": "LgBSkkDZO6Nd2MQ4l4sN",
"merchantId": "177358941",
"status": "READY",
"properties": {
"method": "PARTPAYMENT"
},
"created": "2018-11-25T14:13:44+02:00",
"amount": 9999000,
"currency": "SEK",
"debitedAmount": 0,
"creditedAmount": 0,
"orderReference": "orderReferenceDefValue",
"consumer": {
"nationalId": "SE650805-0074",
"name": {
"firstName": "Felipe",
"lastName": "Hermansson"
}
}
}