API for Payment Methods.
Returns a list of available payment methods for this account.
Returns: | A list of dictionaries as described in payment_method.info() |
---|
Describes a payment method.
Parameters: | payment_method_id (String) – the unique id of the payment method |
---|---|
Returns: | A dictionary with the following keys:
The following keys are only included where the payment method is a card or billing account.
|
Remove a payment card from the account.
To remove a payment method that is the default payment method for the account, you must first set the default to a different payment method using payment_method.set_default().
Parameters: | payment_method_id (String) – the unique id of the payment method |
---|---|
Returns: | A dictionary as described in payment_method.info(), with status=’DELETED’. |
Set the default payment method for the account.
Parameters: | payment_method_id (String) – the unique id of the payment method |
---|---|
Returns: | A dictionary as described in payment_method.info() |