---
updatedAt: 2025-05-19T21:13:16.000Z
agentTools:
  projectIndex: https://docs.vopay.com/llms.txt
---

# Commercial Rent Collection / Property Management

```shell cURL
curl --request POST \
     --url https://earthnode-dev.vopay.com/api/v2/account/subaccount \
     --header 'accept: application/json' \
     --header 'content-type: application/x-www-form-urlencoded' \
     --data 'AccountID={AccountID}' \
     --data 'Key={APIKey}' \
     --data 'Signature={Signature}' \
     --data 'LegalBusinessName=Lovelace Properties' \
     --data SubaccountID=LovelaceProperties \
     --data EmailAddress=ada.lovelace@gmail.com \
     --data SubAccountType=ledger
     
curl --request POST \
     --url https://earthnode-dev.vopay.com/api/v2/iq11/generate-embed-url \
     --header 'accept: application/json' \
     --header 'content-type: application/x-www-form-urlencoded' \
     --data 'AccountID={SubAccountID}' \
     --data 'Key={SubAccountAPIKey}' \
     --data 'Signature={SubAccountSignature}' \
     --data RedirectURL=www.example.com
 
curl --request POST \
     --url https://earthnode-dev.vopay.com/api/v2/eft/fund/schedule \
     --header 'accept: application/json' \
     --header 'content-type: application/x-www-form-urlencoded' \
     --data 'AccountID={SubAccountID}' \
     --data 'Key={SubAccountAPIKey}' \
     --data 'Signature={SubAccountSignature}' \
     --data Amount=2000 \
     --data Frequency=recurring \
     --data NameOfFrequency=monthly \
     --data ScheduleStartDate=2022-10-01 \
     --data EndingAfterPayments=12 \
     --data 'Description=Monthly rent' \
     --data FirstName=Grace \
     --data LastName=Hopper \
     --data 'Token={Iq11Token}'
   
curl --request GET \
     --url 'https://earthnode-dev.vopay.com/api/v2/eft/fund/transaction?AccountID=%7BSubAccountID%7D&Key=%7BSubAccountAPIKey%7D&Signature=%7BSubAccountSignature%7D&TransactionID=123456' \
     --header 'accept: application/json'
```

```javascript JavaScript
const sdk = require('api')('@vopay-api/v2.0#1k6f827lavrdxve');

sdk.subaccountPOST({
  AccountID: '{AccountID}',
  Key: '{APIKey}',
  Signature: '{Signature}',
  LegalBusinessName: 'Lovelace Properties',
  SubaccountID: 'LovelaceProperties',
  EmailAddress: 'ada.lovelace@gmail.com',
  SubAccountType: 'ledger'
}, {accept: 'application/json'})
  .then(({ data }) => console.log(data))
  .catch(err => console.error(err));


sdk.Iq11GenerateEmbedUrlPost({
  AccountID: '{AccountID}',
  Key: '{APIKey}',
  Signature: '{Signature}',
  RedirectURL: 'www.example.com'
}, {accept: 'application/json'})
  .then(res => console.log(res))
  .catch(err => console.error(err));


sdk.eftSchedulePOST({
  AccountID: '{SubAccountID}',
  Key: '{SubAccountAPIKey}',
  Signature: '{SubAccountSignature}',
  Amount: 2000,
  Frequency: 'recurring',
  NameOfFrequency: 'monthly',
  ScheduleStartDate: '2022-10-01',
  EndingAfterPayments: 12,
  Description: 'Monthly rent',
  FirstName: 'Grace',
  LastName: 'Hopper',
  Token: '{Iq11Token}'
}, {accept: 'application/json'})
  .then(({ data }) => console.log(data))
  .catch(err => console.error(err));


sdk.eftFundTransactionGet({
  AccountID: '%7BSubAccountID%7D',
  Key: '%7BSubAccountAPIKey%7D',
  Signature: '%7BSubAccountSignature%7D',
  TransactionID: '123456'
})
  .then(({ data }) => console.log(data))
  .catch(err => console.error(err));
```

