POST /v1/integrations/stripe/{familyId}/payment-methods/{paymentMethodId}/set-default

Path parameters

  • familyId string Required

    Family ID

  • paymentMethodId string Required

    Stripe Payment Method ID

Responses

  • 204

    Successful operation with no content

  • 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}/payment-methods/{paymentMethodId}/set-default
curl \
 --request POST 'https://api-dev.classmanager.io/v1/integrations/stripe/fml_123123123123/payment-methods/pm_123123123123/set-default'
Response examples (403)
{
  "statusCode": 42.0,
  "messages": [
    "string"
  ],
  "exception": {}
}
Response examples (404)
{
  "statusCode": 42.0,
  "messages": [
    "string"
  ],
  "exception": {}
}