Skip to content

Commit 7595e68

Browse files
committed
Payment Methods List out of beta
1 parent ec2a40d commit 7595e68

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

openapi.yaml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1648,6 +1648,7 @@ paths:
16481648
x-linode-cli-command: account
16491649
get:
16501650
servers:
1651+
- url: https://api.linode.com/v4
16511652
- url: https://api.linode.com/v4beta
16521653
parameters:
16531654
- $ref: '#/components/parameters/pageOffset'
@@ -1658,11 +1659,6 @@ paths:
16581659
summary: Payment Methods List
16591660
description: |
16601661
Returns a paginated list of Payment Methods for this Account.
1661-
1662-
This endpoint is currently in **beta**. Please make sure to prepend all requests with
1663-
`/v4beta` instead of `/v4`, and be aware that this endpoint may receive breaking
1664-
updates in the future. This notice will be removed when this endpoint is out of
1665-
beta.
16661662
operationId: getPaymentMethods
16671663
x-linode-cli-action: payment-methods-list
16681664
security:
@@ -1683,20 +1679,16 @@ paths:
16831679
type: object
16841680
description: Payment Method object response.
16851681
properties:
1686-
method:
1682+
type:
16871683
type: string
16881684
description: The type of Payment Method.
16891685
example: 'credit_card'
16901686
x-linode-cli-display: 1
16911687
is_default:
1692-
type: integer
1688+
type: boolean
16931689
description: |
16941690
Whether this Payment Method is the default method for automatically processing service charges.
1695-
1696-
`0`: False
1697-
1698-
`1`: True
1699-
example: 1
1691+
example: true
17001692
x-linode-cli-display: 2
17011693
created:
17021694
type: string
@@ -1736,7 +1728,7 @@ paths:
17361728
- lang: Shell
17371729
source: >
17381730
curl -H "Authorization: Bearer $TOKEN" \
1739-
https://api.linode.com/v4beta/account/payment-methods
1731+
https://api.linode.com/v4/account/payment-methods
17401732
- lang: CLI
17411733
source: >
17421734
linode-cli account payment-methods-list

0 commit comments

Comments
 (0)