payment_methods
Overview
Name | payment_methods |
Type | Resource |
Id | linode.account.payment_methods |
Fields
Name | Datatype | Description |
---|---|---|
id | integer | The unique ID of this Payment Method. |
created | string | When the Payment Method was added to the Account. |
data | `` | |
is_default | boolean | Whether this Payment Method is the default method for automatically processing service charges. |
type | string | The type of Payment Method. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
getPaymentMethod | SELECT | paymentMethodId | View the details of the specified Payment Method. |
getPaymentMethods | SELECT | Returns a paginated list of Payment Methods for this Account. | |
createPaymentMethod | INSERT | data__data, data__is_default, data__type | 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 using the Account Update (PUT /account) endpoint.* A payment_method_add event is generated when a payment is successfully submitted. |
deletePaymentMethod | DELETE | paymentMethodId | Deactivate the specified Payment Method. The default Payment Method can not be deleted. To add a new default Payment Method, access the Payment Method Add (POST /account/payment-methods) endpoint. To designate an existing Payment Method as the default method, access the Payment Method Make Default (POST /account/payment-methods/{paymentMethodId}/make-default) endpoint. |
_getPaymentMethod | EXEC | paymentMethodId | View the details of the specified Payment Method. |
_getPaymentMethods | EXEC | Returns a paginated list of Payment Methods for this Account. | |
makePaymentMethodDefault | EXEC | paymentMethodId | Make the specified Payment Method the default method for automatically processing payments. Removes the default status from any other Payment Method. |