Create Organization​
POST
/bridge-payment/organizations
Create a new organization. The authenticated user automatically becomes the owner. Guest users cannot create organizations. All fields except name are optional.
Authorizations​
SessionAuth
Session ID from Flowless authentication
TypeAPI Key (header: X-Session-ID)
Request Body​
application/json
JSON
{
"name": "Acme Corporation",
"business_phone": "+1-555-0123",
"tax_id": "12-3456789",
"address": "123 Main St, San Francisco, CA 94105"
}
Responses​
Organization created successfully
application/json
JSON
{
"success": true,
"data": {
"id": "org_abc123",
"name": "Acme Corporation",
"owner_user_id": "user_xyz789",
"business_phone": "+1-555-0123",
"tax_id": "12-3456789",
"address": "123 Main St, San Francisco, CA 94105",
"created_at": "string",
"updated_at": "string"
}
}