v1
latestOpenAPI 3.1.02026-07-227350156.5 KBMerchant Action Triggers
Register merchant triggers at user scope
Register merchant action triggers at the user scope.
User-level triggers apply to all transactions for all cards belonging to the specified user.
Field requirements:
- id, merchantName, and action are always required for each trigger
- If location fields (address, city) are NOT provided, website is required
Limit: A maximum of 100 merchantTriggers can be submitted per request at the user scope. Requests exceeding this limit will receive a 400 error.
Important: Triggers are only applied to enrichment responses when the status is succeeded.
To learn more about action triggers, please read the Merchant Action Triggers Guide.
put/users/{userId}/merchant-action-triggers
Request body
Example request
{
"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"
}
}
]
}Response
Registration created successfully
Example response
{
"status": "succeeded",
"version": 1,
"merchantTriggers": [
{
"id": "merchant_123",
"action": {
"type": "REWARD",
"points": 200
}
}
],
"totalCount": 50000
}