PaymentMethods

Get an organization billing payment method

Changed on

Returns one payment method for the current user or organization, including card metadata used for billing management.

get/payment-methods/{id}

Request

  • Base URL
    https://api.leadping.ai
  • Auth
    HTTP bearer

Path parameters

id, string required

The ID of the payment method to retrieve.

Response

Payment method was successfully retrieved.

StripePaymentMethodResponse required

Describes Stripe payment method data used in Leadping API requests and responses.

type, 'card' | 'link'

Reusable payment types supported for immediate billing payments.

walletName, string nullable

The wallet name when supplied by a digital wallet.

id, string required

Unique Leadping identifier for this Stripe payment method.

brand, string nullable

Card network brand, such as Visa, Mastercard, or American Express.

last4, string nullable

Last four digits of the payment card number.

expMonth, integer

Two-digit month when the card expires.

expYear, integer

Four-digit year when the card expires.

isDefault, boolean

Whether this Stripe payment method is default.

createdAt, string date-time nullable

UTC timestamp for created at on this Stripe payment method.

Changes

    • info

      added the non-success response with the status

    • breaking

      the response property allOf[#/components/schemas/StripePaymentMethodResponse]/brand became nullable for the status

    • breaking

      the response property allOf[#/components/schemas/StripePaymentMethodResponse]/last4 became nullable for the status

    4 more changes in this revision