# Get Detail
source: https://developer.mastercard.com/iccp/documentation/05_api_reference/soap_api/purchaserequest/getpurchaserequestdetail/index.md

> Get the details of a purchase request using its ID.

## Parameters {#parameters}

|              Names              |                                                                                                                                                                                 Description                                                                                                                                                                                  | Required for ICCP | Required for ICMP |     Type      |
|---------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------|-------------------|---------------|
| `purchaseRequestId`             | * ID of an active purchase request. Get details of a cancelled purchase request. * Maximum length: 22 digits                                                                                                                                                                                                                                                                 | Yes               | Yes               | Integer, long |
| `requestStatus`                 | * **Approved**: The purchase request is approved and the VCN is ready to use. * **Canceled**: The purchase request and the VCN are no longer in use. * **Pending Approval**: Not applicable to purchase requests created through API. * **Declined**: Not applicable to purchase requests created through API. * **Draft**: The purchase request has not yet been submitted. | N                 | N                 | Alphanumeric  |
| `PurchaseRequestDetailRequest2` | The request includes the purchaseRequestID only.                                                                                                                                                                                                                                                                                                                             | Yes               | Yes               | Integer, long |
| `disableCardImage`              | Set **Y** to disable card image in the Purchase Request Creation API response. Specify **N** to include the card image. Where the *disableCardImage* parameter is included in API requests and a valid value is passed, this value will override any settings configured in the user interface at Purchase Template, Company Settings, or Program Options level.             | No                | No                | Boolean       |

### Sample request {#sample-request}

```xml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://mastercard.com/sd/pc2/service">
	<soapenv:Header/>
	<soapenv:Body>
		<ser:getPurchaseRequestDetailRequest2>
			<ser:purchaseRequestId>28739738</ser:purchaseRequestId>
		</ser:getPurchaseRequestDetailRequest2>
	</soapenv:Body>
</soapenv:Envelope>
```

## Response {#response}

