--- http_interactions: - request: method: get uri: https://stage.iwoca-dev.co.uk/api/lending/v1/credit_facility_status/12369240-4803-49e3-89cd-526aa0dbf8a9/ body: encoding: US-ASCII string: '' headers: Authorization: - Token Content-Type: - application/json User-Agent: - ruby-iwoca-0.1.1 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" response: status: code: 200 message: OK headers: Date: - Thu, 30 Jan 2020 10:54:28 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked Connection: - keep-alive Server: - nginx/1.15.12 Vary: - Accept-Encoding - Cookie X-State-Key: - 12369240-4803-49e3-89cd-526aa0dbf8a9 Expires: - Thu, 30 Jan 2020 10:54:28 GMT Cache-Control: - max-age=0, no-cache, no-store, must-revalidate - public, max-age=0, must-revalidate X-Partner: - finpoint-dev X-Content-Type-Options: - nosniff X-Xss-Protection: - 1; mode=block X-Frame-Options: - SAMEORIGIN Set-Cookie: - isLoggedIn=True; Path=/ - sessionid_access=691ed440-8ca7-47d4-90e9-1b38e9fc58c0; expires=Fri, 29-Jan-2021 10:54:28 GMT; HttpOnly; Max-Age=31536000; Path=/ - uid=rBEABF4yteQZzAAlA/ewAg==; expires=Thu, 31-Dec-37 23:55:55 GMT; domain=.iwoca-dev.co.uk; path=/ Strict-Transport-Security: - max-age=31536000; includeSubDomains body: encoding: ASCII-8BIT string: '{"data": {"balance": {"principal": 0.0, "interest": 0.0, "product_fees": 0.0, "other_fees": 0.0, "total": 0.0}, "latest_approval_request": {"status": "decision_made"}, "approval_status": {"status": "declined"}, "approval_requirements": [{"type": "cc", "status": "required"}, {"type": "bus_cc", "status": "required"}, {"type": "dir_guarantor", "status": "required"}, {"type": "enhanced_security_check", "status": "pending"}], "funding_requirements": [{"status": "required", "type": "fraud"}, {"type": "docs", "status": "required"}, {"type": "enhanced_security_check", "status": "pending"}]}}' http_version: recorded_at: Thu, 30 Jan 2020 10:54:28 GMT recorded_with: VCR 5.0.0