---
title: "Pre-Deposit Check callback"
method: POST
path: "/client/test/endpoint"
---

# Pre-Deposit Check callback

`POST /client/test/endpoint`

This callback allows clients to validate a transaction before the actual fund movement happens in the virtual account. The client can accept or reject incoming funds via this callback.

## Headers

- `your_custom_key_1` string
- `your_custom_key_2` string

## Request body

- object
  - `amount` string, required — The transaction amount that will be collected in the virtual account.
  - `bank_reference_number` string, required — The unique transaction reference number from the bank partner
  - `consumer_urn` string, required — A unique identifier assigned to each merchant by Decentro during Onboarding.
  - `decentro_txn_id` string, required — The unique transaction identifier of Decentro, passed against each payment transaction.
  - `payee_account_number` string, required — The virtual account of Merchant at Decentro's end where the funds will be stored, if accepted.
  - `payer_account_number` string, required — Account number of the payer/remitter.
  - `payer_account_ifsc` string — Account ifsc of the payer/remitter.
  - `payer_name` string — Name of the payer if propagated by the partner bank.
  - `transfer_type` string, required — The transafer type of the E collect transaction. Possible values: IMPS, NEFT, RTGS

## Response `200`

200

- union
  - object
    - `is_accepted` boolean
  - object
    - `is_accepted` boolean

---

[API](https://skmtc.dev/decentro/apis/decentro-staging.md) · [All operations](https://skmtc.dev/decentro/apis/decentro-staging/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/decentro/decentro-staging/revisions/f1a86ce4638c/schema)
