API version: unstable
API version: 2021-07 Release candidate
API version: 2021-04 Latest
API version: 2021-01
API version: 2020-10
API version: 2020-07
API version: 2020-04
API version: 2020-01 Unsupported
API version: 2019-10 Unsupported

CustomerPaymentMethod object

Version unstable

A customer's payment method.

Required access

read_customers access scope.

Connections

  • subscriptionContracts (SubscriptionContractConnection!)

    List Subscription Contracts.

    Argument Description
    after ( String )

    Returns the elements that come after the specified cursor.

    before ( String )

    Returns the elements that come before the specified cursor.

    first ( Int )

    Returns up to the first n elements from the list.

    last ( Int )

    Returns up to the last n elements from the list.

    reverse ( Boolean )

    Reverse the order of the underlying list.
    Default value: false

Fields

  • customer (Customer)

    The customer to whom the payment method belongs.

  • id (ID!)

    The ID of this payment method.

  • The instrument for this payment method.

  • revokedAt (DateTime)

    The time that the payment method was revoked.

Types that return CustomerPaymentMethod

Mutations for CustomerPaymentMethod

Implements

Version unstable

An auto-generated type for paginating through multiple CustomerPaymentMethods.

Fields

Types that return CustomerPaymentMethod

Mutations for CustomerPaymentMethod

Version unstable

An auto-generated type which holds one CustomerPaymentMethod and a cursor during pagination.

Fields

Types that return CustomerPaymentMethod

Mutations for CustomerPaymentMethod

Version 2021-07 (Release candidate)

A customer's payment method.

Required access

read_customers access scope.

Connections

  • subscriptionContracts (SubscriptionContractConnection!)

    List Subscription Contracts.

    Argument Description
    after ( String )

    Returns the elements that come after the specified cursor.

    before ( String )

    Returns the elements that come before the specified cursor.

    first ( Int )

    Returns up to the first n elements from the list.

    last ( Int )

    Returns up to the last n elements from the list.

    reverse ( Boolean )

    Reverse the order of the underlying list.
    Default value: false

Fields

  • customer (Customer)

    The customer to whom the payment method belongs.

  • id (ID!)

    The ID of this payment method.

  • The instrument for this payment method.

  • revokedAt (DateTime)

    The time that the payment method was revoked.

Types that return CustomerPaymentMethod

Mutations for CustomerPaymentMethod

Implements

Version 2021-07 (Release candidate)

An auto-generated type for paginating through multiple CustomerPaymentMethods.

On this page

Fields

Version 2021-07 (Release candidate)

An auto-generated type which holds one CustomerPaymentMethod and a cursor during pagination.

Fields

Types that return CustomerPaymentMethodEdge

Version 2021-04 (Latest)

A customer's payment method.

Required access

read_customers access scope.

Connections

  • subscriptionContracts (SubscriptionContractConnection!)

    List Subscription Contracts.

    Argument Description
    after ( String )

    Returns the elements that come after the specified cursor.

    before ( String )

    Returns the elements that come before the specified cursor.

    first ( Int )

    Returns up to the first n elements from the list.

    last ( Int )

    Returns up to the last n elements from the list.

    reverse ( Boolean )

    Reverse the order of the underlying list.
    Default value: false

Fields

  • customer (Customer)

    The customer to whom the payment method belongs.

  • id (ID!)

    The ID of this payment method.

  • The instrument for this payment method.

  • revokedAt (DateTime)

    The time that the payment method was revoked.

Types that return CustomerPaymentMethod

Mutations for CustomerPaymentMethod

Implements

Version 2021-04 (Latest)

An auto-generated type for paginating through multiple CustomerPaymentMethods.

On this page

Fields

Version 2021-04 (Latest)

An auto-generated type which holds one CustomerPaymentMethod and a cursor during pagination.

Fields

Types that return CustomerPaymentMethodEdge

Version 2021-01

A customer's payment method.

Required access

read_customers access scope.

Connections

  • subscriptionContracts (SubscriptionContractConnection!)

    List Subscription Contracts.

    Argument Description
    after ( String )

    Returns the elements that come after the specified cursor.

    before ( String )

    Returns the elements that come before the specified cursor.

    first ( Int )

    Returns up to the first n elements from the list.

    last ( Int )

    Returns up to the last n elements from the list.

    reverse ( Boolean )

    Reverse the order of the underlying list.
    Default value: false

Fields

  • customer (Customer)

    The customer to whom the payment method belongs.

  • id (ID!)

    The ID of this payment method.

  • The instrument for this payment method.

  • revokedAt (DateTime)

    The time that the payment method was revoked.

Types that return CustomerPaymentMethod

Mutations for CustomerPaymentMethod

Implements

Version 2021-01

An auto-generated type for paginating through multiple CustomerPaymentMethods.

On this page

Fields

Version 2021-01

An auto-generated type which holds one CustomerPaymentMethod and a cursor during pagination.

Fields

Types that return CustomerPaymentMethodEdge