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)
Billing/PayPal/Payment/
DESCRIPTION
This section contains methods for making PayPal payments to an account.
activate
URL:
https://api.liquidweb.com/bleed/Billing/PayPal/Payment/activate
Description:
Activates an account and subaccnt after receiving funds from paypal during a configurator order.
Parameters:
Parameter | Type | Notes |
---|---|---|
accnt_num | A valid account number, up to 6 digits in length. | * Required |
Returns:
Field | Type |
---|---|
active | A boolean value (0 or 1). |
Possible Errors:
Refer to the Error Handling documentation for the list of exception types
create
URL:
https://api.liquidweb.com/bleed/Billing/PayPal/Payment/create
Description:
Creates a pending payment with PayPal to be applied to the given account for the given amount. The transaction will not be final until the user confirms with PayPal in their browser and we perform a call to paypalExecute.
Parameters:
Parameter | Type | Notes | ||||||
---|---|---|---|---|---|---|---|---|
lineItems | An array of associative arrays containing | * Required | ||||||
| ||||||||
requested_amount | A monetary value, such as -$.05, 0.05, or -5.00 | * Required | ||||||
returnURL | A string permitting tabs, carriage returns and newlines | * Required |
Returns:
Field | Type | Notes |
---|---|---|
accnt | A valid account number, up to 6 digits in length. | |
approval_type | A single word, consisting of only letters, digits, and underscores. | * Optional |
billing_agreement_id | A string permitting tabs, carriage returns and newlines | * Optional |
created_date | A valid date and time in YYYY-MM-DD HH:MM:SS format. | |
id | A positive integer value (i.e. 1 and up). | |
last_response | A string permitting tabs, carriage returns and newlines | * Optional |
merchant | A single word, consisting of only letters and digits. | * Optional |
payer_id | A string of text, containing no newlines or other control characters. | * Optional |
payment_state | A paypal payment state, such as created, pending, approved, failed, canceled, or expired | * Optional |
paypal_id | A string of text, containing no newlines or other control characters. | |
requested_amount | A positive floating-point value representing a price, allowing an optional 2 decimal points (must be two digits). | |
response | An associative array of arbitrary keys and values. | |
sale_mode | A paypal sale mode, such as INSTANT_TRANSFER, MANUAL_BANK_TRANSFER, or DELAYED_TRANSFER ECHECK | * Optional |
sale_state | A paypal sale state, such as pending, completed, refunded, denied, or partially_refunded | * Optional |
status | A single word, consisting of only letters, digits, hyphens, and underscores. | * Optional |
Possible Errors:
Refer to the Error Handling documentation for the list of exception types
createForAccount
URL:
https://api.liquidweb.com/bleed/Billing/PayPal/Payment/createForAccount
Description:
Creates a pending payment with PayPal for an arbitrary account to be applied for the given amount. The transaction will not be final until the user confirms with PayPal in their browser and we perform a call to paypalExecute.
Parameters:
Parameter | Type | Notes | ||||||
---|---|---|---|---|---|---|---|---|
accnt_num | A valid account number, up to 6 digits in length. | * Required | ||||||
lineItems | An array of associative arrays containing | * Required | ||||||
| ||||||||
order_id | A positive integer value (i.e. 1 and up). | |||||||
requested_amount | A monetary value, such as -$.05, 0.05, or -5.00 | * Required | ||||||
returnURL | A string permitting tabs, carriage returns and newlines | * Required |
Returns:
Field | Type | Notes |
---|---|---|
accnt | A valid account number, up to 6 digits in length. | |
approval_type | A single word, consisting of only letters, digits, and underscores. | * Optional |
billing_agreement_id | A string permitting tabs, carriage returns and newlines | * Optional |
created_date | A valid date and time in YYYY-MM-DD HH:MM:SS format. | |
id | A positive integer value (i.e. 1 and up). | |
last_response | A string permitting tabs, carriage returns and newlines | * Optional |
merchant | A single word, consisting of only letters and digits. | * Optional |
payer_id | A string of text, containing no newlines or other control characters. | * Optional |
payment_state | A paypal payment state, such as created, pending, approved, failed, canceled, or expired | * Optional |
paypal_id | A string of text, containing no newlines or other control characters. | |
requested_amount | A positive floating-point value representing a price, allowing an optional 2 decimal points (must be two digits). | |
response | An associative array of arbitrary keys and values. | |
sale_mode | A paypal sale mode, such as INSTANT_TRANSFER, MANUAL_BANK_TRANSFER, or DELAYED_TRANSFER ECHECK | * Optional |
sale_state | A paypal sale state, such as pending, completed, refunded, denied, or partially_refunded | * Optional |
status | A single word, consisting of only letters, digits, hyphens, and underscores. | * Optional |
Possible Errors:
Refer to the Error Handling documentation for the list of exception types
details
URL:
https://api.liquidweb.com/bleed/Billing/PayPal/Payment/details
Description:
Finds a paypal payment and returns its details.
Parameters:
Parameter | Type | Notes |
---|---|---|
alsowith | A single word, consisting of only letters, digits, and underscores. | |
id | A positive integer value (i.e. 1 and up). | * Required |
Returns:
Field | Type | Notes |
---|---|---|
accnt | A valid account number, up to 6 digits in length. | |
approval_type | A single word, consisting of only letters, digits, and underscores. | * Optional |
billing_agreement_id | A string permitting tabs, carriage returns and newlines | * Optional |
created_date | A valid date and time in YYYY-MM-DD HH:MM:SS format. | |
id | A positive integer value (i.e. 1 and up). | |
last_response | A string permitting tabs, carriage returns and newlines | * Optional |
merchant | A single word, consisting of only letters and digits. | * Optional |
payer_id | A string of text, containing no newlines or other control characters. | * Optional |
payment_state | A paypal payment state, such as created, pending, approved, failed, canceled, or expired | * Optional |
paypal_id | A string of text, containing no newlines or other control characters. | |
requested_amount | A positive floating-point value representing a price, allowing an optional 2 decimal points (must be two digits). | |
sale_mode | A paypal sale mode, such as INSTANT_TRANSFER, MANUAL_BANK_TRANSFER, or DELAYED_TRANSFER ECHECK | * Optional |
sale_state | A paypal sale state, such as pending, completed, refunded, denied, or partially_refunded | * Optional |
status | A single word, consisting of only letters, digits, hyphens, and underscores. | * Optional |
Possible Errors:
Refer to the Error Handling documentation for the list of exception types
execute
URL:
https://api.liquidweb.com/bleed/Billing/PayPal/Payment/execute
Description:
Finalizes a pending PayPal transaction and credits the approved amount to the given account.
Parameters:
Parameter | Type | Notes |
---|---|---|
id | A positive integer value (i.e. 1 and up). | * Required |
send_receipt | A boolean value (0 or 1). | * Optional
|
Returns:
Field | Type | Notes |
---|---|---|
accnt | A valid account number, up to 6 digits in length. | |
approval_type | A single word, consisting of only letters, digits, and underscores. | * Optional |
billing_agreement_id | A string permitting tabs, carriage returns and newlines | * Optional |
created_date | A valid date and time in YYYY-MM-DD HH:MM:SS format. | |
id | A positive integer value (i.e. 1 and up). | |
last_response | A string permitting tabs, carriage returns and newlines | * Optional |
merchant | A single word, consisting of only letters and digits. | * Optional |
payer_id | A string of text, containing no newlines or other control characters. | * Optional |
payment_state | A paypal payment state, such as created, pending, approved, failed, canceled, or expired | * Optional |
paypal_id | A string of text, containing no newlines or other control characters. | |
requested_amount | A positive floating-point value representing a price, allowing an optional 2 decimal points (must be two digits). | |
response | An associative array of arbitrary keys and values. | |
sale_mode | A paypal sale mode, such as INSTANT_TRANSFER, MANUAL_BANK_TRANSFER, or DELAYED_TRANSFER ECHECK | * Optional |
sale_state | A paypal sale state, such as pending, completed, refunded, denied, or partially_refunded | * Optional |
status | A single word, consisting of only letters, digits, hyphens, and underscores. | * Optional |
Possible Errors:
Refer to the Error Handling documentation for the list of exception types
update
URL:
https://api.liquidweb.com/bleed/Billing/PayPal/Payment/update
Description:
Updates the payer_id of a paypal payment.
Parameters:
Parameter | Type | Notes |
---|---|---|
id | A positive integer value (i.e. 1 and up). | * Required |
payer_id | A string of text, containing no newlines or other control characters. | |
status | A single word, consisting of only letters and digits. |
Returns:
Field | Type | Notes |
---|---|---|
accnt | A valid account number, up to 6 digits in length. | |
approval_type | A single word, consisting of only letters, digits, and underscores. | * Optional |
billing_agreement_id | A string permitting tabs, carriage returns and newlines | * Optional |
created_date | A valid date and time in YYYY-MM-DD HH:MM:SS format. | |
id | A positive integer value (i.e. 1 and up). | |
last_response | A string permitting tabs, carriage returns and newlines | * Optional |
merchant | A single word, consisting of only letters and digits. | * Optional |
payer_id | A string of text, containing no newlines or other control characters. | * Optional |
payment_state | A paypal payment state, such as created, pending, approved, failed, canceled, or expired | * Optional |
paypal_id | A string of text, containing no newlines or other control characters. | |
requested_amount | A positive floating-point value representing a price, allowing an optional 2 decimal points (must be two digits). | |
sale_mode | A paypal sale mode, such as INSTANT_TRANSFER, MANUAL_BANK_TRANSFER, or DELAYED_TRANSFER ECHECK | * Optional |
sale_state | A paypal sale state, such as pending, completed, refunded, denied, or partially_refunded | * Optional |
status | A single word, consisting of only letters, digits, hyphens, and underscores. | * Optional |
Possible Errors:
Refer to the Error Handling documentation for the list of exception types