v1
latestOpenAPI 3.1.0Copyright Pismo2026-07-247702,7523.1 MBMastercard benefits
Replace card segment and benefits
Replaces the segment and existing benefits with a new benefit set assigned via a new segment code. The existing benefits are cancelled, and new benefits are assigned. An array of newly-assigned bundles is returned in the response.
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/replace
Request body
Example request
{
"card_id": 6743052,
"old_segment_code": "LAC_BBC",
"new_segment_code": "LAC_BBD",
"effective_date": "2025-07-31"
}Response
Success
Example response
{
"bundles": [
{
"code": "LAC_BBC",
"effective_date": "2025-07-31",
"expiry_date": "2026-01-20"
}
],
"network_correlation_id": "fe1bf855f651810629107cfbce5b09d2"
}