---
title: "debit-card/aft/pull-funds"
method: POST
path: "/debit-card/aft/pull-funds"
tags: ["Debit Card Endpoints"]
---

# debit-card/aft/pull-funds

`POST /debit-card/aft/pull-funds`

## Request

- Base URL: `https://earthnode-dev.vopay.com/api/v2`
- URL: `https://earthnode-dev.vopay.com/api/v2/debit-card/aft/pull-funds`
- Auth: none declared

This endpoint is used to instantly pull funds from your debit card linked to the provided CardToken to fund your VoPay account.

 If a ClientAccountID is provided, the client account's default card will be used for the transaction.

Note: You must first generate a CardToken using the /debit-card/generate-embed-url 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
  - `ClientAccountID` string: Client Account ID
  - `CardToken` string, required: The token identifying the debit card to charge (returned from /debit-card/generate-embed-url).
  - `Amount` number, required: The amount to send to the customer's debit card.
  - `Currency` string: 3 character currency code for the currency to sent to the customer's debit card. If this is not specified the transaction will use the account's local currency (CAD).
  - `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.

## 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 transaction that was just submitted.
  - `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.

---

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