Skip to content

Conversation

@bbiggerr
Copy link
Contributor

  • Deprecate Credit Card Add/Edit (POST /account/credit-card)

To use this endpoint, you must have a valid `zip` entered for your Account.
Use the Account Update ([PUT /account](/docs/api/account/#account-update))
endpoint to enter a new zip code.
Adds a credit card Payment Method to your account and sets it as the default method.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this comment, it is stated "and sets it as the default method"

However, in another edit below, it states "with the option to set it as the default method."

This should be clarified to the correct statement in whichever place is incorrect.

Copy link
Contributor Author

@bbiggerr bbiggerr Jun 25, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This describes the behavior of the deprecated POST /account/credit-card endpoint, which takes in a different request body that doesn't include an is_default field, so it currently sets the payment method as the default automatically in the backend.

- Account
summary: Payment Method Add
description: |
Adds a Payment Method to your Account with the option to set it as the default method.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here is the other line from the comment above

openapi.yaml Outdated
maxLength: 4
format: digits
description: >
CVV (Card Verification Value) of the credit card, typically found on the back of the card. ****
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are the four asterisks here for?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A placeholder that I forgot to remove! Removing now...

@bbiggerr bbiggerr requested a review from yoshizzle June 25, 2021 19:05
Comment on lines -560 to -562
To use this endpoint, you must have a valid `zip` entered for your Account.
Use the Account Update ([PUT /account](/docs/api/account/#account-update))
endpoint to enter a new zip code.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This bit is still valid and this endpoint will still report an error if the listed zip is not valid. Should we keep it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reworded this a bit in the Payment Method Add description to be a bit broader. Agreed that this bit is still valid -- updating that description to be specific about requiring a valid zip as well.

@wildmanonline wildmanonline merged commit d2b24dc into linode:development Jun 28, 2021
LBGarber pushed a commit to LBGarber/linode-api-docs that referenced this pull request Jun 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants