Payment Methods

List payment methods

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

Request

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

Path parameters

organizationNamestring required

Organization name

Example:my-org

Query parameters

ending_beforestring

Cursor for pagination (ending before this ID)

Example:in_1234567890
limitnumber nullable

Number of items to return

Example:10
starting_afterstring

Cursor for pagination (starting after this ID)

Example:in_0987654321

Response

Payment methods

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.