Users

Get current user's billing payment method

Changed on

Returns the current user's default payment method details for billing displays and account payment management.

get/users/me/paymentmethod

Request

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

Response

Returns the Stripe payment method response.

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

    • info

      added the non-success response with the status

    • breaking

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

    5 more changes in this revision