v1

latestOpenAPI 3.1.0Copyright Pismo2026-07-247702,7523.1 MB
Customers

Get customer

Use the customer ID to get customer and associated entity details.

To get a list of customer IDs, call List account customers.

Depending on customer, either the person, company, or customer (less informational fields than person) object is returned.

get/accounts/v2/customers/{customerId}

Path parameters

customerIdinteger required
Example:12345

Customer ID

Response

Detailed customer and entity information associated with the given customer ID.

program_idnumber

Pismo program ID.

account_idinteger

Account ID

Example response

{
  "program_id": 1010,
  "account_id": 6912345,
  "entity": {
    "id": 1234567891,
    "name": "Chester Fields",
    "document_number": "7777888hh",
    "registration": "55555555",
    "birth_date": "1990-12-31",
    "gender": "M",
    "mothers_name": "Kay Sadilla",
    "marital_status": "MARRIED",
    "person": {
      "nationality": "Australian",
      "city_of_birth": "San Diego",
      "state_of_birth": "California",
      "country_of_birth": "India",
      "other_id_number": "29000000",
      "document_issued_at": "Brazil",
      "document_issued_date": "01/31/1970",
      "fathers_name": "Steven Douglas",
      "occupation": "Programmer",
      "assets": 40000,
      "income": 2000,
      "net_worth": 50000
    },
    "company": {
      "company_name": "Acme Inc.",
      "registration_number": "ACM10004",
      "activity": "Manufacturing",
      "company_type": "Retailer",
      "company_format": "ME",
      "company_constitution_date": "01/01/2019",
      "occupation": "CEO",
      "annual_revenues": 33000,
      "type": "B2C",
      "number_of_partners": 3,
      "perc_ownership": 50,
      "fiscal_situation": "Good",
      "debt": 18000,
      "income": 10000,
      "net_worth": 20000,
      "partners": [
        {
          "name": "Hyman Roth",
          "nickname": "Pinto",
          "printed_name": "Sarah Toga",
          "social_name": "Jack",
          "email": "jenna.flect@email.com",
          "document_number": "7777888hh",
          "mothers_name": "Kay Sadilla",
          "gender": "M",
          "birth_date": "31/12/1980",
          "city_of_birth": "San Diego",
          "state_of_birth": "California",
          "country_of_birth": "India",
          "fathers_name": "Steven Douglas",
          "marital_status": "MARRIED"
        }
      ]
    }
  },
  "customer": {
    "id": 5648988,
    "printed_name": "Sarah Toga",
    "social_name": "Jack",
    "nickname": "Pinto",
    "is_active": true,
    "email": "jenna.flect@email.com",
    "addresses": [
      {
        "address_id": 7654776,
        "type": "RESIDENTIAL"
      }
    ],
    "phones": [
      {
        "phone_id": 8714,
        "type": "MOBILE"
      }
    ]
  }
}