{
"statusCode": 400,
"message": "\"status\" must be one of [active, inactive]",
"data": null
}
{
"statusCode": 401,
"message": "Unauthorized. Provide a valid API key in the Authorization header.",
"data": null
}
{
"statusCode": 404,
"message": "Customer not found.",
"data": null
}
Customers
Update Customer
Updates the specific customer by setting the values of the parameters provided. Only provided parameters will be changed. Fields left out of individual or company (such as identity, dob and documents) keep their stored values.
Customer's phone number: 7 to 15 digits, optionally starting with + and the country code (e.g. +2348031234567). Spaces, dashes and brackets are allowed. Required for USD cards. For USD cards, save it in international format, such as +2348031234567; a number without its country code is read as one from the billing country.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Sudo Developer Documentation","colors":{"primary":"#000","light":"#FFF","dark":"#737373"},"logo":{"light":"https://mintcdn.com/sudoafricainc/0rYEZ-verRngCGW6/images/333e137-small-sudo-black.png?fit=max\u0026auto=format\u0026n=0rYEZ-verRngCGW6\u0026q=85\u0026s=f1abf960ebbfc77f55d8421c9fdbfe16","dark":"https://mintcdn.com/sudoafricainc/0rYEZ-verRngCGW6/images/logo-white.svg?fit=max\u0026auto=format\u0026n=0rYEZ-verRngCGW6\u0026q=85\u0026s=90e01bf5d44d3867db97f52970f543ec"},"favicon":"https://mintcdn.com/sudoafricainc/0rYEZ-verRngCGW6/favicon.svg?fit=max\u0026auto=format\u0026n=0rYEZ-verRngCGW6\u0026q=85\u0026s=b913c1ed730c4061e789e41fe2862ed2","api":{"openapi":["openapi.json"],"mdx":{"auth":{"method":"bearer"},"server":["https://api.sandbox.sudo.cards"]}},"navbar":{"links":[{"href":"mailto:root@sudo.africa","label":"Support"}],"primary":{"type":"button","label":"Get API Key","href":"https://app.sudo.africa"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sudoafricainc","hasAudioNarration":false,"actualSubdomain":"sudoafricainc","customDomains":["docs.sudo.africa"],"gitSource":{"type":"github","owner":"sudoafrica","repo":"developer-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ada1cb71cd014c88d98c536","collectionId":"3e34d7da-5153-46e7-9c5f-d145ff205d52","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ada1cb71cd014c88d98c536"},"feedback":{"edits":true},"entitlements":{},"buildId":"6ada1cb71cd014c88d98c536","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"API Reference","count":60},{"language":"default","tag":"Guides","count":39},{"language":"default","tag":"Cards","count":16},{"language":"default","tag":"Webhooks","count":9},{"language":"default","tag":"Overview","count":8},{"language":"default","tag":"Accounts","count":8},{"language":"default","tag":"Getting Started","count":6},{"language":"default","tag":"Simulator (Sandbox Only)","count":6},{"language":"default","tag":"Card Programs","count":6},{"language":"default","tag":"Customers","count":6}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":".mdx-content :not(pre)>code{margin:0;padding:1px 3px;border-radius:4px}"}],"page":{"pagePath":"reference/update-customer","slug":"/reference/update-customer","pageMetadata":{"openapi":"openapi.json put /customers/{id}","title":"Update Customer","description":"Updates the specific customer by setting the values of the parameters provided. Only provided parameters will be changed. Fields left out of `individual` or `company` (such as `identity`, `dob` and `documents`) keep their stored values.","href":"/reference/update-customer"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Updates the specific customer by setting the values of the parameters provided. Only provided parameters will be changed. Fields left out of \", _jsx(_components.code, {\n children: \"individual\"\n }), \" or \", _jsx(_components.code, {\n children: \"company\"\n }), \" (such as \", _jsx(_components.code, {\n children: \"identity\"\n }), \", \", _jsx(_components.code, {\n children: \"dob\"\n }), \" and \", _jsx(_components.code, {\n children: \"documents\"\n }), \") keep their stored values.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"openapi.json put /customers/{id}","title":"Update Customer","description":"Updates the specific customer by setting the values of the parameters provided. Only provided parameters will be changed. Fields left out of `individual` or `company` (such as `identity`, `dob` and `documents`) keep their stored values.","href":"/reference/update-customer"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Update Customer","description":"Updates the specific customer by setting the values of the parameters provided. Only provided parameters will be changed. Fields left out of `individual` or `company` (such as `identity`, `dob` and `documents`) keep their stored values.","operationId":"update-customer","parameters":["8ff0f279-d4e8-4646-97bf-46f420fc40f6"],"requestBody":"47366439-50e0-45a7-ae91-b2067a41b3ba","responses":{"200":"41a7a6a0-d276-4f4b-a852-2bc2a65a9087","400":"a4925598-addc-4ffe-b945-41b653c63c12","401":"bc6a6bbd-d9fc-45ad-ba52-378abf216e8f","404":"f53b2d5b-5956-49eb-9f20-517b47716c5c"},"deprecated":false,"method":"put","type":"path","servers":["cf545e2d-d094-497e-b3d3-01d65265413d"],"security":["382c7c40-6f98-4695-a479-e95030640a06"],"path":"/customers/{id}","baseUrlOptions":["https://api.sandbox.sudo.cards"],"title":"Update Customer","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"8ff0f279-d4e8-4646-97bf-46f420fc40f6":{"name":"id","in":"path","description":"The `_id` of the customer you wish to update.","schema":{"type":"string","isRequired":true,"description":"The `_id` of the customer you wish to update.","uniqueKey":"","typeLabel":"string"},"required":true}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["type","name","status"],"properties":{"type":{"type":"string","description":"This is the customer type.","default":"individual","enum":["individual","company"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The customer's full name.","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"status":{"type":"string","description":"This is the status of the customer.","default":"active","enum":["active","inactive"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"phoneNumber":{"type":"string","description":"Customer's phone number: 7 to 15 digits, optionally starting with + and the country code (e.g. +2348031234567). Spaces, dashes and brackets are allowed. Required for USD cards. For USD cards, save it in international format, such as +2348031234567; a number without its country code is read as one from the billing country.","uniqueKey":"phoneNumber","typeLabel":"string"},"emailAddress":{"type":"string","description":"Customer's email address. Must be a valid email address. Required for USD cards.","uniqueKey":"emailAddress","typeLabel":"string"},"individual":{"type":"object","description":"Individual details. Required if customer type is `individual`.","required":["firstName","lastName","dob"],"properties":{"firstName":{"type":"string","description":"Customer's first name, 2 to 20 characters (spaces at either end are not counted).","isRequired":true,"uniqueKey":"individual.firstName","typeLabel":"string"},"lastName":{"type":"string","description":"Customer's last name, 2 to 20 characters (spaces at either end are not counted).","isRequired":true,"uniqueKey":"individual.lastName","typeLabel":"string"},"dob":{"type":"string","description":"Date of birth in the format `YYYY-MM-DD` (`YYYY/MM/DD` is also accepted). Must be a real date and not in the future. Required for USD cards.","isRequired":true,"uniqueKey":"individual.dob","typeLabel":"string"},"otherNames":{"type":"string","description":"Customer's other names.","uniqueKey":"individual.otherNames","typeLabel":"string"},"identity":{"type":"object","description":"Customer's identity data.","required":["type","number"],"properties":{"type":{"type":"string","description":"Identity type. USD cards accept `BVN`, `NIN`, `PASSPORT`, `DL` (driver's licence), `VC` (voter's card) and `RC` (resident card). A company can instead use its `CAC` number on `company.identity`. `TIN` can't be used for USD cards.","enum":["BVN","NIN","CAC","TIN","PASSPORT","VC","DL","RC"],"isRequired":true,"uniqueKey":"individual.identity.type","typeLabel":"enum\u003cstring>"},"number":{"type":"string","description":"Identity number issued by the regulator. A `BVN` must be 11 digits, a Nigerian `NIN` 11 digits, and a `PASSPORT` number 6 to 9 letters or digits.","isRequired":true,"uniqueKey":"individual.identity.number","typeLabel":"string"}},"uniqueKey":"individual.identity","typeLabel":"object"},"documents":{"type":"object","description":"Customer's KYC documents.","properties":{"idFrontUrl":{"type":"string","description":"Public https link to the front of the ID document: a JPEG, PNG or WebP image of up to 10 MB. The link must point straight to the file (no redirects) and stay accessible: it is checked when saved and downloaded again when a USD card is created. Upload with [Generate Customer Document Url](/reference/generate-customer-document-url) or use your own storage.","uniqueKey":"individual.documents.idFrontUrl","typeLabel":"string"},"idBackUrl":{"type":"string","description":"Public https link to the back of the ID document: a JPEG, PNG or WebP image of up to 10 MB, checked when saved.","uniqueKey":"individual.documents.idBackUrl","typeLabel":"string"},"incorporationCertificateUrl":{"type":"string","description":"Public https link to an image of the company's CAC (incorporation) certificate. Needed for a USD card when the company uses its `CAC` number: a JPEG, PNG or WebP image of up to 10 MB that stays reachable, since it is downloaded when the card is created.","uniqueKey":"individual.documents.incorporationCertificateUrl","typeLabel":"string"},"addressVerificationUrl":{"type":"string","description":"Customer address verification document url.","uniqueKey":"individual.documents.addressVerificationUrl","typeLabel":"string"}},"uniqueKey":"individual.documents","typeLabel":"object"}},"uniqueKey":"individual","typeLabel":"object"},"company":{"type":"object","description":"Company details. Required if customer type is `company`.","required":["name"],"properties":{"name":{"type":"string","description":"Company name.","isRequired":true,"uniqueKey":"company.name","typeLabel":"string"},"identity":{"type":"object","description":"Company identity details.","required":["type","number"],"properties":{"type":{"type":"string","description":"Identity type.","enum":["BVN","NIN","CAC","TIN","PASSPORT","VC","DL","RC"],"isRequired":true,"uniqueKey":"company.identity.type","typeLabel":"enum\u003cstring>"},"number":{"type":"string","description":"Identity number issued by the regulator.","isRequired":true,"uniqueKey":"company.identity.number","typeLabel":"string"}},"uniqueKey":"company.identity","typeLabel":"object"},"officer":{"type":"object","description":"Company officer information.","required":["firstName","lastName","dob"],"properties":{"firstName":{"type":"string","description":"Customer's first name, 2 to 20 characters (spaces at either end are not counted).","isRequired":true,"uniqueKey":"company.officer.firstName","typeLabel":"string"},"lastName":{"type":"string","description":"Customer's last name, 2 to 20 characters (spaces at either end are not counted).","isRequired":true,"uniqueKey":"company.officer.lastName","typeLabel":"string"},"dob":{"type":"string","description":"Date of birth in the format `YYYY-MM-DD` (`YYYY/MM/DD` is also accepted). Must be a real date and not in the future. Required for USD cards.","isRequired":true,"uniqueKey":"company.officer.dob","typeLabel":"string"},"otherNames":{"type":"string","description":"Customer's other names.","uniqueKey":"company.officer.otherNames","typeLabel":"string"},"identity":{"type":"object","description":"Customer's identity data.","required":["type","number"],"properties":{"type":{"type":"string","description":"Identity type. USD cards accept `BVN`, `NIN`, `PASSPORT`, `DL` (driver's licence), `VC` (voter's card) and `RC` (resident card). A company can instead use its `CAC` number on `company.identity`. `TIN` can't be used for USD cards.","enum":["BVN","NIN","CAC","TIN","PASSPORT","VC","DL","RC"],"isRequired":true,"uniqueKey":"company.officer.identity.type","typeLabel":"enum\u003cstring>"},"number":{"type":"string","description":"Identity number issued by the regulator. A `BVN` must be 11 digits, a Nigerian `NIN` 11 digits, and a `PASSPORT` number 6 to 9 letters or digits.","isRequired":true,"uniqueKey":"company.officer.identity.number","typeLabel":"string"}},"uniqueKey":"company.officer.identity","typeLabel":"object"},"documents":{"type":"object","description":"Customer's KYC documents.","properties":{"idFrontUrl":{"type":"string","description":"Public https link to the front of the ID document: a JPEG, PNG or WebP image of up to 10 MB. The link must point straight to the file (no redirects) and stay accessible: it is checked when saved and downloaded again when a USD card is created. Upload with [Generate Customer Document Url](/reference/generate-customer-document-url) or use your own storage.","uniqueKey":"company.officer.documents.idFrontUrl","typeLabel":"string"},"idBackUrl":{"type":"string","description":"Public https link to the back of the ID document: a JPEG, PNG or WebP image of up to 10 MB, checked when saved.","uniqueKey":"company.officer.documents.idBackUrl","typeLabel":"string"},"incorporationCertificateUrl":{"type":"string","description":"Public https link to an image of the company's CAC (incorporation) certificate. Needed for a USD card when the company uses its `CAC` number: a JPEG, PNG or WebP image of up to 10 MB that stays reachable, since it is downloaded when the card is created.","uniqueKey":"company.officer.documents.incorporationCertificateUrl","typeLabel":"string"},"addressVerificationUrl":{"type":"string","description":"Customer address verification document url.","uniqueKey":"company.officer.documents.addressVerificationUrl","typeLabel":"string"}},"uniqueKey":"company.officer.documents","typeLabel":"object"}},"uniqueKey":"company.officer","typeLabel":"object"},"documents":{"type":"object","description":"Customer's KYC documents.","properties":{"idFrontUrl":{"type":"string","description":"ID Card front page url.","uniqueKey":"company.documents.idFrontUrl","typeLabel":"string"},"idBackUrl":{"type":"string","description":"ID Card back page url.","uniqueKey":"company.documents.idBackUrl","typeLabel":"string"},"incorporationCertificateUrl":{"type":"string","description":"Public https link to an image of the company's CAC (incorporation) certificate. Needed for a USD card when the company uses its `CAC` number: a JPEG, PNG or WebP image of up to 10 MB that stays reachable, since it is downloaded when the card is created.","uniqueKey":"company.documents.incorporationCertificateUrl","typeLabel":"string"},"addressVerificationUrl":{"type":"string","description":"Customer address verification document url.","uniqueKey":"company.documents.addressVerificationUrl","typeLabel":"string"}},"uniqueKey":"company.documents","typeLabel":"object"}},"uniqueKey":"company","typeLabel":"object"},"metadata":{"type":"string","description":"The customer metadata object in `key-value` pair. This can be useful for storing additional information about the customer in a structured format","format":"json","uniqueKey":"metadata","typeLabel":"string\u003cjson>"},"billingAddress":{"type":"object","description":"This is the billing address of the customer.","required":["line1","city","state","postalCode","country"],"properties":{"line1":{"type":"string","description":"Street address line 1","isRequired":true,"uniqueKey":"billingAddress.line1","typeLabel":"string"},"city":{"type":"string","description":"City","isRequired":true,"uniqueKey":"billingAddress.city","typeLabel":"string"},"state":{"type":"string","description":"State","isRequired":true,"uniqueKey":"billingAddress.state","typeLabel":"string"},"postalCode":{"type":"string","isRequired":true,"uniqueKey":"billingAddress.postalCode","typeLabel":"string"},"country":{"type":"string","description":"Billing country: a country name or ISO code, e.g. `Nigeria`, `NG` or `NGA`.","isRequired":true,"uniqueKey":"billingAddress.country","typeLabel":"string"},"line2":{"type":"string","description":"Street Address line 2","uniqueKey":"billingAddress.line2","typeLabel":"string"}},"uniqueKey":"billingAddress","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"individual","name":"\u003cstring>","status":"active","phoneNumber":"\u003cstring>","emailAddress":"\u003cstring>","metadata":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"41a7a6a0-d276-4f4b-a852-2bc2a65a9087":{"description":"Customer updated successfully.","headers":{"X-Powered-By":{"schema":{"type":"string"},"example":"Express"},"Access-Control-Allow-Origin":{"schema":{"type":"string"},"example":"*"},"X-RateLimit-Limit":{"schema":{"type":"integer"},"example":"250000"},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"example":"249999"},"X-RateLimit-Reset":{"schema":{"type":"integer"},"example":"0"},"Content-Type":{"schema":{"type":"string"},"example":"application/json; charset=utf-8"},"ETag":{"schema":{"type":"string"},"example":"W/\"2dd-sfRBgLV2BqnKnzwqFCi2UGdBgUQ\""},"Connection":{"schema":{"type":"string"},"example":"keep-alive"},"Keep-Alive":{"schema":{"type":"string"},"example":"timeout=5"}},"content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"integer","description":"HTTP status code returned by the API.","uniqueKey":"statusCode","typeLabel":"integer"},"message":{"type":"string","description":"Human-readable description of the result.","uniqueKey":"message","typeLabel":"string"},"data":{"type":"object","description":"Response payload.","properties":{"_id":{"type":"string","description":"Unique identifier of the object.","uniqueKey":"data._id","typeLabel":"string"},"business":{"type":"string","description":"Identifier of the business that owns this object.","uniqueKey":"data.business","typeLabel":"string"},"type":{"type":"string","description":"Type of the object.","uniqueKey":"data.type","typeLabel":"string"},"name":{"type":"string","description":"Display name.","uniqueKey":"data.name","typeLabel":"string"},"status":{"type":"string","description":"Current status of the object.","uniqueKey":"data.status","typeLabel":"string"},"isApproved":{"type":"boolean","description":"Whether the customer has passed KYC and is approved.","uniqueKey":"data.isApproved","typeLabel":"boolean"},"phoneNumber":{"type":"string","description":"Customer's phone number in international format.","uniqueKey":"data.phoneNumber","typeLabel":"string"},"emailAddress":{"type":"string","description":"Customer's email address.","uniqueKey":"data.emailAddress","typeLabel":"string"},"individual":{"type":"object","description":"Details for an individual customer.","properties":{"firstName":{"type":"string","description":"First name.","uniqueKey":"data.individual.firstName","typeLabel":"string"},"lastName":{"type":"string","description":"Last name.","uniqueKey":"data.individual.lastName","typeLabel":"string"},"otherNames":{"type":"string","description":"Other names, if any.","uniqueKey":"data.individual.otherNames","typeLabel":"string"},"dob":{"type":"string","description":"Date of birth (YYYY/MM/DD).","uniqueKey":"data.individual.dob","typeLabel":"string"},"identity":{"type":"object","description":"Customer's verified identity record.","properties":{"type":{"type":"string","description":"Type of the object.","uniqueKey":"data.individual.identity.type","typeLabel":"string"},"number":{"type":"string","description":"Identity / card number value.","uniqueKey":"data.individual.identity.number","typeLabel":"string"}},"uniqueKey":"data.individual.identity","typeLabel":"object"},"documents":{"type":"object","description":"Uploaded KYC document URLs.","properties":{"idFrontUrl":{"type":"string","description":"URL of the front of the customer's ID document.","uniqueKey":"data.individual.documents.idFrontUrl","typeLabel":"string"},"idBackUrl":{"type":"string","description":"URL of the back of the customer's ID document.","uniqueKey":"data.individual.documents.idBackUrl","typeLabel":"string"},"addressVerificationUrl":{"type":"string","description":"URL of the customer's address verification document.","uniqueKey":"data.individual.documents.addressVerificationUrl","typeLabel":"string"}},"uniqueKey":"data.individual.documents","typeLabel":"object"}},"uniqueKey":"data.individual","typeLabel":"object"},"billingAddress":{"type":"object","description":"Customer's billing address.","properties":{"line1":{"type":"string","description":"Address line 1.","uniqueKey":"data.billingAddress.line1","typeLabel":"string"},"line2":{"type":"string","description":"Address line 2.","uniqueKey":"data.billingAddress.line2","typeLabel":"string"},"city":{"type":"string","description":"City.","uniqueKey":"data.billingAddress.city","typeLabel":"string"},"state":{"type":"string","description":"State / region.","uniqueKey":"data.billingAddress.state","typeLabel":"string"},"postalCode":{"type":"string","description":"Postal / ZIP code.","uniqueKey":"data.billingAddress.postalCode","typeLabel":"string"},"country":{"type":"string","description":"Country.","uniqueKey":"data.billingAddress.country","typeLabel":"string"}},"uniqueKey":"data.billingAddress","typeLabel":"object"},"createdAt":{"type":"string","format":"date-time","description":"ISO 8601 timestamp of when the object was created.","uniqueKey":"data.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","description":"ISO 8601 timestamp of when the object was last updated.","uniqueKey":"data.updatedAt","typeLabel":"string\u003cdate-time>"},"__v":{"type":"integer","description":"Internal document version (Mongo).","uniqueKey":"data.__v","typeLabel":"integer"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"statusCode":200,"message":"Customer updated successfully.","data":{"_id":"64a1b2c3d4e5f6a7b8c9d0e1","business":"63f0a1b2c3d4e5f6a7b8c9d0","type":"individual","name":"John Doe","status":"inactive","isApproved":true,"phoneNumber":"+2348000000000","emailAddress":"johndoe@example.com","individual":{"firstName":"John","lastName":"Doe","otherNames":"","dob":"1990-01-01","identity":{"type":"BVN","number":"22212345678"},"documents":{"idFrontUrl":"https://sudo-documents.s3.amazonaws.com/customers/64a1b2c3d4e5f6a7b8c9d0e1/id-front.png","idBackUrl":"https://sudo-documents.s3.amazonaws.com/customers/64a1b2c3d4e5f6a7b8c9d0e1/id-back.png","addressVerificationUrl":"https://sudo-documents.s3.amazonaws.com/customers/64a1b2c3d4e5f6a7b8c9d0e1/utility-bill.pdf"}},"billingAddress":{"line1":"4 Barnawa Close","line2":"Off Challawa Crescent","city":"Barnawa","state":"Kaduna","postalCode":"800243","country":"Nigeria"},"createdAt":"2024-09-06T12:34:56.789Z","updatedAt":"2024-09-07T09:15:00.000Z","__v":0}},"examples":{"Example":{"title":"Example","value":{"statusCode":200,"message":"Customer updated successfully.","data":{"_id":"64a1b2c3d4e5f6a7b8c9d0e1","business":"63f0a1b2c3d4e5f6a7b8c9d0","type":"individual","name":"John Doe","status":"inactive","isApproved":true,"phoneNumber":"+2348000000000","emailAddress":"johndoe@example.com","individual":{"firstName":"John","lastName":"Doe","otherNames":"","dob":"1990-01-01","identity":{"type":"BVN","number":"22212345678"},"documents":{"idFrontUrl":"https://sudo-documents.s3.amazonaws.com/customers/64a1b2c3d4e5f6a7b8c9d0e1/id-front.png","idBackUrl":"https://sudo-documents.s3.amazonaws.com/customers/64a1b2c3d4e5f6a7b8c9d0e1/id-back.png","addressVerificationUrl":"https://sudo-documents.s3.amazonaws.com/customers/64a1b2c3d4e5f6a7b8c9d0e1/utility-bill.pdf"}},"billingAddress":{"line1":"4 Barnawa Close","line2":"Off Challawa Crescent","city":"Barnawa","state":"Kaduna","postalCode":"800243","country":"Nigeria"},"createdAt":"2024-09-06T12:34:56.789Z","updatedAt":"2024-09-07T09:15:00.000Z","__v":0}}}},"exampleType":"examples"}},"exampleType":"examples"},"a4925598-addc-4ffe-b945-41b653c63c12":{"description":"Validation error — one or more fields are invalid.","content":{"application/json":{"schema":{"type":"object","required":["statusCode","message"],"properties":{"statusCode":{"type":"integer","description":"HTTP status code for the failed request.","isRequired":true,"uniqueKey":"statusCode","typeLabel":"integer"},"message":{"type":"string","description":"Human-readable description of the error.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"data":{"type":"null","description":"No response payload is returned for an error.","uniqueKey":"data","typeLabel":"null"}},"uniqueKey":"","typeLabel":"object"},"example":{"statusCode":400,"message":"\"status\" must be one of [active, inactive]","data":null},"examples":{"Example":{"title":"Example","value":{"statusCode":400,"message":"\"status\" must be one of [active, inactive]","data":null}}},"exampleType":"examples"}},"exampleType":"examples"},"bc6a6bbd-d9fc-45ad-ba52-378abf216e8f":{"description":"Authentication failed — missing or invalid API key.","content":{"application/json":{"schema":{"type":"object","required":["statusCode","message"],"properties":{"statusCode":{"type":"integer","description":"HTTP status code for the failed request.","isRequired":true,"uniqueKey":"statusCode","typeLabel":"integer"},"message":{"type":"string","description":"Human-readable description of the error.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"data":{"type":"null","description":"No response payload is returned for an error.","uniqueKey":"data","typeLabel":"null"}},"uniqueKey":"","typeLabel":"object"},"example":{"statusCode":401,"message":"Unauthorized. Provide a valid API key in the Authorization header.","data":null},"examples":{"Example":{"title":"Example","value":{"statusCode":401,"message":"Unauthorized. Provide a valid API key in the Authorization header.","data":null}}},"exampleType":"examples"}},"exampleType":"examples"},"f53b2d5b-5956-49eb-9f20-517b47716c5c":{"description":"No customer exists with the supplied id.","content":{"application/json":{"schema":{"type":"object","required":["statusCode","message"],"properties":{"statusCode":{"type":"integer","description":"HTTP status code for the failed request.","isRequired":true,"uniqueKey":"statusCode","typeLabel":"integer"},"message":{"type":"string","description":"Human-readable description of the error.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"data":{"type":"null","description":"No response payload is returned for an error.","uniqueKey":"data","typeLabel":"null"}},"uniqueKey":"","typeLabel":"object"},"example":{"statusCode":404,"message":"Customer not found.","data":null},"examples":{"Example":{"title":"Example","value":{"statusCode":404,"message":"Customer not found.","data":null}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"382c7c40-6f98-4695-a479-e95030640a06":{"sec0":{"type":"apiKey","in":"header","name":"Authorization","x-bearer-format":"bearer","x-default":"{{APIKey}}","scopes":[],"schemeName":"sec0"}}},"servers":{"cf545e2d-d094-497e-b3d3-01d65265413d":{"url":"https://api.sandbox.sudo.cards","description":"Sandbox"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"Authorization","x-bearer-format":"bearer","x-default":"{{APIKey}}","scopes":[],"schemeName":"sec0"},"schema":{"title":"Authorization","type":"string","isRequired":true,"default":"{{APIKey}}","typeLabel":"string","deprecated":false},"schemeName":"sec0","name":"Authorization"}],"title":"sec0"}]},"originalFileLocation":"openapi.json"},"subdomain":"sudoafricainc","siteName":"Sudo Developer Documentation","title":"Update Customer - Sudo Developer Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-22T12:50:48.328Z","originalFileLocation":"reference/update-customer.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=\"Updates the specific customer by setting the values of the parameters provided. Only provided parameters will be changed. Fields left out of individual or company (such as identity, dob and documents) keep their stored values.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Sudo Developer Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sudoafricainc/oq71R5vBAPrTjBZS/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/sudoafricainc/oq71R5vBAPrTjBZS/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sudoafricainc/oq71R5vBAPrTjBZS/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/sudoafricainc/oq71R5vBAPrTjBZS/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/sudoafricainc/oq71R5vBAPrTjBZS/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sudoafricainc/oq71R5vBAPrTjBZS/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sudoafricainc/oq71R5vBAPrTjBZS/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/sudoafricainc/oq71R5vBAPrTjBZS/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/sudoafricainc/oq71R5vBAPrTjBZS/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update Customer - Sudo Developer Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Updates the specific customer by setting the values of the parameters provided. Only provided parameters will be changed. Fields left out of individual or company (such as identity, dob and documents) keep their stored values.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Sudo Developer Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.sudo.africa/reference/update-customer\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sudoafricainc.mintlify.site/_mintlify/api/og/v2?division=Customers\u0026amp;title=Update+Customer\u0026amp;description=Updates+the+specific+customer+by+setting+the+values+of+the+parameters+provided.+Only+provided+parameters+will+be+changed.+Fields+left+out+of+%60individual%60+or+%60co\u0026amp;theme=41b0407a45f05dc9293b858a\u0026amp;signature=00df535e88e3542b05c7d9cbe75cf912d964c2f2d0bb79ac4a2062d43758e56f\">\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=\"Update Customer - Sudo Developer Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Updates the specific customer by setting the values of the parameters provided. Only provided parameters will be changed. Fields left out of individual or company (such as identity, dob and documents) keep their stored values.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sudoafricainc.mintlify.site/_mintlify/api/og/v2?division=Customers\u0026amp;title=Update+Customer\u0026amp;description=Updates+the+specific+customer+by+setting+the+values+of+the+parameters+provided.+Only+provided+parameters+will+be+changed.+Fields+left+out+of+%60individual%60+or+%60co\u0026amp;theme=41b0407a45f05dc9293b858a\u0026amp;signature=00df535e88e3542b05c7d9cbe75cf912d964c2f2d0bb79ac4a2062d43758e56f\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/sudoafricainc/oq71R5vBAPrTjBZS/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Sudo Developer Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.sudo.africa/reference/update-customer\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/reference/update-customer.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.sudo.africa/#organization\",\"name\":\"Sudo Developer Documentation\",\"url\":\"https://docs.sudo.africa\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/sudoafricainc/0rYEZ-verRngCGW6/images/333e137-small-sudo-black.png?fit=max\u0026auto=format\u0026n=0rYEZ-verRngCGW6\u0026q=85\u0026s=f1abf960ebbfc77f55d8421c9fdbfe16\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.sudo.africa#website\",\"name\":\"Sudo Developer Documentation\",\"url\":\"https://docs.sudo.africa\",\"publisher\":{\"@id\":\"https://docs.sudo.africa/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.sudo.africa/reference/update-customer#webpage\",\"url\":\"https://docs.sudo.africa/reference/update-customer\",\"name\":\"Update Customer\",\"description\":\"Updates the specific customer by setting the values of the parameters provided. Only provided parameters will be changed. Fields left out of individual or company (such as identity, dob and documents) keep their stored values.\",\"dateModified\":\"2026-10-22T12:50:48.328Z\",\"isPartOf\":{\"@id\":\"https://docs.sudo.africa#website\"},\"breadcrumb\":{\"@id\":\"https://docs.sudo.africa/reference/update-customer#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.sudo.africa/reference/update-customer#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Customers\",\"item\":\"https://docs.sudo.africa/reference/customers\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update Customer\",\"item\":\"https://docs.sudo.africa/reference/update-customer\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.sudo.africa/reference/update-customer#apireference\",\"headline\":\"Update Customer\",\"name\":\"Update Customer\",\"description\":\"Updates the specific customer by setting the values of the parameters provided. Only provided parameters will be changed. Fields left out of individual or company (such as identity, dob and documents) keep their stored values.\",\"url\":\"https://docs.sudo.africa/reference/update-customer\",\"mainEntityOfPage\":{\"@id\":\"https://docs.sudo.africa/reference/update-customer#webpage\"},\"dateModified\":\"2026-10-22T12:50:48.328Z\",\"publisher\":{\"@id\":\"https://docs.sudo.africa/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.sudo.africa#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Sudo Developer Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Sudo Developer Documentation","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/docs/getting-started"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"Introduction","href":"/reference/introduction"}]},{"group":"Customers","pages":[{"title":"Overview","href":"/reference/customers"},{"openapi":"openapi.json post /customers","title":"Create Customer","href":"/reference/create-customer"},{"openapi":"openapi.json get /customers","title":"Get Customers","href":"/reference/get-customers"},{"openapi":"openapi.json get /customers/{id}","title":"Get Customer","description":"Fetches a specific customer object. Provide the customer `_id` and the corresponding object will be returned.","href":"/reference/get-customer"},{"openapi":"openapi.json put /customers/{id}","title":"Update Customer","href":"/reference/update-customer"},{"openapi":"openapi.json put /customers/{id}/documents/url","title":"Generate Customer Document URL","description":"Get a link to upload a customer's KYC document, such as the front of their ID.\n\n1. Call this endpoint with the `fileName` and the `fileType` of the image (`image/jpeg`, `image/png` or `image/webp` for ID images).\n2. Upload the file with an HTTP `PUT` to `data.signedUrl` within 2 minutes, sending the same `Content-Type` as `fileType`.\n3. Save `data.url` on the customer, for example as `individual.documents.idFrontUrl`, using [Update Customer](/reference/update-customer).\n\nUploading a file with the same `fileName` again replaces the previous one.","href":"/reference/generate-customer-document-url"}]},{"group":"Funding Sources","pages":[{"title":"Overview","href":"/reference/funding-sources"},{"openapi":"openapi.json post /fundingsources","title":"Create Funding Source","href":"/reference/create-funding-source"},{"openapi":"openapi.json get /fundingsources","title":"Get Funding Sources","href":"/reference/get-funding-sources"},{"openapi":"openapi.json get /fundingsources/{id}","title":"Get Funding Source","href":"/reference/get-funding-source"},{"openapi":"openapi.json put /fundingsources/{id}","title":"Update Funding Source","href":"/reference/update-funding-source"}]},{"group":"Card Programs","pages":[{"title":"Overview","href":"/reference/card-programs"},{"openapi":"openapi.json post /card-programs","title":"Create Card Program","href":"/reference/create-card-program"},{"openapi":"openapi.json get /card-programs","title":"Get Card Programs","href":"/reference/get-card-programs"},{"openapi":"openapi.json get /card-programs/{id}","title":"Get a Card Program","href":"/reference/get-card-program"},{"openapi":"openapi.json get /card-programs/{id}/cards","title":"Get Cards By a Program","href":"/reference/get-card-program-cards"},{"openapi":"openapi.json patch /card-programs/{id}","title":"Update a Card Program","href":"/reference/update-card-program"}]},{"group":"Cards","pages":[{"title":"Overview","href":"/reference/cards"},{"openapi":"openapi.json post /cards","title":"Create Card","href":"/reference/create-card"},{"openapi":"openapi.json get /cards","title":"Get Cards","href":"/reference/get-cards"},{"openapi":"openapi.json get /cards/customer/{id}","title":"Get Customer Cards","href":"/reference/get-customer-cards"},{"openapi":"openapi.json get /cards/{id}","title":"Get Card","href":"/reference/get-card"},{"openapi":"openapi.json get /cards/{id}/balance","title":"Get Card Balance","href":"/reference/get-card-balance"},{"openapi":"openapi.json put /cards/{id}/send-pin","title":"Send Default Card PIN","href":"/reference/send-default-card-pin"},{"openapi":"openapi.json put /cards/{id}/pin","title":"Change Card PIN","href":"/reference/change-card-pin"},{"openapi":"openapi.json put /cards/{id}/enroll2fa","title":"Enroll Card for 2FA","href":"/reference/enroll-card-for-2fa"},{"openapi":"openapi.json put /cards/{id}","title":"Update Card","href":"/reference/update-card"},{"openapi":"openapi.json get /cards/{id}/token","title":"Generate Card Token","href":"/reference/generate-card-token"},{"openapi":"openapi.json put /cards/digitalize/{id}","title":"Digitalize Card","href":"/reference/card-digitalization"},{"openapi":"openapi.json post /cards/order","title":"Order Cards","href":"/reference/order-cards"}]},{"group":"Accounts","pages":[{"title":"Overview","href":"/reference/accounts"},{"openapi":"openapi.json post /accounts","title":"Create Account","href":"/reference/create-account"},{"openapi":"openapi.json get /accounts","title":"Get Accounts","href":"/reference/get-accounts"},{"openapi":"openapi.json get /accounts/{id}","title":"Get Account","href":"/reference/get-account"},{"openapi":"openapi.json get /accounts/{id}/balance","title":"Get Account Balance","href":"/reference/get-account-balance"},{"openapi":"openapi.json get /accounts/{id}/transactions","title":"Get Account Transactions","href":"/reference/get-account-transactions"},{"openapi":"openapi.json post /accounts/transfer","title":"Fund Transfer","href":"/reference/fund-transfer"},{"openapi":"openapi.json get /accounts/transfer/rate/{currencyPair}","title":"Transfer Rate","href":"/reference/transfer-rate"}]},{"group":"Authorizations","pages":[{"title":"Overview","href":"/reference/authorizations"},{"openapi":"openapi.json get /cards/authorizations","title":"Get Authorizations","href":"/reference/get-authorizations"},{"openapi":"openapi.json get /cards/{id}/authorizations","title":"Get Card Authorizations","href":"/reference/get-card-authorizations"},{"openapi":"openapi.json get /cards/authorizations/{id}","title":"Get Authorization","href":"/reference/get-authorization"},{"openapi":"openapi.json put /cards/authorizations/{id}","title":"Update Authorization","href":"/reference/update-authorization"}]},{"group":"Transactions","pages":[{"title":"Overview","href":"/reference/transactions"},{"openapi":"openapi.json get /cards/transactions","title":"Get Transactions","href":"/reference/get-transactions"},{"openapi":"openapi.json get /cards/{id}/transactions","title":"Get Card Transactions","href":"/reference/get-card-transactions"},{"openapi":"openapi.json get /cards/transactions/{id}","title":"Get Transaction","href":"/reference/get-transaction"},{"openapi":"openapi.json put /cards/transactions/{id}","title":"Update Transaction","href":"/reference/update-transaction"}]},{"group":"Disputes","pages":[{"title":"Overview","href":"/reference/disputes"},{"openapi":"openapi.json post /cards/disputes","title":"Create Dispute","href":"/reference/create-dispute"},{"openapi":"openapi.json get /cards/disputes","title":"Get Disputes","href":"/reference/get-disputes"},{"openapi":"openapi.json get /cards/disputes/{id}","title":"Get Dispute","href":"/reference/get-dispute"},{"openapi":"openapi.json put /cards/disputes/{id}","title":"Update Dispute","href":"/reference/update-dispute"}]},{"group":"Simulator (Sandbox Only)","pages":[{"title":"Overview","href":"/reference/simulators"},{"openapi":"openapi.json post /accounts/simulator/fund","title":"Fund Account","href":"/reference/fund-account"},{"openapi":"openapi.json get /cards/simulator/generate","title":"Generate Test Physical Card","href":"/reference/generate-test-card"},{"openapi":"openapi.json post /cards/simulator/balance_enqiry","title":"Balance Enquiry","href":"/reference/balance-enquiry"},{"openapi":"openapi.json post /cards/simulator/authorization","title":"Simulate Authorization","href":"/reference/simulate-authorization"},{"openapi":"openapi.json get /cards/simulator/authorization/{id}/reversal","title":"Simulate Authorization Reversal","href":"/reference/simulate-authorization-reversal"}]}]}]},"basePath":"","title":"Update Customer - Sudo Developer Documentation","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-i2a3QZ8E.js","utils-ChLwp8m0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DRktVTDc.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CA2pEs4T.js","snippetPresets-ClQ6XrKD.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Ct_Lv36y.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Cn2PYw9e.js","shallow-rkyymjXQ.js","getApiPlaygroundDisplay-BB9vkXtE.js","CodeSnippet-Bm5RU7m1.js","CodeSnippets-BgU9Deuz.js","Page-BUDYNlhG.js","getPastedJson-BD-6NNum.js","icon-8Z6tud2e.js","MethodPill-Tuzr4g3V.js","DuplicateIcon-0ceWFYhN.js","createIcon-FBXow_ST.js","DynamicMarkdown-CD8713Yy.js","SectionHeading-7zgzQbH-.js","axios-vUo_bRtp.js","Markdown-D7Ofw1oz.js","clsx-eKJ4rcii.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CwjSCXIK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-9EK5IAXV.js"]}