For Developers

Payment Methods Overview

A Payment Method is a Stripe payment method on the team's Stripe customer. Listing returns those Stripe objects. PATCH with { "primary": true } stores that method as the team's primary_payment_method_stripe_id. primary is not a field on the Stripe object.

Properties

PropertyTypeDescription
idStringStripe payment method identifier (for example pm_...).
typeStringStripe payment method type, such as card or us_bank_account.
cardObjectPresent when type is card. Includes Stripe fields such as brand, last4, exp_month, and exp_year.

JSON Example

{
    "id": "pm_1P48ab2eZvKYlo2C9482910a",
    "type": "card",
    "card": {
        "brand": "visa",
        "last4": "4242",
        "exp_month": 12,
        "exp_year": 2028
    }
}