Add a payment method

Adds a Payment Method to your Account with the option to set it as the default method.

  • Adding a default Payment Method removes the default status from any other Payment Method.

  • An Account can have up to 6 active Payment Methods.

  • Up to 60 Payment Methods can be added each day.

  • Prior to adding a Payment Method, ensure that your billing address information is up-to-date with a valid zip by running the Update your account operation.

  • A payment_method_add event is generated when a payment is successfully submitted.

Parent and child accounts

In the context of the parent and child accounts feature, this operation isn't available for child account users.

Permissions and scopes

To call this operation, you need permissions, based on the model you're using:

  • Identity and access permissions. Your user needs a role with these permissions. Learn more.

    • Permissions: create_payment_method
  • OAuth scopes. Your user needs these scopes assigned. Learn more.

    • Scopes: account:read_write

CLI

linode-cli payment-methods add \
  --type credit_card \
  --is_default true \
  --data.card_number 4111111111111111 \
  --data.expiry_month 11 \
  --data.expiry_year 2020 \
  --data.cvv 111

Learn more

Path Params
string
enum
required

Enum Call either the v4 URL, or v4beta for operations still in Beta.

Allowed:
Body Params

Payment Method Request Object.

data
object
required

An object representing the credit card information you have on file with Linode to make Payments against your Account.

boolean
required

Whether this Payment Method is the default method for automatically processing service charges.

string
enum
required

The type of Payment Method.

Alternative Payment Methods including Google Pay and PayPal can be added using the Cloud Manager. See the Manage Payment Methods guide
for details and instructions.

Allowed:
Responses

Language
Credentials
LoadingLoading…
Response
Choose an example:
application/json