Skip to main content

AccountValidationAPI

The Account validation API is used to validate an account number by a couple of trial transactions into the account (debit & credit). The transactions include two credits and one debit.

Success Scenario:

  • Post API request with the headers, body, and authorization.
  • Request data is validated in the business layer.
  • Two credit transactions and one debit (equals to sum of credits) are done.
  • API response with input details along with transaction details of the three transactions.

Failure Scenario 1:

  • Post API request with the headers, body, and authorization.
  • Request data is validated in the business layer.
  • If the data validation fails, then API response with transaction id immediately with status as "Error" and error description.

Failure Scenario 2:

  • Post API request with the headers, body, and authorization.
  • Request data is validated in the business layer.
  • Any one transaction in the series of three transactions failed.
  • API responses immediately with status as Error and error description

Parameters

TYPENAMEDESCRIPTION
AccountValidationAPIRequestrequest

Returns

TYPEDESCRIPTION
AccountValidationAPIResponse