Accept invite
POST {{baseUrl}}/{{version}}/invites/accept/{{invite_id}}
This endpoint enables a coach or club admin to accept a player invite.
Players on the app can only request to join a team which triggers a notification to the club admin. Only when accepted a player can join a club as this is connected to the primary pricing model where the club is charged per/player per/month.
The club admin my chose to pass the cost directly to the player. This is the secondary pricing model where the player stays in a Waiting Payment
status.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | A valid JWT token |
RESPONSES
status: OK
{"error":false,"code":200,"message":"Account has been added."}