Pine LabsDOCS

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

NameTypeDescription
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

200Service provider token(s) retrieved successfully.
400The request was malformed or missing required fields.
401Authentication failed — missing, expired, or invalid Bearer token.
403The authenticated client does not have permission for this operation.
404The requested resource does not exist.
500An unexpected error occurred on the server.
503Service 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

identifier
400 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"
  }
}