Skip to main content
POST
/
create_connect
Create Stripe Connect account for athlete (bank account details, country hardcoded US)
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/create_connect \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "account_holder_name": "John Smith",
  "routing_number": "110000000",
  "account_number": "000123456789",
  "ssn_number": "1234"
}
'

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
account_holder_name
string
Example:

"John Smith"

routing_number
string
Example:

"110000000"

account_number
string
Example:

"000123456789"

ssn_number
string

SSN for Stripe identity verification (optional)

Example:

"1234"

Response

200

Connect account created/link returned