capital_on_tap 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e3c068978987a0f13e9e4e89cdf67f2ce66db2db86621e168435948cc648c926
4
- data.tar.gz: 81995933748bf8510eefe4973f653a553db920af3538e408f47e0cc34cd221a6
3
+ metadata.gz: dc67a69a1cc973ca1dd2b6026029c5a867b3b08dc7205d3361b2afdad6665a5f
4
+ data.tar.gz: 53ee4a6879cb993e66d9c63d7cb2a1eb8ad5e4b0b5c455fc4d05afb89f95b19f
5
5
  SHA512:
6
- metadata.gz: 77e37af6f7e8afb21eaae73d50ad40f8af20b61f7b8da62c49b87a5819571a1e9003be7c339be54a626f5c9cd6bb82e5d5478668675b164cd13b6151eba42556
7
- data.tar.gz: b9780e395fd9b37d2ac14b971fa9dfdffb7467e1e5e2ffba49f4a3bc93ef88abe1eed1401f1b4624635d66449508c4246276133276fd11eaecfd45d065a96fee
6
+ metadata.gz: 2196c8d2d8741f76ab45ca72a5f57d7a5f2e37502ef4e1adfdc085ebf731adc369df2e720156990f9a08169e46bef0438cf77b4dedbcf9ff2f805fc2918e3a13
7
+ data.tar.gz: 0416c865a93f281bd6998cb0d253024a01f9215e631c724476f9c9ddb0a186edcc8b8cd987cd968efceed8d8b53c40a2de14cb334852b2b6596e2a72fc95eccb
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- capital_on_tap (0.1.7)
4
+ capital_on_tap (0.1.8)
5
5
  addressable
6
6
  faraday
7
7
  faraday_middleware
@@ -11,11 +11,12 @@ module CapitalOnTap
11
11
 
12
12
  TOKEN_PATH = '/connect/token'
13
13
  DEFAULT_GRANT_TYPE = 'password'
14
+ REFRESH_GRANT_TYPE = 'refresh_token'
14
15
 
15
16
  def_delegators :@configuration, :client_id, :client_secret, :username, :password
16
17
 
17
- def self.refresh_token(refresh_token)
18
- new.refresh_token(refresh_token)
18
+ def self.refresh_access_token(refresh_token)
19
+ new.refresh_access_token(refresh_token)
19
20
  end
20
21
 
21
22
  def self.obtain_token
@@ -32,12 +33,28 @@ module CapitalOnTap
32
33
  # refresh_token: '<refresh_token>'
33
34
  # }
34
35
  def obtain_token
35
- client = Faraday.new(url: config.base_auth_url) do |conn|
36
+ token_request(token_params)
37
+ end
38
+
39
+ def refresh_access_token(refresh_token)
40
+ return {} unless refresh_token
41
+
42
+ refresh_params = token_params(grant_type: REFRESH_GRANT_TYPE, refresh_token: refresh_token)
43
+
44
+ token_request(refresh_params)
45
+ end
46
+
47
+ private
48
+
49
+ def client
50
+ Faraday.new(url: config.base_auth_url) do |conn|
36
51
  conn.headers['Content-Type'] = 'application/x-www-form-urlencoded'
37
52
  conn.response :logger if config.debug?
38
53
  conn.adapter Faraday.default_adapter
39
54
  end
55
+ end
40
56
 
57
+ def token_request(token_params)
41
58
  puts "[DEBUG] Sending #{token_params.inspect}" if config.debug?
42
59
 
43
60
  result = client.post do |req|
@@ -48,20 +65,18 @@ module CapitalOnTap
48
65
  MultiJson.load(result.body, symbolize_keys: true)
49
66
  end
50
67
 
51
- private
52
-
53
68
  def config
54
69
  CapitalOnTap.configuration
55
70
  end
56
71
 
57
- def token_params
72
+ def token_params(params = {})
58
73
  {
59
74
  client_id: config.client_id,
60
75
  client_secret: config.client_secret,
61
76
  grant_type: DEFAULT_GRANT_TYPE,
62
77
  username: config.username,
63
78
  password: config.password
64
- }
79
+ }.merge(params)
65
80
  end
66
81
  end
67
82
  end
@@ -26,7 +26,7 @@ module CapitalOnTap
26
26
  def get(path, params = {})
27
27
  log "GET #{path} with #{params}"
28
28
 
29
- http_response = adapter.get(path, params)
29
+ http_response = with_refresh { adapter.get(path, params) }
30
30
 
31
31
  log "Response: #{http_response.body}"
32
32
 
@@ -36,7 +36,7 @@ module CapitalOnTap
36
36
  def post(path, params = {})
37
37
  log "POST #{path} with #{params}"
38
38
 
39
- http_response = adapter.post(path, params.to_json)
39
+ http_response = with_refresh { adapter.post(path, params.to_json) }
40
40
 
41
41
  log "Response: #{http_response.body}"
42
42
 
@@ -51,6 +51,24 @@ module CapitalOnTap
51
51
 
52
52
  private
53
53
 
54
+ def with_refresh
55
+ http_response = yield
56
+
57
+ response = Response.new(http_response)
58
+
59
+ # Get a new access token if needed
60
+ if !response.success? && response.invalid_token?
61
+ params = CapitalOnTap::Auth.refresh_access_token(@refresh_token)
62
+
63
+ @access_token = params[:access_token]
64
+ @refresh_token = params[:refresh_token]
65
+
66
+ http_response = yield
67
+ end
68
+
69
+ http_response
70
+ end
71
+
54
72
  def base_url
55
73
  Addressable::URI.join(CapitalOnTap.configuration.base_url, BASE_PATH).to_s
56
74
  end
@@ -6,18 +6,26 @@ module CapitalOnTap
6
6
  class Response
7
7
  extend Forwardable
8
8
 
9
- def_delegators :@http_response, :body, :status, :success?
9
+ def_delegators :@http_response, :body, :status, :success?, :headers
10
10
 
11
11
  def initialize(http_response)
12
12
  @http_response = http_response
13
13
  end
14
14
 
15
15
  def error
16
- @http_response.body.dig(:errorMessage) || @http_response.body.dig(:error)
16
+ @http_response.body&.dig(:errorMessage) || @http_response.body&.dig(:error)
17
17
  end
18
18
 
19
19
  def metadata
20
- @http_response.body.dig(:metaData)
20
+ @http_response.body&.dig(:metaData)
21
+ end
22
+
23
+ def invalid_token?
24
+ auth_failure = @http_response.headers&.dig('www-authenticate')
25
+
26
+ return false unless auth_failure
27
+
28
+ auth_failure.match?('invalid_token')
21
29
  end
22
30
  end
23
31
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CapitalOnTap
4
- VERSION = '0.1.7'
4
+ VERSION = '0.1.8'
5
5
  end
