createdFrom string Optional A date in ISO 8601 format, for example `2011-10-05T14:48:00.000Z`.
curl -X GET
-H 'authorization: Bearer v4.public.eyJpc3MiOiJs...'
https://api.sandbox.ledyer.com/v1/orders createdFrom string Optional createdTo string Optional cursor string Optional expiresFrom string Optional expiresTo string Optional fromId string Optional Deprecatedid array of strings Optional merchantReference array of strings Optional orderReference array of strings Optional paymentMethodCategory array of strings Optional advanceInvoice: An invoice that needs to be paid in advance before
order can be ready for capture.card: Direct payment via card.invoice: An invoice issued by Ledyer that can be paid within a set
amount of days.serviceInvoice: An invoice administrated by Ledyer.q string Optional size number Optional status array of strings Optional cancelled: Order has been cancelled.expired: The expiry date of the order is passed.fullyCaptured: All order lines have been captured.fullyPaid: The order has been paid fully.fullyRefunded: All order lines have been added to a credit invoice.partiallyCaptured: Some of the order lines have been captured.partiallyPaid: The order has been paid partially.partiallyRefunded: Some of the order lines have been added to a credit
invoice.unacknowledged: The order has not yet been acknowledged.uncaptured: The order has not yet been captured.statusAnd array of strings Optional cancelled: Order has been cancelled.expired: The expiry date of the order is passed.fullyCaptured: All order lines have been captured.fullyPaid: The order has been paid fully.fullyRefunded: All order lines have been added to a credit invoice.partiallyCaptured: Some of the order lines have been captured.partiallyPaid: The order has been paid partially.partiallyRefunded: Some of the order lines have been added to a credit
invoice.unacknowledged: The order has not yet been acknowledged.uncaptured: The order has not yet been captured.storeId array of strings Optional {
"lastId": "or_1xE2fDBg9rRwh6nENMA3ly3B3Qg",
"noOfOrders": 1,
"nextCursor": "MjAyMy0wOS0yMFQwNzoxODowMy41MTEwOPVa",
"orders": [
{
"createdAt": "2021-09-01T11:25:32.805672147Z",
"customer": {
"companyId": "559311-3714",
"companyName": "Rocket 4",
"email": "jan@example.com",
"firstName": "Jan",
"lastName": "Persson",
"phone": "+46761010101",
"vatId": "SE559311371401"
},
"expiresAt": "2021-09-11T11:25:32.805672147Z",
"id": "or_1xE2fDBg9rRwh6nENMA3ly3B3Qg",
"merchantId": "ac_1xRXHKwBNxnbzMeJfy2olPJEKP7",
"merchantReference": "xdc-345-xdk-214",
"orderReference": "3HS2I4BJ",
"paymentMethodCategory": "invoice",
"status": ["fullyCaptured"],
"storeId": "421423100",
"totalOrderAmount": {
"amount": "5100.00",
"currency": "SEK",
"formatted": "5,100.00",
"formattedWithCurrency": "SEK 5,100.00",
"minorUnits": 510000
}
}
]
} lastId string DeprecatednextCursor string noOfOrders string orders array of orders createdAt string customer object companyId string Optional email string Optional firstName string Optional lastName string Optional phone string Optional reference1 string Optional reference2 string Optional ssn string Optional expiresAt string id string merchantId string merchantReference string orderReference string paymentMethodCategory string advanceInvoice: An invoice that needs to be paid in advance before
order can be ready for capture.card: Direct payment via card.invoice: An invoice issued by Ledyer that can be paid within a set
amount of days.serviceInvoice: An invoice administrated by Ledyer.status array of strings cancelled: Order has been cancelled.expired: The expiry date of the order is passed.fullyCaptured: All order lines have been captured.fullyPaid: The order has been paid fully.fullyRefunded: All order lines have been added to a credit invoice.partiallyCaptured: Some of the order lines have been captured.partiallyPaid: The order has been paid partially.partiallyRefunded: Some of the order lines have been added to a credit
invoice.unacknowledged: The order has not yet been acknowledged.uncaptured: The order has not yet been captured.storeId string Optional totalOrderAmount integer