v1
latestOpenAPI 3.1.02026-07-227350156.5 KBMerchant Action Triggers
Incremental trigger operations at card scope
Perform incremental operations on merchant action triggers at the card scope.
See the account-scope PATCH endpoint for full documentation on supported operations (add, remove).
patch/users/{userId}/cards/{cardId}/merchant-action-triggers
Request body
Example request
{
"operation": "add",
"merchantTriggers": [
{
"id": "trigger-12345",
"merchantName": "Starbucks",
"action": {
"type": "REWARD",
"rewardPercent": 5,
"offerId": "offer-abc123"
},
"website": "https://www.starbucks.com",
"address": "123 Main St",
"city": "Seattle",
"region": "WA",
"country": "USA",
"postalCode": "98101",
"latitude": 47.6062,
"longitude": -122.3321,
"level": "corporation",
"customAttributes": {
"storeId": "store-789"
}
}
],
"triggerIds": [
"merchant_123",
"merchant_456"
]
}Response
Remove operation completed successfully
Example response
{
"status": "succeeded",
"version": 5
}