> The index of all pages is at [llms.txt](https://developers.qliro.com/llms.txt). Add `.md` to any page URL for its Markdown.

# Remove saved credit card (/api-reference/merchant/merchant-credit-card/remove-merchant-saved-credit-card)

`DELETE https://payments.qliro.com/checkout/merchantapi/RemoveMerchantSavedCreditCard`

Production: `https://payments.qliro.com/checkout/merchantapi`. Staging: `https://pago.qit.nu/checkout/merchantapi`

Removes a saved credit card from Qliro.

## Body (application/json)

- `MerchantApiKey` (string, required): Will be provided by Qliro Checkout when setting up merchant account. Length: `0 <= x <= 50`
- `MerchantSavedCreditCardId` (string): Qliro provided an Id in notification to merchant when credit card was saved. Use same Id to remove credit card from Qliro system. Format: `guid`

## Responses

### 400 (application/json)

- `ErrorCode` (string | null): Unique error code
- `DetailedErrorMessage` (string | null): Detailed error message
- `ErrorReference` (string): A tracking ID from Qliro Checkout. Format: `guid`

Example:

```json
{
  "ErrorCode": "ORDER_NOT_FOUND",
  "DetailedErrorMessage": "Order not found",
  "ErrorReference": "d7da92f4-1ad9-48c3-9cd3-26559c98e64c"
}
```

### 500 (application/json)

- `ErrorCode` (string | null): Unique error code
- `DetailedErrorMessage` (string | null): Detailed error message
- `ErrorReference` (string): A tracking ID from Qliro Checkout. Format: `guid`

Example:

```json
{
  "ErrorCode": "ORDER_NOT_FOUND",
  "DetailedErrorMessage": "Order not found",
  "ErrorReference": "d7da92f4-1ad9-48c3-9cd3-26559c98e64c"
}
```

## Example request

```bash
curl -X DELETE "https://payments.qliro.com/checkout/merchantapi/RemoveMerchantSavedCreditCard" \
  -H "Content-Type: application/json" \
  -d '{
  "MerchantApiKey": "MerchantApiKey"
}'
```
