---
title: "Cancel card segment and benefits"
method: PUT
path: "/pcicards/v1/pcicards/benefits/segments/cancel"
tags: ["Mastercard benefits"]
---

# Cancel card segment and benefits

`PUT /pcicards/v1/pcicards/benefits/segments/cancel`

Cancels a segment and the benefits associated to the card for the input segment. The canceled bundle array is returned.

Exactly one input segment is supported at this time. It is defined as an array for future support.

This endpoint generates a [Cards benefits allocation updated](https://developers.pismo.io/events/docs/cards-benefits-allocation-1) event. 

**Note:** This is a PCI endpoint, use the https://gw-pci.pismolabs.io environment.

## Request body

- Cancel — Cancel Mastercard benefits object
  - `card_id` integer, required — ID of card to create relationship for
  - `code` string, required — Code
  - `expiry_date` string, required — Card expiration date. Format = yyyy-dd-mm

## Response `200`

Success

- BundlesResponse — Bundle response object. A Mastercard card segment **bundle** is a targeted package of benefits, rewards, or services assigned to specific carholder groups based on need.
  - `bundles` Bundle[] — Bundle object array
    - `code` string — Code
    - `effective_date` string — Card effective date. Format = yyyy-mm-dd
    - `expiry_date` string — Card expiration date. Format = yyyy-dd-mm
  - `network_correlation_id` string — Network correlation ID

## Other responses

- `400` — Bad request
- `401` — Access token is missing or invalid
- `403` — The request has been lost
- `500` — Internal server error

---

[API](https://skmtc.net/pismo/apis/platform-authentication.md) · [All operations](https://skmtc.net/pismo/apis/platform-authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pismo/platform-authentication/revisions/935b62e16de4/schema)
