Real Time Data

Poll Request Status

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

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

Authorization

AuthorizationBearer <token>

Send your Spinwheel secret key as a bearer token: Authorization: Bearer <secretKey>. Keys are environment-specific.

In: header

Path Parameters

userId*string
extRequestId*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/users/string/liabilities/refresh/string"

Response with a current status of refreshing liabilities

{  "status": {    "code": 200,    "desc": "success"  },  "data": [    {      "refreshTransactionStatus": "IN_PROGRESS",      "refreshTransactionId": "43ec068e-3ae0-4e40-826e-eaa007e1426f",      "creditCardId": "fb444634-40a8-4a62-849d-4e2db7b8a9ad",      "nextEligibleRefreshOn": 1597753517524,      "capability": "REALTIME_BALANCE"    },    {      "refreshTransactionStatus": "COMPLETED",      "refreshTransactionId": "4dcc6ef1-816d-4da1-a7fb-45478f5e341b",      "creditCardId": "5b747c1e-66a2-4b3e-939d-3a85091218ec",      "nextEligibleRefreshOn": 1597753517524,      "capability": "REALTIME_BALANCE"    },    {      "refreshTransactionStatus": "IN_PROGRESS",      "refreshTransactionId": "0f47706a-0954-424d-b71f-41dccf0cfab7",      "liabilityGroupId": "38ff202f-4c43-4dc5-8ad7-1e1fc5aae30b",      "studentLoanIds": [        "50ba9f11-ebf6-44dd-864d-7e9e6fe9d0a7",        "c38b0a06-6464-4073-b5f6-3942af894c09"      ],      "nextEligibleRefreshOn": 1597753517524,      "capability": "LIABILITY_GROUP_PAYOFF_QUOTE"    },    {      "refreshTransactionStatus": "IN_PROGRESS",      "refreshTransactionId": "b790770b-33c7-49d4-b086-e6e18864ba34",      "creditCardId": "007035e0-7865-49f3-be50-c922b1c63dc6",      "nextEligibleRefreshOn": 1748577600000,      "capability": "ANNUAL_PERCENTAGE_RATE"    }  ]}