Get Partner Details

Endpoint: GET /api/partner

Description: Retrieve information about the current partner ( yourself ) .

Example Request:

curl -X GET "https://api.tbns.io/functions/v1/api/partner" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Imh3a2htcWF2enphaWVvdmtvdHdiIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NDMwMDA3NDAsImV4cCI6MjA1ODU3Njc0MH0.nKjMLLZ7cY92nchtE2mFtBCOMqb0WWbiqkekaMqVFMU" \
  -H "X-Token: X-TOKEN"

Response: Returns partner information including ID, name, and website.

Notes

  • Empty results array indicates insufficient permissions

Last updated