```php PHP
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://earthnode-dev.vopay.com/api/v2/account/subaccount', [
  'form_params' => [
    'AccountID' => '{AccountID}',
    'Key' => '{APIKey}',
    'Signature' => '{Signature}',
    'LegalBusinessName' => 'Lovelace Properties',
    'SubaccountID' => 'LovelaceProperties',
    'EmailAddress' => 'ada.lovelace@gmail.com',
    'SubAccountType' => 'ledger'
  ],
  'headers' => [
    'accept' => 'application/json',
    'content-type' => 'application/x-www-form-urlencoded',
  ],
]);

echo $response->getBody();


$response = $client->request('POST', 'https://earthnode-dev.vopay.com/api/v2/iq11/generate-embed-url', [
  'form_params' => [
    'AccountID' => '{AccountID}',
    'Key' => '{APIKey}',
    'Signature' => '{Signature}',
    'RedirectURL' => 'www.example.com'
  ],
  'headers' => [
    'accept' => 'application/json',
    'content-type' => 'application/x-www-form-urlencoded',
  ],
]);

echo $response->getBody();


$response = $client->request('POST', 'https://earthnode-dev.vopay.com/api/v2/eft/fund/schedule', [
  'form_params' => [
    'AccountID' => '{SubAccountID}',
    'Key' => '{SubAccountAPIKey}',
    'Signature' => '{SubAccountSignature}',
    'Amount' => 2000,
    'Frequency' => 'recurring',
    'NameOfFrequency' => 'monthly',
    'ScheduleStartDate' => '2022-10-01',
    'EndingAfterPayments' => 12,
    'Description' => 'Monthly rent',
    'FirstName' => 'Grace',
    'LastName' => 'Hopper',
    'Token' => '{Iq11Token}'
  ],
  'headers' => [
    'accept' => 'application/json',
    'content-type' => 'application/x-www-form-urlencoded',
  ],
]);

echo $response->getBody();


$response = $client->request('GET', 'https://earthnode-dev.vopay.com/api/v2/eft/fund/transaction?AccountID=%7BSubAccountID%7D&Key=%7BSubAccountAPIKey%7D&Signature=%7BSubAccountSignature%7D&TransactionID=123456', [
  'headers' => [
    'accept' => 'application/json',
  ],
]);

echo $response->getBody();

?>
```

```python Python
import requests

url = "https://earthnode-dev.vopay.com/api/v2/account/subaccount"

payload = "AccountID=%7BAccountID%7D&Key=%7BAPIKey%7D&Signature=%7BSignature%7D&LegalBusinessName=Lovelace%20Properties&SubaccountID=LovelaceProperties&EmailAddress=ada.lovelace%40gmail.com&SubAccountType=ledger"
headers = {
    "accept": "application/json",
    "content-type": "application/x-www-form-urlencoded"
}

response = requests.post(url, data=payload, headers=headers)

print(response.text)


url = "https://earthnode-dev.vopay.com/api/v2/iq11/generate-embed-url"

payload = "AccountID=%7BAccountID%7D&Key=%7BAPIKey%7D&Signature=%7BSignature%7D&RedirectURL=www.example.com"
headers = {
    "accept": "application/json",
    "content-type": "application/x-www-form-urlencoded"
}

response = requests.post(url, data=payload, headers=headers)

print(response.text)


url = "https://earthnode-dev.vopay.com/api/v2/eft/fund/schedule"

payload = "AccountID=%7BSubAccountID%7D&Key=%7BSubAccountAPIKey%7D&Signature=%7BSubAccountSignature%7D&Amount=2000&Frequency=recurring&NameOfFrequency=monthly&ScheduleStartDate=2022-10-01&EndingAfterPayments=12&Description=Monthly%20rent&FirstName=Grace&LastName=Hopper&Token=%7BIq11Token%7D"
headers = {
    "accept": "application/json",
    "content-type": "application/x-www-form-urlencoded"
}

response = requests.post(url, data=payload, headers=headers)

print(response.text)



url = "https://earthnode-dev.vopay.com/api/v2/eft/fund/transaction?AccountID=%7BSubAccountID%7D&Key=%7BSubAccountAPIKey%7D&Signature=%7BSubAccountSignature%7D&TransactionID=123456"

headers = {"accept": "application/json"}

response = requests.get(url, headers=headers)

print(response.text)
```

```json Response Example
{"success":true}
```

# Add a property

<!-- shell@1-11 -->
<!-- javascript@3-13 -->
<!-- php@6-22 -->
<!-- python@3-13 -->

Easily add property owners and tenants, and process collections for rent, maintenance and taxes on a monthly basis

# Add a tenant

<!-- shell@13-20 -->
<!-- javascript@16-23 -->
<!-- php@25-38 -->
<!-- python@16-26 -->

Generate an iFrame to collect bank account info for your tenant

# Setup monthly recurring rent payments

<!-- shell@22-37 -->
<!-- javascript@26-41 -->
<!-- php@41-62 -->
<!-- python@29-39 -->

Create a recurring payment to collect rent from your tenant each month.

Provide the IQ11 token you generated in the previous step in lieu of banking information.

# Check on the tranaction status

<!-- shell@39-41 -->
<!-- javascript@44-51 -->
<!-- php@62-71 -->
<!-- python@43-49 -->

Check the status of the rent collection to confirm the payment has gone through.

EFT Funding transactions will settle after T+3 business days.