Authorizations
Use your API token
curl --request POST \
--url https://psn-api.paystub.dev/admin/auth/refresh \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"token": {
"access_token": "<string>",
"token_type": "Bearer",
"expires_at": "2023-11-07T05:31:56Z"
}
}
}Refresh the current access token
curl --request POST \
--url https://psn-api.paystub.dev/admin/auth/refresh \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"token": {
"access_token": "<string>",
"token_type": "Bearer",
"expires_at": "2023-11-07T05:31:56Z"
}
}
}Use your API token