Complete sandbox open banking account access authorization

Completes a sandbox open banking account access authorization flow for testing purposes.
This endpoint simulates the completion of a bank account authorization process without requiring actual bank connections, making it ideal for development and testing environments.

This is a sandbox endpoint that simulates the authorization completion process. In sandbox mode, this endpoint typically returns an HTTP 302 redirect to a success page or custom return URL.
In some cases (e.g., API-only integrations), it may return a 200 JSON response.

Sandbox Authorization Flow

  1. Initiate: Client calls sandbox access request endpoint to start authorization
  2. Simulate: Sandbox simulates bank authentication process
  3. Callback: Sandbox redirects back with simulated authorization code
  4. Complete: This endpoint simulates token exchange and redirects to success page

Process Overview

This sandbox endpoint will:

  • Validate the bank account authorization grant
  • Simulate the exchange of authorization code for access tokens
  • Simulate secure token storage for future API calls
  • Update the authorization grant status to completed
  • Redirect the user to a success page or custom return URL

Response Behavior

  • Redirect (302): HTTP 302 redirect to success page with grant information (typical web flow)
  • JSON (200): JSON response with completion status (API-only integrations)
  • Custom Return URL: If provided in initial request, redirects to custom URL
  • Error: May redirect to error page with error information

Sandbox Features

  • Simulates various success and failure scenarios
  • No actual bank connections required
  • Predictable responses for testing
  • Configurable via query parameters for different test cases
  • Safe for development and testing environments

Testing Scenarios

The sandbox supports various testing scenarios:

  • Successful authorization completion
  • Invalid authorization codes
  • Expired grants
  • Network simulation errors
  • User denial scenarios

Security Considerations

  • Sandbox authorization codes are simulated and safe for testing
  • No real banking credentials are processed
  • Simulated tokens are used for testing purposes only
  • Redirect URLs are validated for security even in sandbox mode
  • All sandbox data is isolated from production systems

Error Simulation

Common simulated failure scenarios:

  • Invalid or expired authorization code
  • Mismatched authorization grant
  • Simulated API errors
  • Simulated network connectivity issues
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The authorization grant identifier from the initial sandbox access request

Query Params
string
required
length between 1 and 1000

Simulated authorization code returned by sandbox after user authentication

string
required
length between 1 and 500

Scope parameter indicating granted permissions in sandbox environment

string
length ≤ 500

Optional state parameter for additional validation (if used in initial request)

string
enum
Defaults to success

Sandbox testing scenario to simulate different outcomes

Allowed:
Responses

Language
Credentials
Bearer
UUID
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
*/*