---
title: "virtual-account/simulate-credit"
method: POST
path: "/virtual-account/simulate-credit"
tags: ["Virtual Account Endpoints"]
---

# virtual-account/simulate-credit

`POST /virtual-account/simulate-credit`

## Request

- Base URL: `https://earthnode-dev.vopay.com/api/v2`
- URL: `https://earthnode-dev.vopay.com/api/v2/virtual-account/simulate-credit`
- Auth: none declared

Simulate a credit to a virtual account. This endpoint is used for testing purposes to add funds to a virtual account.

## Request body `application/x-www-form-urlencoded`

- object
  - `AccountID` string, required: Your account ID
  - `Key` string, required: API key for the account
  - `Signature` string, required: Hashed signature for the request
  - `VirtualAccountID` string, required: The ID of the virtual account to credit
  - `Amount` string, required: The amount to credit to the virtual account
  - `TransactionType` 'funding' | 'wire': Canadian virtual accounts only: books a Virtual Account Funding or Virtual Account Wire transaction. Ignored for other providers.

## Response `200`

- object
  - `Success` boolean, required: True if the request was successful, false if it failed
  - `ErrorMessage` string, required: Contains a description of the error if the request failed

---

[API](https://skmtc.dev/vopay/apis/virtual-accounts.md) - [All operations](https://skmtc.dev/vopay/apis/virtual-accounts/llms.txt) - [OpenAPI document](https://skmtc.dev/vopay/apis/virtual-accounts/revisions/d1ddfbd67e8f?raw)
