Skip to main content
Get the authenticated user’s role in a business.
GET /api/v1/businesses/:businessId/me

Parameters

Path

NameTypeRequiredDescription
businessIdstringYesThe business ID

Request example

curl --request GET 'https://payments.bleepay.com/api/v1/businesses/biz_abc123/me' \
  --header 'Authorization: Bearer <business_token>'

Response

Response schema

FieldTypeDescription
rolestringUser’s role in this business
statusstringUser’s membership status

Example response

{
  "role": "OWNER",
  "status": "ACTIVE"
}