Hi there,
The Order type from src/order/Order.ts doesn't include an id field, even though the order does have this field.
For reference, this is a partially redacted order object that we get from the SDK:
{
"id": "69f0b9ef-4411-8e80-1718-************",
"type": "sale",
"serviceId": "SL-****-****",
"description": null,
"reference": "eea22a56-929e-4b00-8246-************",
"manualTransferCode": "5000 0444 1694 ****",
"orderId": "44416940079X1105",
"uuid": "a0886638-3331-1105-4441-************",
"customerKey": null,
"status": {
"code": 20,
"action": "PENDING"
},
"receipt": null,
"integration": {
"pointOfInteraction": null,
"test": true
},
"splitPayments": [],
"stats": {
"extra1": "test",
"extra2": "eea22a56-929e-4b00-8246-************",
"extra3": "c43c33be-bc52-4a1a-8696-************",
"tool": null,
"info": null,
"object": null,
"promotorId": null,
"domainId": null
},
"transferData": {},
"amount": {
"value": 1890,
"currency": "EUR"
},
"authorizedAmount": {
"value": 0,
"currency": "EUR"
},
"capturedAmount": {
"value": 0,
"currency": "EUR"
},
"checkoutData": null,
"payments": [],
"createdAt": "2026-04-28T15:45:19+02:00",
"createdBy": "AT-****-****",
"modifiedAt": "2026-04-28T15:45:19+02:00",
"modifiedBy": null,
"expiresAt": "2026-05-05T15:45:19+02:00",
"completedAt": null,
"links": {
"status": "https://connect.pay.nl/v1/orders/69f0b9ef-4411-8e80-1718-************/status",
"abort": "https://connect.pay.nl/v1/orders/69f0b9ef-4411-8e80-1718-************/abort",
"approve": "https://connect.pay.nl/v1/orders/69f0b9ef-4411-8e80-1718-************/approve",
"decline": "https://connect.pay.nl/v1/orders/69f0b9ef-4411-8e80-1718-************/decline",
"void": "https://connect.pay.nl/v1/orders/69f0b9ef-4411-8e80-1718-************/void",
"capture": "https://connect.pay.nl/v1/orders/69f0b9ef-4411-8e80-1718-************/capture",
"captureAmount": "https://connect.pay.nl/v1/orders/69f0b9ef-4411-8e80-1718-************/capture/amount",
"captureProducts": "https://connect.pay.nl/v1/orders/69f0b9ef-4411-8e80-1718-************/capture/products",
"debug": "https://checkout.pay.nl/to/checkout/69f0b9ef-4411-8e80-1718-************/with/debugging/69f0b9ef44118e801718************",
"checkout": "https://checkout.pay.nl/to/order/69f0b9ef-4411-8e80-1718-************",
"redirect": "https://checkout.pay.nl/to/order/69f0b9ef-4411-8e80-1718-************"
}
}
Are we not meant to use the id? The documentation also mentions it here
Hi there,
The
Ordertype fromsrc/order/Order.tsdoesn't include anidfield, even though the order does have this field.For reference, this is a partially redacted order object that we get from the SDK:
{ "id": "69f0b9ef-4411-8e80-1718-************", "type": "sale", "serviceId": "SL-****-****", "description": null, "reference": "eea22a56-929e-4b00-8246-************", "manualTransferCode": "5000 0444 1694 ****", "orderId": "44416940079X1105", "uuid": "a0886638-3331-1105-4441-************", "customerKey": null, "status": { "code": 20, "action": "PENDING" }, "receipt": null, "integration": { "pointOfInteraction": null, "test": true }, "splitPayments": [], "stats": { "extra1": "test", "extra2": "eea22a56-929e-4b00-8246-************", "extra3": "c43c33be-bc52-4a1a-8696-************", "tool": null, "info": null, "object": null, "promotorId": null, "domainId": null }, "transferData": {}, "amount": { "value": 1890, "currency": "EUR" }, "authorizedAmount": { "value": 0, "currency": "EUR" }, "capturedAmount": { "value": 0, "currency": "EUR" }, "checkoutData": null, "payments": [], "createdAt": "2026-04-28T15:45:19+02:00", "createdBy": "AT-****-****", "modifiedAt": "2026-04-28T15:45:19+02:00", "modifiedBy": null, "expiresAt": "2026-05-05T15:45:19+02:00", "completedAt": null, "links": { "status": "https://connect.pay.nl/v1/orders/69f0b9ef-4411-8e80-1718-************/status", "abort": "https://connect.pay.nl/v1/orders/69f0b9ef-4411-8e80-1718-************/abort", "approve": "https://connect.pay.nl/v1/orders/69f0b9ef-4411-8e80-1718-************/approve", "decline": "https://connect.pay.nl/v1/orders/69f0b9ef-4411-8e80-1718-************/decline", "void": "https://connect.pay.nl/v1/orders/69f0b9ef-4411-8e80-1718-************/void", "capture": "https://connect.pay.nl/v1/orders/69f0b9ef-4411-8e80-1718-************/capture", "captureAmount": "https://connect.pay.nl/v1/orders/69f0b9ef-4411-8e80-1718-************/capture/amount", "captureProducts": "https://connect.pay.nl/v1/orders/69f0b9ef-4411-8e80-1718-************/capture/products", "debug": "https://checkout.pay.nl/to/checkout/69f0b9ef-4411-8e80-1718-************/with/debugging/69f0b9ef44118e801718************", "checkout": "https://checkout.pay.nl/to/order/69f0b9ef-4411-8e80-1718-************", "redirect": "https://checkout.pay.nl/to/order/69f0b9ef-4411-8e80-1718-************" } }Are we not meant to use the id? The documentation also mentions it here