{ "resource": "order", "id": "ord_kEn1PlbGa", "profileId": "pfl_URR55HPMGx", "method": "ideal", "amount": { "value": "1027.99", "currency": "EUR" }, "amountCaptured": { "value": "1002.99", "currency": "EUR" }, "amountRefunded": { "value": "25.00", "currency": "EUR" }, "status": "created", "isCancelable": true, "metadata": { "order_id": "1337", "description": "Lego cars" }, "createdAt": "2018-08-02T09:29:56+00:00", "expiresAt": "2018-08-30T09:29:56+00:00", "mode": "live", "locale": "nl_NL", "billingAddress": { "organizationName": "Mollie B.V.", "streetAndNumber": "Keizersgracht 313", "postalCode": "1016 EE", "city": "Amsterdam", "country": "nl", "givenName": "Luke", "familyName": "Skywalker", "email": "luke@skywalker.com" }, "shopperCountryMustMatchBillingCountry": false, "consumerDateOfBirth": "1993-10-21", "orderNumber": "18475", "shippingAddress": { "organizationName": "Mollie B.V.", "streetAndNumber": "Keizersgracht 313", "postalCode": "1016 EE", "city": "Amsterdam", "country": "nl", "givenName": "Luke", "familyName": "Skywalker", "email": "luke@skywalker.com" }, "redirectUrl": "https://example.org/redirect", "webhookUrl": "https://example.org/webhook", "expiredAt": "2018-08-30T09:29:56+00:02", "paidAt": "2018-08-26T09:29:56+00:00", "authorizedAt": "2018-08-25T09:29:56+00:00", "canceledAt": "2018-08-27T09:29:56+00:00", "completedAt": "2018-08-28T09:29:56+00:00", "lines": [ { "resource": "orderline", "id": "odl_dgtxyl", "orderId": "ord_kEn1PlbGa", "name": "LEGO 42083 Bugatti Chiron", "sku": "5702016116977", "type": "physical", "status": "created", "metadata": { "order_id": "1337", "description": "Bugatti Chiron" }, "isCancelable": true, "quantity": 2, "quantityShipped": 0, "amountShipped": { "value": "0.00", "currency": "EUR" }, "quantityRefunded": 0, "amountRefunded": { "value": "0.00", "currency": "EUR" }, "quantityCanceled": 0, "amountCanceled": { "value": "0.00", "currency": "EUR" }, "shippableQuantity": 0, "refundableQuantity": 0, "cancelableQuantity": 2, "unitPrice": { "value": "399.00", "currency": "EUR" }, "vatRate": "21.00", "vatAmount": { "value": "121.14", "currency": "EUR" }, "discountAmount": { "value": "100.00", "currency": "EUR" }, "totalAmount": { "value": "698.00", "currency": "EUR" }, "createdAt": "2018-08-02T09:29:56+00:00", "_links": { "productUrl": { "href": "https://shop.lego.com/nl-NL/Bugatti-Chiron-42083", "type": "text/html" }, "imageUrl": { "href": "https://sh-s7-live-s.legocdn.com/is/image//LEGO/42083_alt1?$main$", "type": "text/html" } } }, { "resource": "orderline", "id": "odl_jp31jz", "orderId": "ord_kEn1PlbGa", "name": "LEGO 42056 Porsche 911 GT3 RS", "sku": "5702015594028", "type": "physical", "status": "created", "isCancelable": false, "quantity": 1, "quantityShipped": 0, "amountShipped": { "value": "0.00", "currency": "EUR" }, "quantityRefunded": 0, "amountRefunded": { "value": "0.00", "currency": "EUR" }, "quantityCanceled": 0, "amountCanceled": { "value": "0.00", "currency": "EUR" }, "shippableQuantity": 0, "refundableQuantity": 0, "cancelableQuantity": 0, "unitPrice": { "value": "329.99", "currency": "EUR" }, "vatRate": "21.00", "vatAmount": { "value": "57.27", "currency": "EUR" }, "totalAmount": { "value": "329.99", "currency": "EUR" }, "createdAt": "2018-08-02T09:29:56+00:00", "_links": { "productUrl": { "href": "https://shop.lego.com/nl-NL/Porsche-911-GT3-RS-42056", "type": "text/html" }, "imageUrl": { "href": "https://sh-s7-live-s.legocdn.com/is/image/LEGO/42056?$PDPDefault$", "type": "text/html" } } } ], "_embedded": { "payments": [ { "resource": "payment", "id": "tr_ncaPcAhuUV", "mode": "live", "createdAt": "2018-09-07T12:00:05+00:00", "amount": { "value": "1027.99", "currency": "EUR" }, "description": "Order #1337 (Lego cars)", "method": null, "metadata": null, "status": "open", "isCancelable": false, "locale": "nl_NL", "profileId": "pfl_URR55HPMGx", "orderId": "ord_kEn1PlbGa", "sequenceType": "oneoff", "redirectUrl": "https://example.org/redirect", "_links": { "self": { "href": "https://api.mollie.com/v2/payments/tr_ncaPcAhuUV", "type": "application/hal+json" }, "checkout": { "href": "https://www.mollie.com/payscreen/select-method/ncaPcAhuUV", "type": "text/html" }, "dashboard": { "href": "https://www.mollie.com/dashboard/org_123456789/payments/tr_ncaPcAhuUV", "type": "text/html" }, "order": { "href": "https://api.mollie.com/v2/orders/ord_kEn1PlbGa", "type": "application/hal+json" } } } ], "refunds": [ { "resource": "refund", "id": "re_vD3Jm32wQt", "amount": { "value": "329.99", "currency": "EUR" }, "status": "pending", "createdAt": "2019-01-15T15:41:21+00:00", "description": "Required quantity not in stock, refunding one photo book.", "orderId": "ord_kEn1PlbGa", "paymentId": "tr_mjvPwykz3x", "settlementAmount": { "value": "-329.99", "currency": "EUR" }, "lines": [ { "resource": "orderline", "id": "odl_dgtxyl", "orderId": "ord_kEn1PlbGa", "name": "LEGO 42056 Porsche 911 GT3 RS", "sku": "5702015594028", "type": "physical", "status": "completed", "isCancelable": false, "quantity": 1, "unitPrice": { "value": "329.99", "currency": "EUR" }, "vatRate": "21.00", "vatAmount": { "value": "57.27", "currency": "EUR" }, "totalAmount": { "value": "329.99", "currency": "EUR" }, "createdAt": "2019-01-15T15:22:45+00:00", "_links": { "productUrl": { "href": "https://shop.lego.com/nl-NL/Porsche-911-GT3-RS-42056", "type": "text/html" }, "imageUrl": { "href": "https://sh-s7-live-s.legocdn.com/is/image/LEGO/42056?$PDPDefault$", "type": "text/html" } } } ], "_links": { "self": { "href": "https://api.mollie.com/v2/payments/tr_mjvPwykz3x/refunds/re_vD3Jm32wQt", "type": "application/hal+json" }, "payment": { "href": "https://api.mollie.com/v2/payments/tr_mjvPwykz3x", "type": "application/hal+json" }, "order": { "href": "https://api.mollie.com/v2/orders/ord_kEn1PlbGa", "type": "application/hal+json" } } } ], "shipments": [ { "resource": "shipment", "id": "shp_3wmsgCJN4U", "orderId": "ord_kEn1PlbGa", "createdAt": "2018-08-09T14:33:54+00:00", "tracking": { "carrier": "PostNL", "code": "3SKABA000000000", "url": "http://postnl.nl/tracktrace/?B=3SKABA000000000&P=1015CW&D=NL&T=C" }, "lines": [ { "resource": "orderline", "id": "odl_dgtxyl", "orderId": "ord_pbjz8x", "name": "LEGO 42083 Bugatti Chiron", "sku": "5702016116977", "type": "physical", "status": "shipping", "metadata": null, "isCancelable": true, "quantity": 1, "unitPrice": { "value": "399.00", "currency": "EUR" }, "vatRate": "21.00", "vatAmount": { "value": "51.89", "currency": "EUR" }, "discountAmount": { "value": "100.00", "currency": "EUR" }, "totalAmount": { "value": "299.00", "currency": "EUR" }, "createdAt": "2018-08-02T09:29:56+00:00", "_links": { "productUrl": { "href": "https://shop.lego.com/nl-NL/Bugatti-Chiron-42083", "type": "text/html" }, "imageUrl": { "href": "https://sh-s7-live-s.legocdn.com/is/image//LEGO/42083_alt1?$main$", "type": "text/html" } } } ], "_links": { "self": { "href": "https://api.mollie.com/v2/order/ord_kEn1PlbGa/shipments/shp_3wmsgCJN4U", "type": "application/hal+json" }, "order": { "href": "https://api.mollie.com/v2/orders/ord_kEn1PlbGa", "type": "application/hal+json" }, "documentation": { "href": "https://docs.mollie.com/reference/v2/shipments-api/get-shipment", "type": "text/html" } } } ] }, "_links": { "self": { "href": "https://api.mollie.com/v2/orders/ord_kEn1PlbGa", "type": "application/hal+json" }, "checkout": { "href": "https://www.mollie.com/payscreen/order/checkout/kEn1PlbGa", "type": "text/html" }, "documentation": { "href": "https://docs.mollie.com/reference/v2/orders-api/get-order", "type": "text/html" } } }