Error Handling
Methods
- Account/
- Account/Auth/
- Account/Auth/TwoFactor/
- Account/BillingAddress/
- Account/ChangeOrder/Source/
- Account/ChatPassword/
- Account/Contact/
- Account/CreditCard/
- Account/Cycle/
- Account/Limits/
- Account/PasswordReset/
- Account/Paymethod/
- Account/SSH/Key/
- Account/Settings/
- Account/Subscriptions/
- Account/User/
- Account/User/StateData/
- Acronis/Backup/
- Asset/
- Asset/Connections/
- Asset/ControlPanel/Credentials/
- Asset/Measurements/
- Asset/Monitoring/
- Attribution/
- Basket/
- Basket/Domain/
- Basket/Item/
- Basket/Item/Config/
- Billing/
- Billing/Bill/
- Billing/Credit/
- Billing/CreditCard/Profile/
- Billing/Cycle/
- Billing/Invoice/
- Billing/Invoice/Preview/
- Billing/PayPal/Agreement/
- Billing/PayPal/Payment/
- Billing/Payment/
- Billing/Payment/Profile/
- BusinessEmail/Customer/
- BusinessEmail/Domain/
- Cloud/Backup/
- Cloud/Config/
- Cloud/IP/Pool/
- Cloud/Image/
- Cloud/Private/Parent/
- Cloud/Server/
- Cloud/Template/
- CloudSites/
- CloudSites/Usage/
- CodeGuard/User/
- Contact/
- Coupon/
- Coupon/Claim/
- Domain/
- Domain/Services/
- HostedEmail/Customer/
- HostedEmail/Domain/
- Licensing/
- Licensing/Cpanel/
- Licensing/Plesk/
- Market/Bundle/
- Market/Bundle/Package/
- Market/Cart/
- Market/Cart/Admin/Quote/
- Market/Cart/Discount/
- Market/Cart/Helpers/Configurator/
- Market/Cart/Item/
- Market/Package/
- Market/Package/Product/
- Market/Place/
- Meta/Timing/
- Migration/
- Migration/Account/
- Migration/Account/Server/
- Migration/Account/Server/Access/
- Migration/Destination/
- Monitoring/Bandwidth/
- Monitoring/Load/
- Monitoring/MWP/
- Monitoring/Services/
- Network/CDN/User/
- Network/CDN/Zone/
- Network/DNS/Domain/
- Network/DNS/Domain/Contact/
- Network/DNS/Domain/Nameserver/
- Network/DNS/Domain/Transfer/
- Network/DNS/Record/
- Network/DNS/Reverse/
- Network/DNS/Zone/
- Network/DNS/Zone/History/
- Network/Firewall/
- Network/Firewall/Ruleset/
- Network/IP/
- Network/LoadBalancer/
- Network/Pool/
- Network/Private/
- Network/Region/
- Network/SSHKey/
- Network/Util/
- Network/Zone/
- Notifications/
- OneTimeSecret/
- Order/AddOn/
- Product/
- Product/Addon/
- Product/Marketplace/
- Product/Series/
- Project/
- SSL/Certificate/
- Salesforce/Account/InterWorx/
- Salesforce/Chat/Auth/
- Salesforce/User/
- Server/
- Server/Auth/
- Server/Power/
- Server/VirtualDomain/
- Server/WHM/AccessHash/
- Server/WHM/DNS/
- Server/WHM/Firewall/
- Signup/Basic/
- Storage/Block/Cluster/
- Storage/Block/Volume/
- Storage/ObjectStore/
- Support/Alert/
- Support/Request/
- Support/Request/Attachment/
- Support/SystemStatus/
- Support/Ticket/Auth/
- Tags/Product/
- UserTask/
- Utilities/Info/
- VIP/
- VMware/vCloud/vDC/
- VPN/
- VPN/User/
- WWW/Cart/
- WordPress/Domain/
API Documentation (API Version bleed)
Account/Paymethod/
DESCRIPTION
This section contains methods to fetch and update an account's payment information.
NOTE: DEPRECATED. The methods here are more billing related than account related and have been moved to the billing section =cut
our @FIELDS = qw(accnt cycle payment_method credit_card_num credit_card_exp card_code);
balance
URL:
https://api.liquidweb.com/bleed/Account/Paymethod/balance
Description:
When you destroy servers or turn off optional features, money is added to your balance to either pay for new servers or cover part of your next bill. This method allows you to determine how much balance you have available.
A second field, due, is the amount of charges in your account that have not yet been reconciled. Usually charges are reconciled on your billing date.
**NOTE** DEPRECATED. Moved to billing.
Parameters:
No Values Defined
Returns:
Field | Type | Notes | ||||
---|---|---|---|---|---|---|
available | A positive monetary value, such as $.05, 0.05, or 5.00 | |||||
balance | A positive monetary value, such as $.05, 0.05, or 5.00 | |||||
credit | A positive monetary value, such as $.05, 0.05, or 5.00 | |||||
cycle | A valid billing cycle (monthly, quarterly, biannually, yearly, or biennially). | |||||
cycles | An array of a valid billing cycle (monthly, quarterly, biannually, yearly, or biennially). | |||||
due | A positive monetary value, such as $.05, 0.05, or 5.00 | |||||
last_payment_date | A valid date in YYYY-MM-DD format. | * Optional | ||||
next_bill_date | A valid date in YYYY-MM-DD format. | |||||
next_dates | An array of associative arrays containing | |||||
| ||||||
overdue | A positive monetary value, such as $.05, 0.05, or 5.00 | |||||
payment_method | A valid payment method (check, credit_card, ach, paypal, paypal_agreement). |
Possible Errors:
Refer to the Error Handling documentation for the list of exception types
get
URL:
https://api.liquidweb.com/bleed/Account/Paymethod/get
Description:
Returns the current payment configuration for the logged in account.
Only the last 4 digits of the credit card number are returned, for obvious security reasons.
**NOTE** DEPRECATED. Moved to billing.
Parameters:
No Values Defined
Returns:
Field | Type | Notes |
---|---|---|
accnt | A valid account number, up to 6 digits in length. | |
credit_card_exp | A valid month/year in MM/YYYY format. | * Required if:
|
credit_card_num | A credit card number with only the last four digits exposed, preceded by any number of X's (i.e. XXXXXXXXXXXX1234). | * Required if:
|
cycle | A valid billing cycle (monthly, quarterly, biannually, yearly, or biennially). | |
payment_method | A valid payment method (check, credit_card, ach, paypal, paypal_agreement). |
Possible Errors:
Refer to the Error Handling documentation for the list of exception types
update
URL:
https://api.liquidweb.com/bleed/Account/Paymethod/update
Description:
Updates the current payment configuration for the logged in account.
**NOTE** DEPRECATED. Moved to billing.
Parameters:
Parameter | Type |
---|---|
cycle | A valid billing cycle (monthly, quarterly, biannually, yearly, or biennially). |
payment_method | The value: 'check' |
Returns:
Field | Type | Notes |
---|---|---|
accnt | A valid account number, up to 6 digits in length. | |
credit_card_exp | A valid month/year in MM/YYYY format. | * Required if:
|
credit_card_num | A credit card number with only the last four digits exposed, preceded by any number of X's (i.e. XXXXXXXXXXXX1234). | * Required if:
|
cycle | A valid billing cycle (monthly, quarterly, biannually, yearly, or biennially). | |
payment_method | A valid payment method (check, credit_card, ach, paypal, paypal_agreement). |
Possible Errors:
Refer to the Error Handling documentation for the list of exception types