Skip to main content
POST
/
service
/
fanRequest
Fan requests a service from athlete
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/service/fanRequest \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "category_id": 1,
  "athlete_id": 123,
  "instruction_for_athlete": "Please create a personalized video",
  "service_amount": 50,
  "additional_amount": 5,
  "processing_fee": 5,
  "mogl_service_fee": 5
}
'

Documentation Index

Fetch the complete documentation index at: https://developer.mogl.online/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.

Body

application/json
category_id
integer

Service category ID (NOT service_id)

Example:

1

athlete_id
integer
Example:

123

instruction_for_athlete
string

Message to athlete (NOT message)

Example:

"Please create a personalized video"

service_amount
number<float>

Service amount (NOT amount)

Example:

50

additional_amount
number<float>
Example:

5

processing_fee
number<float>
Example:

5

mogl_service_fee
number<float>
Example:

5

Response

Service request submitted