Simulation Data

This section explains how to simulate various scenarios as part of the payouts module of Decentro.

Initiate Payout API and Get Transaction Status API

Decentro provides certain static values for platforms to simulate the various scenarios.

Please utilize the input parameters, shared in the table below, for initiating the Initiate Payout API. The initiate payout API will share a decentroTxnId in the response payload. The decentroTxnId must be passed
in the Get Transaction Status API to receive the expected output.

πŸ“˜

Note - Simulation Data

To test Simulation Staging data for Initiate Transfer and Status Handling, please use the following API Endpoint - https://in.staging.decentro.tech/core_banking/money_transfer/initiate

https://in.staging.decentro.tech/core_banking/money_transfer/get_status/

To AccountIFSC CodeTest CasesTransaction Status
123456789011SBIN0001077Initiate Payout API status as 'Pending'
Get Transaction Status API status as 'Success'
Success
123456789012UTIB0001506Initiate Payout API status as 'Pending'
Get Transaction Status API status as 'Pending'
Pending
123456789013HDFC0001234Initiate Payout API status as 'Pending'
Get Transaction Status API status as 'Failure'
Failure

Validate Bank Account (Penny Drop)

Decentro provides certain static values for platforms to simulate the various scenarios of validating a bank account.

Please utilize the input parameters, shared in the table below, for initiating the Validate Bank Account.

πŸ“˜

Note - Simulation Data

To test Simulation Staging data for Validate Bank Account (Penny Drop), please use the following API Endpoint - https://in.staging.decentro.tech/core_banking/money_transfer/validate_account

To AccountIFSC CodeTest CasesTransaction Status
123456789011SBIN0001077Validate Bank Account API Status as 'Success'Success
123456789013HDFC0001234Validate Bank Account API Status as 'Failure'Failure

Validate VPA - Simulation Data

Below is the test data that can be used by platforms to test out standard scenarios for Validate UPI Handle (VPA).

The platform is expected to pass the parameters as-is to get the intended scenario.

πŸ“˜

Note - Simulation Data

To test Simulation Staging data for Validate VPA, please use the following API Endpoint - https://in.staging.decentro.tech/v2/payments/vpa/validate

Steps to use this data:

  1. Take the UPI ID from the values shared below depending on the scenario to be tested.
  2. Trigger the validate VPA API with that UPI ID with the required type.
  3. API response will state the validation of the VPA (valid or invalid)
  4. The information about the UPI ID depends on the the type param passed in the request payload.
UPI IDValidation statusTest case
charles.babbage@okhdfcVALIDWhen VPA is valid
alan.turing@oksbiINVALIDWhen VPA is invalid

Generate payment link & Get transaction status API - Simulation Data

Below is the test data that can be used by platforms to test out standard scenarios for Generate payment link.

The platform is expected to pass the parameters as-is to get the intended scenario.

πŸ“˜

Note - Simulation Data

To test Simulation Staging data for Generate payment link API & Get transaction status API, please use the following API Endpoint - https://in.staging.decentro.tech/v2/payments/upi/link https://in.staging.decentro.tech/v2/payments/transaction/status

Steps to use this data:

  1. Generate a payment link with amount parameter as either 10, 20, 30 depending on the test case being observed.
  2. Obtain the generated link in the response.
  3. Use decentro_txn_id from the response and pass in Get transaction status API to fetch the terminal status of the transaction.
  4. Depending on the Amount passed in step 1, you'll receive the terminal status.
  5. Please refer to the table below for Amount v/s transaction status test cases in staging simulation.
  6. In the live flow, step 4 will take some time till the end user enters the UPI pin and makes the payment. Till then the status of the transaction by GTS will be PENDING.
AmountTransaction statusTest case
10SuccessPayment link is created & Transaction status is Success
20FailurePayment link is created & Transaction status is Failed
30PendingPayment link is created & Transaction status is Pending

Collection request - Simulation Data

Coming soon

Refund - Simulation Data

coming soon