For Developers

Payment Methods Overview

A Payment Method represents a credit card, debit card, or ACH bank account saved to the team's Stripe customer account for automated invoice settlement.

Properties

PropertyTypeDescription
idStringStripe payment method identifier (e.g. pm_...).
typeStringMethod type: card or us_bank_account.
cardObjectCard details (brand, last4, exp_month, exp_year).
primaryBooleanTrue if this is the default payment method for recurring invoices.

JSON Example

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