POST /v1/integrations/stripe/{familyId}/setup-intents

Path parameters

  • familyId string Required

    Family ID

Responses

  • 200 application/json

    successful operation

    Hide response attributes Show response attributes object
    • id string Required

      ID

    • clientSecret string Required

      Client secret

    • customerId string Required

      Customer ID

    • createdAt string(date-time) Required

      Created at

    • status string Required

      Values are canceled, processing, requires_action, requires_confirmation, requires_payment_method, or succeeded.

    • paymentMethodTypes array[string] Required

      Payment method types

  • 403 application/json

    Not authorized

    Hide response attributes Show response attributes object

    Error schema

    • statusCode number Required

      Status Code

    • messages array[string] Required

      List of error messages

    • exception object

      Exception

  • 404 application/json

    Not found

    Hide response attributes Show response attributes object

    Error schema

    • statusCode number Required

      Status Code

    • messages array[string] Required

      List of error messages

    • exception object

      Exception

POST /v1/integrations/stripe/{familyId}/setup-intents
curl \
 --request POST 'https://api.classmanager.io/v1/integrations/stripe/fml_123123123123/setup-intents'
Response examples (200)
{
  "id": "seti_123123123123",
  "clientSecret": "seti_123123123123_secret_xxx",
  "customerId": "cus_123123123123",
  "createdAt": "2024-06-12T09:39:49.000000Z",
  "status": "canceled",
  "paymentMethodTypes": [
    "string"
  ]
}
Response examples (403)
{
  "statusCode": 42.0,
  "messages": [
    "string"
  ],
  "exception": {}
}
Response examples (404)
{
  "statusCode": 42.0,
  "messages": [
    "string"
  ],
  "exception": {}
}