The contact’s name. This field is case-sensitive. A minimum of 3 characters and a maximum of 50 characters are allowed. Name cannot end with a special character, except .. Supported characters: a-z, A-Z, 0-9, space, ’ , - , _ , / , ( , ) and , .. For example, Gaurav Kumar.
Key-value pair that can be used to store additional information about the entity. Maximum 15 key-value pairs, 256 characters (maximum) each. For example, "note_key": "Beam me up Scotty”.
Key-value pair that can be used to store additional information about the entity. Maximum 15 key-value pairs, 256 characters (maximum) each. For example, "note_key": "Beam me up Scotty”.
Code:4xxThe name field is missing in the request body.Solution: Enter the details in the recommended format as per the request body.
The name field is invalid.
Code:4xxThere are special characters used in the name field.Solution: Enter details as per the format recommended for Create a Contact request for name field.
Invalid type: contact_typeA
Code:4xx
There are special characters in the type field.
Casing does not match as per the type. type is case-sensitive.
Contact type sent in the request does not match the types present in the Dashboard.
Solution: Enter the correct contact type in the request body. You cannot create new contact types via API. You must create them via the RazorpayX Dashboard.
Last modified on October 8, 2026
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Razorpay","colors":{"primary":"#3395FF","light":"#66B2FF","dark":"#0B62C4"},"logo":{"light":"https://mintcdn.com/doc-test-my/ZVMbrxgGis8rvt2g/logo/light.svg?fit=max\u0026auto=format\u0026n=ZVMbrxgGis8rvt2g\u0026q=85\u0026s=6aab4f40abeef4b048527ba9f05deda3","dark":"https://mintcdn.com/doc-test-my/ZVMbrxgGis8rvt2g/logo/dark.svg?fit=max\u0026auto=format\u0026n=ZVMbrxgGis8rvt2g\u0026q=85\u0026s=46ee6143cb631297999f217bc077aded","href":"/home"},"favicon":"https://mintcdn.com/doc-test-my/ocuE3cGe6n9R22co/favicon.png?fit=max\u0026auto=format\u0026n=ocuE3cGe6n9R22co\u0026q=85\u0026s=923547044b089abf7dc4fc129ef43e00","api":{"playground":{"display":"interactive"},"mdx":{"auth":{"method":"basic"},"server":"https://api.razorpay.com"}},"navbar":{"links":[{"href":"https://curlec.com/support","label":"Support"},{"href":"https://curlec.com/blog","label":"Blog"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.curlec.com/"}},"footer":{"socials":{"x":"https://x.com/Razorpay","linkedin":"https://www.linkedin.com/company/razorpay","github":"https://github.com/razorpay","youtube":"https://www.youtube.com/razorpay"},"links":[{"header":"Products","items":[{"label":"Payment Gateway","href":"https://curlec.com/payment-gateway"},{"label":"Payment Links","href":"https://curlec.com/payment-links"}]},{"header":"Resources","items":[{"label":"Documentation","href":"https://curlec.com/docs"},{"label":"API Reference","href":"https://curlec.com/docs/api"},{"label":"Support","href":"https://curlec.com/support"},{"label":"Blog","href":"https://curlec.com/blog"}]},{"header":"Company","items":[{"label":"About Us","href":"https://curlec.com/about"},{"label":"Careers","href":"https://curlec.com/careers"},{"label":"Pricing","href":"https://curlec.com/pricing"}]}]},"seo":{"metatags":{"canonical":"https://curlec.com/docs"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":true},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"doc-test-my","hasAudioNarration":false,"actualSubdomain":"doc-test-my","customDomains":["curlec.com"],"gitSource":{"type":"github","owner":"razorpay-vendor-integrations","repo":"docs-my","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aedb92bf09614e584b7db85","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"Payments","count":428},{"language":"default","tag":"API Reference","count":113},{"language":"default","tag":"Payment Gateway","count":97},{"language":"default","tag":"Dashboard","count":73},{"language":"default","tag":"Route","count":44},{"language":"default","tag":"Subscriptions","count":44},{"language":"default","tag":"Ecommerce Plugins","count":41},{"language":"default","tag":"Invoices","count":34},{"language":"default","tag":"Payment Links","count":34},{"language":"default","tag":"Developer Tools","count":24}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#navbar ul.sidebar-group.mt-6,ul.sidebar-group.mt-6{margin-top:1rem}[data-component-part=\"callout-content\"]>[data-as=\"p\"]:first-child>strong,[data-component-part=\"callout-content\"]>[data-as=\"p\"]:first-child strong,[data-component-part=\"callout-content\"]>strong:first-child{font-size:1.125rem!important;font-weight:700!important;line-height:1.4!important}.error-code-cards [data-component-part=\"card-title\"]{display:inline-block!important;font-family:ui-monospace, \"SF Mono\", SFMono-Regular, Menlo, Consolas,\n \"Liberation Mono\", monospace!important;font-size:0.875rem!important;font-weight:600!important;line-height:1.3!important;padding:0.25rem 0.75rem!important;border-radius:9999px!important;background:rgba(107, 114, 128, 0.10)!important;border:1px solid rgba(107, 114, 128, 0.25)!important}.dark .error-code-cards [data-component-part=\"card-title\"]{background:rgba(255, 255, 255, 0.06)!important;border-color:rgba(255, 255, 255, 0.15)!important}[data-http-method]{font-weight:700!important;border-color:transparent!important}[data-http-method=\"get\"]{color:#15803d!important;background:rgba(74, 222, 128, 0.2)!important}[data-http-method=\"post\"]{color:#1d4ed8!important;background:rgba(96, 165, 250, 0.2)!important}[data-http-method=\"put\"]{color:#a16207!important;background:rgba(250, 204, 21, 0.2)!important}[data-http-method=\"patch\"]{color:#c2410c!important;background:rgba(251, 146, 60, 0.2)!important}[data-http-method=\"delete\"]{color:#b91c1c!important;background:rgba(248, 113, 113, 0.2)!important}.dark [data-http-method=\"get\"]{color:#4ade80!important}.dark [data-http-method=\"post\"]{color:#60a5fa!important}.dark [data-http-method=\"put\"]{color:#facc15!important}.dark [data-http-method=\"patch\"]{color:#fb923c!important}.dark [data-http-method=\"delete\"]{color:#f87171!important}ul.sidebar-group.mt-6{margin-top:5px}"},{"filePath":"static/docs-home/styles.css","href":"/docs/_mintlify/custom/doc-test-my/8e676b2fb670224d/static/docs-home/styles.css"},{"filePath":"static/nav-more.css","content":"#navbar .nav-tabs{min-width:0;column-gap:1rem}#navbar .nav-tabs:not(.rzpn-more) .nav-tabs-item{display:block;flex:0 1 auto;min-width:3.5rem;min-width:calc-size(max-content, min(size, 5.25rem));white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:3rem}#navbar .nav-tabs:not(.rzpn-more) .nav-tabs-item>svg{display:inline-block;vertical-align:middle;margin:-2px 8px 0 0}#navbar .nav-tabs.rzpn-more .nav-tabs-item{flex:none;white-space:nowrap}#navbar .nav-tabs-item[data-rzpn-hidden]{display:none}#navbar .rzpn-more-wrap{position:relative;flex:none}#navbar .rzpn-more-wrap:not([hidden]){display:flex}#navbar .rzpn-more-menu:not([hidden]){display:flex;flex-direction:column}#navbar .rzpn-more-btn{background:none;border:0;padding:0;cursor:pointer;white-space:nowrap}#navbar .rzpn-more-menu{position:absolute;top:calc(100% - 4px);right:0;z-index:50;min-width:12rem;padding:6px;border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.12)}#navbar .rzpn-more-menu a{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:8px;white-space:nowrap}#navbar .rzpn-more-menu a:hover,#navbar .rzpn-more-menu a:focus-visible{background:rgba(127,127,127,.12)}"}],"page":{"pagePath":"api/x/contacts/create","slug":"/api/x/contacts/create","pageMetadata":{"title":"Create a Contact","description":"Create a Contact using API.","api":"POST /v1/contacts","hidden":true,"href":"/api/x/contacts/create","hiddenSetByFrontmatter":true},"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: \"Create a Contact using 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={code:`code`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Heading,ParamField,ResponseField}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsxs(`div`,{style:{display:`flex`,flexWrap:`wrap`,alignItems:`center`,gap:`0.35rem 0.9rem`,border:`1px solid rgba(128,128,128,0.28)`,borderRadius:`0.5rem`,padding:`0.45rem 0.75rem`,margin:`0 0 1.25rem`,fontSize:`0.875rem`},children:[_jsx(`span`,{style:{fontWeight:600},children:`Available in`}),_jsx(`span`,{children:`🇮🇳 India`}),_jsx(`span`,{children:`🇲🇾 Malaysia`}),_jsx(`span`,{children:`🇺🇸 United States`})]}),`\n`,_jsx(_components.p,{children:`Use this endpoint to create a new contact.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`A new contact is created if any combination of the following details is unique: `,_jsx(_components.code,{children:`name`}),`, `,_jsx(_components.code,{children:`email`}),`, `,_jsx(_components.code,{children:`contact`}),`, `,_jsx(_components.code,{children:`type`}),` and `,_jsx(_components.code,{children:`reference_id`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`If `,_jsx(_components.strong,{children:`all`}),` the above details match the details of an existing contact, the API returns details of the existing contact.`]}),`\n`]}),`\n`,`\n`,`\n`,_jsx(Heading,{level:`2`,id:`request-parameters`,children:`Request Parameters`}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,required:true,id:`param-name`,children:_jsxs(_components.p,{children:[`The contact’s name. This field is case-sensitive. A minimum of 3 characters and a maximum of 50 characters are allowed. Name cannot end with a special character, except `,_jsx(_components.code,{children:`.`}),`. Supported characters: `,_jsx(_components.code,{children:`a-z`}),`, `,_jsx(_components.code,{children:`A-Z`}),`, `,_jsx(_components.code,{children:`0-9`}),`, `,_jsx(_components.code,{children:`space`}),`, `,_jsx(_components.code,{children:`’`}),` , `,_jsx(_components.code,{children:`-`}),` , `,_jsx(_components.code,{children:`_`}),` , `,_jsx(_components.code,{children:`/`}),` , `,_jsx(_components.code,{children:`(`}),` , `,_jsx(_components.code,{children:`)`}),` and , `,_jsx(_components.code,{children:`.`}),`. For example, `,_jsx(_components.code,{children:`Gaurav Kumar`}),`.`]})}),`\n`,_jsx(ParamField,{body:`email`,type:`string`,id:`param-email`,children:_jsxs(_components.p,{children:[`The contact’s email address. For example, `,_jsx(_components.code,{children:`gaurav.kumar@example.com`}),`.`]})}),`\n`,_jsx(ParamField,{body:`contact`,type:`string`,id:`param-contact`,children:_jsxs(_components.p,{children:[`The contact’s phone number. For example, `,_jsx(_components.code,{children:`9000090000`}),`.`]})}),`\n`,_jsxs(ParamField,{body:`type`,type:`string`,id:`param-type`,children:[_jsxs(_components.p,{children:[`Maximum 40 characters. Classification for the contact being created. For example, `,_jsx(_components.code,{children:`employee`}),`. The following classifications are available by default:`]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`vendor`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`customer`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`employee`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`self`})}),`\n`]}),_jsx(`br`,{}),_jsx(_components.p,{children:`Additional classifications can be created via the Dashboard and then used in APIs. It is not possible to create new classifications via API.`})]}),`\n`,_jsx(ParamField,{body:`reference_id`,type:`string`,id:`param-reference-id`,children:_jsxs(_components.p,{children:[`Maximum 40 characters. A user-entered reference for the contact. For example, `,_jsx(_components.code,{children:`Acme Contact ID 12345`}),`.`]})}),`\n`,_jsx(ParamField,{body:`notes`,type:`object`,id:`param-notes`,children:_jsxs(_components.p,{children:[`Key-value pair that can be used to store additional information about the entity. Maximum 15 key-value pairs, 256 characters (maximum) each. For example, `,_jsx(_components.code,{children:`\"note_key\": \"Beam me up Scotty”`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response-parameters`,children:`Response Parameters`}),`\n`,_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsxs(_components.p,{children:[`The unique identifier linked to the contact. For example, `,_jsx(_components.code,{children:`cont_00000000000001`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`entity`,type:`string`,id:`param-entity`,children:_jsxs(_components.p,{children:[`The entity being created. Here, it is `,_jsx(_components.code,{children:`contact`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name-1`,children:_jsxs(_components.p,{children:[`The contact’s name. For example, `,_jsx(_components.code,{children:`Gaurav Kumar`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`contact`,type:`string`,id:`param-contact-1`,children:_jsxs(_components.p,{children:[`The contact’s phone number. For example, `,_jsx(_components.code,{children:`9000090000`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`email`,type:`string`,id:`param-email-1`,children:_jsxs(_components.p,{children:[`The contact’s email address. For example, `,_jsx(_components.code,{children:`gaurav.kumar@example.com`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`type`,type:`string`,id:`param-type-1`,children:_jsxs(_components.p,{children:[`A classification for the contact being created. For example, `,_jsx(_components.code,{children:`employee`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`reference_id`,type:`string`,id:`param-reference-id-1`,children:_jsxs(_components.p,{children:[`A user-entered reference for the contact. For example, `,_jsx(_components.code,{children:`Acme Contact ID 12345`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`batch_id`,type:`string`,id:`param-batch-id`,children:_jsxs(_components.p,{children:[`This value is returned if the contact was created as part of a bulk upload. For example, `,_jsx(_components.code,{children:`batch_00000000000001`}),`.`]})}),`\n`,_jsxs(ResponseField,{name:`active`,type:`boolean`,id:`param-active`,children:[_jsx(_components.p,{children:`Possible values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`true`}),` (default) : active`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`false`}),` : inactive`]}),`\n`]})]}),`\n`,_jsx(ResponseField,{name:`notes`,type:`object`,id:`param-notes-1`,children:_jsxs(_components.p,{children:[`Key-value pair that can be used to store additional information about the entity. Maximum 15 key-value pairs, 256 characters (maximum) each. For example, `,_jsx(_components.code,{children:`\"note_key\": \"Beam me up Scotty”`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`created_at`,type:`integer`,id:`param-created-at`,children:_jsxs(_components.p,{children:[`Timestamp, in Unix, when the contact was created. For example, `,_jsx(_components.code,{children:`1545320320`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:_jsxs(_Fragment,{children:[`The `,_jsx(_components.code,{children:`name`}),` field is required.`]}),id:`the-name-field-is-required`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Code:`}),` `,_jsx(_components.code,{children:`4xx`})]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`name`}),` field is missing in the request body.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Solution:`}),` Enter the details in the recommended format as per the request body.`]})]}),_jsxs(Accordion,{title:_jsxs(_Fragment,{children:[`The `,_jsx(_components.code,{children:`name`}),` field is invalid.`]}),id:`the-name-field-is-invalid`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Code:`}),` `,_jsx(_components.code,{children:`4xx`})]}),_jsxs(_components.p,{children:[`There are special characters used in the `,_jsx(_components.code,{children:`name`}),` field.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Solution:`}),` Enter details as per the format recommended for Create a Contact request for `,_jsx(_components.code,{children:`name`}),` field.`]})]}),_jsxs(Accordion,{title:_jsxs(_Fragment,{children:[`Invalid type: `,_jsx(_components.code,{children:`contact_typeA`})]}),id:`invalid-type-contact-typea`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Code:`}),` `,_jsx(_components.code,{children:`4xx`})]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`There are special characters in the `,_jsx(_components.code,{children:`type`}),` field.`]}),`\n`,_jsxs(_components.li,{children:[`Casing does not match as per the `,_jsx(_components.code,{children:`type`}),`. `,_jsx(_components.code,{children:`type`}),` is case-sensitive.`]}),`\n`,_jsx(_components.li,{children:`Contact type sent in the request does not match the types present in the Dashboard.`}),`\n`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Solution:`}),` Enter the correct contact type in the request body. You cannot create new contact types via API. You must create them via the RazorpayX Dashboard.`]})]})]})]})}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":"Create a Contact","description":"Create a Contact using API.","api":"POST /v1/contacts","hidden":true,"href":"/api/x/contacts/create","hiddenSetByFrontmatter":true}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,CodeBlock,Heading,ParamField,RequestExample,ResponseExample,ResponseField}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsxs(`div`,{style:{display:`flex`,flexWrap:`wrap`,alignItems:`center`,gap:`0.35rem 0.9rem`,border:`1px solid rgba(128,128,128,0.28)`,borderRadius:`0.5rem`,padding:`0.45rem 0.75rem`,margin:`0 0 1.25rem`,fontSize:`0.875rem`},children:[_jsx(`span`,{style:{fontWeight:600},children:`Available in`}),_jsx(`span`,{children:`🇮🇳 India`}),_jsx(`span`,{children:`🇲🇾 Malaysia`}),_jsx(`span`,{children:`🇺🇸 United States`})]}),`\n`,_jsx(_components.p,{children:`Use this endpoint to create a new contact.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`A new contact is created if any combination of the following details is unique: `,_jsx(_components.code,{children:`name`}),`, `,_jsx(_components.code,{children:`email`}),`, `,_jsx(_components.code,{children:`contact`}),`, `,_jsx(_components.code,{children:`type`}),` and `,_jsx(_components.code,{children:`reference_id`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`If `,_jsx(_components.strong,{children:`all`}),` the above details match the details of an existing contact, the API returns details of the existing contact.`]}),`\n`]}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`Curl`,numberOfLines:`14`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`14`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -u`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`YOUR_KE`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Y`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`YOUR_SECRE`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`T`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`-X `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.razorpay.com/v1/contacts`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`-H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`-d `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\":\"Gaurav Kumar\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"email\":\"gaurav.kumar@example.com\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"contact\":\"9000090000\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\":\"employee\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"reference_id\":\"Acme Contact ID 12345\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"notes\":{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"notes_key_1\":\"Tea, Earl Grey, Hot\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"notes_key_2\":\"Tea, Earl Grey… decaf.\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}'`})}),`\n`]})})})}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`Success`,numberOfLines:`16`,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:`16`,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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"cont_00000000000001\"`}),_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:` \"entity\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"contact\"`}),_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:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Gaurav Kumar\"`}),_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:` \"contact\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"9000090000\"`}),_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:` \"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gaurav.kumar@example.com\"`}),_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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"employee\"`}),_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:` \"reference_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Acme Contact ID 12345\"`}),_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:` \"batch_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_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:` \"active\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_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:` \"notes\"`}),_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:` \"notes_key_1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Tea, Earl Grey, Hot\"`}),_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:` \"notes_key_2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Tea, Earl Grey… decaf.\"`})]}),`\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:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1545320320`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Failure`,numberOfLines:`11`,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:`11`,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:` \"error\"`}),_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:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BAD_REQUEST_ERROR\"`}),_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:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Invalid type: employee\"`}),_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:` \"source\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"business\"`}),_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:` \"step\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_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:` \"reason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"input_validation_failed\"`}),_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:` \"metadata\"`}),_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:` \"field\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"type\"`})]}),`\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:`request-parameters`,children:`Request Parameters`}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,required:true,id:`param-name`,children:_jsxs(_components.p,{children:[`The contact’s name. This field is case-sensitive. A minimum of 3 characters and a maximum of 50 characters are allowed. Name cannot end with a special character, except `,_jsx(_components.code,{children:`.`}),`. Supported characters: `,_jsx(_components.code,{children:`a-z`}),`, `,_jsx(_components.code,{children:`A-Z`}),`, `,_jsx(_components.code,{children:`0-9`}),`, `,_jsx(_components.code,{children:`space`}),`, `,_jsx(_components.code,{children:`’`}),` , `,_jsx(_components.code,{children:`-`}),` , `,_jsx(_components.code,{children:`_`}),` , `,_jsx(_components.code,{children:`/`}),` , `,_jsx(_components.code,{children:`(`}),` , `,_jsx(_components.code,{children:`)`}),` and , `,_jsx(_components.code,{children:`.`}),`. For example, `,_jsx(_components.code,{children:`Gaurav Kumar`}),`.`]})}),`\n`,_jsx(ParamField,{body:`email`,type:`string`,id:`param-email`,children:_jsxs(_components.p,{children:[`The contact’s email address. For example, `,_jsx(_components.code,{children:`gaurav.kumar@example.com`}),`.`]})}),`\n`,_jsx(ParamField,{body:`contact`,type:`string`,id:`param-contact`,children:_jsxs(_components.p,{children:[`The contact’s phone number. For example, `,_jsx(_components.code,{children:`9000090000`}),`.`]})}),`\n`,_jsxs(ParamField,{body:`type`,type:`string`,id:`param-type`,children:[_jsxs(_components.p,{children:[`Maximum 40 characters. Classification for the contact being created. For example, `,_jsx(_components.code,{children:`employee`}),`. The following classifications are available by default:`]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`vendor`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`customer`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`employee`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`self`})}),`\n`]}),_jsx(`br`,{}),_jsx(_components.p,{children:`Additional classifications can be created via the Dashboard and then used in APIs. It is not possible to create new classifications via API.`})]}),`\n`,_jsx(ParamField,{body:`reference_id`,type:`string`,id:`param-reference-id`,children:_jsxs(_components.p,{children:[`Maximum 40 characters. A user-entered reference for the contact. For example, `,_jsx(_components.code,{children:`Acme Contact ID 12345`}),`.`]})}),`\n`,_jsx(ParamField,{body:`notes`,type:`object`,id:`param-notes`,children:_jsxs(_components.p,{children:[`Key-value pair that can be used to store additional information about the entity. Maximum 15 key-value pairs, 256 characters (maximum) each. For example, `,_jsx(_components.code,{children:`\"note_key\": \"Beam me up Scotty”`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response-parameters`,children:`Response Parameters`}),`\n`,_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsxs(_components.p,{children:[`The unique identifier linked to the contact. For example, `,_jsx(_components.code,{children:`cont_00000000000001`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`entity`,type:`string`,id:`param-entity`,children:_jsxs(_components.p,{children:[`The entity being created. Here, it is `,_jsx(_components.code,{children:`contact`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name-1`,children:_jsxs(_components.p,{children:[`The contact’s name. For example, `,_jsx(_components.code,{children:`Gaurav Kumar`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`contact`,type:`string`,id:`param-contact-1`,children:_jsxs(_components.p,{children:[`The contact’s phone number. For example, `,_jsx(_components.code,{children:`9000090000`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`email`,type:`string`,id:`param-email-1`,children:_jsxs(_components.p,{children:[`The contact’s email address. For example, `,_jsx(_components.code,{children:`gaurav.kumar@example.com`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`type`,type:`string`,id:`param-type-1`,children:_jsxs(_components.p,{children:[`A classification for the contact being created. For example, `,_jsx(_components.code,{children:`employee`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`reference_id`,type:`string`,id:`param-reference-id-1`,children:_jsxs(_components.p,{children:[`A user-entered reference for the contact. For example, `,_jsx(_components.code,{children:`Acme Contact ID 12345`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`batch_id`,type:`string`,id:`param-batch-id`,children:_jsxs(_components.p,{children:[`This value is returned if the contact was created as part of a bulk upload. For example, `,_jsx(_components.code,{children:`batch_00000000000001`}),`.`]})}),`\n`,_jsxs(ResponseField,{name:`active`,type:`boolean`,id:`param-active`,children:[_jsx(_components.p,{children:`Possible values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`true`}),` (default) : active`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`false`}),` : inactive`]}),`\n`]})]}),`\n`,_jsx(ResponseField,{name:`notes`,type:`object`,id:`param-notes-1`,children:_jsxs(_components.p,{children:[`Key-value pair that can be used to store additional information about the entity. Maximum 15 key-value pairs, 256 characters (maximum) each. For example, `,_jsx(_components.code,{children:`\"note_key\": \"Beam me up Scotty”`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`created_at`,type:`integer`,id:`param-created-at`,children:_jsxs(_components.p,{children:[`Timestamp, in Unix, when the contact was created. For example, `,_jsx(_components.code,{children:`1545320320`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:_jsxs(_Fragment,{children:[`The `,_jsx(_components.code,{children:`name`}),` field is required.`]}),id:`the-name-field-is-required`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Code:`}),` `,_jsx(_components.code,{children:`4xx`})]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`name`}),` field is missing in the request body.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Solution:`}),` Enter the details in the recommended format as per the request body.`]})]}),_jsxs(Accordion,{title:_jsxs(_Fragment,{children:[`The `,_jsx(_components.code,{children:`name`}),` field is invalid.`]}),id:`the-name-field-is-invalid`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Code:`}),` `,_jsx(_components.code,{children:`4xx`})]}),_jsxs(_components.p,{children:[`There are special characters used in the `,_jsx(_components.code,{children:`name`}),` field.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Solution:`}),` Enter details as per the format recommended for Create a Contact request for `,_jsx(_components.code,{children:`name`}),` field.`]})]}),_jsxs(Accordion,{title:_jsxs(_Fragment,{children:[`Invalid type: `,_jsx(_components.code,{children:`contact_typeA`})]}),id:`invalid-type-contact-typea`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Code:`}),` `,_jsx(_components.code,{children:`4xx`})]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`There are special characters in the `,_jsx(_components.code,{children:`type`}),` field.`]}),`\n`,_jsxs(_components.li,{children:[`Casing does not match as per the `,_jsx(_components.code,{children:`type`}),`. `,_jsx(_components.code,{children:`type`}),` is case-sensitive.`]}),`\n`,_jsx(_components.li,{children:`Contact type sent in the request does not match the types present in the Dashboard.`}),`\n`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Solution:`}),` Enter the correct contact type in the request body. You cannot create new contact types via API. You must create them via the RazorpayX Dashboard.`]})]})]})]})}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":"Create a Contact","description":"Create a Contact using API.","api":"POST /v1/contacts","hidden":true,"href":"/api/x/contacts/create","hiddenSetByFrontmatter":true}}}},"mdxExtracts":{"tableOfContents":[{"title":"Request Parameters","slug":"request-parameters","depth":2,"children":[]},{"title":"Response Parameters","slug":"response-parameters","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"Curl","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"14\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -u\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">YOUR_KE\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">Y\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">>\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">:\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">\u0026#x3C;\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">YOUR_SECRE\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">T\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">>\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">-X \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">POST\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://api.razorpay.com/v1/contacts\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">-H \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">-d \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"name\":\"Gaurav Kumar\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"email\":\"gaurav.kumar@example.com\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"contact\":\"9000090000\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"type\":\"employee\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"reference_id\":\"Acme Contact ID 12345\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"notes\":{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"notes_key_1\":\"Tea, Earl Grey, Hot\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"notes_key_2\":\"Tea, Earl Grey… decaf.\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">}'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Success","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"16\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"cont_00000000000001\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"entity\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"contact\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Gaurav Kumar\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"contact\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"9000090000\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"email\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"gaurav.kumar@example.com\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"employee\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"reference_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Acme Contact ID 12345\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"batch_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"active\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"notes\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"notes_key_1\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Tea, Earl Grey, Hot\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"notes_key_2\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Tea, Earl Grey… decaf.\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1545320320\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Failure","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"11\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"BAD_REQUEST_ERROR\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"description\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Invalid type: employee\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"source\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"business\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"step\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"reason\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"input_validation_failed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"metadata\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {},\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"field\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"type\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Create a Contact","path":"/v1/contacts","servers":[{"url":"https://api.razorpay.com"}],"method":"post","request":{"security":[{"title":"Basic Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"basic","description":"Basic authentication header of the form `Basic \u003cencoded-value>`, where `\u003cencoded-value>` is the base64-encoded string `username:password`."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"name":[{"type":"string","description":"The contact’s name. This field is case-sensitive. A minimum of 3 characters and a maximum of 50 characters are allowed. Name cannot end with a special character, except `.` . Supported characters: `a-z` , `A-Z` , `0-9` , `space` , `’` , `-` , `_` , `/` , `(` , `)` and , `.` . For example, `Gaurav Kumar` .","required":true}],"email":[{"type":"string","description":"The contact’s email address. For example, `gaurav.kumar@example.com` ."}],"contact":[{"type":"string","description":"The contact’s phone number. For example, `9000090000` ."}],"type":[{"type":"string","description":"Maximum 40 characters. Classification for the contact being created. For example, `employee` . The following classifications are available by default: `vendor` `customer` `employee` `self` Additional classifications can be created via the Dashboard and then used in APIs. It is not possible to create new classifications via API."}],"reference_id":[{"type":"string","description":"Maximum 40 characters. A user-entered reference for the contact. For example, `Acme Contact ID 12345` ."}],"notes":[{"type":"object","properties":{},"description":"Key-value pair that can be used to store additional information about the entity. Maximum 15 key-value pairs, 256 characters (maximum) each. For example, `\"note_key\": \"Beam me up Scotty”` ."}]}}],"examples":{"example":{"value":{"name":"\u003cstring>","email":"\u003cstring>","contact":"\u003cstring>","type":"\u003cstring>","reference_id":"\u003cstring>","notes":{}}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"id":[{"type":"string","description":"The unique identifier linked to the contact. For example, `cont_00000000000001` ."}],"entity":[{"type":"string","description":"The entity being created. Here, it is `contact` ."}],"name":[{"type":"string","description":"The contact’s name. For example, `Gaurav Kumar` ."}],"contact":[{"type":"string","description":"The contact’s phone number. For example, `9000090000` ."}],"email":[{"type":"string","description":"The contact’s email address. For example, `gaurav.kumar@example.com` ."}],"type":[{"type":"string","description":"A classification for the contact being created. For example, `employee` ."}],"reference_id":[{"type":"string","description":"A user-entered reference for the contact. For example, `Acme Contact ID 12345` ."}],"batch_id":[{"type":"string","description":"This value is returned if the contact was created as part of a bulk upload. For example, `batch_00000000000001` ."}],"active":[{"type":"boolean","description":"Possible values: `true` (default) : active `false` : inactive"}],"notes":[{"type":"object","properties":{},"description":"Key-value pair that can be used to store additional information about the entity. Maximum 15 key-value pairs, 256 characters (maximum) each. For example, `\"note_key\": \"Beam me up Scotty”` ."}],"created_at":[{"type":"integer","description":"Timestamp, in Unix, when the contact was created. For example, `1545320320` ."}]}}],"examples":{"example":{"value":{"id":"\u003cstring>","entity":"\u003cstring>","name":"\u003cstring>","contact":"\u003cstring>","email":"\u003cstring>","type":"\u003cstring>","reference_id":"\u003cstring>","batch_id":"\u003cstring>","active":true,"notes":{},"created_at":123}}}}}},"deprecated":false}},"jsLinks":["/docs/_mintlify/custom/doc-test-my/feb5e1f4e9db0a05/country-switcher.js","/docs/_mintlify/custom/doc-test-my/d04f2910efb9afc8/static/docs-home/script.js","/docs/_mintlify/custom/doc-test-my/297d7fb9a0227345/ga4.js","/docs/_mintlify/custom/doc-test-my/0ccbc66d726b02ea/static/nav-more.js","/docs/_mintlify/custom/doc-test-my/fe07c43033bf9a19/hreflang.js"],"subdomain":"doc-test-my","siteName":"Razorpay","title":"Create a Contact - Razorpay","navMaps":{"firstHrefInVersion":{"Malaysia":{"href":"/api/x/contacts/create","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-10-08T10:36:10.001Z","gitLastModified":"2026-10-08T10:35:34.000Z","originalFileLocation":"api/x/contacts/create.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=\"Create a Contact using API.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Razorpay\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/doc-test-my/oB0ktXq5JWJeSh8A/_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=\"/docs/mintlify-assets/_mintlify/favicons/doc-test-my/oB0ktXq5JWJeSh8A/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/doc-test-my/oB0ktXq5JWJeSh8A/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/doc-test-my/oB0ktXq5JWJeSh8A/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/doc-test-my/oB0ktXq5JWJeSh8A/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/doc-test-my/oB0ktXq5JWJeSh8A/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/doc-test-my/oB0ktXq5JWJeSh8A/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/doc-test-my/oB0ktXq5JWJeSh8A/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/doc-test-my/oB0ktXq5JWJeSh8A/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a Contact - Razorpay\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a Contact using API.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Razorpay\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://curlec.com/docs/api/x/contacts/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://doc-test-my.mintlify.site/docs/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Create+a+Contact\u0026amp;description=Create+a+Contact+using+API.\u0026amp;theme=5bc23f2a92582ee811e41948\u0026amp;signature=00251948a102f0befd36b3d2f3170edba4e50394b40a8842633cc1869fc03de8\">\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=\"Create a Contact - Razorpay\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a Contact using API.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://doc-test-my.mintlify.site/docs/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Create+a+Contact\u0026amp;description=Create+a+Contact+using+API.\u0026amp;theme=5bc23f2a92582ee811e41948\u0026amp;signature=00251948a102f0befd36b3d2f3170edba4e50394b40a8842633cc1869fc03de8\">\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=\"/docs/mintlify-assets/_mintlify/favicons/doc-test-my/oB0ktXq5JWJeSh8A/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Razorpay\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3395FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://curlec.com/docs/api/x/contacts/create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api/x/contacts/create.md\">","siteName":"Razorpay","nav":{"global":null,"versions":[{"version":"Malaysia","default":true,"tabs":[{"tab":"Home","icon":"house","pages":[{"title":"Documentation","mode":"custom","href":"/home"}]},{"tab":"Payments","icon":"credit-card","pages":[{"title":"Razorpay Curlec Payments Suite","href":"/payments"},{"title":"Quickstart Guide","href":"/payments/quickstart"},{"group":"Solutions by Industry","root":{"title":"Ecommerce","href":"/payments/solutions/ecommerce"},"pages":[{"title":"Banking, Financial Services \u0026 Insurance","href":"/payments/solutions/bfsi"},{"title":"Travel","href":"/payments/solutions/travel"}]},{"group":"Sign Up","root":{"title":"Set up a Razorpay Curlec Account","href":"/payments/set-up"},"pages":[{"title":"KYC Documents for Companies and Businesses","href":"/payments/business-types-kyc-documents"},{"title":"Frequently Asked Questions (FAQs)","href":"/payments/faqs"}]},{"group":"Dashboard","root":{"title":"About Dashboard","href":"/payments/dashboard"},"pages":[{"title":"Test and Live Modes","href":"/payments/dashboard/test-live-modes"},{"group":"Reports","pages":[{"group":"Standard Reports","pages":[{"title":"About Reports","href":"/payments/dashboard/reports"},{"title":"List of Standard Reports","href":"/payments/dashboard/reports/list-of-reports"}]}]},{"group":"Account \u0026 Settings","pages":[{"title":"About Account \u0026 Settings","href":"/payments/dashboard/account-settings"},{"group":"Website \u0026 App Settings","pages":[{"title":"Business Website Details","href":"/payments/dashboard/account-settings/business-website-details"},{"title":"API Keys","href":"/payments/dashboard/account-settings/api-keys"},{"title":"Webhooks","href":"/payments/dashboard/account-settings/webhooks"}]},{"group":"Business Settings","pages":[{"title":"Account Details","href":"/payments/dashboard/account-settings/account-details"},{"title":"Business Details","href":"/payments/dashboard/account-settings/business-details"},{"title":"Customer Support Details","href":"/payments/dashboard/account-settings/customer-support-details"},{"title":"Account Activation Details","sidebarTitle":"Activation Details","href":"/payments/dashboard/account-settings/activation-details"},{"title":"Your Support Tickets","href":"/payments/dashboard/account-settings/support-tickets"},{"title":"Manage Team","href":"/payments/dashboard/account-settings/manage-team"}]},{"group":"Payments \u0026 Refunds","pages":[{"title":"Balances","href":"/payments/dashboard/account-settings/balances"},{"title":"Transaction Limits","href":"/payments/dashboard/account-settings/transaction-limits"},{"title":"Capture and Refund Settings","href":"/payments/dashboard/account-settings/capture-refund"}]},{"group":"Bank Account \u0026 Settlements","pages":[{"title":"Bank Account Details","href":"/payments/dashboard/account-settings/bank-account-details"},{"title":"Settlement Details","href":"/payments/dashboard/account-settings/settlement-details"}]},{"group":"Checkout Settings","pages":[{"title":"Branding","href":"/payments/dashboard/account-settings/branding"},{"title":"Checkout Styling","href":"/payments/dashboard/account-settings/checkout-styling"},{"title":"Checkout Features","href":"/payments/dashboard/account-settings/checkout-features"}]},{"title":"Email, SMS and WhatsApp Notifications","href":"/payments/dashboard/account-settings/email-sms-whatsapp"},{"title":"Payment Methods","href":"/payments/dashboard/account-settings/payment-methods"}]},{"title":"Support","sidebarTitle":"Contact Support","href":"/payments/dashboard/support"},{"title":"Frequently Asked Questions (FAQs)","href":"/payments/dashboard/faqs"}]},{"group":"Customers","root":{"title":"About Customers","href":"/payments/customers"},"pages":[{"title":"Customer Refunds","href":"/payments/customers/customer-refunds"}]},{"group":"Orders","root":{"title":"About Orders","href":"/payments/orders"},"pages":[{"title":"Orders - Dashboard Actions","sidebarTitle":"Dashboard","href":"/payments/orders/dashboard"},{"title":"Orders APIs","href":"/payments/orders/apis"},{"title":"Frequently Asked Questions (FAQs)","href":"/payments/orders/faqs"}]},{"group":"Payments","root":{"title":"About Payments","href":"/payments/payments"},"pages":[{"title":"Test Card Details","href":"/payments/payments/test-card-details"},{"title":"Payment Capture Settings","href":"/payments/payments/capture-settings"},{"group":"Manage Late Authorised Payments","pages":[{"title":"Late Payment Authorisations","href":"/payments/payments/late-authorisation"},{"title":"Handle Late Authorised Payments","href":"/payments/payments/late-authorisation/handle"}]},{"title":"Payments - Dashboard Actions","sidebarTitle":"Dashboard","href":"/payments/payments/dashboard"},{"title":"Payments APIs","href":"/payments/payments/apis"},{"title":"Frequently Asked Questions (FAQs)","href":"/payments/payments/faqs"}]},{"group":"International Payments","root":{"title":"About International Payments","href":"/payments/international-payments"},"pages":[{"group":"Domestic Businesses","pages":[{"title":"Accept Payments from International Customers","href":"/payments/international-payments/accept-payments-from-international-customers"},{"group":"Supported Payment Methods","pages":[{"title":"International Debit and Credit Cards","sidebarTitle":"Via International Debit and Credit Cards","href":"/payments/international-payments/international-debit-credit-cards"}]}]},{"title":"Glossary","href":"/payments/international-payments/glossary"},{"title":"International Payments | FAQs","sidebarTitle":"Frequently Asked Questions (FAQs)","href":"/payments/international-payments/faqs"}]},{"group":"Payment Methods","root":{"title":"About Payment Methods","href":"/payments/payment-methods"},"pages":[{"group":"FPX","root":{"title":"FPX","href":"/payments/payment-methods/fpx"},"pages":[{"title":"FPX B2B Maker-Checker","href":"/payments/payment-methods/fpx/b2b-maker-checker"}]},{"title":"UPI","href":"/payments/payment-methods/upi"},{"group":"Cards","root":{"title":"About Card Payments","href":"/payments/payment-methods/cards"},"pages":[{"title":"3D Secure 2.0 Authentication Protocol (3DS2)","href":"/payments/payment-methods/cards/features/3ds2.0"}]},{"group":"DuitNow","root":{"title":"DuitNow","href":"/payments/payment-methods/duitnow"},"pages":[{"title":"DuitNow QR","href":"/payments/payment-methods/duitnow/qr"},{"title":"DuitNow Pay","href":"/payments/payment-methods/duitnow/pay"}]},{"group":"Apple Pay","root":{"title":"Apple Pay Standard Checkout","href":"/payments/payment-methods/apple-pay"},"pages":[{"group":"Custom Checkout Integration","root":{"title":"Integration Steps","href":"/payments/payment-methods/apple-pay/custom-integration"},"pages":[{"title":"Apple Pay Web SDK","href":"/payments/payment-methods/apple-pay/custom-integration/web-sdk"},{"title":"Web JS Integration","href":"/payments/payment-methods/apple-pay/custom-integration/web-sdk/web-js-integration"},{"title":"Web Component Integration","href":"/payments/payment-methods/apple-pay/custom-integration/web-sdk/web-component"},{"title":"Error Codes","href":"/payments/payment-methods/apple-pay/custom-integration/error-codes"}]},{"title":"S2S Integration","href":"/payments/payment-methods/apple-pay/s2s-integration"}]},{"group":"Wallets","root":{"title":"About Wallets","href":"/payments/payment-methods/wallets"},"pages":[{"title":"Alipay+","href":"/payments/payment-methods/wallets/alipay-plus"},{"title":"Boost","href":"/payments/payment-methods/wallets/boost"},{"title":"MCash","href":"/payments/payment-methods/wallets/mcash"},{"title":"Touch'n Go","href":"/payments/payment-methods/wallets/touch-n-go"}]},{"title":"Pay Later","href":"/payments/payment-methods/pay-later"},{"group":"Instalments","root":{"title":"About Instalments","href":"/payments/payment-methods/instalments"},"pages":[{"title":"About Credit Card Instalments","href":"/payments/payment-methods/instalments/credit-card-instalments"}]}]},{"group":"Settlements","root":{"title":"About Settlements","href":"/payments/settlements"},"pages":[{"title":"Settlements - Dashboard Actions","sidebarTitle":"Dashboard","href":"/payments/settlements/dashboard"},{"title":"Settlements APIs","href":"/payments/settlements/apis"},{"title":"Frequently Asked Questions (FAQs)","href":"/payments/settlements/faqs"}]},{"group":"Refunds","root":{"title":"About Refunds","href":"/payments/refunds"},"pages":[{"title":"Normal Refunds","href":"/payments/refunds/normal"},{"title":"Auto-Refunds","href":"/payments/refunds/auto-refunds"},{"group":"Dashboard","pages":[{"title":"Issue Refunds","href":"/payments/refunds/issue"},{"title":"View Refunds","href":"/payments/refunds/view"}]},{"title":"Handle Refund Errors","href":"/payments/refunds/errors"},{"title":"Refunds APIs","href":"/payments/refunds/apis"},{"title":"Subscribe to Webhooks","href":"/payments/refunds/subscribe-to-webhooks"},{"title":"Refund Communication","href":"/payments/refunds/communication"},{"title":"Frequently Asked Questions (FAQs)","href":"/payments/refunds/faqs"}]},{"group":"Payment Gateway","root":{"title":"About Payment Gateway","href":"/payments/payment-gateway"},"pages":[{"title":"How Payment Gateway Works","href":"/payments/payment-gateway/how-it-works"},{"group":"Features","pages":[{"title":"Features","sidebarTitle":"List of Features","href":"/payments/payment-gateway/features"}]},{"group":"Web Integration","pages":[{"title":"Web Standard Checkout Prerequisites","sidebarTitle":"Prerequisites","href":"/payments/payment-gateway/web-integration/standard"},{"title":"Integration Steps","href":"/payments/payment-gateway/web-integration/standard/integration-steps"},{"title":"Callback URL","href":"/payments/payment-gateway/callback-url"},{"group":"Configure Payment Methods","pages":[{"title":"About Payment Methods Configuration","href":"/payments/payment-gateway/web-integration/standard/configure-payment-methods"},{"title":"Understand the Configuration","href":"/payments/payment-gateway/web-integration/standard/configure-payment-methods/understand-configuration"},{"title":"Display the Configuration","href":"/payments/payment-gateway/web-integration/standard/configure-payment-methods/display-configuration"},{"title":"Sample Codes","href":"/payments/payment-gateway/web-integration/standard/configure-payment-methods/sample-code"},{"title":"Supported Methods","href":"/payments/payment-gateway/web-integration/standard/configure-payment-methods/supported-methods"},{"title":"Standard Web Integration - Configurability of Payment Methods","href":"/payments/payment-gateway/web-integration/standard/configure-restrict-payment-methods"}]},{"title":"Best Practices for Standard Checkout Integration","sidebarTitle":"Best Practices","href":"/payments/payment-gateway/web-integration/standard/best-practices"},{"title":"Troubleshooting \u0026 FAQs","href":"/payments/payment-gateway/web-integration/standard/troubleshooting-faqs"}]},{"group":"Android Integration","pages":[{"title":"Android Standard Checkout Prerequisites","sidebarTitle":"Prerequisites","href":"/payments/payment-gateway/android-integration/standard"},{"title":"Integration Steps","href":"/payments/payment-gateway/android-integration/standard/integration-steps"},{"group":"Payment Methods","pages":[{"title":"Additional Support for Payment Methods","href":"/payments/payment-gateway/android-integration/standard/payment-methods"}]},{"title":"Customisation Options","href":"/payments/payment-gateway/android-integration/standard/customisation"},{"title":"Troubleshooting \u0026 FAQs","href":"/payments/payment-gateway/android-integration/standard/troubleshooting-faqs"},{"title":"Google Play Console - Data Safety","href":"/payments/payment-gateway/android-integration/standard/google-data-safety"}]},{"group":"iOS Integration","pages":[{"title":"iOS Standard Checkout Prerequisites","sidebarTitle":"Prerequisites","href":"/payments/payment-gateway/ios-integration/standard"},{"title":"Integration Steps","href":"/payments/payment-gateway/ios-integration/standard/integration-steps"},{"title":"Troubleshooting \u0026 FAQs","href":"/payments/payment-gateway/ios-integration/standard/troubleshooting-faqs"}]},{"group":"React Native","pages":[{"title":"React Native Standard Plugin Prerequisites","sidebarTitle":"Prerequisites","href":"/payments/payment-gateway/react-native-integration/standard"},{"title":"Integration Steps (Android)","href":"/payments/payment-gateway/react-native-integration/standard/integration-steps-android"},{"title":"Integration Steps (iOS)","href":"/payments/payment-gateway/react-native-integration/standard/integration-steps-ios"},{"title":"Troubleshooting and FAQs","sidebarTitle":"Troubleshooting \u0026 FAQs","href":"/payments/payment-gateway/react-native-integration/standard/troubleshooting-faqs"}]},{"group":"Cordova \u0026 Ionic","pages":[{"title":"Cordova Standard SDK Prerequisites","sidebarTitle":"Prerequisites","href":"/payments/payment-gateway/cordova-integration"},{"title":"Integration Steps","href":"/payments/payment-gateway/cordova-integration/integration-steps"},{"title":"Troubleshooting \u0026 FAQs","href":"/payments/payment-gateway/cordova-integration/troubleshooting-faqs"}]},{"group":"Flutter Plugin","pages":[{"title":"Flutter Standard Plugin Prerequisites","sidebarTitle":"Prerequisites","href":"/payments/payment-gateway/flutter-integration/standard"},{"title":"Integration Steps","href":"/payments/payment-gateway/flutter-integration/standard/integration-steps"},{"group":"Payment Methods","pages":[{"title":"API Classes and Methods","href":"/payments/payment-gateway/flutter-integration/standard/payment-methods/api"},{"group":"Turbo UPI","pages":[{"title":"Integrate Turbo UPI TPV","href":"/payments/payment-gateway/flutter-integration/standard/payment-methods/integration-tpv"}]}]},{"title":"Troubleshooting and FAQs","sidebarTitle":"Troubleshooting \u0026 FAQs","href":"/payments/payment-gateway/flutter-integration/standard/troubleshooting-faqs"}]},{"group":"Capacitor Integration","pages":[{"title":"Capacitor Standard SDK Prerequisites","sidebarTitle":"Prerequisites","href":"/payments/payment-gateway/capacitor-integration"},{"title":"Integration Steps","href":"/payments/payment-gateway/capacitor-integration/integration-steps"},{"title":"Troubleshooting \u0026 FAQs","href":"/payments/payment-gateway/capacitor-integration/troubleshooting-faqs"}]},{"group":"Server Integration","pages":[{"title":"About Server Integrations","href":"/payments/server-integration"},{"group":".NET","pages":[{"title":".NET Server SDK Prerequisites","sidebarTitle":"Prerequisites","href":"/payments/server-integration/dot-net"},{"title":"Integration Steps","href":"/payments/server-integration/dot-net/integration-steps"},{"title":"Troubleshooting \u0026 FAQs","href":"/payments/server-integration/dot-net/troubleshooting-faqs"}]},{"group":"Go","pages":[{"title":"Go Server SDK Prerequisites","sidebarTitle":"Prerequisites","href":"/payments/server-integration/go"},{"title":"Integration Steps","href":"/payments/server-integration/go/integration-steps"}]},{"group":"Java","pages":[{"title":"Java Server SDK Prerequisites","sidebarTitle":"Prerequisites","href":"/payments/server-integration/java"},{"title":"Integration Steps","href":"/payments/server-integration/java/integration-steps"}]},{"group":"Node.js","pages":[{"title":"Node.js Server SDK Prerequisites","sidebarTitle":"Prerequisites","href":"/payments/server-integration/nodejs"},{"title":"Integration Steps","href":"/payments/server-integration/nodejs/integration-steps"},{"title":"Troubleshooting \u0026 FAQs","href":"/payments/server-integration/nodejs/troubleshooting-faqs"}]},{"group":"PHP","pages":[{"title":"PHP Server SDK Prerequisites","sidebarTitle":"Prerequisites","href":"/payments/server-integration/php"},{"title":"Integration Steps","href":"/payments/server-integration/php/integration-steps"},{"title":"Troubleshooting \u0026 FAQs","href":"/payments/server-integration/php/troubleshooting-faqs"}]},{"group":"Python","pages":[{"title":"Python Server SDK Prerequisites","sidebarTitle":"Prerequisites","href":"/payments/server-integration/python"},{"title":"Integration Steps","href":"/payments/server-integration/python/integration-steps"}]},{"group":"Ruby","pages":[{"title":"Ruby Server SDK Prerequisites","sidebarTitle":"Prerequisites","href":"/payments/server-integration/ruby"},{"title":"Integration Steps","href":"/payments/server-integration/ruby/integration-steps"}]}]},{"title":"Unsupported Platforms and Integrations","href":"/payments/payment-gateway/unsupported-platforms"}]},{"group":"Ecommerce Plugins","root":{"title":"About Ecommerce Plugins","href":"/payments/payment-gateway/ecommerce-plugins"},"pages":[{"group":"Payment Gateway","pages":[{"group":"Shopify - All-in-one Razorpay Payment Gateway","pages":[{"title":"Shopify Razorpay Secure Plugin Prerequisites","sidebarTitle":"Prerequisites","href":"/payments/payment-gateway/ecommerce-plugins/shopify-razorpay-secure"},{"title":"Integration Steps","href":"/payments/payment-gateway/ecommerce-plugins/shopify-razorpay-secure/integration-steps"},{"title":"Initiate Refunds","href":"/payments/payment-gateway/ecommerce-plugins/shopify-razorpay-secure/initiate-refunds"},{"title":"Reconcile Shopify Orders on the Dashboard","href":"/payments/payment-gateway/ecommerce-plugins/shopify-razorpay-secure/reconcile-payments"},{"title":"Troubleshooting \u0026 FAQs","href":"/payments/payment-gateway/ecommerce-plugins/shopify-razorpay-secure/faqs"}]},{"group":"WooCommerce","pages":[{"title":"WooCommerce Plugin Prerequisites","sidebarTitle":"Prerequisites","href":"/payments/payment-gateway/ecommerce-plugins/woocommerce"},{"title":"Integration Steps","href":"/payments/payment-gateway/ecommerce-plugins/woocommerce/integration-steps"},{"title":"Troubleshooting \u0026 FAQs","href":"/payments/payment-gateway/ecommerce-plugins/woocommerce/troubleshooting-faqs"}]},{"group":"Wix","pages":[{"title":"Wix Plugin Prerequisites","sidebarTitle":"Prerequisites","href":"/payments/payment-gateway/ecommerce-plugins/wix"},{"title":"Integration Steps","href":"/payments/payment-gateway/ecommerce-plugins/wix/integration-steps"},{"title":"Troubleshooting \u0026 FAQs","href":"/payments/payment-gateway/ecommerce-plugins/wix/faqs"}]},{"group":"Magento","pages":[{"title":"Magento Plugin Prerequisites","sidebarTitle":"Prerequisites","href":"/payments/payment-gateway/ecommerce-plugins/magento"},{"title":"Integration Steps","href":"/payments/payment-gateway/ecommerce-plugins/magento/integration-steps"},{"title":"Troubleshooting \u0026 FAQs","href":"/payments/payment-gateway/ecommerce-plugins/magento/troubleshooting"}]},{"group":"Arastta","pages":[{"title":"Arastta Plugin Prerequisites","sidebarTitle":"Prerequisites","href":"/payments/payment-gateway/ecommerce-plugins/arastta"},{"title":"Integration Steps","href":"/payments/payment-gateway/ecommerce-plugins/arastta/integration-steps"},{"title":"Troubleshooting \u0026 FAQs","href":"/payments/payment-gateway/ecommerce-plugins/arastta/troubleshooting-faqs"}]},{"group":"CS-Cart","pages":[{"title":"CS-Cart Plugin Prerequisites","sidebarTitle":"Prerequisites","href":"/payments/payment-gateway/ecommerce-plugins/cs-cart"},{"title":"Integration Steps","href":"/payments/payment-gateway/ecommerce-plugins/cs-cart/integration-steps"},{"title":"Troubleshooting \u0026 FAQs","href":"/payments/payment-gateway/ecommerce-plugins/cs-cart/troubleshooting-faqs"}]},{"group":"Drupal Commerce","pages":[{"title":"Drupal Commerce Plugin Prerequisites","sidebarTitle":"Prerequisites","href":"/payments/payment-gateway/ecommerce-plugins/drupal-commerce"},{"title":"Integration Steps","href":"/payments/payment-gateway/ecommerce-plugins/drupal-commerce/integration-steps"},{"title":"Troubleshooting \u0026 FAQs","href":"/payments/payment-gateway/ecommerce-plugins/drupal-commerce/troubleshooting-faqs"}]},{"group":"Easy Digital Downloads","pages":[{"title":"Easy Digital Downloads Plugin Prerequisites","sidebarTitle":"Prerequisites","href":"/payments/payment-gateway/ecommerce-plugins/easy-digital-downloads"},{"title":"Integration Steps","href":"/payments/payment-gateway/ecommerce-plugins/easy-digital-downloads/integration-steps"},{"title":"Troubleshooting \u0026 FAQs","href":"/payments/payment-gateway/ecommerce-plugins/easy-digital-downloads/troubleshooting-faqs"}]},{"group":"Gravity Forms","pages":[{"title":"Gravity Forms Plugin Prerequisites","sidebarTitle":"Prerequisites","href":"/payments/payment-gateway/ecommerce-plugins/gravity-forms"},{"title":"Integration Steps","href":"/payments/payment-gateway/ecommerce-plugins/gravity-forms/integration-steps"},{"title":"Troubleshooting \u0026 FAQs","href":"/payments/payment-gateway/ecommerce-plugins/gravity-forms/troubleshooting-faqs"}]},{"group":"OpenCart","pages":[{"title":"OpenCart Plugin Prerequisites","sidebarTitle":"Prerequisites","href":"/payments/payment-gateway/ecommerce-plugins/open-cart"},{"title":"Integration Steps","href":"/payments/payment-gateway/ecommerce-plugins/open-cart/integration-steps"},{"title":"Troubleshooting \u0026 FAQs","href":"/payments/payment-gateway/ecommerce-plugins/open-cart/troubleshooting-faqs"}]},{"group":"PrestaShop","pages":[{"title":"PrestaShop Plugin Prerequisites","sidebarTitle":"Prerequisites","href":"/payments/payment-gateway/ecommerce-plugins/prestashop"},{"title":"Integration Steps","href":"/payments/payment-gateway/ecommerce-plugins/prestashop/integration-steps"},{"title":"Troubleshooting \u0026 FAQs","href":"/payments/payment-gateway/ecommerce-plugins/prestashop/troubleshooting-faqs"}]},{"group":"WHMCS","pages":[{"title":"WHMCS Plugin Prerequisites","sidebarTitle":"Prerequisites","href":"/payments/payment-gateway/ecommerce-plugins/whmcs"},{"title":"Integration Steps","href":"/payments/payment-gateway/ecommerce-plugins/whmcs/integration-steps"},{"title":"Troubleshooting \u0026 FAQs","href":"/payments/payment-gateway/ecommerce-plugins/whmcs/faqs"}]},{"group":"WordPress","pages":[{"title":"WordPress Plugin Prerequisites","sidebarTitle":"Prerequisites","href":"/payments/payment-gateway/ecommerce-plugins/wordpress"},{"title":"Integration Steps","href":"/payments/payment-gateway/ecommerce-plugins/wordpress/integration-steps"},{"title":"Troubleshooting \u0026 FAQs","href":"/payments/payment-gateway/ecommerce-plugins/wordpress/faqs"}]}]}]},{"group":"Payment Links","root":{"title":"About Payment Links","href":"/payments/payment-links"},"pages":[{"title":"Payment Links Use Cases","href":"/payments/payment-links/use-cases"},{"group":"Payment Link Types","pages":[{"title":"Standard Payment Links","href":"/payments/payment-links/standard"}]},{"title":"How Payment Link Works","href":"/payments/payment-links/how-it-works"},{"title":"Payment Link States","href":"/payments/payment-links/states"},{"group":"Dashboard","pages":[{"title":"Create a Payment Link","href":"/payments/payment-links/create"},{"title":"Enable Partial Payments","href":"/payments/payment-links/partial-payments"},{"title":"Edit a Payment Link","href":"/payments/payment-links/edit"},{"title":"Cancel a Payment Link","href":"/payments/payment-links/cancel"},{"title":"Duplicate a Payment Link","href":"/payments/payment-links/duplicate"},{"title":"Search a Payment Link","href":"/payments/payment-links/search"},{"title":"Resend a Payment Link","href":"/payments/payment-links/resend"},{"title":"Create Payment Links in Batches","href":"/payments/payment-links/batch"},{"title":"Send Reminders","href":"/payments/payment-links/reminders"}]},{"title":"Customise Payment Links","sidebarTitle":"Customise","href":"/payments/payment-links/customise"},{"title":"Manage Team","href":"/payments/payment-links/manage-team"},{"title":"View Reports","href":"/payments/payment-links/view-reports"},{"title":"Payment Links APIs","href":"/payments/payment-links/apis"},{"title":"Subscribe to Webhooks","href":"/payments/payment-links/subscribe-to-webhooks"},{"title":"FAQs (Frequently Asked Questions)","sidebarTitle":"Frequently Asked Questions (FAQs)","href":"/payments/payment-links/faqs"},{"title":"Glossary","href":"/payments/payment-links/glossary"}]},{"group":"Payment Button","root":{"title":"About Payment Button","href":"/payments/payment-button"},"pages":[{"title":"Payment Button Use Cases","href":"/payments/payment-button/use-cases"},{"title":"How Payment Button Works","href":"/payments/payment-button/how-it-works"},{"title":"Payment Button States","href":"/payments/payment-button/states"},{"group":"Dashboard","pages":[{"title":"Quick Pay Button","href":"/payments/payment-button/quick-pay"},{"title":"Buy Now Button","href":"/payments/payment-button/buy-now"},{"title":"Donations Button","href":"/payments/payment-button/donations"},{"title":"Custom Button","href":"/payments/payment-button/custom"},{"group":"Manage","pages":[{"title":"Manage Payment Buttons","sidebarTitle":"Manage Payment Button","href":"/payments/payment-button/manage"},{"title":"Prefill Amount Fields in Payment Button","sidebarTitle":"Prefill Amount Fields","href":"/payments/payment-button/manage/prefill-amount-fields"}]},{"title":"Search a Payment Button","href":"/payments/payment-button/search"}]},{"group":"Configure Payment Receipts","pages":[{"title":"Configure Generic Payment Button Receipt","href":"/payments/payment-button/receipt"}]},{"title":"Add Facebook Pixel on Payment Success Page","href":"/payments/payment-button/add-fb-pixel"},{"title":"View Reports","href":"/payments/payment-button/view-reports"},{"title":"Subscribe to Webhooks","href":"/payments/payment-button/subscribe-to-webhooks"},{"title":"Frequently Asked Questions (FAQs)","href":"/payments/payment-button/faqs"},{"title":"Glossary","href":"/payments/payment-button/glossary"}]},{"group":"Payment Pages","root":{"title":"About Payment Pages","href":"/payments/payment-pages"},"pages":[{"title":"Payment Pages Use Cases","href":"/payments/payment-pages/use-cases"},{"title":"How Payment Pages Work","href":"/payments/payment-pages/how-it-works"},{"title":"Payment Pages States","href":"/payments/payment-pages/states"},{"group":"Dashboard","pages":[{"title":"Create a Payment Page","href":"/payments/payment-pages/create"},{"title":"Add Images, Videos and More","href":"/payments/payment-pages/add-images-videos"},{"group":"Manage","pages":[{"title":"Manage Payment Pages","href":"/payments/payment-pages/manage"},{"title":"Customise Payment Pages","href":"/payments/payment-pages/customise"}]},{"group":"Configure Payment Receipt","pages":[{"title":"Configure Payment Pages Receipt","href":"/payments/payment-pages/receipt"}]},{"title":"Search for Payment Pages","href":"/payments/payment-pages/search"},{"title":"Upload Data on Payment Pages in Batches","href":"/payments/payment-pages/batch"},{"title":"Configure Goal Tracker","href":"/payments/payment-pages/goal-tracker"},{"title":"Add Domain Link (Beta)","href":"/payments/payment-pages/domain-linking"}]},{"group":"Plugins \u0026 Add-ons","pages":[{"title":"Add Google Analytics Tracking ID","href":"/payments/payment-pages/plugins-add-ons/google-analytics"},{"title":"Add Facebook Pixel","href":"/payments/payment-pages/plugins-add-ons/fb-pixel"},{"title":"Add Facebook Pixel on Payment Success Page","href":"/payments/payment-pages/plugins-add-ons/fb-payment-success"},{"title":"Integrate Payment Pages With Shiprocket","sidebarTitle":"Integrate Payment Pages with Shiprocket","href":"/payments/payment-pages/plugins-add-ons/shiprocket"}]},{"title":"View Reports","href":"/payments/payment-pages/view-reports"},{"title":"Subscribe to Webhooks","href":"/payments/payment-pages/subscribe-to-webhooks"},{"title":"Frequently Asked Questions (FAQs)","href":"/payments/payment-pages/faqs"},{"title":"Glossary","href":"/payments/payment-pages/glossary"}]},{"group":"Invoices","root":{"title":"About Invoices","href":"/payments/invoices"},"pages":[{"title":"Invoices Use Cases","href":"/payments/invoices/use-cases"},{"title":"How Invoices Work","href":"/payments/invoices/how-it-works"},{"title":"Invoice States","href":"/payments/invoices/states"},{"group":"Dashboard","pages":[{"title":"Create an Invoice","href":"/payments/invoices/create"},{"title":"Issue an Invoice","href":"/payments/invoices/issue"},{"title":"Search an Invoice","href":"/payments/invoices/search"},{"title":"Update an Invoice","href":"/payments/invoices/update"},{"title":"Resend an Invoice","href":"/payments/invoices/resend"},{"title":"Duplicate an Invoice","href":"/payments/invoices/duplicate"},{"title":"Cancel an Invoice","href":"/payments/invoices/cancel"},{"title":"Delete an Invoice","href":"/payments/invoices/delete"},{"title":"Download and Print an Invoice","href":"/payments/invoices/download-print"}]},{"group":"Items","pages":[{"title":"About Items","href":"/payments/invoices/items"},{"title":"Items Dashboard","sidebarTitle":"Dashboard","href":"/payments/invoices/items/dashboard"}]},{"title":"Invoice APIs","href":"/payments/invoices/apis"},{"title":"Subscribe to Webhooks","href":"/payments/invoices/subscribe-to-webhooks"},{"title":"Frequently Asked Questions (FAQs)","href":"/payments/invoices/faqs"},{"title":"Glossary","href":"/payments/invoices/glossary"}]},{"group":"Subscriptions","root":{"title":"About Subscriptions","href":"/payments/subscriptions"},"pages":[{"title":"How Subscriptions Work","href":"/payments/subscriptions/workflow"},{"title":"Subscriptions States","href":"/payments/subscriptions/states"},{"title":"Subscriptions Use Cases","href":"/payments/subscriptions/use-cases"},{"title":"Supported Payment Methods","href":"/payments/subscriptions/supported-payment-methods"},{"title":"Create Subscriptions","href":"/payments/subscriptions/create"},{"title":"Test Subscriptions","href":"/payments/subscriptions/test"},{"title":"Integrate With Subscriptions","href":"/payments/subscriptions/integration-guide"},{"group":"Dashboard","pages":[{"title":"Create and View Plans","href":"/payments/subscriptions/create-plans"},{"title":"Create Subscriptions via Links","href":"/payments/subscriptions/create-subscription-links"},{"title":"Charge a Card Manually","href":"/payments/subscriptions/manually-charge-card"},{"title":"View Subscription Details","sidebarTitle":"View a Subscription","href":"/payments/subscriptions/view"},{"title":"Update a Subscription","href":"/payments/subscriptions/update"},{"title":"Pause, Resume and Cancel a Subscription","href":"/payments/subscriptions/pause-resume-cancel"},{"title":"Subscriptions Settings","href":"/payments/subscriptions/settings"}]},{"title":"Payment Retries","href":"/payments/subscriptions/payment-retries"},{"title":"Supported Banks and Apps","href":"/payments/subscriptions/supported-banks-apps"},{"group":"Plugins","pages":[{"group":"Woocommerce","pages":[{"title":"Razorpay Curlec Subscriptions Plugin for WooCommerce","href":"/payments/subscriptions/plugins/woocommerce"},{"title":"1. Build Integration","href":"/payments/subscriptions/plugins/woocommerce/build-integration"},{"title":"2. Test Integration","href":"/payments/subscriptions/plugins/woocommerce/test-integration"},{"title":"3. Go-live Checklist","sidebarTitle":"3. Go Live Checklist","href":"/payments/subscriptions/plugins/woocommerce/go-live-checklist"},{"title":"Manage Subscriptions","href":"/payments/subscriptions/plugins/woocommerce/manage-subscriptions"},{"title":"Subscription Status","href":"/payments/subscriptions/plugins/woocommerce/subscriptions-status"}]}]},{"title":"Notifications","href":"/payments/subscriptions/notifications"},{"title":"Subscriptions APIs","href":"/payments/subscriptions/apis"},{"title":"Subscribe to Webhooks","href":"/payments/subscriptions/subscribe-to-webhooks"},{"title":"Frequently Asked Questions (FAQs)","href":"/payments/subscriptions/faqs"},{"title":"Glossary","href":"/payments/subscriptions/glossary"}]},{"group":"Route","root":{"title":"About Route","href":"/payments/route"},"pages":[{"title":"Route Use Cases","href":"/payments/route/use-cases"},{"title":"Linked Accounts","href":"/payments/route/linked-account"},{"title":"Integrate With Route","href":"/payments/route/integration-guide"},{"group":"Dashboard","pages":[{"title":"Route Dashboard","href":"/payments/route/dashboard"},{"title":"Transfer Funds to Linked Accounts","href":"/payments/route/transfer-funds-to-linked-accounts"},{"title":"Schedule Settlements","href":"/payments/route/schedule-settlement"},{"title":"Payment Reversals","href":"/payments/route/reversal"},{"title":"Refund to Customers","href":"/payments/route/refund"}]},{"title":"Transfers and Related Fees Example","sidebarTitle":"Transfers and Related Fees","href":"/payments/route/transfer-fees-example"},{"group":"Linked Account Dashboard","pages":[{"title":"Initiate Refund - Linked Account Dashboard","sidebarTitle":"Initiate Refund","href":"/payments/route/linked-account/initiate-refund"},{"title":"Reversals and Settlements - Linked Account Dashboard","sidebarTitle":"Reversals and Settlements","href":"/payments/route/linked-account/reversals-settlements"},{"title":"Manage Profile and Team - Linked Account Dashboard","sidebarTitle":"Manage Profile and Team","href":"/payments/route/linked-account/manage-profile"}]},{"title":"View Reports","href":"/payments/route/view-reports"},{"title":"Route APIs","href":"/payments/route/apis"},{"title":"Subscribe to Webhooks","href":"/payments/route/subscribe-to-webhooks"},{"title":"FAQs (Frequently Asked Questions)","href":"/payments/route/faqs"},{"title":"Glossary","href":"/payments/route/glossary"}]},{"group":"Payments Mobile App","root":{"title":"About Razorpay Curlec Payments Mobile App","href":"/payments/mobile-app"},"pages":[{"title":"Get Started","href":"/payments/mobile-app/get-started"},{"group":"Accept Payments","pages":[{"title":"Create and Send Payment Links","sidebarTitle":"Payment Links","href":"/payments/mobile-app/accept-payments/payment-links"},{"title":"Payment Pages on Mobile App","sidebarTitle":"Payment Pages","href":"/payments/mobile-app/accept-payments/payment-pages"},{"title":"Webstore on Mobile App","sidebarTitle":"Webstore","href":"/payments/mobile-app/accept-payments/webstore"},{"title":"Payment Gateway","href":"/payments/mobile-app/accept-payments/payment-gateway"}]},{"group":"Track and Manage","pages":[{"title":"Track Payments","sidebarTitle":"Payments","href":"/payments/mobile-app/track-manage"},{"title":"Issue Refunds","href":"/payments/mobile-app/track-manage/issue-refunds"},{"title":"View Settlements","href":"/payments/mobile-app/track-manage/view-settlements"}]},{"title":"Roles and Permissions","href":"/payments/mobile-app/roles-and-permissions"},{"title":"Settings","href":"/payments/mobile-app/settings"},{"title":"Frequently Asked Questions (FAQs)","href":"/payments/mobile-app/faqs"},{"title":"Glossary","href":"/payments/mobile-app/glossary"}]},{"title":"Glossary","href":"/payments/glossary"}]},{"tab":"API Reference","icon":"code","pages":[{"group":"Introduction","root":{"title":"API Reference Guide","href":"/api"},"pages":[{"title":"Understand Razorpay Curlec APIs","href":"/api/understand"},{"title":"API Authentication","sidebarTitle":"Authentication","href":"/api/authentication"},{"title":"API Sandbox Setup","sidebarTitle":"Sandbox Setup","href":"/api/sandbox-setup"},{"title":"Install the Razorpay Curlec CLI","sidebarTitle":"Install CLI","href":"/api/install-cli"},{"title":"Best Practices","href":"/api/best-practices"},{"title":"Glossary","href":"/api/glossary"}]},{"group":"Payments","root":{"title":"Payments","href":"/api/payments"},"pages":[{"group":"Orders","pages":[{"title":"Orders Entity","href":"/api/orders/entity"},{"title":"Create an Order","api":"POST /v1/orders","href":"/api/orders/create"},{"title":"Fetch All Orders","api":"GET /v1/orders","href":"/api/orders/fetch-all"},{"title":"Fetch All Orders (With Expanded Payments)","api":"GET /v1/orders?expand[]=payments","href":"/api/orders/fetch-all-expanded-payments"},{"title":"Fetch All Orders (With Expand Card Payments)","api":"GET /v1/orders?expand[]=payments.card","href":"/api/orders/fetch-all-expanded-card-payments"},{"title":"Fetch an Order With ID","api":"GET /v1/orders/:id","href":"/api/orders/fetch-with-id"},{"title":"Fetch Payments for an Order","api":"GET /v1/orders/:id/payments","href":"/api/orders/fetch-payments"}]},{"group":"Payments","pages":[{"title":"Payments Entity","href":"/api/payments/entity"},{"title":"Capture a Payment","api":"POST /v1/payments/:id/capture","href":"/api/payments/capture"},{"title":"Fetch a Payment With ID","api":"GET /v1/payments/:id","href":"/api/payments/fetch-with-id"},{"title":"Fetch a Payment (With Expanded Card Details)","api":"GET /v1/payments/:id/?expand[]=card","href":"/api/payments/fetch-payment-expanded-card"},{"title":"Fetch All Payments","api":"GET /v1/payments","href":"/api/payments/fetch-all-payments"},{"title":"Fetch All Payments (With Expanded Card Details)","api":"GET /v1/payments?expand[]=card","href":"/api/payments/fetch-all-payments-with-expanded-card-details"},{"title":"Fetch All Payments (With Expanded EMI Details)","api":"GET /v1/payments?expand[]=emi","href":"/api/payments/fetch-all-payments-with-expanded-emi-details"},{"title":"Fetch Payments Based on Orders","api":"GET /v1/orders/:id/payments","href":"/api/payments/fetch-payments-orders"},{"title":"Fetch Card Details of a Payment","api":"GET /v1/payments/:id/card","href":"/api/payments/fetch-card-details-payment"}]},{"group":"Settlements","pages":[{"title":"Settlements","href":"/api/settlements"},{"title":"Settlements Entity","href":"/api/settlements/entity"},{"title":"Fetch All Settlements","api":"GET /v1/settlements/","href":"/api/settlements/fetch-all"},{"title":"Fetch Settlements With ID","api":"GET /v1/settlements/:id","href":"/api/settlements/fetch-with-id"}]},{"group":"Refunds","pages":[{"title":"Refunds","href":"/api/refunds"},{"title":"Refunds Entity","href":"/api/refunds/entity"},{"title":"Create a Normal Refund","api":"POST /v1/payments/:id/refund","href":"/api/refunds/create-normal"},{"title":"Create a Normal Refund (Idempotent Request)","api":"POST /v1/payments/:id/refund","href":"/api/refunds/normal-refunds-idempotent"},{"title":"Fetch Multiple Refunds for a Payment","api":"GET /v1/payments/:id/refunds","href":"/api/refunds/fetch-multiple-refund-payment"},{"title":"Fetch a Specific Refund for a Payment","api":"GET /v1/payments/:payment_id/refunds/:refund_id","href":"/api/refunds/fetch-specific-refund-payment"},{"title":"Fetch All Refunds","api":"GET /v1/refunds/","href":"/api/refunds/fetch-all"},{"title":"Fetch Refund With ID","api":"GET /v1/refunds/:id","href":"/api/refunds/fetch-with-id"}]},{"group":"Customers","pages":[{"title":"Customers","href":"/api/customers"},{"title":"Customers Entity","href":"/api/customers/entity"},{"title":"Create a Customer","api":"POST /v1/customers","href":"/api/customers/create"},{"title":"Edit Customer Details","api":"PUT /v1/customers/:id","href":"/api/customers/edit"},{"title":"Fetch All Customers","api":"GET /v1/customers","href":"/api/customers/fetch-all"}]},{"group":"Payment Links","pages":[{"title":"Payment Links","href":"/api/payments/payment-links"},{"title":"Payment Links Entity","href":"/api/payments/payment-links/entity"},{"title":"Create a Standard Payment Link","api":"POST /v1/payment_links","href":"/api/payments/payment-links/create-standard"},{"title":"Fetch All Standard Payment Links","api":"GET /v1/payment_links/","href":"/api/payments/payment-links/fetch-all-standard"},{"title":"Fetch Standard Payment Links With ID","api":"GET /v1/payment_links/:id","href":"/api/payments/payment-links/fetch-id-standard"},{"title":"Send or Resend Notifications","api":"POST /v1/payment_links/:id/notify_by/:medium","href":"/api/payments/payment-links/resend"},{"title":"Update Standard Payment Link","api":"PATCH /v1/payment_links/:id","href":"/api/payments/payment-links/update-standard"},{"title":"Cancel a Standard Payment Link","api":"POST /v1/payment_links/:id/cancel","href":"/api/payments/payment-links/cancel-standard"},{"title":"Implement Thematic Changes in Payment Links Checkout Section","api":"POST /v1/payment_links","href":"/api/payments/payment-links/checkout-theme"},{"title":"Change Business Name","api":"POST /v1/payment_links","href":"/api/payments/payment-links/change-business-name"},{"title":"Customise Payment Methods - Options and Method Parameters","api":"POST /v1/payment_links","href":"/api/payments/payment-links/customise-payment-methods"},{"title":"Customise Payment Methods - Options and Config Parameters","api":"POST /v1/payment_links","href":"/api/payments/payment-links/customise-options-config"},{"title":"Rename Labels in Checkout Section","api":"POST /v1/payment_links","href":"/api/payments/payment-links/rename-checkout-labels"},{"title":"Rename Labels in Payment Details Section","api":"POST /v1/payment_links","href":"/api/payments/payment-links/rename-payment-details-labels"}]},{"group":"Invoices","pages":[{"title":"Invoices","href":"/api/payments/invoices"},{"title":"Invoices Entity","href":"/api/payments/invoices/entity"},{"title":"Create an Invoice With Customer ID","api":"POST /v1/invoices","href":"/api/payments/invoices/create-with-customer-id"},{"title":"Create an Invoice With Customer Details","api":"POST /v1/invoices","href":"/api/payments/invoices/create-with-details"},{"title":"Update an Invoice","api":"PATCH /v1/invoices/:id","href":"/api/payments/invoices/update"},{"title":"Issue an Invoice","api":"POST /v1/invoices/:id/issue","href":"/api/payments/invoices/issue"},{"title":"Delete an Invoice","api":"DELETE /v1/invoices/:id","href":"/api/payments/invoices/delete"},{"title":"Cancel an Invoice","api":"POST /v1/invoices/:id/cancel","href":"/api/payments/invoices/cancel"},{"title":"Fetch an Invoice With ID","api":"GET /v1/invoices/:id","href":"/api/payments/invoices/fetch-with-id"},{"title":"Fetch All Invoices","api":"GET /v1/invoices","href":"/api/payments/invoices/fetch-all"},{"title":"Send Notifications","api":"POST /v1/invoices/:id/notify_by/:medium","href":"/api/payments/invoices/resend"},{"title":"Items Entity","href":"/api/payments/invoices/item-entity"},{"title":"Create an Item","api":"POST /v1/items","href":"/api/payments/invoices/create-item"},{"title":"Fetch Item With ID","api":"GET /v1/items/:id","href":"/api/payments/invoices/fetch-with-id-item"},{"title":"Fetch All Items","api":"GET /v1/items","href":"/api/payments/invoices/fetch-all-items"},{"title":"Update an Item","api":"PATCH /v1/items/:id","href":"/api/payments/invoices/update-item"}]},{"group":"Subscriptions","pages":[{"title":"Subscriptions","href":"/api/payments/subscriptions"},{"title":"Plans Entity","href":"/api/payments/subscriptions/plans-entity"},{"title":"Create a Plan","api":"POST /v1/plans","href":"/api/payments/subscriptions/create-plan"},{"title":"Fetch All Plans","api":"GET /v1/plans","href":"/api/payments/subscriptions/fetch-all-plans"},{"title":"Fetch a Plan With ID","api":"GET /v1/plans/:id","href":"/api/payments/subscriptions/fetch-a-plan"},{"title":"Subscriptions Entity","href":"/api/payments/subscriptions/entity"},{"title":"Create a Subscription","api":"POST /v1/subscriptions","href":"/api/payments/subscriptions/create-subscription"},{"title":"Create a Subscription Link","api":"POST /v1/subscriptions","href":"/api/payments/subscriptions/create-subscription-link"},{"title":"Fetch All Subscriptions","api":"GET /v1/subscriptions","href":"/api/payments/subscriptions/fetch-subscriptions"},{"title":"Fetch a Subscription With ID","api":"GET /v1/subscriptions/:id","href":"/api/payments/subscriptions/fetch-subscription-id"},{"title":"Cancel a Subscription","api":"POST /v1/subscriptions/:id/cancel","href":"/api/payments/subscriptions/cancel-subscription"},{"title":"Update a Subscription","api":"PATCH /v1/subscriptions/:id","href":"/api/payments/subscriptions/update-subscription"},{"title":"Fetch Details of a Pending Update","api":"GET /v1/subscriptions/:id/retrieve_scheduled_changes","href":"/api/payments/subscriptions/fetch-pending-update-details"},{"title":"Cancel an Update","api":"POST /v1/subscriptions/:id/cancel_scheduled_changes","href":"/api/payments/subscriptions/cancel-update"},{"title":"Pause a Subscription","api":"POST /v1/subscriptions/:id/pause","href":"/api/payments/subscriptions/pause-subscription"},{"title":"Resume a Subscription","api":"POST /v1/subscriptions/:id/resume","href":"/api/payments/subscriptions/resume-subscription"},{"title":"Fetch All Invoices of a Subscription","api":"GET /v1/invoices?subscription_id=:sub_id","href":"/api/payments/subscriptions/fetch-invoices"}]},{"group":"Route","pages":[{"title":"Route","href":"/api/payments/route"},{"title":"Linked Account Entity","href":"/api/payments/route/linked-account-entity"},{"title":"Create a Linked Account","api":"POST /v2/accounts","href":"/api/payments/route/create-linked-account"},{"title":"Update a Linked Account","api":"PATCH /v2/accounts/:account_id","href":"/api/payments/route/update-linked-accounts"},{"title":"Fetch a Linked Account With ID","api":"GET /v2/accounts/:account_id","href":"/api/payments/route/fetch-with-id"},{"title":"Stakeholder Entity","href":"/api/payments/route/stakeholder-entity"},{"title":"Create a Stakeholder Account","api":"POST /v2/accounts/:account_id/stakeholders","href":"/api/payments/route/create-stakeholder"},{"title":"Update a Stakeholder Account","api":"PATCH /v2/accounts/:account_id/stakeholders/:stakeholder_id","href":"/api/payments/route/update-stakeholder"},{"title":"Product Configuration Entity","href":"/api/payments/route/product-configuration-entity"},{"title":"Request a Product Configuration","api":"POST /v2/accounts/:account_id/products","href":"/api/payments/route/request-product-config"},{"title":"Update a Product Configuration","api":"PATCH /v2/accounts/:account_id/products/:product_id","href":"/api/payments/route/update-product-config"},{"title":"Fetch a Product Configuration","api":"GET /v2/accounts/:account_id/products/:product_id","href":"/api/payments/route/fetch-product-config"},{"title":"Transfers Entity","href":"/api/payments/route/transfers-entity"},{"title":"Create Transfers From Orders","api":"POST /v1/orders","href":"/api/payments/route/create-transfers-orders"},{"title":"Create Transfers From Payments","api":"POST /v1/payments/:id/transfers","href":"/api/payments/route/create-transfers-payments"},{"title":"Create a Direct Transfer","api":"POST /v1/transfers","href":"/api/payments/route/direct-transfers"},{"title":"Create a Direct Transfer (Idempotent Request)","api":"POST /v1/transfers","href":"/api/payments/route/direct-transfers-idempotent-request"},{"title":"Fetch Transfers for a Payment","api":"GET /v1/payments/:id/transfers","href":"/api/payments/route/fetch-transfers-payment"},{"title":"Fetch Transfer for an Order","api":"GET /v1/orders/:id/?expand[]=transfers\u0026status=processing","href":"/api/payments/route/fetch-transfer-order"},{"title":"Fetch a Transfer With ID","api":"GET /v1/transfers/:id","href":"/api/payments/route/fetch-a-transfer"},{"title":"Fetch Transfers for a Settlement","api":"GET /v1/transfers?recipient_settlement_id=:id","href":"/api/payments/route/fetch-transfers-for-a-settlement"},{"title":"Fetch Settlement Details","api":"GET /v1/transfers?expand[]=recipient_settlement","href":"/api/payments/route/fetch-settlement-details"},{"title":"Fetch Payments of a Linked Account","api":"GET /v1/payments/","href":"/api/payments/route/fetch-payments-linked-account"},{"title":"Refund Payments and Reverse Transfer from a Linked Account","api":"POST /v1/payments/:id/refund","href":"/api/payments/route/refund-payments-and-reverse-transfer"},{"title":"Reverse a Transfer","api":"POST /v1/transfers/:id/reversals","href":"/api/payments/route/reverse-a-transfer"},{"title":"Fetch Reversals for a Transfer","api":"GET /v1/transfers/:id/reversals","href":"/api/payments/route/fetch-reversals"},{"title":"Modify Settlement Hold for Transfers","api":"PATCH /v1/transfers/:id","href":"/api/payments/route/modify-settlement-hold"}]}]}]},{"tab":"Developer Tools","icon":"screwdriver-wrench","pages":[{"title":"Developer Tools","href":"/developer-tools"},{"group":"Razorpay CLI","root":{"title":"About CLI","href":"/cli"},"pages":[{"title":"Install the Razorpay Curlec CLI","sidebarTitle":"Installation","href":"/cli/install-cli"}]},{"group":"Errors","root":{"title":"About Errors","href":"/errors"},"pages":[{"title":"Common Errors","href":"/errors/common"},{"group":"Payments","pages":[{"title":"List of Errors","href":"/errors/payments/list"},{"title":"Cards Error Codes","href":"/errors/payments/cards"},{"title":"Payment Method Error Parameters","sidebarTitle":"Error Parameters","href":"/errors/payments/payment-methods-error-parameters"}]}]},{"group":"Webhooks","root":{"title":"About Webhooks","href":"/webhooks"},"pages":[{"group":"Set Up and Edit Webhooks","pages":[{"title":"Set Up and Edit Payments Webhooks","sidebarTitle":"Payments","href":"/webhooks/setup-edit-payments"}]},{"title":"Best Practices","href":"/webhooks/best-practices"},{"title":"Validate and Test Webhooks","href":"/webhooks/validate-test"},{"group":"List of Webhook Events","pages":[{"title":"All Webhook Events","sidebarTitle":"All","href":"/webhooks/all"},{"title":"Orders Webhook Events","sidebarTitle":"Orders","href":"/webhooks/orders"},{"title":"Payments Webhook Events","sidebarTitle":"Payments","href":"/webhooks/payments"},{"title":"Refunds Webhook Events","sidebarTitle":"Refunds","href":"/webhooks/refunds"},{"title":"Invoices Webhook Events","sidebarTitle":"Invoices","href":"/webhooks/invoices"},{"title":"Subscriptions Webhook Events","sidebarTitle":"Subscriptions","href":"/webhooks/subscriptions"},{"title":"Route Webhook Events","sidebarTitle":"Route","href":"/webhooks/route"},{"title":"Settlements Webhook Events","sidebarTitle":"Settlements","href":"/webhooks/settlements"},{"title":"Payment Links Webhook Events","sidebarTitle":"Payment Links","href":"/webhooks/payment-links"}]},{"title":"Frequently Asked Questions (FAQs)","sidebarTitle":"FAQs","href":"/webhooks/faqs"}]},{"group":"Security","root":{"title":"About Razorpay Curlec Security","href":"/security"},"pages":[{"title":"Business Security Checklist","href":"/security/checklist"},{"title":"Shared Responsibility Model","href":"/security/shared-responsibility-model"},{"group":"Whitelists","pages":[{"title":"Razorpay Curlec IPs and Certificates","sidebarTitle":"IPs and Certificates","href":"/security/whitelists"},{"title":"Guidelines for SSL Certificate Rotation","sidebarTitle":"Certificate Rotation Guidelines","href":"/security/whitelists/guidelines-ssl-cert-rotation"}]},{"title":"Security For Customers","href":"/security/customers"}]}]}]},{"version":"India","href":"https://razorpay.com/docs"},{"version":"Singapore","href":"https://razorpay.com/docs/sg"},{"version":"United States","href":"https://razorpay.com/docs/us"}]},"basePath":"","title":"Create a Contact - Razorpay","buildId":"dpl_3pZeXn3XukjzFRgAX73A7GNDfRJ1","deploymentId":"dpl_3pZeXn3XukjzFRgAX73A7GNDfRJ1","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-CW3yP2DK.js","utils-BN0nty2W.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C8_MydSG.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bsl5xDMQ.js","snippetPresets-DYv9OBej.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-9OnYPrVf.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-xr67xWGO.js","shallow-DO1aDdBF.js","getApiPlaygroundDisplay-o7cLzFL-.js","CodeSnippet-CGr2yOA8.js","CodeSnippets-CzBbqPNh.js","Page-CBlOSKZG.js","getPastedJson-dpi9sn5Y.js","icon-aIWHt8Pn.js","MethodPill-Bv2zLsGY.js","DuplicateIcon-DxFSz0J6.js","createIcon-uDNv6jwj.js","DynamicMarkdown-C91yhnNP.js","SectionHeading-DG_xjOLR.js","axios-vUo_bRtp.js"]}