Rental API
SMSPVA / DOCUMENTATION
Rental API
All 22 documented rental methods, with HTTP examples in eight languages.
SMSPVA API
Endpoint: https://smspva.com/api/rent.php. Every documented method uses GET, selected by the method query parameter. Rental credentials use an apikey query parameter, not the Activation V2 header. Check JSON status=1 before using data; status=0 is an application failure even with HTTP 200.
Workflow
Create, activate, read messages, prolong and restore.
Countries & services
Live rental lists from the existing source.
Reference data
| method | Description |
|---|---|
getcountries | Rental countries |
get_default_services | Default services |
get_country_by_service | Countries by service |
Prices & availability
| method | Description |
|---|---|
getdata | Rental data |
getdataWithProviders | Rental data by provider |
getcount | Available number counts |
getCountWithProviders | Counts by provider |
get_count_multi | Multi-service count |
get_days_canada_paypal | Canada PayPal days |
get_min_paypal_days | Minimum PayPal days |
Orders & SMS
| method | Description |
|---|---|
create | Create rental |
create_multi | Create multi-service rental |
add_service_to_order | Add service to order |
orders | Rental orders |
activate | Activate rental |
sms | Rental SMS |
Manage rentals
| method | Description |
|---|---|
prolong | Prolong rental |
prolong_max | Prolong by days |
delete | Remove order |
History & restoration
| method | Description |
|---|---|
get_rent_history | Rental history |
restore_user_precalc | Restore precalculation |
restore_user | Restore rental |