Pine LabsDOCS

Delete Token by Token ID

POST/api/v1/tokens/{token_id}/delete

Delete a service provider token by its token ID. This permanently deactivates the token.

Requires Bearer token. Get token →

Path Parameters

NameTypeDescription
token_id
stringrequired

Unique token ID to delete.

Response

NameTypeDescription
token_id
string

Token ID that was deleted.

status
string

Token status after deletion.

Status Codes

200Token deleted 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 POST \
  --url https://pluraluat.v2.pinepg.in/api/v1/tokens/token-v1-1234567890-aa-ABCDEF/delete \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Run this request

token_id
200 OK
{
  "token_id": "token-v1-1234567890-aa-ABCDEF",
  "status": "DEACTIVATED"
}