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

# Payroll

```curl cURL
curl --request POST \
     --url https://earthnode-dev.vopay.com/api/v2/account/fund-my-account \
     --header 'accept: application/json' \
     --header 'content-type: application/x-www-form-urlencoded' \
     --data 'AccountID={AcountID}' \
     --data 'Key={APIKey}' \
     --data 'Signature={Signature}' \
     --data Amount=1000000
     
curl --request GET \
     --url 'https://earthnode-dev.vopay.com/api/v2/eft/fund/transaction?AccountID=%7BAccountID%7D&Key=%7BAPIKey%7D&Signature=%7BSignature%7D&TransactionID=123456' \
     --header 'accept: application/json'

curl --request GET \
     --url 'https://earthnode-dev.vopay.com/api/v2/account/balance?AccountID=%7BAccountID%7D&Key=%7BAPIKey%7D&Signature=%7BSignature%7D' \
     --header 'accept: application/json'
     
curl --request POST \
     --url https://earthnode-dev.vopay.com/api/v2/rtr/withdraw \
     --header 'accept: application/json' \
     --header 'content-type: application/x-www-form-urlencoded' \
     --data 'AccountID={AccountID}' \
     --data 'Key={APIKey}' \
     --data 'Signature={Signature}' \
     --data FirstName=Ada \
     --data LastName=Lovelace \
     --data AccountNumber=1234567 \
     --data FinancialInstitutionNumber=010 \
     --data BranchTransitNumber=00390 \
     --data Amount=2500
```

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

sdk.AccountFundMyAccountPOST({
  AccountID: '{AcountID}',
  Key: '{APIKey}',
  Signature: '{Signature}',
  Amount: 1000000
}, {accept: 'application/json'})
  .then(res => console.log(res))
  .catch(err => console.error(err));


sdk.EftFundTransactionGet({
  AccountID: '%7BAccountID%7D',
  Key: '%7BAPIKey%7D',
  Signature: '%7BSignature%7D',
  TransactionID: '123456'
})
  .then(res => console.log(res))
  .catch(err => console.error(err));


sdk.AccountBalanceGet({
  AccountID: '%7BAcountID%7D', 
  Key: '%7BAPIKey%7D', Signature: 
  '%7BSignature%7D'
})
  .then(res => console.log(res))
  .catch(err => console.error(err));


sdk.RtrWithdrawPost({
  AccountID: '{AccountID}',
  Key: '{APIKey}',
  Signature: '{Signature}',
  FirstName: 'Ada',
  LastName: 'Lovelace',
  AccountNumber: '1234567',
  FinancialInstitutionNumber: '010',
  BranchTransitNumber: '00390',
  Amount: 2500
}, {accept: 'application/json'})
  .then(res => console.log(res))
  .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/fund-my-account', [
  'form_params' => [
    'AccountID' => '{AcountID}',
    'Key' => '{APIKey}',
    'Signature' => '{Signature}',
    'Amount' => 1000000
  ],
  '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=%7BAccountID%7D&Key=%7BAPIKey%7D&Signature=%7BSignature%7D&TransactionID=123456', [
  'headers' => [
    'accept' => 'application/json',
  ],
]);

echo $response->getBody();


$response = $client->request('GET', 'https://earthnode-dev.vopay.com/api/v2/account/balance?AccountID=%7BAcountID%7D&Key=%7BAPIKey%7D&Signature=%7BSignature%7D', [
  'headers' => [
    'accept' => 'application/json',
  ],
]);

echo $response->getBody();


$response = $client->request('POST', 'https://earthnode-dev.vopay.com/api/v2/rtr/withdraw', [
  'form_params' => [
    'AccountID' => '{AccountID}',
    'Key' => '{APIKey}',
    'Signature' => '{Signature}',
    'FirstName' => 'Ada',
    'LastName' => 'Lovelace',
    'AccountNumber' => '1234567',
    'FinancialInstitutionNumber' => '010',
    'BranchTransitNumber' => '00390',
    'Amount' => 2500
  ],
  'headers' => [
    'accept' => 'application/json',
    'content-type' => 'application/x-www-form-urlencoded',
  ],
]);

echo $response->getBody();

?>
```

```python Python
import requests

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

payload = "AccountID=%7BAcountID%7D&Key=%7BAPIKey%7D&Signature=%7BSignature%7D&Amount=1000000"
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=%7BAccountID%7D&Key=%7BAPIKey%7D&Signature=%7BSignature%7D&TransactionID=123456"

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

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

print(response.text)



url = "https://earthnode-dev.vopay.com/api/v2/account/balance?AccountID=%7BAcountID%7D&Key=%7BAPIKey%7D&Signature=%7BSignature%7D"

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

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

print(response.text)



url = "https://earthnode-dev.vopay.com/api/v2/rtr/withdraw"

payload = "AccountID=%7BAccountID%7D&Key=%7BAPIKey%7D&Signature=%7BSignature%7D&FirstName=Ada&LastName=Lovelace&AccountNumber=1234567&FinancialInstitutionNumber=010&BranchTransitNumber=00390&Amount=2500"
headers = {
    "accept": "application/json",
    "content-type": "application/x-www-form-urlencoded"
}

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

print(response.text)
```

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

# Fund your VoPay account

<!-- curl@1-8 -->
<!-- javascript@3-10 -->
<!-- php@6-20 -->
<!-- python@3-13 -->

Before you can begin sending out payroll deposits, you must first fund your VoPay balance. Using the POST /account/fund-my-account endpoint will fund your VoPay balance directly from your default bank account. 

Funding your VoPay balance using this endpoint allows for higher transaction limits and faster processing times.

# Check the Transaction Status (Optional)

<!-- curl@10-12 -->
<!-- javascript@13-20 -->
<!-- php@23-29 -->
<!-- python@17-23 -->

Once you submit your funding request, the transaction will go into 'pending' status. 

Once the transaction is processed by VoPay, it will move into 'in progress'. 

Lastly, when the funds are cleared, the transaction status will be set to 'successful'. 

To track the progress of your transaction, you can use the GET /eft/fund/transaction endpoint.

# Check your VoPay Balance (Optional)

<!-- curl@14-17 -->
<!-- javascript@23-29 -->
<!-- php@32-38 -->
<!-- python@27-33 -->

Once the funding transaction is marked as  'successful', the funds will move from your Pending Balance to your Available Balance, and will be available for you to use to begin disbursing loans.

When using the POST /account/fund-my-account endpoint, the money is typically available in T+1 business days after you have submitted your funding request.

# Send out your payroll deposits

<!-- curl@18-30 -->
<!-- javascript@32-44 -->
<!-- php@41-59 -->
<!-- python@37-47 -->

VoPay offers a number of different payment rails to send out payroll desposits. 

In this example, we've chosen to use VoPay Instant. VoPay Instant offer real-time payments to your customers.