diff --git a/src/_includes/graphql/customer-payment-tokens.md b/src/_includes/graphql/customer-payment-tokens.md index 65db8ba43f4..9000c34d476 100644 --- a/src/_includes/graphql/customer-payment-tokens.md +++ b/src/_includes/graphql/customer-payment-tokens.md @@ -4,7 +4,7 @@ The `CustomerPaymentTokens` output object contains an array of `items`. Attribute | Data Type | Description --- | --- | --- -`items` | [PaymentToken] | Contains an array of customer payment tokens +`items` | [PaymentToken]! | Contains an array of customer payment tokens ### PaymentToken attributes @@ -13,6 +13,6 @@ The `PaymentToken` object defines characteristics of a token stored in the payme Attribute | Data Type | Description --- | --- | --- `details` | String | Stored account details -`payment_method_code` | String | The payment method code associated with the token -`public_hash` | String | The public hash of the token generated by the vault provider -`type` | `PaymentTokenTypeEnum` | `card` or `account` +`payment_method_code` | String! | The payment method code associated with the token +`public_hash` | String! | The public hash of the token generated by the vault provider +`type` | `PaymentTokenTypeEnum!` | `card` or `account` diff --git a/src/guides/v2.3/graphql/mutations/delete-payment-token.md b/src/guides/v2.3/graphql/mutations/delete-payment-token.md index 23b71262a6b..dd62c70a93c 100644 --- a/src/guides/v2.3/graphql/mutations/delete-payment-token.md +++ b/src/guides/v2.3/graphql/mutations/delete-payment-token.md @@ -58,6 +58,13 @@ mutation { } } ``` +## Input attributes + +The `deletePaymentToken` object must contain the following attributes. + +Attribute | Data Type | Description +--- | --- | --- +`public_hash` | `String!` | The public hash of the token ## Output attributes @@ -70,7 +77,7 @@ The `DeletePaymentTokenOutput` object returns the result of the operation and de Attribute | Data Type | Description --- | --- | --- `customerPaymentTokens` | `CustomerPaymentTokens` | Contains an array of customer payment tokens -`result` | Boolean | A value of `true` indicates the request was successful +`result` | Boolean! | A value of `true` indicates the request was successful {% include graphql/customer-payment-tokens.md %}