INPUT_OBJECT

SetDefaultPaymentMethodInput

The input to be provided to the setDefaultPaymentMethod mutation.

link GraphQL Schema definition

1input SetDefaultPaymentMethodInput {
5
2# Country (ISO-3166) associated to the billing info for the customer's payment
3# method.
4billingCountry: String
8
6# The last four digits of the user provided account number.
7lastFour: String
11
9# Payment type used via the payment provider.
10paymentType: PaymentInstrumentType!
14
12# The payment provider we're updating the payment method on.
13provider: PaymentProvider!
17
15# The token used to verify the selected payment method.
16token: String!
20
18# The user to set default payment method for.
19userID: ID!
21}