curl --request POST \
--url http://localhost/mogl/mogl-backend/api/submitStripePaymentsaved \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"milestone_id": 1,
"athlete_id": 123,
"type": "job",
"notes": "Payment for deliverable",
"is_collective": "Y",
"stripe_fee": 2.5,
"fbc": null,
"fbp": null
}
'curl --request POST \
--url http://localhost/mogl/mogl-backend/api/submitStripePaymentsaved \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"milestone_id": 1,
"athlete_id": 123,
"type": "job",
"notes": "Payment for deliverable",
"is_collective": "Y",
"stripe_fee": 2.5,
"fbc": null,
"fbp": null
}
'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.
JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.
Job ID (NOT job_id)
1
Milestone/deliverable ID
1
Athlete user ID
123
Payment type
"job"
Payment notes
"Payment for deliverable"
Collective payment flag
Y, N, Yes, No "Y"
Optional Stripe fee override (server computes if omitted)
2.5
Facebook click ID (for pixel tracking)
null
Facebook browser ID (for pixel tracking)
null
Payment submitted with saved card