> ## Documentation Index
> Fetch the complete documentation index at: https://www.marqeta.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve Click to Pay for Mastercard enrollment status

> Use this endpoint to return the status of a specific Click to Pay for Mastercard request.

GET/digitalwallets/clicktopay/mastercard/status/\{token}

Use this endpoint to return the status of a specific Click to Pay for Mastercard request.

For more information about this ecommerce checkout solution, see [Click to Pay](https://www.marqeta.com/docs/developer-guides/digital-wallets-and-tokenization.md#_click_to_pay).

## Header parameter

| Fields | Description |
| - | - |
| req-sys-id string  Required | Identifier generated by the card program. These identifiers are used for troubleshooting requests between the card program and Marqeta. **Allowable Values:**  36 char max |

## URL path parameters

| Fields | Description |
| - | - |
| token string  Required | Unique identifier of the Click to Pay request. **Allowable Values:**  Existing Click to Pay request token |

## Response body

| Fields | Description |
| - | - |
| token string  Conditionally returned | Unique identifier of the Click to Pay request, used to track the status of the request. **Allowable Values:**  36 char max |
| status string  Conditionally returned | The status of the Click to Pay request. - `SUCCESS`: The Click to Pay request was successful. - `FAILED`: The Click to Pay request failed. - `RECEIVED`: The Click to Pay request was received. **Allowable Values:**  `SUCCESS`, `FAILED`, `RECEIVED` |
| token\_reference\_id string  Conditionally returned | Unique identifier of the digital wallet token within the card network. **Allowable Values:**  255 char max |

## Sample response body

```json JSON expandable lines wrap theme={null}
{
  "token": "my_token_0000",
  "status": "SUCCESS",
  "token_reference_id": "my_token_reference_id_1600"
}
```


## Related topics

- [Click to Pay for Mastercard Overview](https://www.marqeta.com/docs/core-api/digital-wallets-management/click-to-pay-mastercard.md)
- [Digital Wallets Management Overview](https://www.marqeta.com/docs/core-api/digital-wallets-management.md)
- [Retrieve Click to Pay for Visa request status](https://www.marqeta.com/docs/core-api/digital-wallets-management/click-to-pay-visa/retrieve-click-pay-visa-request-status.md)
- [Enroll a card to Click to Pay for Mastercard](https://www.marqeta.com/docs/core-api/digital-wallets-management/click-to-pay-mastercard/enroll-card-click-pay-mastercard.md)
- [Click to Pay for Visa Overview](https://www.marqeta.com/docs/core-api/digital-wallets-management/click-to-pay-visa.md)
