---
title: "Simulate Prefund Payment"
method: POST
path: "/test-data-generator/organizations/prefund"
tags: ["Test Data Generator (Sandbox-only)"]
---

# Simulate Prefund Payment

`POST /test-data-generator/organizations/prefund`

Simulate a prefund payment to an existing organizations card account. The payment will appear in the system within 10 minutes after the request was sent.
This endpoint is ONLY available on our sandbox environment and NOT on production. See [documentation](/docs/generate-test-transactions) for details.

## Request body

- object
  - `organizationId` string, uuid, required — The id of the organization for which the payment should occur.
  - `cardAccountId` string, uuid, nullable — The id of the card account of the organization to use. If not provided, the default card account of the organization will be used. If provided, it has precedence over the `organizationId` parameter.
  - `amount` object, required — The amount to prefund the card account with. The currency must match the currency of the card account.
    - `value` number — The value of the monetary amount, converted to minor units of the currency. For instance 1.00 EUR is 100 cents, thus the value here is `100`. See our [guides](/docs/monetary-values) for more details about how to handle monetary amounts.
    - `currency` string — The currency of the monetary amount in ISO 4217 format, for example `EUR` for Euro or `USD` for US Dollar.
  - `fromAccount` string, nullable — If provided, the prefund will be simulated from this account. Example: `DE89370400440532013000` (has to be a valid IBAN – to generate an IBAN please check [here](http://randomiban.com/?country=Germany)
  - `transfersAllowedStatus` 'REVIEW' | 'AUTHORIZED' | 'BLOCKED', nullable — Status of the newly added bank account for this prefund payment (when this parameter is given `fromAccount` will be defined by the system if not given in this request). Possible statuses are `REVIEW`, `AUTHORIZED`, `BLOCKED`. - `REVIEW` is a default status that will require manual intervention. - `AUTHORIZED` will make the payment appear on the balance directly. - `BLOCKED` will block the account and all current and future payments from it. Defaults to `AUTHORIZED`.

## Response `200`

Ok

## Other responses

- `400` — unresolved $ref
- `401` — unresolved $ref
- `403` — unresolved $ref
- `429` — unresolved $ref
- `500` — unresolved $ref

---

[API](https://skmtc.dev/getpliant/apis/pliant-customer-api.md) · [All operations](https://skmtc.dev/getpliant/apis/pliant-customer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getpliant/pliant-customer-api/revisions/f3f589cfa718/schema)
