@@ -1715,7 +1715,7 @@ paths:
17151715 description: |
17161716 The type of Payment Method.
17171717
1718- Alternative Payment Methods including Google Pay can be added using Linode Cloud Manager. See our
1718+ Alternative Payment Methods including Google Pay and PayPal can be added using Linode Cloud Manager. See our
17191719 guide on [Managing Billing in the Cloud Manager](/docs/guides/manage-billing-in-cloud-manager/)
17201720 for details and instructions.
17211721 example: 'credit_card'
@@ -21158,6 +21158,7 @@ components:
2115821158 enum:
2115921159 - credit_card
2116021160 - google_pay
21161+ - paypal
2116121162 description: The type of Payment Method.
2116221163 example: 'credit_card'
2116321164 x-linode-cli-display: 2
@@ -21174,28 +21175,71 @@ components:
2117421175 description: When the Payment Method was added to the Account.
2117521176 example: '2018-01-15T00:01:01'
2117621177 data:
21177- type: object
21178- description: Credit card information.
21179- properties:
21180- card_type:
21181- type: string
21182- readOnly: true
21183- description: The type of credit card.
21184- example: "Discover"
21185- x-linode-cli-display: 8
21186- last_four:
21187- type: string
21188- readOnly: true
21189- description: The last four digits of the credit card number.
21190- example: "1234"
21191- x-linode-cli-display: 9
21192- expiry:
21193- type: string
21194- readOnly: true
21195- format: MM/YYYY
21196- description: The expiration month and year of the credit card.
21197- example: 06/2022
21198- x-linode-cli-display: 10
21178+ x-linode-cli-format: json
21179+ x-linode-cli-display: 4
21180+ oneOf:
21181+ - x-linode-ref-name: "Credit Card"
21182+ $ref: '#/components/schemas/CreditCardData'
21183+ - x-linode-ref-name: "Google Pay"
21184+ $ref: '#/components/schemas/GooglePayData'
21185+ - x-linode-ref-name: "Paypal"
21186+ $ref: '#/components/schemas/PayPalData'
21187+ discriminator:
21188+ propertyName: type
21189+ CreditCardData:
21190+ type: object
21191+ description: Credit card information.
21192+ properties:
21193+ card_type:
21194+ type: string
21195+ readOnly: true
21196+ description: The type of credit card.
21197+ example: "Discover"
21198+ last_four:
21199+ type: string
21200+ readOnly: true
21201+ description: The last four digits of the credit card number.
21202+ example: "1234"
21203+ expiry:
21204+ type: string
21205+ readOnly: true
21206+ format: MM/YYYY
21207+ description: The expiration month and year of the credit card.
21208+ example: 06/2022
21209+ GooglePayData:
21210+ type: object
21211+ description: Google Pay information.
21212+ properties:
21213+ card_type:
21214+ type: string
21215+ readOnly: true
21216+ description: The type of credit card.
21217+ example: "Discover"
21218+ last_four:
21219+ type: string
21220+ readOnly: true
21221+ description: The last four digits of the credit card number.
21222+ example: "1234"
21223+ expiry:
21224+ type: string
21225+ readOnly: true
21226+ format: MM/YYYY
21227+ description: The expiration month and year of the credit card.
21228+ example: 06/2022
21229+ PayPalData:
21230+ type: object
21231+ description: PayPal information.
21232+ properties:
21233+ email:
21234+ type: string
21235+ readOnly: true
21236+ description: The email address associated with your PayPal account.
21237+ example: "example@linode.com"
21238+ paypal_id:
21239+ type: string
21240+ readOnly: true
21241+ description: PayPal Merchant ID associated with your PayPal account.
21242+ example: "ABC1234567890"
2119921243 PaymentRequest:
2120021244 type: object
2120121245 required:
0 commit comments