--- http_interactions: - request: method: get uri: https://stage.iwoca-dev.co.uk/api/lending/v1/credit_facility_status/a16011ce-16c2-4581-b3d6-8b48e8db118b/ 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:52:51 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: - a16011ce-16c2-4581-b3d6-8b48e8db118b Expires: - Thu, 30 Jan 2020 10:52:51 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=f6b3893f-33ef-4f94-90b4-e30d6b294b4f; expires=Fri, 29-Jan-2021 10:52:51 GMT; HttpOnly; Max-Age=31536000; Path=/ - uid=rBEABF4ytYMZzAAlA/ekAg==; 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": "approved", "approved": {"min_credit": 1.0, "max_credit": 10000.0, "interval": "1m", "duration": 12, "rate_structures": [{"effective_on_day": 0, "rates": [{"max_principal": 10000.0, "rate": 0.0535}]}], "time_out": "2019-11-10T00:00:00Z", "top_up_allowed": false}}, "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"}], "available_credit": 10000.0}}' http_version: recorded_at: Thu, 30 Jan 2020 10:52:51 GMT recorded_with: VCR 5.0.0