---
title: "Simulate a virtual account credit"
method: POST
path: "/v1/wallets/credit"
tags: ["Virtual Accounts"]
---

# Simulate a virtual account credit

`POST /v1/wallets/credit`

## Request

- Base URL: `https://api.kyshi.co`
- URL: `https://api.kyshi.co/v1/wallets/credit`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/kyshi/apis/kyshi-mor-public-api/docs/v1/wallets/credit/post.ts> (a function with typed inputs; its response is checked against the schema)

Credits a test virtual account as though a customer had transferred to it, firing the same webhooks a real credit would. Rejected in live mode.

## Request body

- SimulateInflowDto
  - `amount` string, required
  - `accountNumber` string, required

## Response `201`

Success.

- object
  - `status` boolean, required: `true` on success.
  - `message` string, required
  - `code` number, required: Mirrors the HTTP status code.
  - `data` object, required: The endpoint-specific payload.
    - `id` string, required
    - `amount` number, required
    - `type` 'DR' | 'CR', required
    - `status` 'PENDING' | 'SUCCESS' | 'IN_REVIEW' | 'FAILED' | 'REVERSAL' | 'COLLECTED', required
    - `reference` string, required
    - `currency` string, required
    - `channel` string
    - `processor` 'PROVIDUS_BANK' | 'STERLING' | 'VFD' | 'PAYSTACK' | 'FLUTTERWAVE' | 'CHOICE' | 'STITCH' | 'PAGA' | 'STRIPE' | 'ASSET_MFB' | 'MOMENTPAY' | 'PAWAPAY'
    - `feeBearer` 'MERCHANT' | 'CUSTOMER'
    - `meta` PublicTransactionMetaDto
      - `amount` number, required
      - `symbol` string, required
      - `currency` string, required
      - `fxRate` number, nullable
    - `feeBreakdown` PublicFeeBreakdownDto
      - `fee` number, required
      - `vat` number, required
      - `processorFee` number, required
      - `stampDuty` number, required
      - `allInclusiveKyshiFee` number, required
      - `totalFees` number, required
      - `others` object, required
    - `createdAt` string, required
    - `updatedAt` string, required

## Other responses

- `400`: Missing or invalid request parameter.
- `401`: No valid API key provided.
- `403`: The API key lacks permission for this request.
- `404`: Resource not found. A 404 on an object you just created is usually a test/live mode mismatch.
- `422`: Business rule failure, such as an unsupported currency or insufficient balance.
- `500`: Something went wrong on Kyshi’s end.

## Changes

- **2026-11-03** `4aed77604588`: 1 breaking, 4 warning, 8 info
  - the response's body type changed from `object` to no type for status `201`
  - removed the optional property `code` from the response with the `201` status
  - removed the optional property `data` from the response with the `201` status
  - removed the optional property `message` from the response with the `201` status
  - …9 more

[Operation history](https://skmtc.dev/kyshi/apis/kyshi-mor-public-api/changes/v1/wallets/credit/post.md)

---

[API](https://skmtc.dev/kyshi/apis/kyshi-mor-public-api.md) - [All operations](https://skmtc.dev/kyshi/apis/kyshi-mor-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kyshi/apis/kyshi-mor-public-api/revisions/4aed77604588?raw)
