portal-www
Version:
Nova Portal Website. Based on Next starter by Ueno
35 lines (33 loc) • 596 B
text/typescript
import gql from 'graphql-tag';
export const ADD_PAYMENTMETHOD = gql`
mutation AddPaymentMethod($input: AddPaymentMethodsInput!) {
addPaymentMethod(input: $input) {
customerId
id
isDefault
name
status
type
... on CreditCardPaymentMethod {
id
customerId
type
status
isDefault
maskedNumber
nick
issuer
expiry
name
}
... on BankClaimPaymentMethod {
id
customerId
type
status
isDefault
name
}
}
}
`;