{
"detail": "An action trigger registration is already in progress for this scope."
}
{
"details": "Internal server error."
}
Authorizations
X-Api-Key
string
header
required
Path Parameters
userId
string
required
Your unique identifier for the user
Maximum string length: 512
cardId
string
required
Your unique identifier for the card
Maximum string length: 512
Body
application/json
Request body for registering merchant triggers.
merchantTriggers
object[]
required
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 a merchant registration.
status
enum<string>
The current status of the merchant registration.
pending: Registration received, processing not yet started
running: Registration is being processed (for batch registrations with >100 triggers)
succeeded: Registration complete, triggers are now active
failed: Registration failed, check your request and retry
Available options:
pending,
running,
succeeded,
failed
Example:
"succeeded"
version
integer
The version number of this registration. Increments with each PUT, PATCH, or DELETE request to this scope.
Example:
1
merchantTriggers
object[]
The list of active merchant triggers registered for this scope. Present on GET responses; omitted on PUT and PATCH responses.
Show child attributes
totalCount
integer
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":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b047cc42c0a61b8f6d0a454","clientVersion":"0.0.4304","searchFilterCounts":[{"language":"default","tag":"API Reference","count":72},{"language":"default","tag":"Data Operations","count":49},{"language":"default","tag":"Documentation","count":28},{"language":"default","tag":"Enrichment","count":23},{"language":"default","tag":"Category Registration","count":16},{"language":"default","tag":"Custom Categories","count":16},{"language":"default","tag":"Merchant Registration","count":16},{"language":"default","tag":"Enrichment Guides","count":10},{"language":"default","tag":"Data Operations Guides","count":8},{"language":"default","tag":"Card","count":8}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"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":"site-roles","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":"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":"editor-metadata","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},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","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 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 merchant registration, please read the [Merchant Registration Guide](https://docs.spade.com/reference/merchant-registration-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 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 merchant registration, please read the \", _jsx(_components.a, {\n href: \"https://docs.spade.com/reference/merchant-registration-guide\",\n children: \"Merchant Registration 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 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 merchant registration, please read the [Merchant Registration Guide](https://docs.spade.com/reference/merchant-registration-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 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 merchant registration, please read the [Merchant Registration Guide](https://docs.spade.com/reference/merchant-registration-guide).","tags":["Merchant Action Triggers"],"summary":"Register merchant triggers at card scope","operationId":"cardMerchantActionTriggersPut","requestBody":"9b30584e-f19e-486f-aa42-124c839182d5","responses":{"201":"28b09be4-cd1f-499c-82ec-e392505c1c79","400":"f23b2604-4be2-442b-a8e2-4200759583d0","403":"f174f40e-d9c6-496b-9e1d-3c201a4dc43d","409":"9ddea75e-ad87-408e-a4ed-d0b607dab0cb","500":"79c95b0c-5c32-4234-ac18-f3585bc3cfc2"},"method":"put","type":"path","servers":["597da8a1-e378-421f-987f-202f44da6968","e8b28a43-91f9-4252-82f9-220044fe2cd7","c35e2e5f-b594-4177-b69d-c6cfd6c413c2","fc4c8228-a366-44c9-b932-bb32efdcfbec"],"security":["3ffe58e9-5204-41ef-97f8-d009c282a70f"],"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":{"32958aee-8d1a-449e-aa88-cddbf452a29e":{"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},"a4382916-3c10-4538-ba85-663463d6fc5c":{"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 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":{"28b09be4-cd1f-499c-82ec-e392505c1c79":{"description":"Registration created successfully","content":{"application/json":{"schema":{"type":"object","description":"Response containing the status of a merchant registration.","properties":{"status":{"type":"string","description":"The current status of the merchant 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"},"f23b2604-4be2-442b-a8e2-4200759583d0":{"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"},"f174f40e-d9c6-496b-9e1d-3c201a4dc43d":{"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"},"9ddea75e-ad87-408e-a4ed-d0b607dab0cb":{"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"},"79c95b0c-5c32-4234-ac18-f3585bc3cfc2":{"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":{"3ffe58e9-5204-41ef-97f8-d009c282a70f":{"ApiKeyAuth":{"type":"apiKey","name":"X-Api-Key","in":"header","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"597da8a1-e378-421f-987f-202f44da6968":{"url":"https://east.sandbox.spade.com","description":"East coast sandbox environment"},"e8b28a43-91f9-4252-82f9-220044fe2cd7":{"url":"https://east.api.spade.com","description":"East coast production environment"},"c35e2e5f-b594-4177-b69d-c6cfd6c413c2":{"url":"https://west.sandbox.spade.com","description":"West coast sandbox environment"},"fc4c8228-a366-44c9-b932-bb32efdcfbec":{"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-11-23T17:50:00.911Z","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 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 merchant registration, please read the Merchant Registration 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 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 merchant registration, please read the Merchant Registration 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.site/_mintlify/api/og/v2?division=Merchant+Registration\u0026amp;title=Register+merchant+triggers+at+card+scope\u0026amp;description=Register+merchant+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+%60merchant\u0026amp;theme=39dc43271c14138203a30f85\u0026amp;signature=4c14aa07dea460e9d1716cbbd9ceb44d780753e29e51ffb810ffcb6a6461be2d\">\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 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 merchant registration, please read the Merchant Registration Guide.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://spade-90e401c6.mintlify.site/_mintlify/api/og/v2?division=Merchant+Registration\u0026amp;title=Register+merchant+triggers+at+card+scope\u0026amp;description=Register+merchant+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+%60merchant\u0026amp;theme=39dc43271c14138203a30f85\u0026amp;signature=4c14aa07dea460e9d1716cbbd9ceb44d780753e29e51ffb810ffcb6a6461be2d\">\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 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 merchant registration, please read the Merchant Registration Guide.\",\"dateModified\":\"2026-11-23T17:50:00.911Z\",\"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\":\"Data Operations\",\"item\":\"https://docs.spade.com/api-reference/merchant-action-triggers/get-account-level-trigger-status\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Merchant Registration\",\"item\":\"https://docs.spade.com/api-reference/merchant-action-triggers/get-account-level-trigger-status\"},{\"@type\":\"ListItem\",\"position\":3,\"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 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 merchant registration, please read the Merchant Registration 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-11-23T17:50:00.911Z\",\"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\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Introduction\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/merchant-action-triggers/register-merchant-triggers-at-card-scope.md","siteName":"Introduction","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/reference/introduction"}]},{"tab":"API Reference","groups":[{"group":"Enrichment","pages":[{"group":"Card","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":"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","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 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":"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 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"}]},{"group":"Transfer","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":"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":"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 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","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":"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":"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 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 \u0026 Errors","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":"Data Operations","pages":[{"group":"Merchant Registration","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":"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":"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":"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":"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":"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":"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":"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":"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":"Get card-level trigger status","description":"Get the status and version of the latest merchant 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 merchant registration, please read the [Merchant Registration Guide](https://docs.spade.com/reference/merchant-registration-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":"Incremental trigger operations at card scope","description":"Perform incremental operations on merchant triggers at the card scope.\n\nSee the account-scope PATCH endpoint for full documentation on supported operations (add, remove).","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"},{"title":"Clear card-level triggers","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"}]},{"group":"Category Registration","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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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"},{"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"}]},{"group":"Custom Categories","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":"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"}]}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/changelog"}]}]},"basePath":"","title":"Register merchant triggers at card scope - Introduction","deploymentId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","buildId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CalkZbx8.js","snippetPresets-DtvvunBK.js","utils-Bn5byECU.js","style-to-object-BY3JEAdk.js","utils-DOTAoFcT.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-CDauU9aU.js","conditional-requirements-CFM0id0Q.js","cloneDeep-k2aHAqp5.js","_Uint8Array-CQuRedKT.js","isObject-FP1Yky1u.js","ApiExamples-CSBS2nDe.js","usePlaygroundInputsStore-BkN7uKke.js","shallow-6IMgYiEa.js","isEqual-DicuCknl.js","CodeSnippets-C268fsRY.js","CodeSnippet-BBA8eWiP.js","getApiPlaygroundDisplay-DMK5GRGS.js","Page-Dz3zehSO.js","api-description-markdown-DwoksVHI.js","DynamicMarkdown-XsrWkK-b.js","SectionHeading-AR_EzDYe.js","MethodPill-CvOL8UTX.js","getPastedJson-BazkMjRw.js","Check2Icon-BL_xILK9.js","axios-CsQoIw0U.js","Markdown-CX8Sr5UZ.js","AssistantPageLink-B3VcLrB0.js","dist-WDJo6xkj.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}