@akamai/openapi-ts
    Preparing search index...

    Type Alias GetPaymentMethodsResponses

    type GetPaymentMethodsResponses = {
        "200": {
            data: {
                created: string;
                data:
                    | { card_type: string; expiry: string; last_four: string }
                    | { card_type: string; expiry: string; last_four: string }
                    | { email: string; paypal_id: string };
                id: number;
                is_default: boolean;
                type: "credit_card" | "google_pay" | "paypal";
            }[];
            page: number;
            pages: number;
            results: number;
        };
    }
    Index

    Properties

    Properties

    "200": {
        data: {
            created: string;
            data:
                | { card_type: string; expiry: string; last_four: string }
                | { card_type: string; expiry: string; last_four: string }
                | { email: string; paypal_id: string };
            id: number;
            is_default: boolean;
            type: "credit_card" | "google_pay" | "paypal";
        }[];
        page: number;
        pages: number;
        results: number;
    }

    Returns a paginated list of Payment Method objects.

    Type Declaration

    • data: {
          created: string;
          data:
              | { card_type: string; expiry: string; last_four: string }
              | { card_type: string; expiry: string; last_four: string }
              | { email: string; paypal_id: string };
          id: number;
          is_default: boolean;
          type: "credit_card" | "google_pay" | "paypal";
      }[]
    • Readonlypage: number

      Read-only The current page.

    • Readonlypages: number

      Read-only The total number of pages.

    • Readonlyresults: number

      Read-only The total number of results.