---
title: "Poll Request Status"
method: GET
path: "/v1/users/{userId}/liabilities/refresh/{extRequestId}"
tags: ["Real-Time Data"]
---

# Poll Request Status

`GET /v1/users/{userId}/liabilities/refresh/{extRequestId}`

## Request

- Base URL: `https://sandbox-api.spinwheel.io`
- URL: `https://sandbox-api.spinwheel.io/v1/users/{userId}/liabilities/refresh/{extRequestId}`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `Authorization`

Polling API to get status of refresh transactions based on the extRequestId

## Path parameters

- `userId` string, required
- `extRequestId` string, required

## Response `200`

Successful response

- RefreshLiabilitiesResponse
  - `status` ResponseStatus, required
    - `code` number
    - `desc` string
    - `messages` Message[]
      - `desc` string, required
      - `type` 'ERROR' | 'WARN' | 'INFO'
  - `data` RefreshLiabilitiesTransaction[], required
    - `refreshTransactionStatus` 'IN_PROGRESS' | 'COMPLETED' | 'FAILED', required: Status of the transaction
    - `refreshTransactionId` string, required: Refresh transaction ID
    - `creditCardId` string: ID of the credit card being refreshed
    - `capability` 'LIABILITY_GROUP_PAYOFF_QUOTE' | 'PAYOFF_SUMMARY' | 'REALTIME_BALANCE' | 'STATEMENT_SUMMARY' | 'ANNUAL_PERCENTAGE_RATE': Capability for which refresh was requested
    - `liabilityGroupId` string: ID of the liability group being refreshed
    - `studentLoanIds` string[]: IDs of the student loans being refreshed
    - `nextEligibleRefreshOn` number: Next refresh will be enabled at provided timestamp

## Other responses

- `400`: Bad request response
- `401`: Unauthorized response
- `404`: Not found response
- `500`: Internal server error response

---

[API](https://skmtc.dev/spinwheel/apis/optimize.md) - [All operations](https://skmtc.dev/spinwheel/apis/optimize/llms.txt) - [OpenAPI document](https://skmtc.dev/spinwheel/apis/optimize/revisions/6222309663d2?raw)