Same as [submitPurchaseRequestResponse](https://developer.mastercard.com/iccp/documentation/05_api_reference/soap_api/purchaserequest/submitpurchaserequest/index.md#response).

### Sample response without ICMP enabled {#sample-response-without-icmp-enabled}

```xml
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
	<S:Body>
		<ns2:getPurchaseRequestDetail xmlns="http://mastercard.com/sd/pc/service" xmlns:ns2="http://mastercard.com/sd/pc2/service">
			<ns2:purchaseRequestId>28986226</ns2:purchaseRequestId>
			<ns2:requestStatus>Approved</ns2:requestStatus>
			<ns2:PurchaseRequestTemplateDetails>
				<ns2:templateId>20165732</ns2:templateId>
				<ns2:fullTemplateRuleDetails>
					<ns2:ruleName>a</ns2:ruleName>
					<ns2:ruleType>A</ns2:ruleType>
					<ns2:templateControl xsi:type="ns2:templateValidityPeriodControl2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
						<ns2:from>2026-04-23</ns2:from>
						<ns2:to>2026-04-30</ns2:to>
						<ns2:timeZone>GMT</ns2:timeZone>
						<ns2:strictPreAuthCheck>false</ns2:strictPreAuthCheck>
						<ns2:negate>false</ns2:negate>
					</ns2:templateControl>
					<ns2:templateControl xsi:type="ns2:agingVelocityControl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
						<ns2:authorizationHoldDays>5</ns2:authorizationHoldDays>
						<ns2:cumulativeLimit>200.0</ns2:cumulativeLimit>
						<ns2:timeZone>GB-Eire</ns2:timeZone>
						<ns2:negate>false</ns2:negate>
						<ns2:availableBalance>200.0</ns2:availableBalance>
						<ns2:availableClearingBalance>200.0</ns2:availableClearingBalance>
						<ns2:currencyType>B</ns2:currencyType>
					</ns2:templateControl>
					<ns2:templateControl xsi:type="ns2:CreditBlockControl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
						<ns2:refundMethod>B</ns2:refundMethod>
					</ns2:templateControl>
				</ns2:fullTemplateRuleDetails>
				<ns2:templateCustomField>
					<ns2:templateCustomField>
						<customFieldName>Purchase Type</customFieldName>
						<customFieldValue>1</customFieldValue>
					</ns2:templateCustomField>
				</ns2:templateCustomField>
			</ns2:PurchaseRequestTemplateDetails>
			<ns2:vcnInformation>
				<ns2:Id>27623060</ns2:Id>
				<ns2:Pan>XXXXXXXXXXXX8886</ns2:Pan>
				<ns2:Expiry>2609</ns2:Expiry>
				<ns2:Avv>932</ns2:Avv>
				<ns2:Status>S</ns2:Status>
				<ns2:EVCNIndicator>false</ns2:EVCNIndicator>
			</ns2:vcnInformation>
			<ns2:addenda>
				<tripLeg/>
				<railDetail/>
				<travelAgency/>
			</ns2:addenda>
			<ns2:cardImage></ns2:cardImage>
			<ns2:supplierDetails>
				<ns2:supplierId>20679566</ns2:supplierId>
				<ns2:notifySupplier>false</ns2:notifySupplier>
			</ns2:supplierDetails>
			<ns2:ClearingControls>Y</ns2:ClearingControls>
		</ns2:getPurchaseRequestDetail>
	</S:Body>
</S:Envelope>
```

### Sample response with ICMP enabled {#sample-response-with-icmp-enabled}

```xml
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
	<S:Body>
			<ns2:getPurchaseRequestDetail xmlns="http://mastercard.com/sd/pc/service" xmlns:ns2="http://mastercard.com/sd/pc2/service">
				<ns2:purchaseRequestId>28739738</ns2:purchaseRequestId>
				<ns2:requestStatus>Approved</ns2:requestStatus>
				<ns2:PurchaseRequestTemplateDetails>
					<ns2:templateId>20165522</ns2:templateId>
					<ns2:fullTemplateRuleDetails>
						<ns2:ruleName>a</ns2:ruleName>
						<ns2:ruleType>A</ns2:ruleType>
						<ns2:templateControl xsi:type="ns2:VelocityControlType2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
							<ns2:maxTrans>4</ns2:maxTrans>
							<ns2:cumulativeLimit>80.0</ns2:cumulativeLimit>
							<ns2:period>C</ns2:period>
							<ns2:availableBalance>80.0</ns2:availableBalance>
							<ns2:currencyType>M</ns2:currencyType>
							<ns2:currencyCode>826</ns2:currencyCode>
						</ns2:templateControl>
						<ns2:templateControl xsi:type="ns2:merchantIdControl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
							<ns2:merchantIds>
								<ns2:merchantId>123456789123456</ns2:merchantId>
								<ns2:acquirerId>123456</ns2:acquirerId>
							</ns2:merchantIds>
						<ns2:negate>true</ns2:negate>
					</ns2:templateControl>
				</ns2:fullTemplateRuleDetails>
				<ns2:templateCustomField>
					<ns2:templateCustomField>
						<customFieldName>Purchase Type</customFieldName>
						<customFieldValue>1</customFieldValue>
					</ns2:templateCustomField>
				</ns2:templateCustomField>
			</ns2:PurchaseRequestTemplateDetails>
			<ns2:vcnInformation>
				<ns2:Id>27476418</ns2:Id>
				<ns2:digitizationGuid>c025d892-3496-4e58-9ce5-f942c384a06e</ns2:digitizationGuid>
				<ns2:Pan>5995020125226088</ns2:Pan>
				<ns2:Expiry>2606</ns2:Expiry>
				<ns2:Avv>762</ns2:Avv>
				<ns2:Status>S</ns2:Status>
				<ns2:EVCNIndicator>false</ns2:EVCNIndicator>
			</ns2:vcnInformation>
			<ns2:addenda>
				<tripLeg/>
				<railDetail/>
				<travelAgency/>
			</ns2:addenda>
			<ns2:cardImage></ns2:cardImage>
			<ns2:supplierDetails>
				<ns2:supplierId>20679588</ns2:supplierId>
			</ns2:supplierDetails>
				<ns2:userDetails>
					<ns2:firstName>NewIcmpMidFirstName</ns2:firstName>
					<ns2:lastName>NewIcmpMidLastName</ns2:lastName>
					<ns2:email>abcd@xyz.com</ns2:email>
					<ns2:mobileCountryCode>+91</ns2:mobileCountryCode>
					<ns2:mobileNumber>88888888888</ns2:mobileNumber>
				</ns2:userDetails>
				<ns2:vcnDelivery>APP</ns2:vcnDelivery>
			</ns2:getPurchaseRequestDetail>
		</S:Body>
</S:Envelope>
```