@@ -0,0 +1,147 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://prelive-api-partner.capitalontap.com/api/v1/Applications
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"Salutation":"Mr","FirstName":"Roberto","LastName":"Caras","DateOfBirth":"1980-04-10","MobilePhone":"07712345617","EmailAddress":"oterosantos_96@gmail.com","PersonalAddress":{"CountryCode":"UK","Street":"Unit
9
+ 10 Falcon Way Adelaide Industrial Estate, Boucher Road","PostCode":"BT12 6SQ","City":"Belfast"},"TradingName":"DUNDER
10
+ MCMIFFLIN LTD","BusinessLegalName":"DUNDER MCMIFFLIN LTD","BusinessLandline":"07874186570","YearsTrading":5,"MonthlyTurnOver":8545,"BusinessType":"LimitedCompany","BusinessAddress":{"CountryCode":"UK","Street":"Unit
11
+ 10 Falcon Way Adelaide Industrial Estate, Boucher Road","PostCode":"BT12 6SQ","City":"Belfast"},"RegistrationNumber":"NI644403"}'
12
+ headers:
13
+ Authorization:
14
+ - Bearer 'CfDJ8F0Dan85BWtLjqL6412SsDWoKc8Y2UkBpVtpZCfZWosgN60PhE46mn81R0Ph7S92JooDUwBNzVRkSnKm3cTylpE2khpIiOheIaUz6anE-SDE_6Ck1B74Oh0Dr9WydFJPqfLMbUHQu28miFJNYxRhgiOUlHR7QOQKFAsfIobj4QZlV12FUdpBFK1Wxd05rtE6U9-Ox17rZrmNpbHamVBnoOofLeWz_m4_DvPvvBHUZoiJk2te-qqDettd0krO89GVM0c_NKqwrb4bQ87o4IckUYseN6N_cM-6yCXd3E3QnwY8zJUSquTWAkY8JJxWsHGfprYqEn_BR4_ilu6cL49l4puYAKj2L28ZYPVGO4MLzWgN_HcRAJVfnkCIVKq_HhT0LAj9ks1QZevQr--VYAmKQuc1nB--GpIO_gXF5x3AmZS5ETtjPgMnuSVE0WN1dO3hG70x-8yPMB4Ae-QTNZ11AemNap9XbAJJk4V_L_m_0Dj52NrNyq0BWYaW0E7dVR-HyB7sSminnzPCwqkKBfYnUrCfDR4yY2m0iNDmHbKHGSgzT01dOVen88NvN1qrDshUDGhvChACQDnSgNYm8btTvWa4jSEl4LCIczt9atdzJ-dRZQrOEImWdu3044VXj_eSe26_kGWfo1_ZkQaU22SeUMzQqePg0J5hmiY0S88Su61gWCeztlo0UQWdDRZLph9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LfEIyFSGWmdM'
15
+ Content-Type:
16
+ - application/json
17
+ User-Agent:
18
+ - Faraday v0.17.3
19
+ Accept-Encoding:
20
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
21
+ Accept:
22
+ - "*/*"
23
+ response:
24
+ status:
25
+ code: 401
26
+ message: Unauthorized
27
+ headers:
28
+ Cache-Control:
29
+ - no-cache, no-store, must-revalidate
30
+ Pragma:
31
+ - no-cache
32
+ Expires:
33
+ - "-1"
34
+ Www-Authenticate:
35
+ - Bearer error="invalid_token", error_description="The access token is not valid."
36
+ Strict-Transport-Security:
37
+ - max-age=31536000; includeSubDomains
38
+ X-Content-Type-Options:
39
+ - nosniff
40
+ Date:
41
+ - Mon, 27 Jan 2020 21:08:15 GMT
42
+ Content-Length:
43
+ - '0'
44
+ body:
45
+ encoding: UTF-8
46
+ string: ''
47
+ http_version:
48
+ recorded_at: Mon, 27 Jan 2020 21:08:15 GMT
49
+ - request:
50
+ method: post
51
+ uri: https://prelive-api-auth.capitalontap.com/connect/token
52
+ body:
53
+ encoding: US-ASCII
54
+ string: client_id=finpoint-prelive&client_secret=FinpointPreliveSecretKey&grant_type=refresh_token&username=hvCdHL%3DX%26Dsvvxp1KUfUU_G1B3%24%40VR%24vdn4Hyx%21d%28hA%21%24%26%2BEW%28-hgbid%408JsgPKL%24NKqRtk%24z7OugR4*gF%40cWK7%2601Pphf%23mR%2BTP6m_JoBN%401Al%28V%29*xR%28%40dWLe%408Oy%3DApUG_ocRLMKy8PU%24N1%29BCOwU1%26T-%237VQDSWev%23dSf%3Dn%5EbnVSZruB3%23%29%263quVaw%40gcR-%29KJsleTBNCtgnPazP%23d92N2WNfs%23XL3X%5E-Lr6UfxFmr%28%26HdrW1p%29fg%21KFXIz&password=FinpointPrelive1%23&refresh_token=CfDJ8F0Dan85BWtLjqL6412SsDXKl0-wSYriiMbq7AANwIqop3BzW_jaTfjXJ0OuQKXJeMbEeWOEXJKgPXWSVuM8PWCekHY-y58HHO3zUu1Hvf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BVK7NZpPc32sX8vUARHJOi7V1X8BvnnW7Ue4AKec0y3ebAI7nphLaym2T_RYqgeWwaEgx4R4tMHH1Ntd3hHHt8bKtooknUrqSk4V4YqY8TJk0uKf9FfK6FmP0SYsmpW5KDthXwe4zwWIlJx2jNh8Z3Hqlx3QAT5AvQuDXrZgeGUm-IIFlJ5B3p37prWKtbtZfEGQehsyylp8OkdFJLeaWofyB1oxSn3Na0SBC9AYv95lvAmLa9q3n_6NLEJneaZjqekDQ_C5CRjPShSbq35mmcw9zmpy8gTZhKXvsXNn2js2Be-SfSH62Skd1y_i-NAia4X2xaew25pof0BsuSE5VRHCFgRrZRI8OV0L6Qs30SQEteYJEIlr98o818L2eLxlw_to3DwkpMsddTzBLKHZPYzh5ePTdf3-2tGElbEZ_l2VQLfEFOTDp2KeGu9ZbmzlWQpwBbk1hvZ_NBDA2b2ztdlxa51I6K1M2zNGhfNnqwaZvrG4alKgLzbihWRo-XLLDYFnDt8Jh4qZRviVzq7eS1IUZjRI6TlyM3Fw40qfq9rIV0rNIqIU3UArzkAyW282rA9dYE2-qVbmLqXSJTpzKHuhtbEGc4JNoZgRXLgsAX1dnBNJDbpxNf6L1LM0jYAAChGoVNB707Mt_Ascpg4YZrjjeMRZry2g9LfV1lIJRW-pQB078UhiGgDPAyVHHJsPXPK75aTa4HsDxdaq5tFKWqfzmZZhvqizoSIQmt7E90OhjUWLr49HJSP5pgPOGYsbs0kha3BkAejYv5j4kzYYZMn9fAT1I6ug6JVeOZCKMivaJgbHtamLx7PdOagIFe8LUAYatufaDXvRO9Yf2oBgWLusvWf2bayKBd08QKtWuIv-y4LqmwtDfYlIX89cPSicybMAvAIDIySYe5XLntrgPg1CT0IGQLzXOProWnIgsDaLArC2xA
55
+ headers:
56
+ Content-Type:
57
+ - application/x-www-form-urlencoded
58
+ User-Agent:
59
+ - Faraday v0.17.3
60
+ Accept-Encoding:
61
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
62
+ Accept:
63
+ - "*/*"
64
+ response:
65
+ status:
66
+ code: 200
67
+ message: OK
68
+ headers:
69
+ Cache-Control:
70
+ - no-cache
71
+ Pragma:
72
+ - no-cache
73
+ Content-Type:
74
+ - application/json;charset=UTF-8
75
+ Expires:
76
+ - Thu, 01 Jan 1970 00:00:00 GMT
77
+ Set-Cookie:
78
+ - prelive_access_token=chunks-2; expires=Tue, 28 Jan 2020 21:08:16 GMT; domain=.capitalontap.com;
79
+ path=/; secure; samesite=lax; httponly
80
+ - prelive_access_tokenC1=%7B%22scope%22%3A%22profile%20offline_access%22%2C%22token_type%22%3A%22Bearer%22%2C%22access_token%22%3A%22CfDJ8F0Dan85BWtLjqL6412SsDUHursiTvaS-Z5jWenH6ktY97hwlP93aW63NIJutAnEw4FJbGGrkKA_Bf9GGLnJ8LQ01arRFzhHSLjTManze8pcXIg8kBQEqI76AGkElvfXtTsNyX2gO0TloefCJJMI4-SLm5cYcXriQS1i0oXxAUkuJilaT5JeanKOWhMP7xnGUZ0eoA3eDQQi4R1OA7majV3MUg0hNU-W3FfJSftwX1kpSnKcNOQb1Ei7OHI7xvjMqenSg_-iaZEUBO3Of-clvmqICwltwrgrk5hCzU-b8RgT8Up8xOoFQ7lp42HIBcC7A_Aj4OJ_tPTk07OKL68TqQwWyVne5qCbgf8yReQKvhaKKmXW5HtOpiFZwQSm9L9DCIEqa2CpB9Hl7fTSZX3mHgmxda2IlAuHM9FKwm1VpI5Bs5qQ7J_9tQXhe8xp8iSNCA4lYgwn9ylYueX5fcMbJoSc3ryudV5h0-j8GIFD2lU7JQgpsTUNmK_1Ichcbno2stv2VZufZnR92tY1SBneHRvIZAaXDLcN5Ps91YhPynQUHKUWBpbgH3cmAAesnIpitv1_WgPX81Usu3fglGOOrOkCZiK7mlm9CbnXMSaSs_Hi-QXW5Ock7T7SZOrZREwTY46i7H-U0N1d6SfYKJCkYHM6QxTxt0AW1RcJz4Xo0DYCWr43BxZXJQobwxtCJiV3MRMp3XsQqXrMmswuBTczL41HHTwU1TE7te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dOmVhLcIvsk49OHqAXiC-oHGg1wqClSD5fPzp-tTzKXEvBDbUEnvtlah7sXk8d5xt1dU6ysic_1Lw2ZydFpFv8iFQpFzxZl94FOCZPoZSTuEVF9zc%22%7D;
84
+ expires=Tue, 28 Jan 2020 21:08:16 GMT; domain=.capitalontap.com; path=/; secure;
85
+ samesite=lax; httponly
86
+ Strict-Transport-Security:
87
+ - max-age=31536000; includeSubDomains
88
+ X-Content-Type-Options:
89
+ - nosniff
90
+ Date:
91
+ - Mon, 27 Jan 2020 21:08:16 GMT
92
+ Content-Length:
93
+ - '4069'
94
+ body:
95
+ encoding: UTF-8
96
+ string: '{"scope":"profile offline_access","token_type":"Bearer","access_token":"CfDJ8F0Dan85BWtLjqL6412SsDUHursiTvaS-Z5jWenH6ktY97hwlP93aW63NIJutAnEw4FJbGGrkKA_Bf9GGLnJ8LQ01arRFzhHSLjTManze8pcXIg8kBQEqI76AGkElvfXtTsNyX2gO0TloefCJJMI4-SLm5cYcXriQS1i0oXxAUkuJilaT5JeanKOWhMP7xnGUZ0eoA3eDQQi4R1OA7majV3MUg0hNU-W3FfJSftwX1kpSnKcNOQb1Ei7OHI7xvjMqenSg_-iaZEUBO3Of-clvmqICwltwrgrk5hCzU-b8RgT8Up8xOoFQ7lp42HIBcC7A_Aj4OJ_tPTk07OKL68TqQwWyVne5qCbgf8yReQKvhaKKmXW5HtOpiFZwQSm9L9DCIEqa2CpB9Hl7fTSZX3mHgmxda2IlAuHM9FKwm1VpI5Bs5qQ7J_9tQXhe8xp8iSNCA4lYgwn9ylYueX5fcMbJoSc3ryudV5h0-j8GIFD2lU7JQgpsTUNmK_1Ichcbno2stv2VZufZnR92tY1SBneHRvIZAaXDLcN5Ps91YhPynQUHKUWBpbgH3cmAAesnIpitv1_WgPX81Usu3fglGOOrOkCZiK7mlm9CbnXMSaSs_Hi-QXW5Ock7T7SZOrZREwTY46i7H-U0N1d6SfYKJCkYHM6QxTxt0AW1RcJz4Xo0DYCWr43BxZXJQobw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ysic_1Lw2ZydFpFv8iFQpFzxZl94FOCZPoZSTuEVF9zc"}'
97
+ http_version:
98
+ recorded_at: Mon, 27 Jan 2020 21:08:17 GMT
99
+ - request:
100
+ method: post
101
+ uri: https://prelive-api-partner.capitalontap.com/api/v1/Applications
102
+ body:
103
+ encoding: UTF-8
104
+ string: '{"Salutation":"Mr","FirstName":"Roberto","LastName":"Caras","DateOfBirth":"1980-04-10","MobilePhone":"07712345617","EmailAddress":"oterosantos_96@gmail.com","PersonalAddress":{"CountryCode":"UK","Street":"Unit
105
+ 10 Falcon Way Adelaide Industrial Estate, Boucher Road","PostCode":"BT12 6SQ","City":"Belfast"},"TradingName":"DUNDER
106
+ MCMIFFLIN LTD","BusinessLegalName":"DUNDER MCMIFFLIN LTD","BusinessLandline":"07874186570","YearsTrading":5,"MonthlyTurnOver":8545,"BusinessType":"LimitedCompany","BusinessAddress":{"CountryCode":"UK","Street":"Unit
107
+ 10 Falcon Way Adelaide Industrial Estate, Boucher Road","PostCode":"BT12 6SQ","City":"Belfast"},"RegistrationNumber":"NI644403"}'
108
+ headers:
109
+ Authorization:
110
+ - Bearer CfDJ8F0Dan85BWtLjqL6412SsDUHursiTvaS-Z5jWenH6ktY97hwlP93aW63NIJutAnEw4FJbGGrkKA_Bf9GGLnJ8LQ01arRFzhHSLjTManze8pcXIg8kBQEqI76AGkElvfXtTsNyX2gO0TloefCJJMI4-SLm5cYcXriQS1i0oXxAUkuJilaT5JeanKOWhMP7xnGUZ0eoA3eDQQi4R1OA7majV3MUg0hNU-W3FfJSftwX1kpSnKcNOQb1Ei7OHI7xvjMqenSg_-iaZEUBO3Of-clvmqICwltwrgrk5hCzU-b8RgT8Up8xOoFQ7lp42HIBcC7A_Aj4OJ_tPTk07OKL68TqQwWyVne5qCbgf8yReQKvhaKKmXW5HtOpiFZwQSm9L9DCIEqa2CpB9Hl7fTSZX3mHgmxda2IlAuHM9FKwm1VpI5Bs5qQ7J_9tQXhe8xp8iSNCA4lYgwn9ylYueX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HcWaDT79w1LWa7osxW9gtCuUVw2WANamgsIs-VeDeV6f4t6Kp2Wo3BFSnC6fBY31V_JKzAOrqlQAkaILSLB96b8xaUWDfHDXEm9OLvhjA2eNvQwbtoNCm95j_y64aJlxld-jpAOyrXrN2D1jrtXjvvmd1zYQdEoCE7aNtMImUIdAgyWKPfUN4BuE77qdoffpuIxs7v6p74opKBlz1Tgl_C9Nv8HrGP2WqC6EZgfsbJxfXAMbjWShsKHX8UCUCmhq-zg4IapHsRuSWS3wPCs3NmU
111
+ Content-Type:
112
+ - application/json
113
+ User-Agent:
114
+ - Faraday v0.17.3
115
+ Accept-Encoding:
116
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
117
+ Accept:
118
+ - "*/*"
119
+ response:
120
+ status:
121
+ code: 201
122
+ message: Created
123
+ headers:
124
+ Cache-Control:
125
+ - no-cache, no-store, must-revalidate
126
+ Pragma:
127
+ - no-cache
128
+ Transfer-Encoding:
129
+ - chunked
130
+ Content-Type:
131
+ - application/json; charset=utf-8
132
+ Expires:
133
+ - "-1"
134
+ Strict-Transport-Security:
135
+ - max-age=31536000; includeSubDomains
136
+ X-Content-Type-Options:
137
+ - nosniff
138
+ Date:
139
+ - Mon, 27 Jan 2020 21:08:35 GMT
140
+ body:
141
+ encoding: UTF-8
142
+ string: '{"result":"L538A78","links":{"self":"/api/v1/Applications","parent":null},"metaData":{"buildVersion":"api-partner.capitalontap.com,
143
+ Version=2020.1.21.42, Culture=neutral, PublicKeyToken=null [Version 2020.1.21.42-Sha-04488bb]
144
+ 64-bit","requestTimeUtc":"2020-01-27T21:08:20.3669963Z"}}'
145
+ http_version:
146
+ recorded_at: Mon, 27 Jan 2020 21:08:36 GMT
147
+ recorded_with: VCR 5.0.0
@@ -0,0 +1,51 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://prelive-api-partner.capitalontap.com/api/v1/Applications
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"Salutation":"Mr","LastName":"Caras","DateOfBirth":"1980-04-01","MobilePhone":"07712345654","EmailAddress":"oterosantos_57@gmail.com","PersonalAddress":{"CountryCode":"UK","Street":"Unit
9
+ 22 Falcon Way Adelaide Industrial Estate, Boucher Road","PostCode":"BT12 6SQ","City":"Belfast"},"TradingName":"DUNDER
10
+ MCMIFFLIN LTD","BusinessLegalName":"DUNDER MCMIFFLIN LTD","BusinessLandline":"07874186570","YearsTrading":6,"MonthlyTurnOver":6857,"BusinessType":"LimitedCompany","BusinessAddress":{"CountryCode":"UK","Street":"Unit
11
+ 84 Falcon Way Adelaide Industrial Estate, Boucher Road","PostCode":"BT12 6SQ","City":"Belfast"},"RegistrationNumber":"NI644403"}'
12
+ headers:
13
+ Authorization:
14
+ - Bearer CfDJ8F0Dan85BWtLjqL6412SsDUKXqO2iEi8-mU25w-fxfd_ozsNeNDX-p_0IAvO6FfH7kXZq78RyDtnr77EUv_9Nf5cdxvQruzcJawe8-Tew0ddA0brb1NFQGrIBmIPFfd3dz_wuDLGKfTzM1foOST5_0UAipo3NGgkSYtZNVWYR7yyug5yV6HF63x7OouijI2kxi9L7X-9wZkGf0Jwxhsnp0K7orpwbuUPRYGvCHY1Yp2ZiNKH1wxaMOLB9oc0BQMMXxPMfHNr2I5qM59rLNOwnsDxwaYHmkqWLYGtrUEROh4ODFWYtzmUz3MmUVSQxrPFubZgMFVIeJ0LR_DC3TbTCztn9jMYDO1wllN6qTeUDfAUKUT0sWx6hwm11ukPy9UR1un6mhkhRKvKMAWdv4Cfrvqx-PgjTBxtGaUDEPskZzsCJ17rYAGBMONrXd3ONvexvWtT3oi9Do46V4s-cwGQ1EyyyTg0g-i9h3oUeSnL3gUUqACcyDCsdjvrUnAqjmx2Wz8tl_60TRPqEF2RfIv_xcShy6ulmnNjP2uPm0iudyBHFRgO8H2494hvmPBcIEUaZdaveVqCV33GJPEeED9uhRlqib1dv4BkF88l8AmA9T0pr68WDd1Wk86Huh-l2Y_4b1UhBS63dPqOz5RoPOKRDlPPE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ZoO0x9DL6lRgFaxbDJwpRRAXP43mTaaUiqXsxdqErTNoKn8_3Ye659VF4R-m4W4hu8U25xkEHHcCykC1jMZlY
15
+ Content-Type:
16
+ - application/json
17
+ User-Agent:
18
+ - Faraday v0.17.3
19
+ Accept-Encoding:
20
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
21
+ Accept:
22
+ - "*/*"
23
+ response:
24
+ status:
25
+ code: 400
26
+ message: Bad Request
27
+ headers:
28
+ Cache-Control:
29
+ - no-cache, no-store, must-revalidate
30
+ Pragma:
31
+ - no-cache
32
+ Transfer-Encoding:
33
+ - chunked
34
+ Content-Type:
35
+ - application/json; charset=utf-8
36
+ Expires:
37
+ - "-1"
38
+ Strict-Transport-Security:
39
+ - max-age=31536000; includeSubDomains
40
+ X-Content-Type-Options:
41
+ - nosniff
42
+ Date:
43
+ - Mon, 27 Jan 2020 14:07:44 GMT
44
+ body:
45
+ encoding: UTF-8
46
+ string: '{"errorMessage":"First name is required","links":{"self":"/api/v1/Applications","parent":null},"metaData":{"buildVersion":"api-partner.capitalontap.com,
47
+ Version=2020.1.21.42, Culture=neutral, PublicKeyToken=null [Version 2020.1.21.42-Sha-04488bb]
48
+ 64-bit","requestTimeUtc":"2020-01-27T14:07:44.8285578Z"}}'
49
+ http_version:
50
+ recorded_at: Mon, 27 Jan 2020 14:07:44 GMT
51
+ recorded_with: VCR 5.0.0
@@ -5,13 +5,13 @@ http_interactions:
5
5
  uri: https://prelive-api-partner.capitalontap.com/api/v1/Applications
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"Salutation":"Mr","LastName":"Caras","DateOfBirth":"1980-04-01","MobilePhone":"07712345654","EmailAddress":"oterosantos_57@gmail.com","PersonalAddress":{"CountryCode":"UK","Street":"Unit
9
- 22 Falcon Way Adelaide Industrial Estate, Boucher Road","PostCode":"BT12 6SQ","City":"Belfast"},"TradingName":"DUNDER
10
- MCMIFFLIN LTD","BusinessLegalName":"DUNDER MCMIFFLIN LTD","BusinessLandline":"07874186570","YearsTrading":6,"MonthlyTurnOver":6857,"BusinessType":"LimitedCompany","BusinessAddress":{"CountryCode":"UK","Street":"Unit
11
- 84 Falcon Way Adelaide Industrial Estate, Boucher Road","PostCode":"BT12 6SQ","City":"Belfast"},"RegistrationNumber":"NI644403"}'
8
+ string: '{"Salutation":"Mr","FirstName":"Roberto","LastName":"Caras","DateOfBirth":"1980-07-04","MobilePhone":"111001010","EmailAddress":"oterosantos_41@gmail.com","PersonalAddress":{"CountryCode":"UK","Street":"Unit
9
+ 76 Falcon Way Adelaide Industrial Estate, Boucher Road","PostCode":"BT12 6SQ","City":"Belfast"},"TradingName":"DUNDER
10
+ MCMIFFLIN LTD","BusinessLegalName":"DUNDER MCMIFFLIN LTD","BusinessLandline":"07874186570","YearsTrading":3,"MonthlyTurnOver":6646,"BusinessType":"LimitedCompany","BusinessAddress":{"CountryCode":"UK","Street":"Unit
11
+ 50 Falcon Way Adelaide Industrial Estate, Boucher Road","PostCode":"BT12 6SQ","City":"Belfast"},"RegistrationNumber":"NI644403"}'
12
12
  headers:
13
13
  Authorization:
14
- - Bearer CfDJ8F0Dan85BWtLjqL6412SsDUKXqO2iEi8-mU25w-fxfd_ozsNeNDX-p_0IAvO6FfH7kXZq78RyDtnr77EUv_9Nf5cdxvQruzcJawe8-Tew0ddA0brb1NFQGrIBmIPFfd3dz_wuDLGKfTzM1foOST5_0UAipo3NGgkSYtZNVWYR7yyug5yV6HF63x7OouijI2kxi9L7X-9wZkGf0Jwxhsnp0K7orpwbuUPRYGvCHY1Yp2ZiNKH1wxaMOLB9oc0BQMMXxPMfHNr2I5qM59rLNOwnsDxwaYHmkqWLYGtrUEROh4ODFWYtzmUz3MmUVSQxrPFubZgMFVIeJ0LR_DC3TbTCztn9jMYDO1wllN6qTeUDfAUKUT0sWx6hwm11ukPy9UR1un6mhkhRKvKMAWdv4Cfrvqx-PgjTBxtGaUDEPskZzsCJ17rYAGBMONrXd3ONvexvWtT3oi9Do46V4s-cwGQ1E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@@ http_interactions:
40
40
  X-Content-Type-Options:
41
41
  - nosniff
42
42
  Date:
43
- - Mon, 27 Jan 2020 14:07:44 GMT
43
+ - Mon, 27 Jan 2020 19:46:06 GMT
44
44
  body:
45
45
  encoding: UTF-8
46
- string: '{"errorMessage":"First name is required","links":{"self":"/api/v1/Applications","parent":null},"metaData":{"buildVersion":"api-partner.capitalontap.com,
46
+ string: '{"errorMessage":"Mobile phone must be valid","links":{"self":"/api/v1/Applications","parent":null},"metaData":{"buildVersion":"api-partner.capitalontap.com,
47
47
  Version=2020.1.21.42, Culture=neutral, PublicKeyToken=null [Version 2020.1.21.42-Sha-04488bb]
48
- 64-bit","requestTimeUtc":"2020-01-27T14:07:44.8285578Z"}}'
48
+ 64-bit","requestTimeUtc":"2020-01-27T19:46:06.5822971Z"}}'
49
49
  http_version:
50
- recorded_at: Mon, 27 Jan 2020 14:07:44 GMT
50
+ recorded_at: Mon, 27 Jan 2020 19:46:06 GMT
51
51
  recorded_with: VCR 5.0.0
@@ -0,0 +1,51 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://prelive-api-partner.capitalontap.com/api/v1/Applications
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"Salutation":"Mr","FirstName":"Roberto","LastName":"Caras","DateOfBirth":"1980-07-04","MobilePhone":"07712345632","EmailAddress":"oterosantos_41@gmail.com","PersonalAddress":{"CountryCode":"UK","Street":"Unit
9
+ 76 Falcon Way Adelaide Industrial Estate, Boucher Road","PostCode":"BT12 6SQ","City":"Belfast"},"TradingName":"DUNDER
10
+ MCMIFFLIN LTD","BusinessLegalName":"DUNDER MCMIFFLIN LTD","BusinessLandline":"07874186570","YearsTrading":3,"MonthlyTurnOver":6646,"BusinessType":"LimitedCompany","BusinessAddress":{"CountryCode":"UK","Street":"Unit
11
+ 50 Falcon Way Adelaide Industrial Estate, Boucher Road","PostCode":"BT12 6SQ","City":"Belfast"},"RegistrationNumber":"NI644403"}'
12
+ headers:
13
+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CViZ1ykNhXqjaJ-IkiJ7T3ZHLNIfuE6szzH_r5kezAjiOJ-7kl1-JLTAP17x46SRBRaSFYsTnSWdZRJPHUaKh-69XG_rHPeMIQKUQd-EphRwO2apUm_aM0bRR_D3QORBfEdOPUqm9fOQJGafqkvIpy9HDMZo8rspKCnl61OYiQaOfNsc9JH1bW6PZykgnkIXhRcj2fCxnmpGlAGem7yyjudlBKm8Hfv3B0eOWXhFo3GJRP90ugm1cvmFfD4At-HxkI52smnkiYVkjeWiiM6AkfkxkyS28HxU9gszvlh_WogT0RtZEvQ8v9LrhdJ81wGyOvNyD0QJdPx0jvj11pZelNni9eUIedEkfv2FV4jW9oZfOTKJDIHHQVbdepytE5HADAPXhMPUOWWiljedCPpNGXCbeU9R4h0OJx5-xqKCWMclr3HGdv4PDEURLCsrqy6sM8U8NaI6CSAJD3MkVGmsHxEslR9RK6CzKN8KD4OFsuBr1HotVZjSTGVqzEBG1JKhTARacq1lQxtGQ3sjpzwscIY5_JnZ6N3yAMpqAHcQ8xBmOcESD_a77LaqVn4cgbNs-j_mMXVt5COT37nbQuxm8M5foTQctel4IysbybuwLU9t9D3jTuW63hT_dHCN9pXb_JlVb9RtKtdLGn3qm94N_ShTkOvMx8fHHM2PS8FluHIcNIQPkJcv5jLqdZhN_IsNOQ4JwJZ7Iyd1c-PuI_Ubhrs4nPAA
15
+ Content-Type:
16
+ - application/json
17
+ User-Agent:
18
+ - Faraday v0.17.3
19
+ Accept-Encoding:
20
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
21
+ Accept:
22
+ - "*/*"
23
+ response:
24
+ status:
25
+ code: 400
26
+ message: Bad Request
27
+ headers:
28
+ Cache-Control:
29
+ - no-cache, no-store, must-revalidate
30
+ Pragma:
31
+ - no-cache
32
+ Transfer-Encoding:
33
+ - chunked
34
+ Content-Type:
35
+ - application/json; charset=utf-8
36
+ Expires:
37
+ - "-1"
38
+ Strict-Transport-Security:
39
+ - max-age=31536000; includeSubDomains
40
+ X-Content-Type-Options:
41
+ - nosniff
42
+ Date:
43
+ - Mon, 27 Jan 2020 19:43:48 GMT
44
+ body:
45
+ encoding: UTF-8
46
+ string: '{"errorMessage":"Recent application < 30 days","links":{"self":"/api/v1/Applications","parent":null},"metaData":{"buildVersion":"api-partner.capitalontap.com,
47
+ Version=2020.1.21.42, Culture=neutral, PublicKeyToken=null [Version 2020.1.21.42-Sha-04488bb]
48
+ 64-bit","requestTimeUtc":"2020-01-27T19:43:33.7352371Z"}}'
49
+ http_version:
50
+ recorded_at: Mon, 27 Jan 2020 19:43:48 GMT
51
+ recorded_with: VCR 5.0.0
@@ -0,0 +1,143 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://prelive-api-partner.capitalontap.com/api/v1/Applications/K826F94
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Authorization:
11
+ - Bearer CfDJ8F0Dan85BWtLjqL6412SsDWoKc8Y2UkBpVtpZCfZWosgN60PhE46mn81R0Ph7S92JooDUwBNzVRkSnKm3cTylpE2khpIiOheIaUz6anE-SDE_6Ck1B74Oh0Dr9WydFJPqfLMbUHQu28miFJNYxRhgiOUlHR7QOQKFAsfIobj4QZlV12FUdpBFK1Wxd05rtE6U9-Ox17rZrmNpbHamVBnoOofLeWz_m4_DvPvvBHUZoiJk2te-qqDettd0krO89GVM0c_NKqwrb4bQ87o4IckUYseN6N_cM-6yCXd3E3QnwY8zJUSquTWAkY8JJxWsHGfprYqEn_BR4_ilu6cL49l4puYAKj2L28ZYPVGO4MLzWgN_HcRAJVfnkCIVKq_HhT0LAj9ks1QZevQr--VYAmKQuc1nB--GpIO_gXF5x3AmZS5ETtjPgMnuSVE0WN1dO3hG70x-8yPMB4Ae-QTNZ11AemNap9XbAJJk4V_L_m_0Dj52NrNyq0BWYaW0E7dVR-HyB7sSminnzPCwqkKBfYnUrCfDR4yY2m0iNDmHbKHGSgzT01dOVen88NvN1qrDshUDGhvChACQDnSgNYm8btTv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0eyZn2hAezrclSgz3F1iucov37COQecfUXMizMtXjC_MrtojzasFnb5eKYmAY-9Id68sQsbBYiB5MFKdt4GZn5t31x7kNtKZVfGXOO-6gHUDLfEIyFSGWmdM
12
+ Content-Type:
13
+ - application/json
14
+ User-Agent:
15
+ - Faraday v0.17.3
16
+ Accept-Encoding:
17
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
+ Accept:
19
+ - "*/*"
20
+ response:
21
+ status:
22
+ code: 401
23
+ message: Unauthorized
24
+ headers:
25
+ Cache-Control:
26
+ - no-cache, no-store, must-revalidate
27
+ Pragma:
28
+ - no-cache
29
+ Expires:
30
+ - "-1"
31
+ Www-Authenticate:
32
+ - Bearer error="invalid_token", error_description="The access token is no longer
33
+ valid."
34
+ Strict-Transport-Security:
35
+ - max-age=31536000; includeSubDomains
36
+ X-Content-Type-Options:
37
+ - nosniff
38
+ Date:
39
+ - Mon, 27 Jan 2020 21:58:24 GMT
40
+ Content-Length:
41
+ - '0'
42
+ body:
43
+ encoding: UTF-8
44
+ string: ''
45
+ http_version:
46
+ recorded_at: Mon, 27 Jan 2020 21:58:25 GMT
47
+ - request:
48
+ method: post
49
+ uri: https://prelive-api-auth.capitalontap.com/connect/token
50
+ body:
51
+ encoding: US-ASCII
52
+ string: client_id=finpoint-prelive&client_secret=FinpointPreliveSecretKey&grant_type=refresh_token&username=hvCdHL%3DX%26Dsvvxp1KUfUU_G1B3%24%40VR%24vdn4Hyx%21d%28hA%21%24%26%2BEW%28-hgbid%408JsgPKL%24NKqRtk%24z7OugR4*gF%40cWK7%2601Pphf%23mR%2BTP6m_JoBN%401Al%28V%29*xR%28%40dWLe%408Oy%3DApUG_ocRLMKy8PU%24N1%29BCOwU1%26T-%237VQDSWev%23dSf%3Dn%5EbnVSZruB3%23%29%263quVaw%40gcR-%29KJsleTBNCtgnPazP%23d92N2WNfs%23XL3X%5E-Lr6UfxFmr%28%26HdrW1p%29fg%21KFXIz&password=FinpointPrelive1%23&refresh_token=Cf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Content-Type:
55
+ - application/x-www-form-urlencoded
56
+ User-Agent:
57
+ - Faraday v0.17.3
58
+ Accept-Encoding:
59
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
60
+ Accept:
61
+ - "*/*"
62
+ response:
63
+ status:
64
+ code: 200
65
+ message: OK
66
+ headers:
67
+ Cache-Control:
68
+ - no-cache
69
+ Pragma:
70
+ - no-cache
71
+ Content-Type:
72
+ - application/json;charset=UTF-8
73
+ Expires:
74
+ - Thu, 01 Jan 1970 00:00:00 GMT
75
+ Set-Cookie:
76
+ - prelive_access_token=chunks-2; expires=Tue, 28 Jan 2020 21:58:25 GMT; domain=.capitalontap.com;
77
+ path=/; secure; samesite=lax; httponly
78
+ - prelive_access_tokenC1=%7B%22scope%22%3A%22profile%20offline_access%22%2C%22token_type%22%3A%22Bearer%22%2C%22access_token%22%3A%22CfDJ8F0Dan85BWtLjqL6412SsDXKifrjNv8fmvcJlfs0OyzH4CQmbPwaf4gvgFA7JQ8LBLt6DIkC61qA6QbrCMEcmOpELWxMS7drQLhE-Y4KQejH5CEKgdu4FrzotJj9EsRlGYwNNwuxKC5Nyykf6e6PGtWaiBMeNBEfLlhqoBZSF2OvhKxYjPY7EQ_vdIvPMB-i8i45qo0nghUjSRzYoTmiObhBIyIqs18rggkFJLoUdybiUjOh5iWSaysPcCElFGUfytLsI1jkPXrYvFWnma1LPOfXLTd5zHx8tvs3c6qWlmrtQ_OpxMal7MG8kg9Eyd3QwSdbvwL1pb9OXgSbnMo5SqgJFEbzIKqQH_TJcpHgBv8uz8mm3zX5BBtBbq7Z2P9iLmJxhqkfbKIu4ODyPAvhsDT0BEYrop6xMv5YNj6p7yGBhn8W4wllRfLE3OYerazGRWMh7olANNU1h_iKvuXsd1c8YEE6140SEmfZZnvZ0MEbgAACenPhp9XVrTa2iR277aSaC57kVDD2DYjLy8_JCQ9bzFA7c0paot4iFvqmUMElNw-kdRMuHHqFEl3RYvWzmxlVBJjgVJWtxZ4ItHNlSki9-3w2Y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ontap.com; path=/; secure;
80
+ samesite=lax; httponly
81
+ - prelive_access_tokenC2=JfdpFbHOuDj57DxvMoZDwnKL2DdAtp98-rk5eY0mgQrQZJ9crYOX5hLouU7wFumNGDG5BnNkUZNBSyK72qgzbZ6cHGjje5wcMOkbrX0BohDNo2Zo7OtYGIIAlIzSqvKqRFwcj7PxEeoSL4UHnJ14AHhtatR0qmtV41NyPxcAGceLJZ1cNFhfDMbQ_JTdXwJv0GmU%22%7D;
82
+ expires=Tue, 28 Jan 2020 21:58:25 GMT; domain=.capitalontap.com; path=/; secure;
83
+ samesite=lax; httponly
84
+ Strict-Transport-Security:
85
+ - max-age=31536000; includeSubDomains
86
+ X-Content-Type-Options:
87
+ - nosniff
88
+ Date:
89
+ - Mon, 27 Jan 2020 21:58:25 GMT
90
+ Content-Length:
91
+ - '4069'
92
+ body:
93
+ encoding: UTF-8
94
+ string: '{"scope":"profile offline_access","token_type":"Bearer","access_token":"CfDJ8F0Dan85BWtLjqL6412SsDXKifrjNv8fmvcJlfs0OyzH4CQmbPwaf4gvgFA7JQ8LBLt6DIkC61qA6QbrCMEcmOpELWxMS7drQLhE-Y4KQejH5CEKgdu4FrzotJj9EsRlGYwNNwuxKC5Nyykf6e6PGtWaiBMeNBEfLlhqoBZSF2OvhKxYjPY7EQ_vdIvPMB-i8i45qo0nghUjSRzYoTmiObhBIyIqs18rggkFJLoUdybiUjOh5iWSaysPcCElFGUfytLsI1jkPXrYvFWnma1LPOfXLTd5zHx8tvs3c6qWlmrtQ_OpxMal7MG8kg9Eyd3QwSdbvwL1pb9OXgSbnMo5SqgJFEbzIKqQH_TJcpHgBv8uz8mm3zX5BBtBbq7Z2P9iLmJxhqkfbKIu4ODyPAvhsDT0BEYrop6xMv5YNj6p7yGBhn8W4wllRfLE3OYerazGRWMh7olANNU1h_iKvuXsd1c8YEE6140SEmfZZnvZ0MEbgAACenPhp9XVrTa2iR277aSaC57kVDD2DYjLy8_JCQ9bzFA7c0paot4iFvqmUMElNw-kdR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vMoZDwnKL2DdAtp98-rk5eY0mgQrQZJ9crYOX5hLouU7wFumNGDG5BnNkUZNBSyK72qgzbZ6cHGjje5wcMOkbrX0BohDNo2Zo7OtYGIIAlIzSqvKqRFwcj7PxEeoSL4UHnJ14AHhtatR0qmtV41NyPxcAGceLJZ1cNFhfDMbQ_JTdXwJv0GmU"}'
95
+ http_version:
96
+ recorded_at: Mon, 27 Jan 2020 21:58:25 GMT
97
+ - request:
98
+ method: get
99
+ uri: https://prelive-api-partner.capitalontap.com/api/v1/Applications/K826F94
100
+ body:
101
+ encoding: US-ASCII
102
+ string: ''
103
+ headers:
104
+ Authorization:
105
+ - Bearer CfDJ8F0Dan85BWtLjqL6412SsDXKifrjNv8fmvcJlfs0OyzH4CQmbPwaf4gvgFA7JQ8LBLt6DIkC61qA6QbrCMEcmOpELWxMS7drQLhE-Y4KQejH5CEKgdu4FrzotJj9EsRlGYwNNwuxKC5Nyykf6e6PGtWaiBMeNBEfLlhqoBZSF2OvhKxYjPY7EQ_vdIvPMB-i8i45qo0nghUjSRzYoTmiObhBIyIqs18rggkFJLoUdybiUjOh5iWSaysPcCElFGUfytLsI1jkPXrYvFWnma1LPOfXLTd5zHx8tvs3c6qWlmrtQ_OpxMal7MG8kg9Eyd3QwSdbvwL1pb9OXgSbnMo5SqgJFEbzIKqQH_TJcpHgBv8uz8mm3zX5BBtBbq7Z2P9iLmJxhqkfbKIu4ODyPAvhsDT0BEYrop6xMv5YNj6p7yGBhn8W4wllRfLE3OYerazGRWMh7olANNU1h_iKvuXsd1c8YEE6140SEmfZZnvZ0MEbgAACenPhp9XVrTa2iR277aSaC57kVDD2DYjLy8_JCQ9bzFA7c0paot4iFvqmUMElNw-kdRMuHHqFEl3RYvWzmxlVBJjgVJWtxZ4ItHNlSki9-3w2Y99SzkS9ijFj7miJ_aPbzp7gG-NBPbu7i0swWgtGS8fZArINWI1TmFN43mnrii7_Qv9gk8arHFQW70KhfgTx0B6KcMwJnzvj0zaZ3Y71dSLCDUp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O0WQ-zv9lixnvc8t0
106
+ Content-Type:
107
+ - application/json
108
+ User-Agent:
109
+ - Faraday v0.17.3
110
+ Accept-Encoding:
111
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
112
+ Accept:
113
+ - "*/*"
114
+ response:
115
+ status:
116
+ code: 200
117
+ message: OK
118
+ headers:
119
+ Cache-Control:
120
+ - no-cache, no-store, must-revalidate
121
+ Pragma:
122
+ - no-cache
123
+ Transfer-Encoding:
124
+ - chunked
125
+ Content-Type:
126
+ - application/json; charset=utf-8
127
+ Expires:
128
+ - "-1"
129
+ Strict-Transport-Security:
130
+ - max-age=31536000; includeSubDomains
131
+ X-Content-Type-Options:
132
+ - nosniff
133
+ Date:
134
+ - Mon, 27 Jan 2020 21:58:25 GMT
135
+ body:
136
+ encoding: UTF-8
137
+ string: '{"applicationStatus":{"locatorId":"K826F94","applicationStage":"IncompleteInfo","creditDecision":{"status":"Declined","starRating":0.00,"approvalAmount":0.0000,"monthlyInterestRate":0.0,"monthlyCardInterestRate":0.0,"decisionDate":"2020-01-27T21:58:05.2837","creditDecisionReason":"Incomplete
138
+ Information"}},"links":{"self":"/api/v1/Applications/K826F94","parent":null},"metaData":{"buildVersion":"api-partner.capitalontap.com,
139
+ Version=2020.1.21.42, Culture=neutral, PublicKeyToken=null [Version 2020.1.21.42-Sha-04488bb]
140
+ 64-bit","requestTimeUtc":"2020-01-27T21:58:26.034548Z"}}'
141
+ http_version:
142
+ recorded_at: Mon, 27 Jan 2020 21:58:26 GMT
143
+ recorded_with: VCR 5.0.0
@@ -8,7 +8,7 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  Authorization:
11
- - Bearer CfDJ8F0Dan85BWtLjqL6412SsDX08SJxi_OFSfrlHSETwdWUjZ3buWqE5U0lXTnYPRa3b9UQ4EAW2hfj_nRnfvQGI17SIHTDig-eIrjHQWJE6f5wWc9DS3FG4g5z36qeYjkoB1ZqbL5VcwJmm3WrshjfFGL9lIWTClkMeAt1x1V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RKpTv5AkDBKm-4uajUAVKeCkBL-aOv7IcBIT2_QqlRdbwMmoPatt9AV2esn0t9Ia97BjIdJPMwfWjOcXFOuHrkilaZAxQmW89k_YgFFT_JwpDvL1qVYD5YzC7bycv13uGehm6c3Vp8fpJEURpBuntechdR4RmEIlHOwLeQNHixD7I91RQQhGui3PcZcfW80kD39lR8_5LFw44QM3_RBMAEShZAdxh5BgNrWyb1kE
12
12
  Content-Type:
13
13
  - application/json
14
14
  User-Agent:
@@ -37,12 +37,12 @@ http_interactions:
37
37
  X-Content-Type-Options:
38
38
  - nosniff
39
39
  Date:
40
- - Mon, 27 Jan 2020 14:06:57 GMT
40
+ - Mon, 27 Jan 2020 21:54:29 GMT
41
41
  body:
42
42
  encoding: UTF-8
43
43
  string: '{"errorMessage":"Forbidden","links":{"self":"/api/v1/Applications/D9094B99","parent":null},"metaData":{"buildVersion":"api-partner.capitalontap.com,
44
44
  Version=2020.1.21.42, Culture=neutral, PublicKeyToken=null [Version 2020.1.21.42-Sha-04488bb]
45
- 64-bit","requestTimeUtc":"2020-01-27T14:06:46.7486079Z"}}'
45
+ 64-bit","requestTimeUtc":"2020-01-27T21:54:18.2046023Z"}}'
46
46
  http_version:
47
- recorded_at: Mon, 27 Jan 2020 14:06:58 GMT
47
+ recorded_at: Mon, 27 Jan 2020 21:54:29 GMT
48
48
  recorded_with: VCR 5.0.0
@@ -2,13 +2,107 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://prelive-api-partner.capitalontap.com/api/v1/Applications/D949A75
5
+ uri: https://prelive-api-partner.capitalontap.com/api/v1/Applications/K826F94
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
10
  Authorization:
11
- - Bearer CfDJ8F0Dan85BWtLjqL6412SsDVrJmzabuu8HGoWhlbApMuTyirtBT2FLMhdDlTBcsn4NRIjCfstBdx0GMwMi6koop_wemPtPUyaixS8HPEhNkZSv01wWzJAaCvrELlqqox_JD-35rkE8A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WaDT79w1LWa7osxW9gtCuUVw2WANamgsIs-VeDeV6f4t6Kp2Wo3BFSnC6fBY31V_JKzAOrqlQAkaILSLB96b8xaUWDfHDXEm9OLvhjA2eNvQwbtoNCm95j_y64aJlxld-jpAOyrXrN2D1jrtXjvvmd1zYQdEoCE7aNtMImUIdAgyWKPfUN4BuE77qdoffpuIxs7v6p74opKBlz1Tgl_C9Nv8HrGP2WqC6EZgfsbJxfXAMbjWShsKHX8UCUCmhq-zg4IapHsRuSWS3wPCs3NmU
12
+ Content-Type:
13
+ - application/json
14
+ User-Agent:
15
+ - Faraday v0.17.3
16
+ Accept-Encoding:
17
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
+ Accept:
19
+ - "*/*"
20
+ response:
21
+ status:
22
+ code: 401
23
+ message: Unauthorized
24
+ headers:
25
+ Cache-Control:
26
+ - no-cache, no-store, must-revalidate
27
+ Pragma:
28
+ - no-cache
29
+ Expires:
30
+ - "-1"
31
+ Www-Authenticate:
32
+ - Bearer error="invalid_token", error_description="The access token is no longer
33
+ valid."
34
+ Strict-Transport-Security:
35
+ - max-age=31536000; includeSubDomains
36
+ X-Content-Type-Options:
37
+ - nosniff
38
+ Date:
39
+ - Mon, 27 Jan 2020 21:58:23 GMT
40
+ Content-Length:
41
+ - '0'
42
+ body:
43
+ encoding: UTF-8
44
+ string: ''
45
+ http_version:
46
+ recorded_at: Mon, 27 Jan 2020 21:58:23 GMT
47
+ - request:
48
+ method: post
49
+ uri: https://prelive-api-auth.capitalontap.com/connect/token
50
+ body:
51
+ encoding: US-ASCII
52
+ string: client_id=finpoint-prelive&client_secret=FinpointPreliveSecretKey&grant_type=refresh_token&username=hvCdHL%3DX%26Dsvvxp1KUfUU_G1B3%24%40VR%24vdn4Hyx%21d%28hA%21%24%26%2BEW%28-hgbid%408JsgPKL%24NKqRtk%24z7OugR4*gF%40cWK7%2601Pphf%23mR%2BTP6m_JoBN%401Al%28V%29*xR%28%40dWLe%408Oy%3DApUG_ocRLM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vCCo0zmW0e2LwdeRe4A5OG1d68cdOmVhLcIvsk49OHqAXiC-oHGg1wqClSD5fPzp-tTzKXEvBDbUEnvtlah7sXk8d5xt1dU6ysic_1Lw2ZydFpFv8iFQpFzxZl94FOCZPoZSTuEVF9zc
53
+ headers:
54
+ Content-Type:
55
+ - application/x-www-form-urlencoded
56
+ User-Agent:
57
+ - Faraday v0.17.3
58
+ Accept-Encoding:
59
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
60
+ Accept:
61
+ - "*/*"
62
+ response:
63
+ status:
64
+ code: 200
65
+ message: OK
66
+ headers:
67
+ Cache-Control:
68
+ - no-cache
69
+ Pragma:
70
+ - no-cache
71
+ Content-Type:
72
+ - application/json;charset=UTF-8
73
+ Expires:
74
+ - Thu, 01 Jan 1970 00:00:00 GMT
75
+ Set-Cookie:
76
+ - prelive_access_token=chunks-2; expires=Tue, 28 Jan 2020 21:58:24 GMT; domain=.capitalontap.com;
77
+ path=/; secure; samesite=lax; httponly
78
+ - prelive_access_tokenC1=%7B%22scope%22%3A%22profile%20offline_access%22%2C%22token_type%22%3A%22Bearer%22%2C%22access_token%22%3A%22CfDJ8F0Dan85BWtLjqL6412SsDXWpssKiWgZapIr2xYPUkjShDA13ZwifdjZp2DxSB-illC9sajGqs-qgzBv8Vx5vUBpgZMHFc8X1Oh4mkge1IA5CCUmFik8QAGco_7Mt5ZVoWDB7fMnSUH5foDe_p47a6JOzBhe5skewEYZzHZFXQEkG9NpxpQZpIbe-RgJ6HUkU5cxBua6-gputVmFl6-0hPR2G5R8UKe-KvaDPi-MDtUxsrvmsNjjhLz5x01CTSIuU4ERQ93cOl8hKSODCZBE8GHIxffE53OvS5bEt7EA6D8OQGaN5ECzmO8QWZ4NKEhetGU5WM4Iya1iGVtDk9PG2413XZQvzSg0tg2yml72Q821gnu6gZJQ65mRVp5JTaRhJyG5SLl2zrbv-aWcJdyKHFxs0z5UEIDMBG2j3VeXJbk75lXz4OtpT_5xNrHjr10zzTiyav6GD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7h4EvOAltvp1nCtkiYotWDmnjXaGIU7raVLAKuP1JUVsiex_mzdSUZFKTkH4uHyrLlbbAljPt5_yED6reSmjerM6qwYPyGJFHi;
79
+ expires=Tue, 28 Jan 2020 21:58:24 GMT; domain=.capitalontap.com; path=/; secure;
80
+ samesite=lax; httponly
81
+ - prelive_access_tokenC2=qz2jJ2kbJJUoU2BAP6lOxcAYQVRJSKgmFP4_EccelTFEnG1mj9aA-rjUIOdh8geGmiedxCY8SLwsOLXAMMZ8T8JLLwOmMqYC9-crvWE4hToW22BXuPJFjxijVvGlzB8XkvUZSVHB_GTeICR4E8BYa2m9n7PpMnWBPHRbf0Tg8Yl8hHnHfbAHlRPFZ2iJ1HHInqsc%22%7D;
82
+ expires=Tue, 28 Jan 2020 21:58:24 GMT; domain=.capitalontap.com; path=/; secure;
83
+ samesite=lax; httponly
84
+ Strict-Transport-Security:
85
+ - max-age=31536000; includeSubDomains
86
+ X-Content-Type-Options:
87
+ - nosniff
88
+ Date:
89
+ - Mon, 27 Jan 2020 21:58:24 GMT
90
+ Content-Length:
91
+ - '4069'
92
+ body:
93
+ encoding: UTF-8
94
+ string: '{"scope":"profile offline_access","token_type":"Bearer","access_token":"CfDJ8F0Dan85BWtLjqL6412SsDXWpssKiWgZapIr2xYPUkjShDA13ZwifdjZp2DxSB-illC9sajGqs-qgzBv8Vx5vUBpgZMHFc8X1Oh4mkge1IA5CCUmFik8QAGco_7Mt5ZVoWDB7fMnSUH5foDe_p47a6JOzBhe5skewEYZzHZFXQEkG9NpxpQZpIbe-RgJ6HUkU5cxBua6-gputVmFl6-0hPR2G5R8UKe-KvaDPi-MDtUxsrvmsNjjhLz5x01CTSIuU4ERQ93cOl8hKSODCZBE8GHIxffE53OvS5bEt7EA6D8OQGaN5ECzmO8QWZ4NKEhetGU5WM4Iya1iGVtDk9PG2413XZQvzSg0tg2yml72Q821gnu6gZJQ65mRVp5JTaRhJyG5SLl2zrbv-aWcJdyKHFxs0z5UEIDMBG2j3VeXJb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jl9E1JxR0O7h4EvOAltvp1nCtkiYotWDmnjXaGIU7raVLAKuP1JUVsiex_mzdSUZFKTkH4uHyrLlbbAljPt5_yED6reSmjerM6qwYPyGJFHiqz2jJ2kbJJUoU2BAP6lOxcAYQVRJSKgmFP4_EccelTFEnG1mj9aA-rjUIOdh8geGmiedxCY8SLwsOLXAMMZ8T8JLLwOmMqYC9-crvWE4hToW22BXuPJFjxijVvGlzB8XkvUZSVHB_GTeICR4E8BYa2m9n7PpMnWBPHRbf0Tg8Yl8hHnHfbAHlRPFZ2iJ1HHInqsc"}'
95
+ http_version:
96
+ recorded_at: Mon, 27 Jan 2020 21:58:24 GMT
97
+ - request:
98
+ method: get
99
+ uri: https://prelive-api-partner.capitalontap.com/api/v1/Applications/K826F94
100
+ body:
101
+ encoding: US-ASCII
102
+ string: ''
103
+ headers:
104
+ Authorization:
105
+ - Bearer CfDJ8F0Dan85BWtLjqL6412SsDXWpssKiWgZapIr2xYPUkjShDA13ZwifdjZp2DxSB-illC9sajGqs-qgzBv8Vx5vUBpgZMHFc8X1Oh4mkge1IA5CCUmFik8QAGco_7Mt5ZVoWDB7fMnSUH5foDe_p47a6JOzBhe5skewEYZzHZFXQEkG9NpxpQZpIbe-RgJ6HUkU5cxBua6-gputVmFl6-0hPR2G5R8UKe-KvaDPi-MDtUxsrvmsNjjhLz5x01CTSIuU4ERQ93cOl8hKSODCZBE8GHIxffE53OvS5bEt7EA6D8OQGaN5ECzmO8QWZ4NKEhetGU5WM4Iya1iGVtDk9PG2413XZQvzSg0tg2yml72Q821gnu6gZJQ65mRVp5JTaRhJyG5SLl2zrbv-aWcJdyKHFxs0z5UEIDMBG2j3VeXJbk75lXz4OtpT_5xNrHjr10zzTiyav6GDKIzYmHXqa7a9zYVmNkX4hG6f8nJELOa2FL-JeauRvogJ9cwrEPk8yJ0G-5dT2QMly0RnVcyjTnRzrcWOeKObxdV4nKYy5jkuWx-aOx4vpiaFXPS3p6svKBprQLDkPGqsM5wotr_haU1i1An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qDcBOv-MJsf7ZtUDhXY9HrnON2HXksoSd1EYb_I8XNYnurYdWnODXTBivOABA3K1E1ObLt98ORbPpg-9tzV7j-4GccXYYeYdzK2bVkOFSemxrqJcBJH1ubedftHeHtGUod5MY
12
106
  Content-Type:
13
107
  - application/json
14
108
  User-Agent:
@@ -37,13 +131,13 @@ http_interactions:
37
131
  X-Content-Type-Options:
38
132
  - nosniff
39
133
  Date:
40
- - Mon, 27 Jan 2020 11:49:36 GMT
134
+ - Mon, 27 Jan 2020 21:58:24 GMT
41
135
  body:
42
136
  encoding: UTF-8
43
- string: '{"applicationStatus":{"locatorId":"D949A75","applicationStage":"IncompleteInfo","creditDecision":{"status":"Declined","starRating":0.00,"approvalAmount":0.0000,"monthlyInterestRate":0.0,"monthlyCardInterestRate":0.0,"decisionDate":"2020-01-27T11:48:16.3994","creditDecisionReason":"Incomplete
44
- Information"}},"links":{"self":"/api/v1/Applications/D949A75","parent":null},"metaData":{"buildVersion":"api-partner.capitalontap.com,
137
+ string: '{"applicationStatus":{"locatorId":"K826F94","applicationStage":"IncompleteInfo","creditDecision":{"status":"Declined","starRating":0.00,"approvalAmount":0.0000,"monthlyInterestRate":0.0,"monthlyCardInterestRate":0.0,"decisionDate":"2020-01-27T21:58:05.2837","creditDecisionReason":"Incomplete
138
+ Information"}},"links":{"self":"/api/v1/Applications/K826F94","parent":null},"metaData":{"buildVersion":"api-partner.capitalontap.com,
45
139
  Version=2020.1.21.42, Culture=neutral, PublicKeyToken=null [Version 2020.1.21.42-Sha-04488bb]
46
- 64-bit","requestTimeUtc":"2020-01-27T11:49:36.1195113Z"}}'
140
+ 64-bit","requestTimeUtc":"2020-01-27T21:58:24.3788269Z"}}'
47
141
  http_version:
48
- recorded_at: Mon, 27 Jan 2020 11:49:37 GMT
142
+ recorded_at: Mon, 27 Jan 2020 21:58:24 GMT
49
143
  recorded_with: VCR 5.0.0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capital_on_tap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - rikas
@@ -247,8 +247,12 @@ files:
247
247
  - lib/capital_on_tap/connection.rb
248
248
  - lib/capital_on_tap/response.rb
249
249
  - lib/capital_on_tap/version.rb
250
+ - vcr_cassettes/application_create_expired_token.yml
251
+ - vcr_cassettes/application_create_incomplete.yml
250
252
  - vcr_cassettes/application_create_invalid.yml
253
+ - vcr_cassettes/application_create_recent.yml
251
254
  - vcr_cassettes/application_create_valid.yml
255
+ - vcr_cassettes/application_status_expired_token.yml
252
256
  - vcr_cassettes/application_status_invalid.yml
253
257
  - vcr_cassettes/application_status_valid.yml
254
258
  - vcr_cassettes/auth_obtain_token_invalid_client_id.yml