SahamatiNet
  • Background
  • SahamatiNet POC
    • Introduction
    • Applications
    • Observability
    • Integration Steps
      • Sandbox Onboarding
      • IAM APIs
      • CR APIs
      • Integration with Router
        • Sample Code Snippets
          • Python
          • Java
          • JavaScript
          • GoLang
          • C#
        • Router APIs Specifications
          • FIU API Specification
          • AA API Specification
          • FIP API Specification
      • ReBIT Workflows using Router
        • Account Discovery & Linking
        • Consent Workflow
        • FI Request Workflow
    • Integration with Simulators
      • AA Simulator
      • FIP Simulator
      • FIU Simulator
    • Validation of Integration
  • Glossary
  • Guidelines
  • Frequently Asked Questions
  • How To Guides
    • How To Onboard to Sandbox ?
    • How To Decide on an Entity ID ?
    • How To Generate a Certificate ?
    • How To Generate Tokens ?
Powered by GitBook
LogoLogo

Copyright © 2025 - Sahamati Foundation

On this page

Was this helpful?

Export as PDF
  1. SahamatiNet POC
  2. Integration with Simulators

AA Simulator

PreviousIntegration with SimulatorsNextFIP Simulator

Was this helpful?

AA - Response Simulator:

This AA response simulator will support all the APIs listed under this ReBIT Spec -

API
Expected Response
x-simulate-res Header Options

All

200 OK

Ok

All

400 Bad Request

BadRequest

All

401 Unauthorized Access

Unauthorized

All

404 Not Found

NotFound

All

409 Conflict

Conflict

All

412 Precondition failed

PreconditionFail

All

501 Not Implemented

NotImplemented

All

503 Service Unavailable

ServiceUnavailable

FI/fetch

403 Forbidden

(DataFetchRequestInProgress)

Forbidden

FI/fetch

410 Data Gone

DataGone

All

Timeout Scenario

(delay in sending response)

TimeOut

Sample FI/fetch workflow using AA-SIMULATOR:

Preloaded Scenarios

The AA Response Simulator (AA-SIMULATOR) includes preloaded scenarios that can be accessed by sending the corresponding scenario ID in the x-scenario-id header. The table below lists the scenarios available from the AA Simulator.

API Requests
Scenario Id
Details

/Consent

ConsentDeposit_Success

Successful consent request

/Consent/handle

ConsentHandleDeposit_Approved

Consent response with status as Approved

/Consent/handle

ConsentHandleDeposit_Ready

Consent response with status as Ready

/Consent/handle

ConsentHandleDeposit_Rejected

Consent response with status as Rejected

/Consent/handle

ConsentHandleDeposit_Expired

Consent response with status as Expired

/Consent/handle

ConsentHandleDeposit_Failed

Consent response with status as Failed

/Consent/handle

ConsentHandleDeposit_Pending

Consent response with status as Pending

/Consent/fetch

ConsentFetchDeposit_Active

Consent fetch with status as Active

/Consent/fetch

ConsentFetchDeposit_Paused

Consent fetch with status as Paused

/Consent/fetch

ConsentFetchDeposit_Revoked

Consent fetch with status as Revoked

/Consent/fetch

ConsentFetchDeposit_Expired

Consent fetch with status as Expired

/FI/request

FIRequestDeposit_Success

Successful FI request

/FI/request

FIRequestDeposit_Expired

FI request with expired consent

/FI/fetch

FIFetchDeposit_Success_1

Successful FI fetch from Bank 1

/FI/fetch

FIFetchDeposit_Success_2

Successful FI fetch from Bank 2

/Consent/Notification

ConsentNotificationDeposit_Success

Successful consent notification

/FI/Notification

FINotificationDeposit_Success

Successful FI notification

/Account/link/Notification

AccountLinkNotificationDeposit_Success

Successful Account Link notification

https://api.rebit.org.in/viewSpec/AA_2_1_0.yaml