Fetch a customer
Customers
Fetch a customer
Returns a single customer scoped to the calling integration.
The path id is the GlobalStack external identifier (cust_…) returned by
POST /v1/customers and GET /v1/customers.
Errors
-
400 invalid_input—customer_iddoes not start withcust_. This catches callers passing a non-GlobalStack id. -
404 not_found— returned for all lookup misses:- the id does not exist;
- the customer exists but belongs to a different integration;
These cases share a single 404 response so a caller cannot distinguish “doesn’t exist” from “belongs to someone else”.
Example
GET /v1/customers/cust_01HXYZABC1234567890ABCDEFG
GET
Fetch a customer
Authorizations
API key issued during merchant onboarding.
Path Parameters
Pattern:
[^\/#\?]+?