Set-up your own custom rules that will be applied when you use the API
Custom rules allow you to define specific conditions and actions to be executed based on incoming events or data. This guide provides an overview of custom rules, their benefits, and how to create and manage them in Greip.
Click on the โAdd Ruleโ button from the top right corner of the page to
create a new custom rule.
3
Third Step
Give it a title that describes the rule. This will help you identify the
rule later, and when the custom rule is applied to an API request, it will
be returned in the API response along with the rule ID.
4
Fourth Step
Choose the endpoint then define the conditions and action for the custom
rule.
Defining conditions and action
5
Fifth Step
Click the โAdd ruleโ button to save the custom rule.
Once you have added a custom rule, it will be considered immediately when you use the API. If the conditions are met, the action will be executed and the custom rule will be returned in the API response.
When a custom rule is applied to an API request, the custom rule ID will be returned in the API response. Here is an example of a response with a custom rule:
{ "status": "success", "data": { "sample_property": "sample_value", "another_property": "another_value", "custom_rules_applied": { "total": 1, "rules": [ { "id": "CR104", "message": "Block all payments from specific email address or phone number" } ] } }}
Custom rules can be defined with the following actions:
IP geolocation
This includes both the IP geolocation and IP lookup endpoints.
Add to blacklist: Marks the IP address as blacklisted. It adds a blacklisted property with the value of true under the security object in the API response.
Add to whitelist: Marks the IP address as whitelisted. It adds a blacklisted property with the value of false under the security object in the API response.
IP reputation
Add to blacklist: Marks the IP address as blacklisted. It adds a blacklisted property with the value of true under the security object in the API response (v2: is_blacklisted).
Add to whitelist: Marks the IP address as whitelisted. It adds a blacklisted property with the value of false under the security object in the API response (v2: is_blacklisted).
Payment fraud endpoint
Overwrite score: Overwrites the score property value with the speicifed score value in the custom rule.
Email scoring endpoint
Overwrite score: Overwrites the score property value with the speicifed score value in the custom rule.
Mark as valid: Marks the email address as valid. It overwrites the isValid property value to true.
Mark as invalid: Marks the email address as invalid. It overwrites the isValid property value to false.
Phone number scoring endpoint
Mark as valid: Marks the phone number as valid. It overwrites the isValid property value to true.
Mark as invalid: Marks the phone number as invalid. It overwrites the isValid property value to false.
BIN lookup endpoint
Mark as valid: Marks the BIN as valid. It overwrites the isValid property value to true.
Mark as invalid: Marks the BIN as invalid. It overwrites the isValid property value to false.
IBAN lookup endpoint
Mark as valid: Marks the IBAN as valid. It overwrites the isValid property value to true.
Mark as invalid: Marks the IBAN as invalid. It overwrites the isValid property value to false.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Greip API Documentation","colors":{"primary":"#008CFF","light":"#008CFF","dark":"#008CFF"},"logo":{"light":"https://mintcdn.com/greip/c6lrSS26RYZXvB76/logo/light.svg?fit=max\u0026auto=format\u0026n=c6lrSS26RYZXvB76\u0026q=85\u0026s=f19b2aac5c5fcac6cccf3ef89dc6cc9a","dark":"https://mintcdn.com/greip/c6lrSS26RYZXvB76/logo/dark.svg?fit=max\u0026auto=format\u0026n=c6lrSS26RYZXvB76\u0026q=85\u0026s=3662ee2aaf8fb03ca8ba5dd0cfeb4c59"},"favicon":"https://mintcdn.com/greip/c6lrSS26RYZXvB76/favicon-1.svg?fit=max\u0026auto=format\u0026n=c6lrSS26RYZXvB76\u0026q=85\u0026s=2b357f173640f57b886f5271c144c66d","api":{"openapi":"https://greip.io/OpenAPI.json","playground":{"display":"interactive"},"mdx":{"auth":{"method":"bearer"},"server":"https://greipapi.com"}},"appearance":{"default":"dark"},"background":{"image":"https://mintcdn.com/greip/c6lrSS26RYZXvB76/images/background-light.png?fit=max\u0026auto=format\u0026n=c6lrSS26RYZXvB76\u0026q=85\u0026s=d5d027aef4f4e3d302c5530a198c7431"},"navbar":{"links":[{"href":"https://join.slack.com/t/greip-community/shared_invite/zt-2sxdyaaj8-418mMcVlekO6sNhKOAGWpg","label":"Community"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.greip.io/home"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/greip","github":"https://github.com/Greipio","website":"https://greip.io","x":"https://x.com/Greipio","slack":"https://join.slack.com/t/greip-community/shared_invite/zt-2sxdyaaj8-418mMcVlekO6sNhKOAGWpg"}},"banner":{"content":"๐ Greip's API achieved **99.98%** uptime for the last 90 days, [learn more](https://status.greip.io/).","dismissible":true},"contextual":{"options":["chatgpt","claude","copy","view"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Integrations","icon":"gears","href":"https://greip.io/integrations/all"},{"anchor":"Changelog","icon":"clock-rotate-left","href":"https://changelog.greip.io"},{"anchor":"Server Status","icon":"signal-bars","href":"https://status.greip.io"},{"anchor":"Articles","icon":"rss","href":"https://greip.io/blog"},{"anchor":"Dictionary","icon":"book-open","href":"https://greip.io/blog/section/Dictionary"},{"anchor":"FAQ","icon":"circle-question","href":"https://greip.io/faq"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"greip","hasAudioNarration":false,"actualSubdomain":"greip","customDomains":["docs.greip.io"],"gitSource":{"type":"github","owner":"greipio","repo":"greip-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad8b1e6ace1a45c00d9d9c5","collectionId":"2e1541b2-5b7d-431c-abf8-c7f9d6ee3b9c","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad8b1e6ace1a45c00d9d9c5"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6ad8b1e6ace1a45c00d9d9c5","clientVersion":"0.0.3965","searchFilterCounts":[{"language":"default","tag":"API Reference","count":30},{"language":"default","tag":"Knowledge Base","count":28},{"language":"default","tag":"Data Lookup","count":18},{"language":"default","tag":"Documentation","count":15},{"language":"default","tag":"Account Management","count":11},{"language":"default","tag":"Risk Scoring","count":10},{"language":"default","tag":"Integration Guide","count":10},{"language":"default","tag":"Get Started","count":8},{"language":"default","tag":"Use cases","count":8},{"language":"default","tag":"Integrations","count":7}]},"assistantConfig":{},"hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"editor-v7-file-tree","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":"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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"byok-sep-25","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":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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}],"isAtlas":false,"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".panel{overflow:visible}.custom-link,.prose :where(.custom-link:hover):not(:where([class~=\"not-prose\"], [class~=\"not-prose\"] *)){display:inline-block;flex:unset;width:auto;border:unset!important;text-decoration:underline}.no-wrap-words{white-space:nowrap}"}],"page":{"pagePath":"knowledge-base/custom-rules/overview","slug":"/knowledge-base/custom-rules/overview","pageMetadata":{"title":"Overview","description":"Set-up your own custom rules that will be applied when you use the API","icon":"circle-info","iconType":"duotone","href":"/knowledge-base/custom-rules/overview"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Set-up your own custom rules that will be applied when you use the API\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,CodeBlock,Frame,Heading,OptimizedImage,Step,Steps}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Custom rules allow you to define specific conditions and actions to be executed based on incoming events or data. This guide provides an overview of custom rules, their benefits, and how to create and manage them in Greip.`}),`\n`,_jsx(Frame,{caption:`Greip Dashboard โ Managing Custom Rules`,children:_jsx(`video`,{autoPlay:true,muted:true,loop:true,playsInline:true,className:`mint-w-full mint-rounded-xl`,src:`https://vz-0866dab1-a77.b-cdn.net/f6637b79-6494-4236-b916-05c6044139be/play_720p.mp4`})}),`\n`,_jsx(Heading,{level:`2`,id:`adding-custom-rules`,children:`Adding custom rules`}),`\n`,_jsx(_components.p,{children:`To add a custom rule, follow these steps:`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`First Step`,children:_jsxs(_components.p,{children:[`Go to the `,_jsx(_components.a,{href:`https://dashboard.greip.io/custom-rules`,children:`Custom Rules page`}),` from\nthe account dashboard.`]})}),_jsx(Step,{title:`Second Step`,children:_jsx(_components.p,{children:`Click on the โAdd Ruleโ button from the top right corner of the page to\ncreate a new custom rule.`})}),_jsx(Step,{title:`Third Step`,children:_jsx(_components.p,{children:`Give it a title that describes the rule. This will help you identify the\nrule later, and when the custom rule is applied to an API request, it will\nbe returned in the API response along with the rule ID.`})}),_jsxs(Step,{title:`Fourth Step`,children:[_jsx(_components.p,{children:`Choose the endpoint then define the conditions and action for the custom\nrule.`}),_jsx(Frame,{caption:`Defining conditions and action`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/greip/c6lrSS26RYZXvB76/images/custom-rules/adding-custom-rule-1.png?fit=max\u0026auto=format\u0026n=c6lrSS26RYZXvB76\u0026q=85\u0026s=74d2fb81436b386c1181909a406a8e49`,alt:`Greip custom rules - Defining conditions and\naction`,\"data-og-width\":`3456`,width:`3456`,\"data-og-height\":`1980`,height:`1980`,\"data-path\":`images/custom-rules/adding-custom-rule-1.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/greip/c6lrSS26RYZXvB76/images/custom-rules/adding-custom-rule-1.png?w=280\u0026fit=max\u0026auto=format\u0026n=c6lrSS26RYZXvB76\u0026q=85\u0026s=196d971dbd46dae7f33774760fd3b3ea 280w, https://mintcdn.com/greip/c6lrSS26RYZXvB76/images/custom-rules/adding-custom-rule-1.png?w=560\u0026fit=max\u0026auto=format\u0026n=c6lrSS26RYZXvB76\u0026q=85\u0026s=57356b47aa7e374b81f95b18ff77cb14 560w, https://mintcdn.com/greip/c6lrSS26RYZXvB76/images/custom-rules/adding-custom-rule-1.png?w=840\u0026fit=max\u0026auto=format\u0026n=c6lrSS26RYZXvB76\u0026q=85\u0026s=eb6dff632f8cedbd0867daec234722e1 840w, https://mintcdn.com/greip/c6lrSS26RYZXvB76/images/custom-rules/adding-custom-rule-1.png?w=1100\u0026fit=max\u0026auto=format\u0026n=c6lrSS26RYZXvB76\u0026q=85\u0026s=dd7f46fdf3daf7ad5cb0009880b651d7 1100w, https://mintcdn.com/greip/c6lrSS26RYZXvB76/images/custom-rules/adding-custom-rule-1.png?w=1650\u0026fit=max\u0026auto=format\u0026n=c6lrSS26RYZXvB76\u0026q=85\u0026s=71ccb19db01df7078b61d70acc99e95e 1650w, https://mintcdn.com/greip/c6lrSS26RYZXvB76/images/custom-rules/adding-custom-rule-1.png?w=2500\u0026fit=max\u0026auto=format\u0026n=c6lrSS26RYZXvB76\u0026q=85\u0026s=373b83521e3bbaec441869c3f91f6522 2500w`})})]}),_jsx(Step,{title:`Fifth Step`,children:_jsx(_components.p,{children:`Click the โAdd ruleโ button to save the custom rule.`})})]}),`\n`,_jsx(_components.p,{children:`Once you have added a custom rule, it will be considered immediately when you use the API. If the conditions are met, the action will be executed and the custom rule will be returned in the API response.`}),`\n`,_jsx(Heading,{level:`2`,id:`sample-response-with-custom-rule`,children:`Sample response with custom rule`}),`\n`,_jsx(_components.p,{children:`When a custom rule is applied to an API request, the custom rule ID will be returned in the API response. Here is an example of a response with a custom rule:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`17`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`17`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sample_property\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sample_value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"another_property\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"another_value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"custom_rules_applied\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rules\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"CR104\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Block all payments from specific email address or phone number\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`definitions-of-custom-rule-actions`,children:`Definitions of custom rule actions`}),`\n`,_jsx(_components.p,{children:`Custom rules can be defined with the following actions:`}),`\n`,_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`IP geolocation`,id:`ip-geolocation`,children:[_jsxs(_components.p,{children:[`This includes both the `,_jsx(_components.code,{children:`IP geolocation`}),` and `,_jsx(_components.code,{children:`IP lookup`}),` endpoints.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Add to blacklist`}),`: Marks the IP address as blacklisted. It adds a `,_jsx(_components.code,{children:`blacklisted`}),` property with the value of `,_jsx(_components.code,{children:`true`}),` under the `,_jsx(_components.code,{children:`security`}),` object in the API response.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Add to whitelist`}),`: Marks the IP address as whitelisted. It adds a `,_jsx(_components.code,{children:`blacklisted`}),` property with the value of `,_jsx(_components.code,{children:`false`}),` under the `,_jsx(_components.code,{children:`security`}),` object in the API response.`]}),`\n`]})]}),_jsx(Accordion,{title:`IP reputation`,id:`ip-reputation`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Add to blacklist`}),`: Marks the IP address as blacklisted. It adds a `,_jsx(_components.code,{children:`blacklisted`}),` property with the value of `,_jsx(_components.code,{children:`true`}),` under the `,_jsx(_components.code,{children:`security`}),` object in the API response (v2: `,_jsx(_components.code,{children:`is_blacklisted`}),`).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Add to whitelist`}),`: Marks the IP address as whitelisted. It adds a `,_jsx(_components.code,{children:`blacklisted`}),` property with the value of `,_jsx(_components.code,{children:`false`}),` under the `,_jsx(_components.code,{children:`security`}),` object in the API response (v2: `,_jsx(_components.code,{children:`is_blacklisted`}),`).`]}),`\n`]})}),_jsx(Accordion,{title:`Payment fraud endpoint`,id:`payment-fraud-endpoint`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Overwrite score`}),`: Overwrites the `,_jsx(_components.code,{children:`score`}),` property value with the speicifed score value in the custom rule.`]}),`\n`]})}),_jsx(Accordion,{title:`Email scoring endpoint`,id:`email-scoring-endpoint`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Overwrite score`}),`: Overwrites the `,_jsx(_components.code,{children:`score`}),` property value with the speicifed score value in the custom rule.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Mark as valid`}),`: Marks the email address as valid. It overwrites the `,_jsx(_components.code,{children:`isValid`}),` property value to `,_jsx(_components.code,{children:`true`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Mark as invalid`}),`: Marks the email address as invalid. It overwrites the `,_jsx(_components.code,{children:`isValid`}),` property value to `,_jsx(_components.code,{children:`false`}),`.`]}),`\n`]})}),_jsx(Accordion,{title:`Phone number scoring endpoint`,id:`phone-number-scoring-endpoint`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Mark as valid`}),`: Marks the phone number as valid. It overwrites the `,_jsx(_components.code,{children:`isValid`}),` property value to `,_jsx(_components.code,{children:`true`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Mark as invalid`}),`: Marks the phone number as invalid. It overwrites the `,_jsx(_components.code,{children:`isValid`}),` property value to `,_jsx(_components.code,{children:`false`}),`.`]}),`\n`]})}),_jsx(Accordion,{title:`BIN lookup endpoint`,id:`bin-lookup-endpoint`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Mark as valid`}),`: Marks the BIN as valid. It overwrites the `,_jsx(_components.code,{children:`isValid`}),` property value to `,_jsx(_components.code,{children:`true`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Mark as invalid`}),`: Marks the BIN as invalid. It overwrites the `,_jsx(_components.code,{children:`isValid`}),` property value to `,_jsx(_components.code,{children:`false`}),`.`]}),`\n`]})}),_jsx(Accordion,{title:`IBAN lookup endpoint`,id:`iban-lookup-endpoint`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Mark as valid`}),`: Marks the IBAN as valid. It overwrites the `,_jsx(_components.code,{children:`isValid`}),` property value to `,_jsx(_components.code,{children:`true`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Mark as invalid`}),`: Marks the IBAN as invalid. It overwrites the `,_jsx(_components.code,{children:`isValid`}),` property value to `,_jsx(_components.code,{children:`false`}),`.`]}),`\n`]})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Overview","description":"Set-up your own custom rules that will be applied when you use the API","icon":"circle-info","iconType":"duotone","href":"/knowledge-base/custom-rules/overview"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Adding custom rules","slug":"adding-custom-rules","depth":2,"children":[]},{"title":"Sample response with custom rule","slug":"sample-response-with-custom-rule","depth":2,"children":[]},{"title":"Definitions of custom rule actions","slug":"definitions-of-custom-rule-actions","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"dynamicCss":".mint-w-full {\n width: 100%\n}\n.mint-rounded-xl {\n border-radius: 0.75rem\n}","subdomain":"greip","siteName":"Greip API Documentation","title":"Overview - Greip API Documentation","navMaps":{"firstHrefInVersion":{"API v2":{"href":"/knowledge-base/custom-rules/overview","matchLevel":0},"API v1":{"href":"/knowledge-base/custom-rules/overview","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-10-19T11:52:19.942Z","originalFileLocation":"knowledge-base/custom-rules/overview.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=\"dark\"}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=\"Set-up your own custom rules that will be applied when you use the API\">\u003cmeta data-mint-head name=\"application-name\" content=\"Greip API Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/greip/dtlfq1ulgjuPqDEw/_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/greip/dtlfq1ulgjuPqDEw/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/greip/dtlfq1ulgjuPqDEw/_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/greip/dtlfq1ulgjuPqDEw/_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/greip/dtlfq1ulgjuPqDEw/_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/greip/dtlfq1ulgjuPqDEw/_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/greip/dtlfq1ulgjuPqDEw/_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/greip/dtlfq1ulgjuPqDEw/_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/greip/dtlfq1ulgjuPqDEw/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Overview - Greip API Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Set-up your own custom rules that will be applied when you use the API\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Greip API Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.greip.io/knowledge-base/custom-rules/overview\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://greip.mintlify.app/_mintlify/api/og/v2?division=Custom+Rules\u0026amp;title=Overview\u0026amp;description=Set-up+your+own+custom+rules+that+will+be+applied+when+you+use+the+API\u0026amp;theme=7cf64e10dd7828d12f27732f\u0026amp;signature=14e3910facf5369c6daea5ff42085efc780a636a0f11611ca93379d5bf434a8b\">\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=\"Overview - Greip API Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Set-up your own custom rules that will be applied when you use the API\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://greip.mintlify.app/_mintlify/api/og/v2?division=Custom+Rules\u0026amp;title=Overview\u0026amp;description=Set-up+your+own+custom+rules+that+will+be+applied+when+you+use+the+API\u0026amp;theme=7cf64e10dd7828d12f27732f\u0026amp;signature=14e3910facf5369c6daea5ff42085efc780a636a0f11611ca93379d5bf434a8b\">\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/greip/dtlfq1ulgjuPqDEw/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Greip API Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#008CFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.greip.io/knowledge-base/custom-rules/overview\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/knowledge-base/custom-rules/overview.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.greip.io/#organization\",\"name\":\"Greip API Documentation\",\"url\":\"https://docs.greip.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/greip/c6lrSS26RYZXvB76/logo/light.svg?fit=max\u0026auto=format\u0026n=c6lrSS26RYZXvB76\u0026q=85\u0026s=f19b2aac5c5fcac6cccf3ef89dc6cc9a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.greip.io#website\",\"name\":\"Greip API Documentation\",\"url\":\"https://docs.greip.io\",\"publisher\":{\"@id\":\"https://docs.greip.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.greip.io/knowledge-base/custom-rules/overview#webpage\",\"url\":\"https://docs.greip.io/knowledge-base/custom-rules/overview\",\"name\":\"Overview\",\"description\":\"Set-up your own custom rules that will be applied when you use the API\",\"dateModified\":\"2026-10-19T11:52:19.942Z\",\"isPartOf\":{\"@id\":\"https://docs.greip.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.greip.io/knowledge-base/custom-rules/overview#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.greip.io/knowledge-base/custom-rules/overview#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Greip API Documentation\",\"item\":\"https://docs.greip.io\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Overview\",\"item\":\"https://docs.greip.io/knowledge-base/custom-rules/overview\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.greip.io/knowledge-base/custom-rules/overview#article\",\"headline\":\"Overview\",\"name\":\"Overview\",\"description\":\"Set-up your own custom rules that will be applied when you use the API\",\"url\":\"https://docs.greip.io/knowledge-base/custom-rules/overview\",\"mainEntityOfPage\":{\"@id\":\"https://docs.greip.io/knowledge-base/custom-rules/overview#webpage\"},\"dateModified\":\"2026-10-19T11:52:19.942Z\",\"publisher\":{\"@id\":\"https://docs.greip.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.greip.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Greip API Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Greip API Documentation","nav":{"global":{"anchors":[{"anchor":"Integrations","icon":"gears","href":"https://greip.io/integrations/all"},{"anchor":"Changelog","icon":"clock-rotate-left","href":"https://changelog.greip.io"},{"anchor":"Server Status","icon":"signal-bars","href":"https://status.greip.io"},{"anchor":"Articles","icon":"rss","href":"https://greip.io/blog"},{"anchor":"Dictionary","icon":"book-open","href":"https://greip.io/blog/section/Dictionary"},{"anchor":"FAQ","icon":"circle-question","href":"https://greip.io/faq"}]},"versions":[{"version":"API v2","default":true,"tag":"Recommended","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/v2/endpoint/data-lookup/geoip"}]},{"tab":"Knowledge Base","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","sidebarTitle":"Introduction","icon":"circle-info","iconType":"duotone","href":"/knowledge-base/getting-started/introduction"}]},{"group":"Account Management","pages":[{"title":"Webhooks","icon":"right-left","iconType":"duotone","href":"/knowledge-base/account-management/webhooks"},{"title":"Obtaining an API Key","sidebarTitle":"Obtaining API Key","icon":"key","iconType":"duotone","href":"/knowledge-base/account-management/obtaining-api-key"},{"title":"Protecting your API Key","sidebarTitle":"Protecting API Key","icon":"shield","iconType":"duotone","href":"/knowledge-base/account-management/protecting-your-api-key"},{"title":"Enabling 2FA","icon":"shield-check","iconType":"duotone","href":"/knowledge-base/account-management/enabling-2fa"},{"title":"Manage Authorized Devices","sidebarTitle":"Authorized Devices","icon":"laptop-mobile","iconType":"duotone","href":"/knowledge-base/account-management/manage-authorized-devices"},{"title":"Upgrading Account Subscription","sidebarTitle":"Upgrade Subscription","icon":"star","iconType":"duotone","href":"/knowledge-base/account-management/upgrading-your-account"},{"title":"Managing Your Subscription","sidebarTitle":"Manage Subscription","icon":"credit-card","iconType":"duotone","href":"/knowledge-base/account-management/managing-your-subscription"},{"title":"Downloading Invoices","sidebarTitle":"Download Invoices","icon":"download","iconType":"duotone","href":"/knowledge-base/account-management/downloading-invoices"},{"title":"Account Deletion","sidebarTitle":"Account Deletion","icon":"user-minus","iconType":"duotone","href":"/knowledge-base/account-management/account-deletion"}]},{"group":"Events \u0026 Alerts","pages":[{"title":"Overview","icon":"circle-info","iconType":"duotone","href":"/knowledge-base/events-and-alerts/overview"},{"title":"Filtering Results","sidebarTitle":"Filtering Results","icon":"filter","iconType":"duotone","href":"/knowledge-base/events-and-alerts/filtering"},{"title":"Exporting Data","sidebarTitle":"Exporting Data","icon":"download","iconType":"duotone","href":"/knowledge-base/events-and-alerts/exporting-events"},{"title":"Viewing Event Details","sidebarTitle":"Viewing Event Details","icon":"eye","iconType":"duotone","href":"/knowledge-base/events-and-alerts/view-event-details"}]},{"group":"Monitoring Capabilities","pages":[{"title":"Subscription Usage Tracking","sidebarTitle":"Subscription Usage Tracking","icon":"chart-simple","iconType":"duotone","href":"/knowledge-base/monitoring-capabilities/subscription-usage-tracking"},{"title":"Real-time Threat Monitoring","sidebarTitle":"Real-time Threat Monitoring","icon":"chart-bar","iconType":"duotone","href":"/knowledge-base/monitoring-capabilities/real-time-threat-monitoring"}]},{"group":"Blacklists","pages":[{"title":"Overview","description":"Block lists of IP addresses, emails, email domains, customer IDs, customer IP addresses, card BINs, or card countries.","icon":"circle-info","iconType":"duotone","href":"/knowledge-base/blacklists/overview"}]},{"group":"Custom Rules","pages":[{"title":"Overview","icon":"circle-info","iconType":"duotone","href":"/knowledge-base/custom-rules/overview"},{"title":"Testing Custom Rules","sidebarTitle":"Testing Custom Rules","description":"Run a test on a custom rule to see if the conditions are met.","icon":"microscope","iconType":"duotone","href":"/knowledge-base/custom-rules/testing-custom-rules"}]},{"group":"Integrations","pages":[{"title":"Overview","sidebarTitle":"Overview","icon":"diagram-project","iconType":"duotone","href":"/knowledge-base/integrations/overview"},{"title":"Integrate Greip with Slack","sidebarTitle":"Slack Integration","icon":"circle-1","iconType":"duotone","href":"/knowledge-base/integrations/slack"},{"title":"Integrate Greip with Zapier","sidebarTitle":"Zapier Integration","icon":"circle-2","iconType":"duotone","href":"/knowledge-base/integrations/zapier"},{"title":"Integrate Greip with IFTTT","sidebarTitle":"IFTTT Integration","icon":"circle-3","iconType":"duotone","href":"/knowledge-base/integrations/ifttt"},{"title":"Integrate Greip with Make","sidebarTitle":"Make Integration","icon":"circle-4","iconType":"duotone","href":"/knowledge-base/integrations/make"},{"title":"Integrate Greip with Telegram","sidebarTitle":"Telegram Integration","icon":"circle-4","iconType":"duotone","href":"/knowledge-base/integrations/telegram"},{"title":"Integrate Greip with N8N","sidebarTitle":"N8N Integration","icon":"circle-6","iconType":"duotone","href":"/knowledge-base/integrations/n8n"}]},{"group":"Affiliate Program","pages":[{"title":"Becoming Affiliate Partner","sidebarTitle":"Become Affiliate Partner","icon":"dollar-sign","iconType":"duotone","href":"/knowledge-base/affiliates-program/becoming-affiliate-partner"},{"title":"Payout Settings","sidebarTitle":"Payout Settings","icon":"hand-holding-dollar","iconType":"duotone","href":"/knowledge-base/affiliates-program/payout-settings"}]}]},{"tab":"Integration Guide","pages":[{"title":"Integration Guide","href":"/integration-guide/timeline"}]},{"tab":"Packages \u0026 Libraries","pages":[{"title":"Packages \u0026 Libraries","href":"/packages-and-libraries/list-of-packages-and-libraries"}]}]},{"version":"API v1","tag":"Legacy","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/v1/endpoint/data-lookup/geoip"}]},{"tab":"Knowledge Base","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","sidebarTitle":"Introduction","icon":"circle-info","iconType":"duotone","href":"/knowledge-base/getting-started/introduction"}]},{"group":"Account Management","pages":[{"title":"Webhooks","icon":"right-left","iconType":"duotone","href":"/knowledge-base/account-management/webhooks"},{"title":"Obtaining an API Key","sidebarTitle":"Obtaining API Key","icon":"key","iconType":"duotone","href":"/knowledge-base/account-management/obtaining-api-key"},{"title":"Protecting your API Key","sidebarTitle":"Protecting API Key","icon":"shield","iconType":"duotone","href":"/knowledge-base/account-management/protecting-your-api-key"},{"title":"Enabling 2FA","icon":"shield-check","iconType":"duotone","href":"/knowledge-base/account-management/enabling-2fa"},{"title":"Manage Authorized Devices","sidebarTitle":"Authorized Devices","icon":"laptop-mobile","iconType":"duotone","href":"/knowledge-base/account-management/manage-authorized-devices"},{"title":"Upgrading Account Subscription","sidebarTitle":"Upgrade Subscription","icon":"star","iconType":"duotone","href":"/knowledge-base/account-management/upgrading-your-account"},{"title":"Managing Your Subscription","sidebarTitle":"Manage Subscription","icon":"credit-card","iconType":"duotone","href":"/knowledge-base/account-management/managing-your-subscription"},{"title":"Downloading Invoices","sidebarTitle":"Download Invoices","icon":"download","iconType":"duotone","href":"/knowledge-base/account-management/downloading-invoices"},{"title":"Account Deletion","sidebarTitle":"Account Deletion","icon":"user-minus","iconType":"duotone","href":"/knowledge-base/account-management/account-deletion"}]},{"group":"Events \u0026 Alerts","pages":[{"title":"Overview","icon":"circle-info","iconType":"duotone","href":"/knowledge-base/events-and-alerts/overview"},{"title":"Filtering Results","sidebarTitle":"Filtering Results","icon":"filter","iconType":"duotone","href":"/knowledge-base/events-and-alerts/filtering"},{"title":"Exporting Data","sidebarTitle":"Exporting Data","icon":"download","iconType":"duotone","href":"/knowledge-base/events-and-alerts/exporting-events"},{"title":"Viewing Event Details","sidebarTitle":"Viewing Event Details","icon":"eye","iconType":"duotone","href":"/knowledge-base/events-and-alerts/view-event-details"}]},{"group":"Monitoring Capabilities","pages":[{"title":"Subscription Usage Tracking","sidebarTitle":"Subscription Usage Tracking","icon":"chart-simple","iconType":"duotone","href":"/knowledge-base/monitoring-capabilities/subscription-usage-tracking"},{"title":"Real-time Threat Monitoring","sidebarTitle":"Real-time Threat Monitoring","icon":"chart-bar","iconType":"duotone","href":"/knowledge-base/monitoring-capabilities/real-time-threat-monitoring"}]},{"group":"Blacklists","pages":[{"title":"Overview","description":"Block lists of IP addresses, emails, email domains, customer IDs, customer IP addresses, card BINs, or card countries.","icon":"circle-info","iconType":"duotone","href":"/knowledge-base/blacklists/overview"}]},{"group":"Custom Rules","pages":[{"title":"Overview","icon":"circle-info","iconType":"duotone","href":"/knowledge-base/custom-rules/overview"},{"title":"Testing Custom Rules","sidebarTitle":"Testing Custom Rules","description":"Run a test on a custom rule to see if the conditions are met.","icon":"microscope","iconType":"duotone","href":"/knowledge-base/custom-rules/testing-custom-rules"}]},{"group":"Integrations","pages":[{"title":"Overview","sidebarTitle":"Overview","icon":"diagram-project","iconType":"duotone","href":"/knowledge-base/integrations/overview"},{"title":"Integrate Greip with Slack","sidebarTitle":"Slack Integration","icon":"circle-1","iconType":"duotone","href":"/knowledge-base/integrations/slack"},{"title":"Integrate Greip with Zapier","sidebarTitle":"Zapier Integration","icon":"circle-2","iconType":"duotone","href":"/knowledge-base/integrations/zapier"},{"title":"Integrate Greip with IFTTT","sidebarTitle":"IFTTT Integration","icon":"circle-3","iconType":"duotone","href":"/knowledge-base/integrations/ifttt"},{"title":"Integrate Greip with Make","sidebarTitle":"Make Integration","icon":"circle-4","iconType":"duotone","href":"/knowledge-base/integrations/make"},{"title":"Integrate Greip with Telegram","sidebarTitle":"Telegram Integration","icon":"circle-4","iconType":"duotone","href":"/knowledge-base/integrations/telegram"},{"title":"Integrate Greip with N8N","sidebarTitle":"N8N Integration","icon":"circle-6","iconType":"duotone","href":"/knowledge-base/integrations/n8n"}]},{"group":"Affiliate Program","pages":[{"title":"Becoming Affiliate Partner","sidebarTitle":"Become Affiliate Partner","icon":"dollar-sign","iconType":"duotone","href":"/knowledge-base/affiliates-program/becoming-affiliate-partner"},{"title":"Payout Settings","sidebarTitle":"Payout Settings","icon":"hand-holding-dollar","iconType":"duotone","href":"/knowledge-base/affiliates-program/payout-settings"}]}]},{"tab":"Integration Guide","pages":[{"title":"Integration Guide","href":"/integration-guide/timeline"}]},{"tab":"Packages \u0026 Libraries","pages":[{"title":"Packages \u0026 Libraries","href":"/packages-and-libraries/list-of-packages-and-libraries"}]}]}]},"title":"Overview - Greip API Documentation","buildId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","deploymentId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","dynamics":["10e4515597","07c022d89b","a74be98ba7"],"chunks":["BannerMarkdown-cfwQA_n9.js","dist-2LoAhjKH.js","lib--scc4DXi.js","lib-B8HbPgcC.js","clsx-DZLdJUrt.js","html-void-elements-mCSPHezU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","Frame-Cz91mEGH.js","DynamicMarkdown-a8hUKrw6.js","zoom-image-lightbox-CaUwvYH3.js","lightbox-handle-r17bVUz3.js"]}