Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit f46b40d

Browse files
Added input attribute for delete payment token mutation (#6822)
* Added input attributes for delete payment Token mutation * Adding non nullable attribute data type Co-authored-by: Kevin Harper <keharper@users.noreply.github.com>
1 parent 229a826 commit f46b40d

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

src/_includes/graphql/customer-payment-tokens.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The `CustomerPaymentTokens` output object contains an array of `items`.
44

55
Attribute | Data Type | Description
66
--- | --- | ---
7-
`items` | [PaymentToken] | Contains an array of customer payment tokens
7+
`items` | [PaymentToken]! | Contains an array of customer payment tokens
88

99
### PaymentToken attributes
1010

@@ -13,6 +13,6 @@ The `PaymentToken` object defines characteristics of a token stored in the payme
1313
Attribute | Data Type | Description
1414
--- | --- | ---
1515
`details` | String | Stored account details
16-
`payment_method_code` | String | The payment method code associated with the token
17-
`public_hash` | String | The public hash of the token generated by the vault provider
18-
`type` | `PaymentTokenTypeEnum` | `card` or `account`
16+
`payment_method_code` | String! | The payment method code associated with the token
17+
`public_hash` | String! | The public hash of the token generated by the vault provider
18+
`type` | `PaymentTokenTypeEnum!` | `card` or `account`

src/guides/v2.3/graphql/mutations/delete-payment-token.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@ mutation {
5858
}
5959
}
6060
```
61+
## Input attributes
62+
63+
The `deletePaymentToken` object must contain the following attributes.
64+
65+
Attribute | Data Type | Description
66+
--- | --- | ---
67+
`public_hash` | `String!` | The public hash of the token
6168

6269
## Output attributes
6370

@@ -70,7 +77,7 @@ The `DeletePaymentTokenOutput` object returns the result of the operation and de
7077
Attribute | Data Type | Description
7178
--- | --- | ---
7279
`customerPaymentTokens` | `CustomerPaymentTokens` | Contains an array of customer payment tokens
73-
`result` | Boolean | A value of `true` indicates the request was successful
80+
`result` | Boolean! | A value of `true` indicates the request was successful
7481

7582
{% include graphql/customer-payment-tokens.md %}
7683

0 commit comments

Comments
 (0)