List of merchant triggers to register for action matching. Each trigger must have a unique id.
Field requirements:
id, merchantName, and action are always required
level defaults to location if omitted
For level: "location" (default): requires both address and postalCode, or both latitude and longitude
For level: "corporation": requires website on its own, or both address and postalCode, or both latitude and longitude
Triggers that don't meet these requirements are rejected with a 400 error
Limits: User-scope and card-scope registrations are limited to 100 triggers. Account-scope and program-scope registrations with more than 100 triggers will be processed asynchronously as a batch job.
Required array length: 1 - 100000 elements
Show child attributes
Response
Registration created successfully
Response containing the status of an action trigger registration.
The total number of active merchant triggers registered for this scope. Present on GET responses; omitted on PUT and PATCH responses.
Example:
50000
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Introduction","colors":{"primary":"#18280E","light":"#F4FAED","dark":"#18280E"},"logo":{"light":"https://mintcdn.com/spade-90e401c6/9HF3Uca9kExHiocb/images/spade-logo-forest.png?fit=max\u0026auto=format\u0026n=9HF3Uca9kExHiocb\u0026q=85\u0026s=04ad3c1e3f4529c5d6c370e693e44807","dark":"https://mintcdn.com/spade-90e401c6/9HF3Uca9kExHiocb/images/spade-logo-sage1.png?fit=max\u0026auto=format\u0026n=9HF3Uca9kExHiocb\u0026q=85\u0026s=f93791318e444084093f74b94e701ccb"},"favicon":"https://mintcdn.com/spade-90e401c6/9HF3Uca9kExHiocb/images/spade-icon-forest.png?fit=max\u0026auto=format\u0026n=9HF3Uca9kExHiocb\u0026q=85\u0026s=7f5578906c65a61f1d6e07d31e2e7771","background":{"color":{"dark":"#090F05"}},"contextual":{"options":["copy","view","download-spec","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"spade-90e401c6","hasAudioNarration":false,"actualSubdomain":"spade-90e401c6","customDomains":["docs.spade.com"],"gitSource":{"type":"github","owner":"spade-data","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aea6151fbc6161119141877","collectionId":"54761ba9-f39c-442b-9031-9343eed4d8d8","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aea6151fbc6161119141877"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aea6151fbc6161119141877","clientVersion":"0.0.4067","searchFilterCounts":[{"language":"default","tag":"API Reference","count":74},{"language":"default","tag":"Documentation","count":27},{"language":"default","tag":"Category Action Triggers","count":16},{"language":"default","tag":"Category Personalization","count":16},{"language":"default","tag":"Merchant Action Triggers","count":16},{"language":"default","tag":"Enrichment Guides","count":10},{"language":"default","tag":"Card Enrichment","count":10},{"language":"default","tag":"Tooling Guides","count":7},{"language":"default","tag":"More","count":6},{"language":"default","tag":"Feedback and Reporting","count":5}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/merchant-action-triggers/register-merchant-triggers-at-card-scope","slug":"/api-reference/merchant-action-triggers/register-merchant-triggers-at-card-scope","pageMetadata":{"title":"Register merchant triggers at card scope","description":"Register merchant action triggers at the card scope.\n\nCard-level triggers apply only to transactions for the specified card.\n\n**Field requirements:**\n- `id`, `merchantName`, and `action` are always required for each trigger\n- `level` defaults to `location` if omitted\n- For `level: \"location\"` (default): requires both `address` and `postalCode`, or both `latitude` and `longitude`\n- For `level: \"corporation\"`: requires `website` on its own, or both `address` and `postalCode`, or both `latitude` and `longitude`\n- Triggers that don't meet these requirements are rejected with a `400` error\n\n**Limit:** A maximum of 100 `merchantTriggers` can be submitted per request at the card scope. Requests exceeding this limit will receive a `400` error.\n\n**Important:** Triggers are only applied to enrichment responses when the status is `succeeded`.\n\nTo learn more about action triggers, please read the [Merchant Action Triggers Guide](https://docs.spade.com/reference/merchant-action-triggers-guide).","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml put /users/{userId}/cards/{cardId}/merchant-action-triggers","href":"/api-reference/merchant-action-triggers/register-merchant-triggers-at-card-scope","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n code: \"code\",\n li: \"li\",\n p: \"p\",\n strong: \"strong\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Register merchant action triggers at the card scope.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"Card-level triggers apply only to transactions for the specified card.\"\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Field requirements:\"\n })\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"id\"\n }), \", \", _jsx(_components.code, {\n children: \"merchantName\"\n }), \", and \", _jsx(_components.code, {\n children: \"action\"\n }), \" are always required for each trigger\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"level\"\n }), \" defaults to \", _jsx(_components.code, {\n children: \"location\"\n }), \" if omitted\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"For \", _jsx(_components.code, {\n children: \"level: \\\"location\\\"\"\n }), \" (default): requires both \", _jsx(_components.code, {\n children: \"address\"\n }), \" and \", _jsx(_components.code, {\n children: \"postalCode\"\n }), \", or both \", _jsx(_components.code, {\n children: \"latitude\"\n }), \" and \", _jsx(_components.code, {\n children: \"longitude\"\n })]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"For \", _jsx(_components.code, {\n children: \"level: \\\"corporation\\\"\"\n }), \": requires \", _jsx(_components.code, {\n children: \"website\"\n }), \" on its own, or both \", _jsx(_components.code, {\n children: \"address\"\n }), \" and \", _jsx(_components.code, {\n children: \"postalCode\"\n }), \", or both \", _jsx(_components.code, {\n children: \"latitude\"\n }), \" and \", _jsx(_components.code, {\n children: \"longitude\"\n })]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"Triggers that don’t meet these requirements are rejected with a \", _jsx(_components.code, {\n children: \"400\"\n }), \" error\"]\n }), \"\\n\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Limit:\"\n }), \" A maximum of 100 \", _jsx(_components.code, {\n children: \"merchantTriggers\"\n }), \" can be submitted per request at the card scope. Requests exceeding this limit will receive a \", _jsx(_components.code, {\n children: \"400\"\n }), \" error.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Important:\"\n }), \" Triggers are only applied to enrichment responses when the status is \", _jsx(_components.code, {\n children: \"succeeded\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"To learn more about action triggers, please read the \", _jsx(_components.a, {\n href: \"https://docs.spade.com/reference/merchant-action-triggers-guide\",\n children: \"Merchant Action Triggers Guide\"\n }), \".\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Register merchant triggers at card scope","description":"Register merchant action triggers at the card scope.\n\nCard-level triggers apply only to transactions for the specified card.\n\n**Field requirements:**\n- `id`, `merchantName`, and `action` are always required for each trigger\n- `level` defaults to `location` if omitted\n- For `level: \"location\"` (default): requires both `address` and `postalCode`, or both `latitude` and `longitude`\n- For `level: \"corporation\"`: requires `website` on its own, or both `address` and `postalCode`, or both `latitude` and `longitude`\n- Triggers that don't meet these requirements are rejected with a `400` error\n\n**Limit:** A maximum of 100 `merchantTriggers` can be submitted per request at the card scope. Requests exceeding this limit will receive a `400` error.\n\n**Important:** Triggers are only applied to enrichment responses when the status is `succeeded`.\n\nTo learn more about action triggers, please read the [Merchant Action Triggers Guide](https://docs.spade.com/reference/merchant-action-triggers-guide).","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml put /users/{userId}/cards/{cardId}/merchant-action-triggers","href":"/api-reference/merchant-action-triggers/register-merchant-triggers-at-card-scope","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Register merchant action triggers at the card scope.\n\nCard-level triggers apply only to transactions for the specified card.\n\n**Field requirements:**\n- `id`, `merchantName`, and `action` are always required for each trigger\n- `level` defaults to `location` if omitted\n- For `level: \"location\"` (default): requires both `address` and `postalCode`, or both `latitude` and `longitude`\n- For `level: \"corporation\"`: requires `website` on its own, or both `address` and `postalCode`, or both `latitude` and `longitude`\n- Triggers that don't meet these requirements are rejected with a `400` error\n\n**Limit:** A maximum of 100 `merchantTriggers` can be submitted per request at the card scope. Requests exceeding this limit will receive a `400` error.\n\n**Important:** Triggers are only applied to enrichment responses when the status is `succeeded`.\n\nTo learn more about action triggers, please read the [Merchant Action Triggers Guide](https://docs.spade.com/reference/merchant-action-triggers-guide).","tags":["Merchant Action Triggers"],"summary":"Register merchant triggers at card scope","operationId":"cardMerchantActionTriggersPut","requestBody":"a989c7fc-3b4d-49c6-a165-21061d79073e","responses":{"201":"78ebe392-420f-4ee8-93e2-46fed52e1060","400":"007aa2b1-b803-417b-86f5-9486fa2522ec","403":"6d1924c0-c291-4660-bf28-68663ecd5d1f","409":"cc7c6089-77c7-4d82-b22b-b86b7ac5c913","500":"10e35b9c-729c-4f92-9d2d-fd62f5073e6e"},"method":"put","type":"path","servers":["c9d2cfa9-0678-4340-a214-cc7cb1b9b638","95df7017-26fe-4d52-9462-83df4bb283e4","4fe8877e-267b-490a-bca6-770866e5257e","b6f28a59-992c-4046-80b3-36d6eb62fc2b"],"security":["10917285-e513-4c82-ae36-297a8d030eca"],"path":"/users/{userId}/cards/{cardId}/merchant-action-triggers","baseUrlOptions":["https://east.sandbox.spade.com","https://east.api.spade.com","https://west.sandbox.spade.com","https://west.api.spade.com"],"title":"Register merchant triggers at card scope","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"b50ff092-8b6a-4c9b-8380-8abb75ebc4aa":{"in":"path","name":"userId","schema":{"type":"string","maxLength":512,"isRequired":true,"description":"Your unique identifier for the user","uniqueKey":"","typeLabel":"string"},"description":"Your unique identifier for the user","required":true},"52a20e46-2711-49f3-a584-02e7659e2b56":{"in":"path","name":"cardId","schema":{"type":"string","maxLength":512,"isRequired":true,"description":"Your unique identifier for the card","uniqueKey":"","typeLabel":"string"},"description":"Your unique identifier for the card","required":true}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Request body for registering merchant action triggers.","required":["merchantTriggers"],"properties":{"merchantTriggers":{"type":"array","description":"List of merchant triggers to register for action matching. Each trigger must have a unique `id`.\n\n**Field requirements:**\n- `id`, `merchantName`, and `action` are always required\n- `level` defaults to `location` if omitted\n- For `level: \"location\"` (default): requires both `address` and `postalCode`, or both `latitude` and `longitude`\n- For `level: \"corporation\"`: requires `website` on its own, or both `address` and `postalCode`, or both `latitude` and `longitude`\n- Triggers that don't meet these requirements are rejected with a `400` error\n\n**Limits:** User-scope and card-scope registrations are limited to 100 triggers. Account-scope and program-scope registrations with more than 100 triggers will be processed asynchronously as a batch job.\n","minItems":1,"maxItems":100000,"items":{"type":"object","description":"A merchant trigger to register for action matching.","required":["id","merchantName","action"],"properties":{"id":{"type":"string","description":"Your identifier for this trigger, unique within the scope you are registering against. This ID will be returned in the `actions` field of enrichment responses when this trigger matches a transaction.","maxLength":512,"examples":["trigger-12345"],"isRequired":true,"uniqueKey":"merchantTriggers.items.[INDEX].id","typeLabel":"string"},"merchantName":{"type":"string","description":"The name of the merchant.","maxLength":150,"examples":["Starbucks"],"isRequired":true,"uniqueKey":"merchantTriggers.items.[INDEX].merchantName","typeLabel":"string"},"action":{"type":"object","description":"A custom JSON object returned in the enrichment response when this trigger matches. Use this to store any data relevant to your use case (e.g., reward amounts, offer IDs, campaign metadata).\n\nThe optional `type` field has reserved values with special behavior:\n- `BLOCK`: Adds `authRecommendation: \"BLOCK\"` to the action in the enrichment response. Use this to flag transactions that should be declined.\n- `ALLOW_ONLY`: Adds `authRecommendation: \"ALLOW\"` when the transaction matches a registered merchant. At a given scope, a set of `ALLOW_ONLY` triggers form an allowlist. If no actions match at that scope, each unmatched action is returned with `authRecommendation: \"BLOCK\"`.\n- `REWARD`: No special behavior. Passed through as-is.\n- Any other value: Treated as a custom type and passed through as-is.\n","properties":{"type":{"type":"string","description":"Optional action type. Reserved values `BLOCK` and `ALLOW_ONLY` have special authorization semantics (see above). All other values are passed through without modification.\n","examples":["REWARD","BLOCK","ALLOW_ONLY"],"uniqueKey":"merchantTriggers.items.[INDEX].action.type","typeLabel":"string"}},"additionalProperties":true,"examples":[{"type":"REWARD","rewardPercent":5,"offerId":"offer-abc123"},{"type":"BLOCK","reason":"Gambling merchant"},{"type":"ALLOW_ONLY","category":"approved-vendors"}],"isRequired":true,"uniqueKey":"merchantTriggers.items.[INDEX].action","typeLabel":"object"},"website":{"type":"string","description":"The merchant's website URL. Required if location fields (address, city) are not provided.","maxLength":256,"examples":["https://www.starbucks.com"],"uniqueKey":"merchantTriggers.items.[INDEX].website","typeLabel":"string"},"address":{"type":"string","description":"The street address of the merchant location.","maxLength":150,"examples":["123 Main St"],"uniqueKey":"merchantTriggers.items.[INDEX].address","typeLabel":"string"},"city":{"type":"string","description":"The city of the merchant location.","maxLength":100,"examples":["Seattle"],"uniqueKey":"merchantTriggers.items.[INDEX].city","typeLabel":"string"},"region":{"type":"string","description":"The state or region of the merchant location.","maxLength":100,"examples":["WA"],"uniqueKey":"merchantTriggers.items.[INDEX].region","typeLabel":"string"},"country":{"type":"string","description":"The country of the merchant location.","maxLength":100,"examples":["USA"],"uniqueKey":"merchantTriggers.items.[INDEX].country","typeLabel":"string"},"postalCode":{"type":"string","description":"The postal code of the merchant location.","maxLength":20,"examples":["98101"],"uniqueKey":"merchantTriggers.items.[INDEX].postalCode","typeLabel":"string"},"latitude":{"type":"number","format":"double","description":"The latitude of the merchant location.","examples":[47.6062],"uniqueKey":"merchantTriggers.items.[INDEX].latitude","typeLabel":"number\u003cdouble>"},"longitude":{"type":"number","format":"double","description":"The longitude of the merchant location.","examples":[-122.3321],"uniqueKey":"merchantTriggers.items.[INDEX].longitude","typeLabel":"number\u003cdouble>"},"level":{"type":"string","enum":["corporation","location"],"description":"Controls whether matching is performed at the corporation level or location level. Use \"corporation\" for brand-level matching (e.g. apply trigger to Costco in general). Use \"location\" for a specific physical location (e.g. apply trigger to one specific Costco location). Defaults to \"location\" if not specified.\n","examples":["corporation","location"],"uniqueKey":"merchantTriggers.items.[INDEX].level","typeLabel":"enum\u003cstring>"},"customAttributes":{"type":"object","description":"Optional custom attributes to associate with this trigger registration.","additionalProperties":{"type":"string","uniqueKey":"merchantTriggers.items.[INDEX].customAttributes.additionalProperties","typeLabel":"string"},"examples":[{"storeId":"store-789"}],"uniqueKey":"merchantTriggers.items.[INDEX].customAttributes","typeLabel":"object"}},"uniqueKey":"merchantTriggers.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"merchantTriggers","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"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"}}]}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"78ebe392-420f-4ee8-93e2-46fed52e1060":{"description":"Registration created successfully","content":{"application/json":{"schema":{"type":"object","description":"Response containing the status of an action trigger registration.","properties":{"status":{"type":"string","description":"The current status of the action trigger registration.\n- `pending`: Registration received, processing not yet started\n- `running`: Registration is being processed (for batch registrations with >100 triggers)\n- `succeeded`: Registration complete, triggers are now active\n- `failed`: Registration failed, check your request and retry\n","enum":["pending","running","succeeded","failed"],"examples":["succeeded"],"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"version":{"type":"integer","description":"The version number of this registration. Increments with each PUT, PATCH, or DELETE request to this scope.","examples":[1],"uniqueKey":"version","typeLabel":"integer"},"merchantTriggers":{"type":"array","description":"The list of active merchant triggers registered for this scope. Present on GET responses; omitted on PUT and PATCH responses.","items":{"type":"object","properties":{"id":{"type":"string","description":"The trigger ID as provided during registration.","examples":["merchant_123"],"uniqueKey":"merchantTriggers.items.[INDEX].id","typeLabel":"string"},"action":{"type":"object","description":"The action data associated with this trigger, as provided during registration.","additionalProperties":true,"examples":[{"type":"REWARD","points":200}],"uniqueKey":"merchantTriggers.items.[INDEX].action","typeLabel":"object"}},"uniqueKey":"merchantTriggers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"merchantTriggers","typeLabel":"object[]"},"totalCount":{"type":"integer","description":"The total number of active merchant triggers registered for this scope. Present on GET responses; omitted on PUT and PATCH responses.","examples":[50000],"uniqueKey":"totalCount","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"succeeded","version":1,"merchantTriggers":[{"id":"merchant_123","action":{"type":"REWARD","points":200}}],"totalCount":50000}}},"exampleType":"generated"}},"exampleType":"generated"},"007aa2b1-b803-417b-86f5-9486fa2522ec":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"invalidField":{"type":"array","items":{"type":"string","examples":["This field is required."],"uniqueKey":"invalidField.items.[INDEX]","typeLabel":"string"},"uniqueKey":"invalidField","typeLabel":"string[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"invalidField":["This field is required."]}}},"exampleType":"generated"}},"exampleType":"generated"},"6d1924c0-c291-4660-bf28-68663ecd5d1f":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"details":{"type":"string","examples":["Incorrect authentication credentials."],"uniqueKey":"details","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"details":"Incorrect authentication credentials."}}},"exampleType":"generated"}},"exampleType":"generated"},"cc7c6089-77c7-4d82-b22b-b86b7ac5c913":{"description":"A registration is already in progress for this scope","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string","examples":["An action trigger registration is already in progress for this scope."],"uniqueKey":"detail","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"detail":"An action trigger registration is already in progress for this scope."}}},"exampleType":"generated"}},"exampleType":"generated"},"10e35b9c-729c-4f92-9d2d-fd62f5073e6e":{"description":"Unexpected Error","content":{"application/json":{"schema":{"type":"object","properties":{"details":{"type":"string","examples":["Internal server error."],"uniqueKey":"details","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"details":"Internal server error."}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"10917285-e513-4c82-ae36-297a8d030eca":{"ApiKeyAuth":{"type":"apiKey","name":"X-Api-Key","in":"header","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"c9d2cfa9-0678-4340-a214-cc7cb1b9b638":{"url":"https://east.sandbox.spade.com","description":"East coast sandbox environment"},"95df7017-26fe-4d52-9462-83df4bb283e4":{"url":"https://east.api.spade.com","description":"East coast production environment"},"4fe8877e-267b-490a-bca6-770866e5257e":{"url":"https://west.sandbox.spade.com","description":"West coast sandbox environment"},"b6f28a59-992c-4046-80b3-36d6eb62fc2b":{"url":"https://west.api.spade.com","description":"West coast production environment"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","name":"X-Api-Key","in":"header","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"X-Api-Key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"X-Api-Key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"api-reference/spec.yml"},"subdomain":"spade-90e401c6","siteName":"Introduction","title":"Register merchant triggers at card scope - Introduction","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-14T20:02:07.084Z","originalFileLocation":"api-reference/merchant-action-triggers/register-merchant-triggers-at-card-scope.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Register merchant action triggers at the card scope. Card-level triggers apply only to transactions for the specified card. Field requirements: - id, merchantName, and action are always required for each trigger - level defaults to location if omitted - For level: \u0026quot;location\u0026quot; (default): requires both address and postalCode, or both latitude and longitude - For level: \u0026quot;corporation\u0026quot;: requires website on its own, or both address and postalCode, or both latitude and longitude - Triggers that don\u0026#x27;t meet these requirements are rejected with a 400 error Limit: A maximum of 100 merchantTriggers can be submitted per request at the card 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.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Introduction\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/spade-90e401c6/CDhz3wAAyPlHxqYQ/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/spade-90e401c6/CDhz3wAAyPlHxqYQ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/spade-90e401c6/CDhz3wAAyPlHxqYQ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/spade-90e401c6/CDhz3wAAyPlHxqYQ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/spade-90e401c6/CDhz3wAAyPlHxqYQ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/spade-90e401c6/CDhz3wAAyPlHxqYQ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/spade-90e401c6/CDhz3wAAyPlHxqYQ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/spade-90e401c6/CDhz3wAAyPlHxqYQ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/spade-90e401c6/CDhz3wAAyPlHxqYQ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Register merchant triggers at card scope - Introduction\">\u003cmeta data-mint-head property=\"og:description\" content=\"Register merchant action triggers at the card scope. Card-level triggers apply only to transactions for the specified card. Field requirements: - id, merchantName, and action are always required for each trigger - level defaults to location if omitted - For level: \u0026quot;location\u0026quot; (default): requires both address and postalCode, or both latitude and longitude - For level: \u0026quot;corporation\u0026quot;: requires website on its own, or both address and postalCode, or both latitude and longitude - Triggers that don\u0026#x27;t meet these requirements are rejected with a 400 error Limit: A maximum of 100 merchantTriggers can be submitted per request at the card 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.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Introduction\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.spade.com/api-reference/merchant-action-triggers/register-merchant-triggers-at-card-scope\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://spade-90e401c6.mintlify.app/_mintlify/api/og/v2?division=Merchant+Action+Triggers\u0026amp;title=Register+merchant+triggers+at+card+scope\u0026amp;description=Register+merchant+action+triggers+at+the+card+scope.%0A%0ACard-level+triggers+apply+only+to+transactions+for+the+specified+card.%0A%0A**Field+requirements%3A**%0A-+%60id%60%2C+%60m\u0026amp;theme=0cc50e51f68d9a58e31a42ac\u0026amp;signature=dae05edcb04ea6e0e4622a21718a9c69913efae5f0a87555f54a059c75e5062e\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Register merchant triggers at card scope - Introduction\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Register merchant action triggers at the card scope. Card-level triggers apply only to transactions for the specified card. Field requirements: - id, merchantName, and action are always required for each trigger - level defaults to location if omitted - For level: \u0026quot;location\u0026quot; (default): requires both address and postalCode, or both latitude and longitude - For level: \u0026quot;corporation\u0026quot;: requires website on its own, or both address and postalCode, or both latitude and longitude - Triggers that don\u0026#x27;t meet these requirements are rejected with a 400 error Limit: A maximum of 100 merchantTriggers can be submitted per request at the card 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.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://spade-90e401c6.mintlify.app/_mintlify/api/og/v2?division=Merchant+Action+Triggers\u0026amp;title=Register+merchant+triggers+at+card+scope\u0026amp;description=Register+merchant+action+triggers+at+the+card+scope.%0A%0ACard-level+triggers+apply+only+to+transactions+for+the+specified+card.%0A%0A**Field+requirements%3A**%0A-+%60id%60%2C+%60m\u0026amp;theme=0cc50e51f68d9a58e31a42ac\u0026amp;signature=dae05edcb04ea6e0e4622a21718a9c69913efae5f0a87555f54a059c75e5062e\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/spade-90e401c6/CDhz3wAAyPlHxqYQ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Introduction\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#18280E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.spade.com/api-reference/merchant-action-triggers/register-merchant-triggers-at-card-scope\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/merchant-action-triggers/register-merchant-triggers-at-card-scope.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.spade.com/#organization\",\"name\":\"Introduction\",\"url\":\"https://docs.spade.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/spade-90e401c6/9HF3Uca9kExHiocb/images/spade-logo-forest.png?fit=max\u0026auto=format\u0026n=9HF3Uca9kExHiocb\u0026q=85\u0026s=04ad3c1e3f4529c5d6c370e693e44807\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.spade.com#website\",\"name\":\"Introduction\",\"url\":\"https://docs.spade.com\",\"publisher\":{\"@id\":\"https://docs.spade.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.spade.com/api-reference/merchant-action-triggers/register-merchant-triggers-at-card-scope#webpage\",\"url\":\"https://docs.spade.com/api-reference/merchant-action-triggers/register-merchant-triggers-at-card-scope\",\"name\":\"Register merchant triggers at card scope\",\"description\":\"Register merchant action triggers at the card scope. Card-level triggers apply only to transactions for the specified card. Field requirements: - id, merchantName, and action are always required for each trigger - level defaults to location if omitted - For level: \\\"location\\\" (default): requires both address and postalCode, or both latitude and longitude - For level: \\\"corporation\\\": requires website on its own, or both address and postalCode, or both latitude and longitude - Triggers that don't meet these requirements are rejected with a 400 error Limit: A maximum of 100 merchantTriggers can be submitted per request at the card 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.\",\"dateModified\":\"2026-10-14T20:02:07.084Z\",\"isPartOf\":{\"@id\":\"https://docs.spade.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.spade.com/api-reference/merchant-action-triggers/register-merchant-triggers-at-card-scope#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.spade.com/api-reference/merchant-action-triggers/register-merchant-triggers-at-card-scope#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Merchant Action Triggers\",\"item\":\"https://docs.spade.com/api-reference/merchant-action-triggers/get-account-level-trigger-status\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Register merchant triggers at card scope\",\"item\":\"https://docs.spade.com/api-reference/merchant-action-triggers/register-merchant-triggers-at-card-scope\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.spade.com/api-reference/merchant-action-triggers/register-merchant-triggers-at-card-scope#apireference\",\"headline\":\"Register merchant triggers at card scope\",\"name\":\"Register merchant triggers at card scope\",\"description\":\"Register merchant action triggers at the card scope. Card-level triggers apply only to transactions for the specified card. Field requirements: - id, merchantName, and action are always required for each trigger - level defaults to location if omitted - For level: \\\"location\\\" (default): requires both address and postalCode, or both latitude and longitude - For level: \\\"corporation\\\": requires website on its own, or both address and postalCode, or both latitude and longitude - Triggers that don't meet these requirements are rejected with a 400 error Limit: A maximum of 100 merchantTriggers can be submitted per request at the card 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.\",\"url\":\"https://docs.spade.com/api-reference/merchant-action-triggers/register-merchant-triggers-at-card-scope\",\"mainEntityOfPage\":{\"@id\":\"https://docs.spade.com/api-reference/merchant-action-triggers/register-merchant-triggers-at-card-scope#webpage\"},\"dateModified\":\"2026-10-14T20:02:07.084Z\",\"publisher\":{\"@id\":\"https://docs.spade.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.spade.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Introduction\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Introduction","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/reference/introduction"}]},{"tab":"API Reference","groups":[{"group":"Card Enrichment","pages":[{"title":"Enrich a card transaction","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml post /transactions/cards/enrich","href":"/api-reference/card-enrichment/enrich-a-card-transaction"},{"title":"Enrich a card transaction with an unparsed de43","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml post /transactions/cards/enrich/parse","href":"/api-reference/card-enrichment/enrich-a-card-transaction-with-an-unparsed-de43"},{"title":"Enrich a batch of card transactions","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml post /batches/transactions/cards/enrich","href":"/api-reference/card-enrichment/enrich-a-batch-of-card-transactions"},{"title":"Get metadata for the batch card enrichment endpoint","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml options /batches/transactions/cards/enrich","href":"/api-reference/card-enrichment/get-metadata-for-the-batch-card-enrichment-endpoint"},{"title":"Enrich a batch of card transactions with DE43 data","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml post /batches/transactions/cards/enrich/parse","href":"/api-reference/card-enrichment/enrich-a-batch-of-card-transactions-with-de43-data"},{"title":"Get metadata for the batch card parse enrichment endpoint","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml options /batches/transactions/cards/enrich/parse","href":"/api-reference/card-enrichment/get-metadata-for-the-batch-card-parse-enrichment-endpoint"},{"title":"Get the results of a batch card enrichment job","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml get /batches/{cardEnrichmentBatchId}/results","href":"/api-reference/card-enrichment/get-the-results-of-a-batch-card-enrichment-job"},{"title":"Get the status of a batch card enrichment job","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml get /batches/{cardEnrichmentBatchId}","href":"/api-reference/card-enrichment/get-the-status-of-a-batch-card-enrichment-job"},{"title":"Enrich a card transaction","deprecated":true,"version":null,"openapi":"/api-reference/spec.yml post /transactions/enrich","href":"/api-reference/card-enrichment/enrich-a-card-transaction-1"},{"title":"Enrich a card transaction with an unparsed de43","deprecated":true,"version":null,"openapi":"/api-reference/spec.yml post /transactions/enrich/parse","href":"/api-reference/card-enrichment/enrich-a-card-transaction-with-an-unparsed-de43-1"}]},{"group":"Transfer Enrichment","pages":[{"title":"Enrich a transfer transaction","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml post /transactions/transfers/enrich","href":"/api-reference/transfer-enrichment/enrich-a-transfer-transaction"},{"title":"Enrich a batch of transfers","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml post /batches/transactions/transfers/enrich","href":"/api-reference/transfer-enrichment/enrich-a-batch-of-transfers"},{"title":"Get metadata for the batch transfer enrichment endpoint","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml options /batches/transactions/transfers/enrich","href":"/api-reference/transfer-enrichment/get-metadata-for-the-batch-transfer-enrichment-endpoint"},{"title":"Get the results of a batch transfer enrichment job","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml get /batches/{transferEnrichmentBatchId}/results","href":"/api-reference/transfer-enrichment/get-the-results-of-a-batch-transfer-enrichment-job"},{"title":"Get the status of a batch transfer enrichment job","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml get /batches/{transferEnrichmentBatchId}","href":"/api-reference/transfer-enrichment/get-the-status-of-a-batch-transfer-enrichment-job"}]},{"group":"Universal Enrichment","pages":[{"title":"Enrich a universal transaction","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml post /transactions/universal/enrich","href":"/api-reference/universal-enrichment/enrich-a-universal-transaction"},{"title":"Enrich a batch of universal transactions","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml post /batches/transactions/universal/enrich","href":"/api-reference/universal-enrichment/enrich-a-batch-of-universal-transactions"},{"title":"Get metadata for the batch universal enrichment endpoint","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml options /batches/transactions/universal/enrich","href":"/api-reference/universal-enrichment/get-metadata-for-the-batch-universal-enrichment-endpoint"},{"title":"Get the results of a batch universal enrichment job","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml get /batches/{universalEnrichmentBatchId}/results","href":"/api-reference/universal-enrichment/get-the-results-of-a-batch-universal-enrichment-job"},{"title":"Get the status of a batch universal enrichment job","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml get /batches/{universalEnrichmentBatchId}","href":"/api-reference/universal-enrichment/get-the-status-of-a-batch-universal-enrichment-job"}]},{"group":"Feedback and Reporting","pages":[{"title":"Report a card enrichment as incorrect","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml post /transactions/report","href":"/api-reference/feedback-and-reporting/report-a-card-enrichment-as-incorrect"},{"title":"Report that a chargeback occurred","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml post /enrichments/{enrichmentId}/chargeback","href":"/api-reference/feedback-and-reporting/report-that-a-chargeback-occurred"},{"title":"Report that a card decline occurred","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml post /enrichments/{enrichmentId}/decline","href":"/api-reference/feedback-and-reporting/report-that-a-card-decline-occurred"},{"title":"Report that a refund occurred","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml post /enrichments/{enrichmentId}/refund","href":"/api-reference/feedback-and-reporting/report-that-a-refund-occurred"},{"title":"Report fraud on a transaction","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml post /enrichments/{enrichmentId}/fraud","href":"/api-reference/feedback-and-reporting/report-fraud-on-a-transaction"}]},{"group":"Merchant Search","pages":[{"title":"Search for merchants","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml get /corporations","href":"/api-reference/merchant-search/search-for-merchants"}]},{"group":"Merchant Action Triggers","pages":[{"title":"Get account-level trigger status","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml get /merchant-action-triggers","href":"/api-reference/merchant-action-triggers/get-account-level-trigger-status"},{"title":"Register merchant triggers at account scope","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml put /merchant-action-triggers","href":"/api-reference/merchant-action-triggers/register-merchant-triggers-at-account-scope"},{"title":"Clear account-level triggers","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml delete /merchant-action-triggers","href":"/api-reference/merchant-action-triggers/clear-account-level-triggers"},{"title":"Incremental trigger operations at account scope","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml patch /merchant-action-triggers","href":"/api-reference/merchant-action-triggers/incremental-trigger-operations-at-account-scope"},{"title":"Get program-level trigger status","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml get /programs/{programId}/merchant-action-triggers","href":"/api-reference/merchant-action-triggers/get-program-level-trigger-status"},{"title":"Register merchant triggers at program scope","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml put /programs/{programId}/merchant-action-triggers","href":"/api-reference/merchant-action-triggers/register-merchant-triggers-at-program-scope"},{"title":"Clear program-level triggers","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml delete /programs/{programId}/merchant-action-triggers","href":"/api-reference/merchant-action-triggers/clear-program-level-triggers"},{"title":"Incremental trigger operations at program scope","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml patch /programs/{programId}/merchant-action-triggers","href":"/api-reference/merchant-action-triggers/incremental-trigger-operations-at-program-scope"},{"title":"Get user-level trigger status","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml get /users/{userId}/merchant-action-triggers","href":"/api-reference/merchant-action-triggers/get-user-level-trigger-status"},{"title":"Register merchant triggers at user scope","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml put /users/{userId}/merchant-action-triggers","href":"/api-reference/merchant-action-triggers/register-merchant-triggers-at-user-scope"},{"title":"Clear user-level triggers","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml delete /users/{userId}/merchant-action-triggers","href":"/api-reference/merchant-action-triggers/clear-user-level-triggers"},{"title":"Incremental trigger operations at user scope","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml patch /users/{userId}/merchant-action-triggers","href":"/api-reference/merchant-action-triggers/incremental-trigger-operations-at-user-scope"},{"title":"Get card-level trigger status","description":"Get the status and version of the latest merchant action trigger registration at the card scope.\n\nCard-level triggers apply only to transactions for the specified card.\n\n**Important:** Triggers are only applied to enrichment responses when the status is `succeeded`.\n\nTo learn more about action triggers, please read the [Merchant Action Triggers Guide](https://docs.spade.com/reference/merchant-action-triggers-guide).","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml get /users/{userId}/cards/{cardId}/merchant-action-triggers","href":"/api-reference/merchant-action-triggers/get-card-level-trigger-status"},{"title":"Register merchant triggers at card scope","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml put /users/{userId}/cards/{cardId}/merchant-action-triggers","href":"/api-reference/merchant-action-triggers/register-merchant-triggers-at-card-scope"},{"title":"Clear card-level triggers","description":"Clear all merchant action triggers at the card scope.\n\nThis creates a new version with an empty trigger list.\n\nTo learn more about action triggers, please read the [Merchant Action Triggers Guide](https://docs.spade.com/reference/merchant-action-triggers-guide).","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml delete /users/{userId}/cards/{cardId}/merchant-action-triggers","href":"/api-reference/merchant-action-triggers/clear-card-level-triggers"},{"title":"Incremental trigger operations at card scope","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml patch /users/{userId}/cards/{cardId}/merchant-action-triggers","href":"/api-reference/merchant-action-triggers/incremental-trigger-operations-at-card-scope"}]},{"group":"Category Action Triggers","pages":[{"title":"Get account-level category trigger status","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml get /category-action-triggers","href":"/api-reference/category-action-triggers/get-account-level-category-trigger-status"},{"title":"Register category triggers at account scope","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml put /category-action-triggers","href":"/api-reference/category-action-triggers/register-category-triggers-at-account-scope"},{"title":"Clear account-level category triggers","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml delete /category-action-triggers","href":"/api-reference/category-action-triggers/clear-account-level-category-triggers"},{"title":"Incremental category trigger operations at account scope","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml patch /category-action-triggers","href":"/api-reference/category-action-triggers/incremental-category-trigger-operations-at-account-scope"},{"title":"Get program-level category trigger status","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml get /programs/{programId}/category-action-triggers","href":"/api-reference/category-action-triggers/get-program-level-category-trigger-status"},{"title":"Register category triggers at program scope","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml put /programs/{programId}/category-action-triggers","href":"/api-reference/category-action-triggers/register-category-triggers-at-program-scope"},{"title":"Clear program-level category triggers","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml delete /programs/{programId}/category-action-triggers","href":"/api-reference/category-action-triggers/clear-program-level-category-triggers"},{"title":"Incremental category trigger operations at program scope","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml patch /programs/{programId}/category-action-triggers","href":"/api-reference/category-action-triggers/incremental-category-trigger-operations-at-program-scope"},{"title":"Get user-level category trigger status","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml get /users/{userId}/category-action-triggers","href":"/api-reference/category-action-triggers/get-user-level-category-trigger-status"},{"title":"Register category triggers at user scope","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml put /users/{userId}/category-action-triggers","href":"/api-reference/category-action-triggers/register-category-triggers-at-user-scope"},{"title":"Clear user-level category triggers","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml delete /users/{userId}/category-action-triggers","href":"/api-reference/category-action-triggers/clear-user-level-category-triggers"},{"title":"Incremental category trigger operations at user scope","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml patch /users/{userId}/category-action-triggers","href":"/api-reference/category-action-triggers/incremental-category-trigger-operations-at-user-scope"},{"title":"Get card-level category trigger status","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml get /users/{userId}/cards/{cardId}/category-action-triggers","href":"/api-reference/category-action-triggers/get-card-level-category-trigger-status"},{"title":"Register category triggers at card scope","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml put /users/{userId}/cards/{cardId}/category-action-triggers","href":"/api-reference/category-action-triggers/register-category-triggers-at-card-scope"},{"title":"Clear card-level category triggers","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml delete /users/{userId}/cards/{cardId}/category-action-triggers","href":"/api-reference/category-action-triggers/clear-card-level-category-triggers"},{"title":"Incremental category trigger operations at card scope","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml patch /users/{userId}/cards/{cardId}/category-action-triggers","href":"/api-reference/category-action-triggers/incremental-category-trigger-operations-at-card-scope"}]},{"group":"Category Personalization","pages":[{"title":"Get all default and custom integration-level categories","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml get /categories","href":"/api-reference/category-personalization/get-all-default-and-custom-integration-level-categories"},{"title":"Create a custom integration-level category","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml post /categories","href":"/api-reference/category-personalization/create-a-custom-integration-level-category"},{"title":"Delete all custom integration-level categories","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml delete /categories","href":"/api-reference/category-personalization/delete-all-custom-integration-level-categories"},{"title":"Delete a custom integration-level category","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml delete /categories/{id}","href":"/api-reference/category-personalization/delete-a-custom-integration-level-category"},{"title":"Get all integration-level counterparty category personalizations","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml get /counterparty-category-personalizations","href":"/api-reference/category-personalization/get-all-integration-level-counterparty-category-personalizations"},{"title":"Create an integration-level counterparty category personalization","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml put /counterparty-category-personalizations","href":"/api-reference/category-personalization/create-an-integration-level-counterparty-category-personalization"},{"title":"Delete all integration-level counterparty category personalizations","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml delete /counterparty-category-personalizations","href":"/api-reference/category-personalization/delete-all-integration-level-counterparty-category-personalizations"},{"title":"Delete a counterparty category personalization","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml delete /counterparty-category-personalizations/{counterpartyId}","href":"/api-reference/category-personalization/delete-a-counterparty-category-personalization"},{"title":"Get categories","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml get /users/{userId}/categories","href":"/api-reference/category-personalization/get-categories"},{"title":"Create a custom user-level category","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml post /users/{userId}/categories","href":"/api-reference/category-personalization/create-a-custom-user-level-category"},{"title":"Delete all custom user-level categories","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml delete /users/{userId}/categories","href":"/api-reference/category-personalization/delete-all-custom-user-level-categories"},{"title":"Delete a custom user-level category","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml delete /users/{userId}/categories/{id}","href":"/api-reference/category-personalization/delete-a-custom-user-level-category"},{"title":"Get all user-level counterparty category personalizations","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml get /users/{userId}/counterparty-category-personalizations","href":"/api-reference/category-personalization/get-all-user-level-counterparty-category-personalizations"},{"title":"Create a user-level counterparty category personalization","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml put /users/{userId}/counterparty-category-personalizations","href":"/api-reference/category-personalization/create-a-user-level-counterparty-category-personalization"},{"title":"Delete all user-level counterparty category personalizations","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml delete /users/{userId}/counterparty-category-personalizations","href":"/api-reference/category-personalization/delete-all-user-level-counterparty-category-personalizations"},{"title":"Delete a user-level counterparty category personalization","deprecated":null,"version":null,"openapi":"/api-reference/spec.yml delete /users/{userId}/counterparty-category-personalizations/{counterpartyId}","href":"/api-reference/category-personalization/delete-a-user-level-counterparty-category-personalization"}]},{"group":"API Reference","pages":[]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/changelog"}]}]},"basePath":"","title":"Register merchant triggers at card scope - Introduction","buildId":"dpl_9VVk5y1P8k1ATeJguVngy9Q3cmbD","deploymentId":"dpl_9VVk5y1P8k1ATeJguVngy9Q3cmbD","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DX1Meug0.js","utils-B_OMIQVC.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-ChxhRPMa.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CuKvD8Iv.js","snippetPresets-C5d7p2hp.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CfHcE8m4.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C1zZV314.js","shallow-CmQhqCJn.js","getApiPlaygroundDisplay-YRo9s1O7.js","CodeSnippet-RN1MTdfk.js","CodeSnippets-DKLPHxJA.js","Page-BAvA99GL.js","getPastedJson-bz0M41mU.js","icon-CsmhpPrv.js","MethodPill-CNGsVE77.js","DuplicateIcon-DilfU_Z2.js","createIcon-BdsYzQck.js","DynamicMarkdown-CbqEDjbV.js","SectionHeading-O6hXpFCN.js","axios-vUo_bRtp.js","Markdown-nKm-uidQ.js","clsx-ClVdStUn.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CIQkMg3R.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-ImrFS4Fy.js"]}