# Get Service Provider Token

**Method:** `GET`

**Path:** `/api/v1/tokens/{identifier}`

**Category:** Tokenization

**Authentication:** Required

## Description

Retrieve service provider token information. The `identifier` path parameter
can be either:
- A **customer_id** — returns a list of all service provider tokens for that customer.
- A **token_id** — returns a single service provider token by its unique ID.

The response structure varies based on whether a customer_id or token_id is provided.


## Path Parameters

- `identifier` (`string`) **required** — Customer ID or Token ID. When a customer_id is provided, returns all service
provider tokens for that customer. When a token_id is provided, returns the
specific token details.


## Responses

- `200` — Service provider token(s) retrieved successfully.
- `400` — 
- `401` — 
- `403` — 
- `404` — 
- `500` — 
- `503` — Service temporarily unavailable.

---

Reference: https://localhost:3000/api/tokenization/get-service-provider-token
