Get Service Provider Token
GET
/api/v1/tokens/{identifier}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.
Requires
Bearer token. Get token →Path Parameters
| Name | Type | Description |
|---|---|---|
identifier | stringrequired | 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. |
Status Codes
200 | Service provider token(s) retrieved successfully. |
400 | The request was malformed or missing required fields. |
401 | Authentication failed — missing, expired, or invalid Bearer token. |
403 | The authenticated client does not have permission for this operation. |
404 | The requested resource does not exist. |
500 | An unexpected error occurred on the server. |
503 | Service temporarily unavailable. |
Request
curl --request GET \
--url https://pluraluat.v2.pinepg.in/api/v1/tokens/token-v1-1234567890-aa-ABCDEF \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Run this request
identifier400 Bad Request
{
"code": "INVALID_REQUEST",
"message": "The request does not meet the expected contract and cannot be processed. This may be due to malformed request, invalid or missing parameters",
"additional_error_details": {
"source": "INTERNAL",
"step": "request_validation",
"reason": "missing_required_fields"
}
}