Retrieves an order from the URL parameter.
successful operation
{- "success": true,
- "data": {
- "id": "d638f6a6-d1d9-492d-9c9a-10bdcbb58d38",
- "webhookId": "b7bcd047-8847-4963-ab7f-43dfa830fac2",
- "checkoutId": "801ebbe1-1b84-46a7-9ce3-0094c511153b",
- "cartId": "32ae2e84-29a1-4f9f-a1bf-46700f9aec5b",
- "merchantCartId": "xGVrAtyuG930MFoz",
- "amount": "1000",
- "currency": "GBP",
- "destAccountId": "12345612345678",
- "transaction": {
- "total": {
- "amount": "1000",
- "currency": "GBP",
- "description": "string"
}
}, - "basket": {
- "subTotal": "1000",
- "items": [
- {
- "lineId": "string",
- "quantity": 0,
- "productId": "string",
- "varientId": "string",
- "sku": "string",
- "productName": "string",
- "total": 0,
- "unitPrice": 0,
- "taxRate": 0,
- "taxTotal": 0
}
]
}, - "shippingDetails": {
- "currency": "GBP",
- "totalPrice": "299",
- "taxRate": 0,
- "description": "Roymail 48 hour with tracking",
- "serviceCode": "RM48",
- "serviceName": "Royalmail 48 hours",
- "maxDeliveryDate": "2022-04-01T09:12:34+0100",
- "minDeliveryDate": "2022-04-02T09:12:34+0100"
}, - "shippingAddress": {
- "diallingCode": "string",
- "addressSignature": "string",
- "phoneNumberWithoutDiallingCode": "string",
- "phoneNumber": "string",
- "email": "string",
- "firstName": "string",
- "lastName": "string",
- "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "city": "string",
- "countryCode": "string",
- "postcode": "string",
- "isVerified": true
}
}, - "payment": {
- "orgId": "25b2c2d5-a7fc-47d0-89e4-8709a1560bfa",
- "transactionType": "PAYMENT",
- "paymentMethod": "OPEN_BANKING",
- "status": "completed",
- "initiatedAt": "2019-08-24T14:15:22Z",
- "finalisedAt": "2019-08-24T14:15:22Z",
- "relatedId": "385fa0c9-cbf4-4a69-bef0-7f13aaac20d8",
- "orderId": "b3e1eced-f2bd-4d8c-9765-fbc9d1d222d5",
- "amount": 0,
- "currency": "GBP",
- "paymentClass": "openBanking",
- "channelType": "string",
- "domesticPaymentId": "string",
- "cartId": "a978ee3d-b7bf-468a-b84b-28f1d6366abc",
- "merchantCartId": "string",
- "checkoutId": "a21b4d66-7585-4979-80ec-60ea35b35821",
- "openBanking": {
- "domesticPaymentId": "string",
- "payeeRef": "string",
- "isRefundable": true,
- "srcSortcodeAccountNum": "stringstringst",
- "srcAspspId": "string",
- "srcBankName": "string",
- "destSortcodeAccNum": "stringstringst",
- "destAccountName": "string"
}, - "testMode": true
}, - "testMode": true
}
}