hello,
Overview
Error Handling
Error Handling
Methods
- Account/Auth/
- Account/SSH/Key/
- Billing/Invoice/
- Billing/Payment/
- Cloud/Backup/
- Cloud/Config/
- Cloud/IP/Pool/
- Cloud/Image/
- Cloud/Server/
- Cloud/Template/
- Monitoring/Bandwidth/
- Monitoring/Load/
- Monitoring/Services/
- Network/DNS/Domain/
- Network/DNS/Record/
- Network/DNS/Reverse/
- Network/DNS/Zone/
- Network/Firewall/
- Network/Firewall/Ruleset/
- Network/IP/
- Network/LoadBalancer/
- Network/Pool/
- Network/Private/
- Network/Region/
- Network/Zone/
- Notifications/
- Order/AddOn/
- Product/
- Server/
- Server/VirtualDomain/
- Storage/Block/Cluster/
- Storage/Block/Volume/
- Support/Alert/
- Utilities/Info/
- VIP/
- VPN/
API Documentation (API Version v1)
Billing/Payment/
DESCRIPTION
This section contains methods for making payments to an account.
make
URL:
https://api.liquidweb.com/v1/Billing/Payment/make
Description:
Charges the credit card on file for the given account the given amount, and applies those new funds to the account. Currently this method is only useful for credit card accounts or a one-time credit card profile. A forbidden exception will be thrown if used with a check account without providing a one-time profile.
Parameters:
Parameter | Type | Notes |
---|---|---|
amount | A positive monetary value, such as $.05, 0.05, or 5.00 | * Required |
card_code | The cvv code of a credit card, consisting of a number at least 3 digits and up to 4 digits in length (i.e. 1234, 010, etc). | |
payment_profile_id | A positive integer value (i.e. 1 and up). |
Returns:
Field | Type |
---|---|
amount | A positive monetary value, such as $.05, 0.05, or 5.00 |
Possible Errors:
Refer to the Error Handling documentation for the list of exception types