On This Page

{#jumplink-list}  
[Markdown](/docs/cybs/en-us/thunes/developer/all/so/thunes/thunes-mobilepay-intro/thunes-mobilepay-status-intro.md)  
Filter  
FILTER BY TAG

Check a Status {#concept}
=========================

This section describes how to retrieve the current status of a sale or refund. Send a check status request to know if a pending sale is settled, or to verify that a refund request is refunded. Use the check status request as often as necessary to obtain the information that you need.  
The check status request requires the request ID from the sale or refund response. The request ID is in the requestID response field.

Endpoints
---------

Set the apCheckStatusService_run field to `true`, and send the request to one of these endpoints:  
**Production:** `https://ics2ws.ic3.com/commerce/1.x/transactionProcessor`  
**Test:** `https://ics2wstest.ic3.com/commerce/1.x/transactionProcessor`

Required Fields for Checking a Status {#x-req-fields}
=====================================================

[apCheckStatusService_checkStatusRequestID](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/ap-check-status-service-check-status-req-id.md "")
:
Set to the request ID included in the sale or refund response.

[apCheckStatusService_run](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/ap-check-status-service-run.md "")
:
Set to `true`.

[apPaymentType](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/ap-payment-type.md "")
:
Set to `MOP`.

[merchantID](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/merchant-id.md "")
:

[merchantReferenceCode](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/merchant-reference-code.md "")
:

Example: Checking a Status {#x-ex-rest}
=======================================

Request

```
&lt;requestMessage xmlns="urn:schemas-cybersource-com:transaction-data-1.211"&gt;
  &lt;merchantID&gt;nrphotography&lt;/merchantID&gt;
  &lt;merchantReferenceCode&gt;Check-Status&lt;/merchantReferenceCode&gt;
  &lt;apPaymentType&gt;MOP&lt;/apPaymentType&gt;
  &lt;apCheckStatusService run="true"&gt;
    &lt;checkStatusRequestID&gt;7520730687846156704605&lt;/checkStatusRequestID&gt;
  &lt;/apCheckStatusService&gt;
&lt;/requestMessage&gt;
```

Response to a Successful Request

```
&lt;replyMessage xmlns="urn:schemas-cybersource-com:transaction-data-1.211"&gt;
  &lt;merchantReferenceCode&gt;Check-Status&lt;/merchantReferenceCode&gt;
  &lt;requestID&gt;7520733091706238904606&lt;/requestID&gt;
  &lt;decision&gt;ACCEPT&lt;/decision&gt;
  &lt;reasonCode&gt;100&lt;/reasonCode&gt;
  &lt;requestToken&gt;AxjnrwSTl7MjVFrrp6keANgZYjWmdqHRr1pdRknvzPgX7ZoDYZiiNDJpJl6MYZYX6Tl7Mayg6hXZtdAA7jiI&lt;/requestToken&gt;
  &lt;apCheckStatusReply&gt;
    &lt;reasonCode&gt;100&lt;/reasonCode&gt;
    &lt;reconciliationID&gt;XFZ3ZCQWVKT2&lt;/reconciliationID&gt;
    &lt;paymentStatus&gt;settled&lt;/paymentStatus&gt;
    &lt;processorResponse&gt;00004&lt;/processorResponse&gt;
    &lt;processorToken&gt;384920815203&lt;/processorToken&gt;
  &lt;/apCheckStatusReply&gt;
&lt;/replyMessage&gt;
```

Response Statuses for Checking a Status {#x-req-fields}
=======================================================

`Cybersource` responds to your check status request with one of these statuses in the field:

Check Status Responses for a Sale
:
* `ABANDONED`: The customer did not complete the payment using the redirect URL.
* `FAILED`: The service request failed. A failed request can be due to either MobilePay rejecting the transaction or a technical error.
* `FUNDED`: The settled amount is funded to the merchant bank account.
* `PENDING`: The service request is accepted but is not completed. Request the check status service to retrieve status updates.
* `SETTLED`: The sale request is settled for the requested amount.

Check Status Responses for a Refund
:
* `FAILED`: The service request failed. A failed request can be due to either MobilePay rejecting the transaction or a technical error.
* `REFUNDED`: The settled amount is successfully refunded.

RELATED TO THIS PAGE

