{
"error": {
"type": "invalid_request",
"message": "The card must be active to perform this action.",
"request_id": "req_01JZ8R2Q4V",
"code": "card_not_active",
"param": "card_id"
}
}
{
"error": {
"type": "invalid_request",
"message": "The card must be active to perform this action.",
"request_id": "req_01JZ8R2Q4V",
"code": "card_not_active",
"param": "card_id"
}
}
{
"error": {
"type": "invalid_request",
"message": "The card must be active to perform this action.",
"request_id": "req_01JZ8R2Q4V",
"code": "card_not_active",
"param": "card_id"
}
}
{
"error": {
"type": "invalid_request",
"message": "The card must be active to perform this action.",
"request_id": "req_01JZ8R2Q4V",
"code": "card_not_active",
"param": "card_id"
}
}
{
"error": {
"type": "invalid_request",
"message": "The card must be active to perform this action.",
"request_id": "req_01JZ8R2Q4V",
"code": "card_not_active",
"param": "card_id"
}
}
{
"error": {
"type": "invalid_request",
"message": "The card must be active to perform this action.",
"request_id": "req_01JZ8R2Q4V",
"code": "card_not_active",
"param": "card_id"
}
}
{
"error": {
"type": "invalid_request",
"message": "The card must be active to perform this action.",
"request_id": "req_01JZ8R2Q4V",
"code": "card_not_active",
"param": "card_id"
}
}
{
"error": {
"type": "invalid_request",
"message": "The card must be active to perform this action.",
"request_id": "req_01JZ8R2Q4V",
"code": "card_not_active",
"param": "card_id"
}
}
{
"error": {
"type": "invalid_request",
"message": "The card must be active to perform this action.",
"request_id": "req_01JZ8R2Q4V",
"code": "card_not_active",
"param": "card_id"
}
}
{
"error": {
"type": "invalid_request",
"message": "The card must be active to perform this action.",
"request_id": "req_01JZ8R2Q4V",
"code": "card_not_active",
"param": "card_id"
}
}
Authorizations
Authorization
string
header
required
Secret API key, e.g. sk_live_... or sk_test_....
Path Parameters
customer_id
string
required
Response
OK.
An individual or business that cards are issued to.
id
string
required
read-only
Unique identifier, prefixed with cus_.
Example:
"cus_01JZ8M4X7K"
object
enum<string>
required
read-only
Object type.
Available options:
customer
type
enum<string>
required
Available options:
individual,
business
status
enum<string>
required
Available options:
active,
inactive
created_at
string<date-time>
required
read-only
Time the customer was created.
external_id
string
Your own identifier for this customer. Must be unique within your account.
Example:
"user_10492"
name
object
Show child attributes
email
string<email>
Example:
"alex.morgan@example.com"
phone
string
Phone number in E.164 format. Required for wallet provisioning and 3DS OTP delivery.
Example:
"+34600000000"
metadata
object
Up to 50 key-value pairs for your own reference. Values are strings up to 500 characters.
Show child attributes
Example:
{ "cost_center": "marketing" }
updated_at
string<date-time>
read-only
Time the customer was last updated.
{"docsConfig":{"theme":"palm","$schema":"https://mintlify.com/docs.json","name":"PointZero Developers Hub","colors":{"primary":"#6AF401","light":"#6AF401","dark":"#6AF401"},"logo":{"light":"https://mintcdn.com/pointzero/EzDrtWUFnqOLCrcX/images/LogoLockup1.svg?fit=max\u0026auto=format\u0026n=EzDrtWUFnqOLCrcX\u0026q=85\u0026s=efb616d465f29d1eae6663f701b9db0b","dark":"https://mintcdn.com/pointzero/EzDrtWUFnqOLCrcX/images/LogoLockup1.svg?fit=max\u0026auto=format\u0026n=EzDrtWUFnqOLCrcX\u0026q=85\u0026s=efb616d465f29d1eae6663f701b9db0b","href":"https://pointzero.io"},"favicon":{"light":"https://mintcdn.com/pointzero/EzDrtWUFnqOLCrcX/images/Icons3.svg?fit=max\u0026auto=format\u0026n=EzDrtWUFnqOLCrcX\u0026q=85\u0026s=436cb6f60211733d059a055662010e14","dark":"https://mintcdn.com/pointzero/EzDrtWUFnqOLCrcX/images/Icons3.svg?fit=max\u0026auto=format\u0026n=EzDrtWUFnqOLCrcX\u0026q=85\u0026s=436cb6f60211733d059a055662010e14"},"api":{"playground":{"display":"interactive"},"examples":{"languages":["curl","javascript","python"]}},"appearance":{"default":"dark"},"background":{"color":{"light":"#B9B0C1","dark":"#141214"}},"navbar":{"links":[{"href":"mailto:support@pointzero.io","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.pointzero.io"}},"footer":{"socials":{"website":"https://pointzero.io"}},"fonts":{"family":"Inter"},"contextual":{"options":["copy","view","download-spec","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"pointzero","hasAudioNarration":false,"actualSubdomain":"pointzero","customDomains":["docs.pointzero.io"],"gitSource":{"type":"github","owner":"mintlify-community","repo":"docs-pointzero-68de2859","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b1101159ffae5051c41de4a"},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6afacb9a68b1903921ed7bf4","clientVersion":"0.0.4436","searchFilterCounts":[{"language":"default","tag":"API Reference","count":34},{"language":"default","tag":"Endpoints","count":33},{"language":"default","tag":"Guides","count":17},{"language":"default","tag":"Cards","count":9},{"language":"default","tag":"API Basics","count":6},{"language":"default","tag":"Card Issuing","count":6},{"language":"default","tag":"Get Started","count":4},{"language":"default","tag":"Customers","count":4},{"language":"default","tag":"Disputes","count":3},{"language":"default","tag":"Physical Cards","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"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":"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":"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":"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":"turbopuffer-dual-write","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":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/customers/retrieve-a-customer","slug":"/api-reference/customers/retrieve-a-customer","pageMetadata":{"title":"Retrieve a customer","description":"Returns a single customer by its ID.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /customers/{customer_id}","href":"/api-reference/customers/retrieve-a-customer","autogeneratedByOpenApi":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: \"Returns a single customer by its ID.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Retrieve a customer","description":"Returns a single customer by its ID.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /customers/{customer_id}","href":"/api-reference/customers/retrieve-a-customer","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Customers"],"operationId":"getCustomer","summary":"Retrieve a customer","description":"Returns a single customer by its ID.","parameters":["16787c3b-ff1b-412e-8f90-2dc270fd32db"],"responses":{"200":"55ae0e9d-2578-4d7f-9a0a-5541211a1638","400":"95dafc73-429a-4e2b-9241-7ef6d41c9b15","401":"8ed73f81-737c-4f86-b97d-f700c24b03a3","403":"32d27413-82f2-4134-b8de-62405beba0da","404":"0751871b-a3c3-4b0c-a933-2461b93edb9f","429":"d0655b36-af5e-4f6b-9889-32a4a458601a"},"method":"get","type":"path","servers":["050c0edf-0de0-4889-af09-4e9a43fa1a5e","9b6ae0f9-a0e1-4492-a438-633f08e2112a"],"security":["ee3f7df6-b378-41fa-8cc6-a813263f3a97"],"path":"/customers/{customer_id}","baseUrlOptions":["https://api.pointzero.io/v1","https://sandbox.api.pointzero.io/v1"],"title":"Retrieve a customer","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"16787c3b-ff1b-412e-8f90-2dc270fd32db":{"name":"customer_id","in":"path","required":true,"schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"},"example":"cus_01JZ8M4X7K"}},"responses":{"55ae0e9d-2578-4d7f-9a0a-5541211a1638":{"description":"OK.","content":{"application/json":{"schema":{"type":"object","description":"An individual or business that cards are issued to.","required":["id","object","type","status","created_at"],"properties":{"id":{"type":"string","description":"Unique identifier, prefixed with `cus_`.","example":"cus_01JZ8M4X7K","readOnly":true,"isRequired":true,"uniqueKey":"id","typeLabel":"string"},"object":{"type":"string","enum":["customer"],"description":"Object type.","readOnly":true,"isRequired":true,"uniqueKey":"object","typeLabel":"enum\u003cstring>"},"type":{"type":"string","enum":["individual","business"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["active","inactive"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","description":"Time the customer was created.","readOnly":true,"isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"external_id":{"type":"string","description":"Your own identifier for this customer. Must be unique within your account.","example":"user_10492","uniqueKey":"external_id","typeLabel":"string"},"name":{"type":"object","properties":{"first":{"type":"string","maxLength":100,"example":"Alex","uniqueKey":"name.first","typeLabel":"string"},"last":{"type":"string","maxLength":100,"example":"Morgan","uniqueKey":"name.last","typeLabel":"string"}},"uniqueKey":"name","typeLabel":"object"},"email":{"type":"string","format":"email","example":"alex.morgan@example.com","uniqueKey":"email","typeLabel":"string\u003cemail>"},"phone":{"type":"string","description":"Phone number in E.164 format. Required for wallet provisioning and 3DS OTP delivery.","example":"+34600000000","uniqueKey":"phone","typeLabel":"string"},"metadata":{"type":"object","description":"Up to 50 key-value pairs for your own reference. Values are strings up to 500 characters.","additionalProperties":{"type":"string","maxLength":500,"uniqueKey":"metadata.additionalProperties","typeLabel":"string"},"example":{"cost_center":"marketing"},"uniqueKey":"metadata","typeLabel":"object"},"updated_at":{"type":"string","format":"date-time","description":"Time the customer was last updated.","readOnly":true,"uniqueKey":"updated_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"cus_01JZ8M4X7K","object":"customer","type":"individual","status":"active","created_at":"2023-11-07T05:31:56Z","external_id":"user_10492","name":{"first":"Alex","last":"Morgan"},"email":"alex.morgan@example.com","phone":"+34600000000","metadata":{"cost_center":"marketing"},"updated_at":"2023-11-07T05:31:56Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"95dafc73-429a-4e2b-9241-7ef6d41c9b15":{"description":"The request is malformed or missing required parameters.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["type","message","request_id"],"properties":{"type":{"type":"string","enum":["invalid_request","authentication_error","permission_error","not_found","conflict","rate_limit","api_error"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"message":{"type":"string","example":"The card must be active to perform this action.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","example":"req_01JZ8R2Q4V","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"code":{"type":"string","example":"card_not_active","uniqueKey":"error.code","typeLabel":"string"},"param":{"oneOf":[{"type":"string","example":"card_id","uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","example":"card_id","uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.param","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"invalid_request","message":"The card must be active to perform this action.","request_id":"req_01JZ8R2Q4V","code":"card_not_active","param":"card_id"}}}},"exampleType":"generated"}},"exampleType":"generated"},"8ed73f81-737c-4f86-b97d-f700c24b03a3":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["type","message","request_id"],"properties":{"type":{"type":"string","enum":["invalid_request","authentication_error","permission_error","not_found","conflict","rate_limit","api_error"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"message":{"type":"string","example":"The card must be active to perform this action.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","example":"req_01JZ8R2Q4V","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"code":{"type":"string","example":"card_not_active","uniqueKey":"error.code","typeLabel":"string"},"param":{"oneOf":[{"type":"string","example":"card_id","uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","example":"card_id","uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.param","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"invalid_request","message":"The card must be active to perform this action.","request_id":"req_01JZ8R2Q4V","code":"card_not_active","param":"card_id"}}}},"exampleType":"generated"}},"exampleType":"generated"},"32d27413-82f2-4134-b8de-62405beba0da":{"description":"The API key does not have access to this resource.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["type","message","request_id"],"properties":{"type":{"type":"string","enum":["invalid_request","authentication_error","permission_error","not_found","conflict","rate_limit","api_error"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"message":{"type":"string","example":"The card must be active to perform this action.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","example":"req_01JZ8R2Q4V","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"code":{"type":"string","example":"card_not_active","uniqueKey":"error.code","typeLabel":"string"},"param":{"oneOf":[{"type":"string","example":"card_id","uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","example":"card_id","uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.param","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"invalid_request","message":"The card must be active to perform this action.","request_id":"req_01JZ8R2Q4V","code":"card_not_active","param":"card_id"}}}},"exampleType":"generated"}},"exampleType":"generated"},"0751871b-a3c3-4b0c-a933-2461b93edb9f":{"description":"The resource does not exist.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["type","message","request_id"],"properties":{"type":{"type":"string","enum":["invalid_request","authentication_error","permission_error","not_found","conflict","rate_limit","api_error"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"message":{"type":"string","example":"The card must be active to perform this action.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","example":"req_01JZ8R2Q4V","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"code":{"type":"string","example":"card_not_active","uniqueKey":"error.code","typeLabel":"string"},"param":{"oneOf":[{"type":"string","example":"card_id","uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","example":"card_id","uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.param","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"invalid_request","message":"The card must be active to perform this action.","request_id":"req_01JZ8R2Q4V","code":"card_not_active","param":"card_id"}}}},"exampleType":"generated"}},"exampleType":"generated"},"d0655b36-af5e-4f6b-9889-32a4a458601a":{"description":"Too many requests. Retry after the time given in `Retry-After`.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["type","message","request_id"],"properties":{"type":{"type":"string","enum":["invalid_request","authentication_error","permission_error","not_found","conflict","rate_limit","api_error"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"message":{"type":"string","example":"The card must be active to perform this action.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","example":"req_01JZ8R2Q4V","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"code":{"type":"string","example":"card_not_active","uniqueKey":"error.code","typeLabel":"string"},"param":{"oneOf":[{"type":"string","example":"card_id","uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","example":"card_id","uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.param","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"invalid_request","message":"The card must be active to perform this action.","request_id":"req_01JZ8R2Q4V","code":"card_not_active","param":"card_id"}}}},"exampleType":"generated"}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying."}},"exampleType":"generated"}},"security":{"ee3f7df6-b378-41fa-8cc6-a813263f3a97":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Secret API key, e.g. `sk_live_...` or `sk_test_...`.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"050c0edf-0de0-4889-af09-4e9a43fa1a5e":{"url":"https://api.pointzero.io/v1","description":"Production"},"9b6ae0f9-a0e1-4492-a438-633f08e2112a":{"url":"https://sandbox.api.pointzero.io/v1","description":"Sandbox"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Secret API key, e.g. `sk_live_...` or `sk_test_...`.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Secret API key, e.g. `sk_live_...` or `sk_test_...`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"pointzero","siteName":"PointZero Developers Hub","title":"Retrieve a customer - PointZero Developers Hub","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-05T20:12:49.449Z","originalFileLocation":"api-reference/customers/retrieve-a-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=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Returns a single customer by its ID.\">\u003cmeta data-mint-head name=\"application-name\" content=\"PointZero Developers Hub\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/pointzero/fdiTtlQumSnsitkp/_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/pointzero/fdiTtlQumSnsitkp/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/pointzero/fdiTtlQumSnsitkp/_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/pointzero/fdiTtlQumSnsitkp/_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/pointzero/fdiTtlQumSnsitkp/_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/pointzero/fdiTtlQumSnsitkp/_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/pointzero/fdiTtlQumSnsitkp/_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/pointzero/fdiTtlQumSnsitkp/_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/pointzero/fdiTtlQumSnsitkp/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Retrieve a customer - PointZero Developers Hub\">\u003cmeta data-mint-head property=\"og:description\" content=\"Returns a single customer by its ID.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"PointZero Developers Hub\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.pointzero.io/api-reference/customers/retrieve-a-customer\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://pointzero.mintlify.site/_mintlify/api/og/v2?division=Customers\u0026amp;title=Retrieve+a+customer\u0026amp;description=Returns+a+single+customer+by+its+ID.\u0026amp;theme=74f7072de6843c0bfe34c739\u0026amp;signature=433da37c83ad8e26dda744ae214bbc3c2673ac2bcb20541d3e18b5c5c21f8201\">\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=\"Retrieve a customer - PointZero Developers Hub\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Returns a single customer by its ID.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://pointzero.mintlify.site/_mintlify/api/og/v2?division=Customers\u0026amp;title=Retrieve+a+customer\u0026amp;description=Returns+a+single+customer+by+its+ID.\u0026amp;theme=74f7072de6843c0bfe34c739\u0026amp;signature=433da37c83ad8e26dda744ae214bbc3c2673ac2bcb20541d3e18b5c5c21f8201\">\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/pointzero/fdiTtlQumSnsitkp/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"PointZero Developers Hub\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6AF401\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.pointzero.io/api-reference/customers/retrieve-a-customer\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/customers/retrieve-a-customer.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.pointzero.io/#organization\",\"name\":\"PointZero Developers Hub\",\"url\":\"https://docs.pointzero.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/pointzero/EzDrtWUFnqOLCrcX/images/LogoLockup1.svg?fit=max\u0026auto=format\u0026n=EzDrtWUFnqOLCrcX\u0026q=85\u0026s=efb616d465f29d1eae6663f701b9db0b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.pointzero.io#website\",\"name\":\"PointZero Developers Hub\",\"url\":\"https://docs.pointzero.io\",\"publisher\":{\"@id\":\"https://docs.pointzero.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.pointzero.io/api-reference/customers/retrieve-a-customer#webpage\",\"url\":\"https://docs.pointzero.io/api-reference/customers/retrieve-a-customer\",\"name\":\"Retrieve a customer\",\"description\":\"Returns a single customer by its ID.\",\"dateModified\":\"2026-10-05T20:12:49.449Z\",\"isPartOf\":{\"@id\":\"https://docs.pointzero.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.pointzero.io/api-reference/customers/retrieve-a-customer#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.pointzero.io/api-reference/customers/retrieve-a-customer#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.pointzero.io/api-reference/programs/list-programs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Customers\",\"item\":\"https://docs.pointzero.io/api-reference/customers/list-customers\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Retrieve a customer\",\"item\":\"https://docs.pointzero.io/api-reference/customers/retrieve-a-customer\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.pointzero.io/api-reference/customers/retrieve-a-customer#apireference\",\"headline\":\"Retrieve a customer\",\"name\":\"Retrieve a customer\",\"description\":\"Returns a single customer by its ID.\",\"url\":\"https://docs.pointzero.io/api-reference/customers/retrieve-a-customer\",\"mainEntityOfPage\":{\"@id\":\"https://docs.pointzero.io/api-reference/customers/retrieve-a-customer#webpage\"},\"dateModified\":\"2026-10-05T20:12:49.449Z\",\"publisher\":{\"@id\":\"https://docs.pointzero.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.pointzero.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"PointZero Developers Hub\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"PointZero Developers Hub\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/customers/retrieve-a-customer.md","siteName":"PointZero Developers Hub","nav":{"global":null,"tabs":[{"tab":"Guides","icon":"book-open","pages":[{"title":"Guides","href":""}]},{"tab":"API Reference","icon":"code","groups":[{"group":"Overview","pages":[{"title":"API reference","sidebarTitle":"Introduction","href":"/api-reference/introduction"}]},{"group":"Endpoints","pages":[{"group":"Programs","pages":[{"title":"List programs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /programs","href":"/api-reference/programs/list-programs"},{"title":"Retrieve a program","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /programs/{program_id}","href":"/api-reference/programs/retrieve-a-program"}]},{"group":"Customers","pages":[{"title":"List customers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /customers","href":"/api-reference/customers/list-customers"},{"title":"Create a customer","description":"Creates an individual or business customer that you can issue cards to. Add a `phone` in E.164 format if you plan to provision the customer's cards to a wallet or use 3DS OTP.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /customers","href":"/api-reference/customers/create-a-customer"},{"title":"Retrieve a customer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /customers/{customer_id}","href":"/api-reference/customers/retrieve-a-customer"},{"title":"Update a customer","description":"Updates the given fields. Fields not included are left unchanged.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /customers/{customer_id}","href":"/api-reference/customers/update-a-customer"}]},{"group":"Cards","pages":[{"title":"List cards","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /cards","href":"/api-reference/cards/list-cards"},{"title":"Create a card","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /cards","href":"/api-reference/cards/create-a-card"},{"title":"Retrieve a card","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /cards/{card_id}","href":"/api-reference/cards/retrieve-a-card"},{"title":"Update a card","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /cards/{card_id}","href":"/api-reference/cards/update-a-card"},{"title":"Freeze a card","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /cards/{card_id}/freeze","href":"/api-reference/cards/freeze-a-card"},{"title":"Unfreeze a card","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /cards/{card_id}/unfreeze","href":"/api-reference/cards/unfreeze-a-card"},{"title":"Terminate a card","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /cards/{card_id}/terminate","href":"/api-reference/cards/terminate-a-card"},{"title":"Replace a card","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /cards/{card_id}/replace","href":"/api-reference/cards/replace-a-card"},{"title":"Update spending controls","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /cards/{card_id}/spending-controls","href":"/api-reference/cards/update-spending-controls"}]},{"group":"Authorization Controls","pages":[{"title":"Retrieve authorization controls","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /cards/{card_id}/authorization-controls","href":"/api-reference/authorization-controls/retrieve-authorization-controls"},{"title":"Update authorization controls","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /cards/{card_id}/authorization-controls","href":"/api-reference/authorization-controls/update-authorization-controls"}]},{"group":"3D Secure","pages":[{"title":"Retrieve 3DS settings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /cards/{card_id}/3ds","href":"/api-reference/3d-secure/retrieve-3ds-settings"},{"title":"Update 3DS settings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /cards/{card_id}/3ds","href":"/api-reference/3d-secure/update-3ds-settings"}]},{"group":"Wallets","pages":[{"title":"List wallet tokens","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /cards/{card_id}/wallet-tokens","href":"/api-reference/wallets/list-wallet-tokens"},{"title":"Provision to a wallet","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /cards/{card_id}/wallet-tokens","href":"/api-reference/wallets/provision-to-a-wallet"},{"title":"Remove from a wallet","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /cards/{card_id}/wallet-tokens/{wallet_token_id}","href":"/api-reference/wallets/remove-from-a-wallet"}]},{"group":"Physical Cards","pages":[{"title":"Retrieve a physical card order","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /cards/{card_id}/physical-order","href":"/api-reference/physical-cards/retrieve-a-physical-card-order"},{"title":"Order a physical card","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /cards/{card_id}/physical-order","href":"/api-reference/physical-cards/order-a-physical-card"},{"title":"Cancel a physical card order","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /cards/{card_id}/physical-order/cancel","href":"/api-reference/physical-cards/cancel-a-physical-card-order"}]},{"group":"PIN","pages":[{"title":"Retrieve PIN status","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /cards/{card_id}/pin","href":"/api-reference/pin/retrieve-pin-status"},{"title":"Set PIN","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /cards/{card_id}/pin","href":"/api-reference/pin/set-pin"},{"title":"Unblock PIN","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /cards/{card_id}/pin/unblock","href":"/api-reference/pin/unblock-pin"}]},{"group":"Transactions","pages":[{"title":"List transactions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /transactions","href":"/api-reference/transactions/list-transactions"},{"title":"Retrieve a transaction","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /transactions/{transaction_id}","href":"/api-reference/transactions/retrieve-a-transaction"}]},{"group":"Disputes","pages":[{"title":"List disputes","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /disputes","href":"/api-reference/disputes/list-disputes"},{"title":"Create a dispute","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /disputes","href":"/api-reference/disputes/create-a-dispute"},{"title":"Retrieve a dispute","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /disputes/{dispute_id}","href":"/api-reference/disputes/retrieve-a-dispute"}]}]}]}]},"basePath":"","title":"Retrieve a customer - PointZero Developers Hub","deploymentId":"dpl_AYyV3CY85Zsy44WzfDVuMiAS7PWU","buildId":"dpl_AYyV3CY85Zsy44WzfDVuMiAS7PWU","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DPBgY0Zl.js","snippetPresets-DfrK5Qk-.js","utils-BhOu8MoY.js","style-to-object-BY3JEAdk.js","utils-uJw0j5Le.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Bf5DiN6S.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DIo_VyID.js","_Uint8Array-BCCZOmlk.js","isObject-FP1Yky1u.js","ApiExamples-btA_N7J3.js","usePlaygroundInputsStore-D9E8vgOP.js","shallow-BXJ3D3rC.js","isEqual-DTxWZblT.js","CodeSnippets-yZyeAOhB.js","CodeSnippet-DNSgsmyp.js","use-playground-group-access-B6tdpwEQ.js","Page-C_4zetsC.js","api-description-markdown-Bnx5o_aC.js","DynamicMarkdown-DGZbG3dj.js","SectionHeading-Su-XbcWJ.js","MethodPill-BEHdnIWE.js","getPastedJson-MUjpQ42l.js","Check2Icon-HQrwfTCD.js","axios-CsQoIw0U.js","Markdown-D9ZX5drj.js","AssistantPageLink-BDewKJsB.js","dist-1NU8F86Q.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}