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

    Type Alias GetPaymentMethodResponses

    type GetPaymentMethodResponses = {
        "200": {
            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";
        };
    }
    Index

    Properties

    Properties

    "200": {
        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";
    }

    Payment Method Response Object.

    Type Declaration

    • Readonlycreated: string

      Read-only When the Payment Method was added to the Account.

    • data:
          | { card_type: string; expiry: string; last_four: string }
          | { card_type: string; expiry: string; last_four: string }
          | { email: string; paypal_id: string }
    • id: number

      The unique ID of this Payment Method.

    • is_default: boolean

      Whether this Payment Method is the default method for automatically processing service charges.

    • type: "credit_card" | "google_pay" | "paypal"

      The type of Payment Method.