PaymentMethods

Set default payment method

Sets a payment method as the default for the current organization's future invoices and billing activity.

post/payment-methods/{id}/default

Request

  • Base URL: https://api.leadping.ai
  • URL: https://api.leadping.ai/payment-methods/{id}/default
  • Auth: HTTP bearer

Path parameters

idstring required

The unique identifier of the payment method to make the default.

Response

OK

idstring required

Unique Leadping identifier for this Stripe payment method.

brandstring required

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

last4string required

Last four digits of the payment card number.

expMonthinteger

Two-digit month when the card expires.

expYearinteger

Four-digit year when the card expires.

isDefaultboolean

Whether this Stripe payment method is default.

createdAtstring date-time nullable

UTC timestamp for created at on this Stripe payment method.

Changes

No recorded changes to this operation across all 1 revision of this API.