Retrieve a user challenge.
ExtChallenge id to query
Unique system generated JWT session token for specific user.
Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
1from circle.web3 import user_controlled_wallets
2from circle.web3 import utils
3
4client = utils.init_user_controlled_wallets_client(api_key=key)
5
6api_instance = user_controlled_wallets.UsersApi(client)
7
8response = api_instance.get_user_challenge(x_user_token=user_token, id="f431596f-f12a-4e4a-bedb-93694db5186e")
9print(response.json())
10
1{
2 "data": {
3 "challenge": {
4 "id": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5",
5 "correlation_ids": [
6 "54399e5a-1bf6-4921-9559-10c1115678cd"
7 ],
8 "error_code": 155121,
9 "error_message": "challenge expired",
10 "status": "PENDING",
11 "type": "SET_PIN"
12 }
13 }
14}