---
title: "Get a customer profile subprofile"
method: GET
path: "/{customer_profile_id}/subprofiles/{subprofile_id}"
---

# Get a customer profile subprofile

`GET /{customer_profile_id}/subprofiles/{subprofile_id}`

## Request

- Base URL: `https://api-sandbox.straitsx.com/v1/customer_profile`
- URL: `https://api-sandbox.straitsx.com/v1/customer_profile/{customer_profile_id}/subprofiles/{subprofile_id}`
- Auth: none required

[Available in Sandbox/Production environment] Retrieve a single subprofile by ID.

## Path parameters

- `customer_profile_id` string, required
- `subprofile_id` string, required

## Headers

- `X-XFERS-APP-API-KEY` string, required
- `X-PUBLIC-KEY-ID` string
- `X-TIMESTAMP` string
- `X-NONCE` string
- `X-SIGNATURE` string

## Response `200`

200

- object
  - `data` object
    - `type` string
    - `id` string: Unique subprofile ID.
    - `attributes` object
      - `referenceId` string: Merchant-provided unique reference for this subprofile.
      - `tradingName` string: Display name of the subprofile.
      - `address` object
        - `street` string: Street address.
        - `city` string: City.
        - `state` string: State or province.
        - `postalCode` string: Postal code.
        - `country` string: ISO 3166-1 alpha-2 country code.
      - `status` 'pending' | 'active' | 'disabled': Subprofile status.
      - `createdAt` string: Timestamp when the subprofile was created.
      - `updatedAt` string: Timestamp when the subprofile was last updated.

## Other responses

- `404`: 404 - Not found

---

[API](https://skmtc.dev/straitsx/apis/sandbox-customer-profile-api-sandbox-prod.md) - [All operations](https://skmtc.dev/straitsx/apis/sandbox-customer-profile-api-sandbox-prod/llms.txt) - [OpenAPI document](https://skmtc.dev/straitsx/apis/sandbox-customer-profile-api-sandbox-prod/revisions/fba039809316?raw)
