GET /v1/integrations/stripe/{family}/payment-methods

List Stripe Payment Method

Path parameters

  • family string Required

    Family ID

Responses

  • 200 application/json

    List collection response

    Hide response attributes Show response attributes object
    • id string Required

      Stripe ID

    • type string Required

      Values are acss_debit, affirm, afterpay_clearpay, alipay, amazon_pay, au_becs_debit, bacs_debit, bancontact, blik, boleto, card, card_present, cashapp, customer_balance, eps, fpx, giropay, grabpay, ideal, interac_present, klarna, konbini, link, mobilepay, multibanco, oxxo, p24, paynow, paypal, pix, promptpay, revolut_pay, sepa_debit, sofort, swish, twint, us_bank_account, wechat_pay, or zip.

    • isDefault boolean Required

      Is default

    • data object Required

      One of:
  • 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

GET /v1/integrations/stripe/{family}/payment-methods
curl \
 --request GET 'https://api.classmanager.io/v1/integrations/stripe/fml_123123123123/payment-methods'
Response examples (200)
[
  {
    "id": "pm_123456789",
    "type": "acss_debit",
    "isDefault": true,
    "data": {
      "brand": "amex",
      "country": "US",
      "expiryMonth": 12,
      "expiryYear": 2023,
      "cardNumber": "************4242",
      "last4": "4242"
    }
  }
]
Response examples (403)
{
  "statusCode": 42.0,
  "messages": [
    "string"
  ],
  "exception": {}
}