Skip to main content
GET
Check for a saved card
Saving or replacing a card uses the console’s secure card form; there is no API for it. The response contains saved, defaultPaymentMethodId, and cards. Each card includes only its ID, brand, last four digits, and expiration month and year. Only cards attached to your organization are returned.

Authorizations

Authorization
string
header
required

Create an organization API key in Account Settings > Developer. Do not send this key to the Kubernetes API server.

Query Parameters

require_saved
enum<boolean>

Return 409 payment_method_required if no attached default card is saved. Omit to read status without requiring a card.

Available options:
true

Response

Saved-card status.

saved
boolean
required

Whether the default method is still attached to your organization.

defaultPaymentMethodId
string
required

Empty when there is no attached default card.

cards
object[]
required