Simple Order Example: Updating a Mandate {#bacs-services-mandates-update-ex-so}
===============================================================================

Request  
This example request includes optional fields to update the customer's first name, last name, and country.

```
&lt;requestMessage xmlns="urn:schemas-cybersource-com:transaction-data-1.214"&gt;
	&lt;merchantID&gt;test-merchant&lt;/merchantID&gt;
	&lt;merchantReferenceCode&gt;refnum-1234&lt;/merchantReferenceCode&gt;
	&lt;paymentScheme&gt;bacs&lt;/paymentScheme&gt;
	&lt;mandateID&gt;12345678912345&lt;/mandateID&gt;
	&lt;billTo&gt;
		&lt;firstName&gt;John&lt;/firstName&gt;
		&lt;lastName&gt;Smith&lt;/lastName&gt;
		&lt;country&gt;UK&lt;/country&gt;	
	&lt;/billTo&gt;
	&lt;apPaymentType&gt;STL&lt;/apPaymentType&gt;
	&lt;apUpdateMandateService run="true"/&gt;
&lt;/requestMessage&gt;
```

Response to a Successful Request

```
&lt;replyMessage xmlns:c="urn:schemas-cybersource-com:transaction-data-1.214"&gt;
	&lt;merchantReferenceCode&gt;refnum-1234&lt;/merchantReferenceCode&gt;
	&lt;requestID&gt;5235439239636004301064&lt;/requestID&gt;
	&lt;decision&gt;PENDING&lt;/decision&gt;
	&lt;reasonCode&gt;100&lt;/reasonCode&gt;
	&lt;apUpdateMandateReply&gt;
		&lt;reasonCode&gt;100&lt;/reasonCode&gt;
		&lt;mandateID&gt;mandate-3829202&lt;/mandateID&gt;
		&lt;status&gt;ACTIVE&lt;/status&gt;
		&lt;responseCode&gt;00001&lt;/responseCode&gt;
		&lt;processorTransactionID&gt;26025864-9558-487a-bf83-da960b1bacfb
                &lt;/processorTransactionID&gt;
	&lt;/apUpdateMandateReply&gt;
&lt;/replyMessage&gt;
```

