Operation 7: Retrieve Order
GET https://{{domain}}/api/rest/version/{{collectionVersion}}/merchant/{{merchantId}}/order/{{paymentSessionOrderId}}
This transaction will retrieve the current state of the order.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"3dsAcsEci":"02","airline":{"bookingReference":"MC12D8","itinerary":{"leg":[{"carrierCode":"MA","departureAirport":"STL","departureDate":"2019-06-07","destinationAirport":"ORD"},{"carrierCode":"MA","departureAirport":"ORD","departureDate":"2019-06-09","destinationAirport":"STL"}],"numberInParty":"2"},"passenger":[{"firstName":"JOHN","lastName":"SMITH"},{"firstName":"JANE","lastName":"SMITH"}],"ticket":{"issue":{"travelAgentCode":"12345678"}}},"amount":144,"authentication":{"3ds":{"acsEci":"02","authenticationToken":"mHyn+7YFi1EUAREAAAAvNUe6Hv8=","transactionId":"025e31d4-60f1-4bbb-8ab7-83b69aa5129b"}},"authenticationStatus":"AUTHENTICATION_SUCCESSFUL","authenticationVersion":"3DS2","chargeback":{"amount":0,"currency":"USD"},"creationTime":"2023-03-16T21:37:47.540Z","currency":"USD","device":{"browser":"MOZILLA/4.0 (COMPATIBLE; MSIE 5.0; WINDOWS 95)"},"id":"0b556c5b-182c-4d08-bc9a-af2d7de9541d","lastUpdatedTime":"2023-03-16T21:38:44.764Z","merchant":"merchantId","merchantAmount":144,"merchantCategoryCode":"4511","merchantCurrency":"USD","reference":"0b556c5b-182c-4d08-bc9a-af2d7de9541d","result":"SUCCESS","sourceOfFunds":{"provided":{"card":{"brand":"MASTERCARD","expiry":{"month":"1","year":"39"},"fundingMethod":"CREDIT","issuer":"AFRILAND FIRST BANK","number":"512345xxxxxx2346","scheme":"MASTERCARD","storedOnFile":"NOT_STORED"}},"type":"CARD"},"status":"CAPTURED","totalAuthorizedAmount":144,"totalCapturedAmount":144,"totalDisbursedAmount":0,"totalRefundedAmount":0,"transaction":[{"authentication":{"3ds":{"acsEci":"02","authenticationToken":"mHyn+7YFi1EUAREAAAAvNUe6Hv8=","transactionId":"025e31d4-60f1-4bbb-8ab7-83b69aa5129b"},"3ds2":{"3dsServerTransactionId":"3b03f51f-fef3-42e0-b4f5-1fd75630abc5","acsTransactionId":"7585683b-64c5-42b8-8b6f-ea984ab8d7a1","directoryServerId":"A999999999","dsTransactionId":"025e31d4-60f1-4bbb-8ab7-83b69aa5129b","methodCompleted":false,"methodSupported":"SUPPORTED","protocolVersion":"2.1.0","requestorId":"MAS00001_INT_MPGS_NATESTARC49560744","requestorName":"ARC Travel Office","transactionStatus":"Y"},"acceptVersions":"3DS2","amount":144,"channel":"PAYER_BROWSER","payerInteraction":"NOT_REQUIRED","psd2":{"trustedMerchantStatus":"ON_LIST"},"purpose":"PAYMENT_TRANSACTION","redirect":{"domainName":"na.gateway.mastercard.com"},"time":"2023-03-16T21:38:01.408Z","version":"3DS2"},"device":{"browser":"MOZILLA/4.0 (COMPATIBLE; MSIE 5.0; WINDOWS 95)"},"merchant":"merchantId","order":{"amount":144,"authenticationStatus":"AUTHENTICATION_SUCCESSFUL","chargeback":{"amount":0,"currency":"USD"},"creationTime":"2023-03-16T21:37:47.540Z","currency":"USD","id":"0b556c5b-182c-4d08-bc9a-af2d7de9541d","lastUpdatedTime":"2023-03-16T21:38:44.764Z","merchantAmount":144,"merchantCategoryCode":"4511","merchantCurrency":"USD","reference":"0b556c5b-182c-4d08-bc9a-af2d7de9541d","status":"CAPTURED","totalAuthorizedAmount":0,"totalCapturedAmount":0,"totalDisbursedAmount":0,"totalRefundedAmount":0,"valueTransfer":{"accountType":"NOT_A_TRANSFER"}},"partnerSolutionId":"1111","response":{"gatewayCode":"APPROVED","gatewayRecommendation":"PROCEED"},"result":"SUCCESS","sourceOfFunds":{"provided":{"card":{"brand":"MASTERCARD","expiry":{"month":"1","year":"39"},"fundingMethod":"CREDIT","issuer":"AFRILAND FIRST BANK","number":"512345xxxxxx2346","scheme":"MASTERCARD"}},"type":"CARD"},"timeOfLastUpdate":"2023-03-16T21:38:01.403Z","timeOfRecord":"2023-03-16T21:37:47.562Z","transaction":{"acquirer":{"merchantId":"00090000266"},"amount":144,"authenticationStatus":"AUTHENTICATION_SUCCESSFUL","currency":"USD","id":"4b8ae06e-ee1f-498f-b616-e90ff66fd3b8","reference":"4b8ae06e-ee1f-498f-b616-e90ff66fd3b8","stan":"0","type":"AUTHENTICATION"},"version":"70"},{"airline":{"bookingReference":"MC12D8","itinerary":{"leg":[{"carrierCode":"MA","departureAirport":"STL","departureDate":"2019-06-07","destinationAirport":"ORD"},{"carrierCode":"MA","departureAirport":"ORD","departureDate":"2019-06-09","destinationAirport":"STL"}],"numberInParty":"2"},"passenger":[{"firstName":"JOHN","lastName":"SMITH"},{"firstName":"JANE","lastName":"SMITH"}],"ticket":{"issue":{"travelAgentCode":"12345678"}}},"authentication":{"3ds":{"acsEci":"02","authenticationToken":"mHyn+7YFi1EUAREAAAAvNUe6Hv8=","transactionId":"025e31d4-60f1-4bbb-8ab7-83b69aa5129b"},"3ds2":{"dsTransactionId":"025e31d4-60f1-4bbb-8ab7-83b69aa5129b","protocolVersion":"2.1.0","transactionStatus":"Y"},"amount":144,"time":"2023-03-16T21:38:01.408Z","transactionId":"4b8ae06e-ee1f-498f-b616-e90ff66fd3b8","version":"3DS2"},"authorizationResponse":{"cardSecurityCodeError":"M","commercialCard":"888","commercialCardIndicator":"3","financialNetworkCode":"777","posData":"0001100000600","posEntryMode":"012","processingCode":"003000","responseCode":"00","stan":"3174","transactionIdentifier":"123456789"},"device":{"browser":"MOZILLA/4.0 (COMPATIBLE; MSIE 5.0; WINDOWS 95)"},"gatewayEntryPoint":"WEB_SERVICES_API","merchant":"merchantId","order":{"amount":144,"authenticationStatus":"AUTHENTICATION_SUCCESSFUL","chargeback":{"amount":0,"currency":"USD"},"creationTime":"2023-03-16T21:37:47.540Z","currency":"USD","id":"0b556c5b-182c-4d08-bc9a-af2d7de9541d","lastUpdatedTime":"2023-03-16T21:38:44.764Z","merchantAmount":144,"merchantCategoryCode":"4511","merchantCurrency":"USD","reference":"0b556c5b-182c-4d08-bc9a-af2d7de9541d","status":"CAPTURED","totalAuthorizedAmount":144,"totalCapturedAmount":144,"totalDisbursedAmount":0,"totalRefundedAmount":0},"response":{"acquirerCode":"00","acquirerMessage":"Approved","cardSecurityCode":{"acquirerCode":"M","gatewayCode":"MATCH"},"gatewayCode":"APPROVED","gatewayRecommendation":"NO_ACTION"},"result":"SUCCESS","sourceOfFunds":{"provided":{"card":{"brand":"MASTERCARD","expiry":{"month":"1","year":"39"},"fundingMethod":"CREDIT","issuer":"AFRILAND FIRST BANK","number":"512345xxxxxx2346","scheme":"MASTERCARD","storedOnFile":"NOT_STORED"}},"type":"CARD"},"timeOfLastUpdate":"2023-03-16T21:38:44.764Z","timeOfRecord":"2023-03-16T21:38:44.649Z","transaction":{"acquirer":{"batch":20230316,"date":"0316","id":"ARC_S2I","merchantId":"00090000266","settlementDate":"2023-03-16","timeZone":"-0400","transactionId":"123456789"},"amount":144,"authenticationStatus":"AUTHENTICATION_SUCCESSFUL","authorizationCode":"003174","currency":"USD","id":"b5477b8c-0087-4356-9b30-2e23e956d43d","receipt":"307521003174","reference":"b5477b8c-0087-4356-9b30-2e23e956d43d","source":"MOTO","stan":"3174","terminal":"0001","type":"PAYMENT"},"version":"70"}]}