Payment Methods

Get default payment method

get/v3/subscriptions/payment-methods/{organizationName}/default

Request

  • Base URL: https://api.zephyr-cloud.io
  • URL: https://api.zephyr-cloud.io/v3/subscriptions/payment-methods/{organizationName}/default
  • Auth: HTTP bearer

Path parameters

organizationNamestring required

Organization name

Example:my-org

Response

Default payment method

idstring required

Payment method ID

typestring required

Payment method type

Example response

{
  "id": "pm_1234567890",
  "type": "card",
  "card": {
    "brand": "visa",
    "last4": "4242",
    "exp_month": 12,
    "exp_year": 2025,
    "funding": "credit",
    "country": "US"
  },
  "billing_details": {
    "name": "John Doe",
    "email": "john@example.com"
  }
}

Changes

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