---
title: "account/fund-my-account"
method: POST
path: "/account/fund-my-account"
tags: ["Account Endpoints"]
---

# account/fund-my-account

`POST /account/fund-my-account`

## Request

- Base URL: `https://earthnode-dev.vopay.com/api/v2`
- URL: `https://earthnode-dev.vopay.com/api/v2/account/fund-my-account`
- Auth: none declared

This endpoint will fund your VoPay account by debiting your default bank account or charging your default operational credit card.

To set a default bank account, please use the /bank-account/set-my-bank-account endpoint. To set a default operational credit card, use the /credit-card/set-my-credit-card endpoint.

## 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
  - `Amount` number, required: The amount to debit from your bank account.
  - `ClientReferenceNumber` string: An optional reference number to associate with the transactions
  - `Notes` string: An optional note to associate with the transactions.
  - `IdempotencyKey` string: A unique key which the server can use to recognize and reject subsequent retries of the same request.
  - `GLCode` string: An optional unique identification general ledger code.
  - `TransactionTypeCode` string: CPA transaction code. Use the /api/v2/account/transactions/codes endpoint to retrieve a list of valid transaction codes. If not specified, the transaction will be created using code 450 (miscellaneous).
  - `Source` string: Funding source: bank (default) debits your default operational bank account; credit charges your default operational credit card (requires FundMyAccountCreditCardEnabled). Credit card funding charges a 3% convenience fee on top of the Amount; the card is charged Amount plus fee, the balance is credited the same, and the fee is immediately debited so the net balance credit equals the Amount

## 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
  - `TransactionID` integer, required: The unique ID of the funding transaction that was just created. This ID should be saved as it is required order to look up the status information on the transaction.
  - `Flagged` string: Details on why the transaction was flagged, if applicable. Flagged transactions will need to be confirmed by using the /account/transaction/confirm endpoint.

## Changes

- **2026-11-03** `71f251deb318`: 2 info
  - added the new optional request property `Source`
  - added the optional property `Flagged` to the response with the `200` status

[Operation history](https://skmtc.dev/vopay/apis/accounts/changes/account/fund-my-account/post.md)

---

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