Header

{
  "expiresIn": "1h",
  "alg": "RS256"
}

 

Payload


{
  "iss": "Your App's client_id",
  "response_type": "code id_token",
  "client_id": "Your App's client_id",
  "redirect_uri": "http://localhost/",
  "scope": "openid accounts payments",
  "state": "987654321",
  "nonce": "987654321",
  "x-idempotency-key": "987654321",
  "claims": {
    "id_token": {
      "openbanking_intent_id": {
        "value": "urn:arabbank:intent:accounts:Request ID obtained in previous API call",
        "essential": true
      },
      "acr": {
        "essential": true
      }
    }
  }
}

 

You can generate the request JWT for the request parameter in /authorize either through jwt.io, where the above payload is signed using your app's public and private keys. You can alternatively generate the request JWT through programming languages such as javascript.