v1

latestOpenAPI 3.1.0Copyright Pismo2026-07-247702,7523.1 MB
Mastercard benefits

Cancel card segment and benefits

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 event.

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

put/pcicards/v1/pcicards/benefits/segments/cancel

Request body

card_idinteger required

ID of card to create relationship for

codestring required

Code

expiry_datestring required

Card expiration date. Format = yyyy-dd-mm

Example request

{
  "card_id": 6743052,
  "code": "LAC_BBC",
  "expiry_date": "2026-01-20"
}

Response

Success

network_correlation_idstring

Network correlation ID

Example response

{
  "bundles": [
    {
      "code": "LAC_BBC",
      "effective_date": "2025-07-31",
      "expiry_date": "2026-01-20"
    }
  ],
  "network_correlation_id": "fe1bf855f651810629107cfbce5b09d2"
}