boletosimples 1.0.2 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +18 -0
  3. data/README.md +11 -8
  4. data/lib/boletosimples/configuration.rb +10 -4
  5. data/lib/boletosimples/middlewares/debug.rb +30 -0
  6. data/lib/boletosimples/response_error.rb +2 -2
  7. data/lib/boletosimples/version.rb +1 -1
  8. data/lib/boletosimples.rb +1 -0
  9. data/spec/boletosimples/configuration_spec.rb +3 -3
  10. data/spec/boletosimples/resources/bank_billet_spec.rb +2 -2
  11. data/spec/boletosimples/resources/customer_spec.rb +9 -4
  12. data/spec/boletosimples/resources/customer_subscription_spec.rb +1 -1
  13. data/spec/boletosimples/resources/installment_spec.rb +1 -1
  14. data/spec/fixtures/vcr_cassettes/last_request/bank_billets.yml +386 -520
  15. data/spec/fixtures/vcr_cassettes/resources/bank_billet/all.yml +78 -522
  16. data/spec/fixtures/vcr_cassettes/resources/bank_billet/cancel/success.yml +30 -12
  17. data/spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_params.yml +32 -16
  18. data/spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_root.yml +31 -15
  19. data/spec/fixtures/vcr_cassettes/resources/bank_billet/create/valid.yml +42 -28
  20. data/spec/fixtures/vcr_cassettes/resources/bank_billet/duplicate/success.yml +41 -27
  21. data/spec/fixtures/vcr_cassettes/resources/bank_billet/find.yml +46 -31
  22. data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/all.yml +47 -103
  23. data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/create/invalid_params.yml +31 -15
  24. data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/create/invalid_root.yml +31 -15
  25. data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/create/valid.yml +35 -19
  26. data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/find.yml +35 -19
  27. data/spec/fixtures/vcr_cassettes/resources/bank_billet_discharge/all.yml +35 -41
  28. data/spec/fixtures/vcr_cassettes/resources/bank_billet_payment/all.yml +73 -72
  29. data/spec/fixtures/vcr_cassettes/resources/bank_billet_remittance/all.yml +39 -70
  30. data/spec/fixtures/vcr_cassettes/resources/customer/all.yml +111 -56
  31. data/spec/fixtures/vcr_cassettes/resources/customer/create/invalid_params.yml +35 -19
  32. data/spec/fixtures/vcr_cassettes/resources/customer/create/invalid_root.yml +35 -16
  33. data/spec/fixtures/vcr_cassettes/resources/customer/create/valid.yml +37 -21
  34. data/spec/fixtures/vcr_cassettes/resources/customer/find.yml +36 -20
  35. data/spec/fixtures/vcr_cassettes/resources/customer_import/all.yml +34 -18
  36. data/spec/fixtures/vcr_cassettes/resources/customer_import/create/invalid_params.yml +31 -15
  37. data/spec/fixtures/vcr_cassettes/resources/customer_import/create/invalid_root.yml +31 -15
  38. data/spec/fixtures/vcr_cassettes/resources/customer_import/create/valid.yml +36 -20
  39. data/spec/fixtures/vcr_cassettes/resources/customer_import/find.yml +34 -18
  40. data/spec/fixtures/vcr_cassettes/resources/customer_subscription/all.yml +35 -71
  41. data/spec/fixtures/vcr_cassettes/resources/customer_subscription/create/invalid_params.yml +32 -16
  42. data/spec/fixtures/vcr_cassettes/resources/customer_subscription/create/invalid_root.yml +31 -15
  43. data/spec/fixtures/vcr_cassettes/resources/customer_subscription/create/valid.yml +35 -19
  44. data/spec/fixtures/vcr_cassettes/resources/customer_subscription/find.yml +36 -20
  45. data/spec/fixtures/vcr_cassettes/resources/customer_subscription/next_charge.yml +36 -20
  46. data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/all.yml +34 -19
  47. data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/create/invalid_params.yml +31 -15
  48. data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/create/invalid_root.yml +31 -15
  49. data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/create/valid.yml +36 -20
  50. data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/find.yml +34 -18
  51. data/spec/fixtures/vcr_cassettes/resources/discharge/all.yml +37 -39
  52. data/spec/fixtures/vcr_cassettes/resources/discharge/create/invalid_params.yml +31 -15
  53. data/spec/fixtures/vcr_cassettes/resources/discharge/create/invalid_root.yml +31 -15
  54. data/spec/fixtures/vcr_cassettes/resources/discharge/create/valid.yml +37 -21
  55. data/spec/fixtures/vcr_cassettes/resources/discharge/find.yml +36 -18
  56. data/spec/fixtures/vcr_cassettes/resources/email_delivery/all.yml +1 -1
  57. data/spec/fixtures/vcr_cassettes/resources/event/all.yml +267 -432
  58. data/spec/fixtures/vcr_cassettes/resources/installment/all.yml +71 -375
  59. data/spec/fixtures/vcr_cassettes/resources/installment/create/invalid_params.yml +32 -16
  60. data/spec/fixtures/vcr_cassettes/resources/installment/create/invalid_root.yml +31 -15
  61. data/spec/fixtures/vcr_cassettes/resources/installment/create/valid.yml +35 -19
  62. data/spec/fixtures/vcr_cassettes/resources/installment/find.yml +59 -19
  63. data/spec/fixtures/vcr_cassettes/resources/remittance/all.yml +82 -81
  64. data/spec/fixtures/vcr_cassettes/resources/sns_delivery/all.yml +31 -15
  65. data/spec/fixtures/vcr_cassettes/resources/transaction/all.yml +72 -71
  66. data/spec/fixtures/vcr_cassettes/resources/web_hook/all.yml +33 -17
  67. data/spec/fixtures/vcr_cassettes/resources/webhook_delivery/all.yml +2657 -1206
  68. metadata +6 -186
@@ -2,18 +2,18 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://sandbox.boletosimples.com.br/api/v1/imports/customer_subscriptions
5
+ uri: https://api-sandbox.kobana.com.br/v1/imports/customer_subscriptions
6
6
  body:
7
7
  encoding: ASCII-8BIT
8
8
  string: !binary |-
9
- LS0tLS0tLS0tLS0tLVJ1YnlNdWx0aXBhcnRQb3N0LTdlY2U3Njk0ZTUyODZkZTEwOGUyZTU2ODIyYTQwYmNiDQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9ImN1c3RvbWVyX3N1YnNjcmlwdGlvbl9pbXBvcnRbc291cmNlXSI7IGZpbGVuYW1lPSJjdXN0b21lcl9zdWJzY3JpcHRpb25zLmNzdiINCkNvbnRlbnQtTGVuZ3RoOiAyMzkNCkNvbnRlbnQtVHlwZTogdGV4dC9jc3YNCkNvbnRlbnQtVHJhbnNmZXItRW5jb2Rpbmc6IGJpbmFyeQ0KDQpJRCxJRCBkbyBDbGllbnRlLElEIGRhIENhcnRlaXJhLElEIGRvIE1vZGVsbyxDTlBKL0NQRiBkbyBDbGllbnRlLENpY2xvIGRhIEFzc2luYXR1cmEsUXVhbnRpYSAqLFByaW1laXJhIENvYnJhbsOnYSxBbnRlY2Vkw6puY2lhLFBhcmFyIGVtLERlbW9uc3RyYXRpdm8gKixJbnN0cnXDp8O1ZXMgcGFyYSBvIENhaXhhLE11bHRhIHBvciBBdHJhc28sSnVyb3MgZGUgTW9yYSBNZW5zYWwsRS1tYWlsLE9ic2VydmHDp8O1ZXMNCg0KLS0tLS0tLS0tLS0tLVJ1YnlNdWx0aXBhcnRQb3N0LTdlY2U3Njk0ZTUyODZkZTEwOGUyZTU2ODIyYTQwYmNiLS0NCg==
9
+ LS0tLS0tLS0tLS0tLVJ1YnlNdWx0aXBhcnRQb3N0LWM5NmY1NWU0MTdhNTQ3YzY4OWQ2MzM5YjQ0MTc0ZGY0DQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9ImN1c3RvbWVyX3N1YnNjcmlwdGlvbl9pbXBvcnRbc291cmNlXSI7IGZpbGVuYW1lPSJjdXN0b21lcl9zdWJzY3JpcHRpb25zLmNzdiINCkNvbnRlbnQtTGVuZ3RoOiAyMzkNCkNvbnRlbnQtVHlwZTogdGV4dC9jc3YNCkNvbnRlbnQtVHJhbnNmZXItRW5jb2Rpbmc6IGJpbmFyeQ0KDQpJRCxJRCBkbyBDbGllbnRlLElEIGRhIENhcnRlaXJhLElEIGRvIE1vZGVsbyxDTlBKL0NQRiBkbyBDbGllbnRlLENpY2xvIGRhIEFzc2luYXR1cmEsUXVhbnRpYSAqLFByaW1laXJhIENvYnJhbsOnYSxBbnRlY2Vkw6puY2lhLFBhcmFyIGVtLERlbW9uc3RyYXRpdm8gKixJbnN0cnXDp8O1ZXMgcGFyYSBvIENhaXhhLE11bHRhIHBvciBBdHJhc28sSnVyb3MgZGUgTW9yYSBNZW5zYWwsRS1tYWlsLE9ic2VydmHDp8O1ZXMNCg0KLS0tLS0tLS0tLS0tLVJ1YnlNdWx0aXBhcnRQb3N0LWM5NmY1NWU0MTdhNTQ3YzY4OWQ2MzM5YjQ0MTc0ZGY0LS0NCg==
10
10
  headers:
11
11
  User-Agent:
12
12
  - email@minhaempresa.com.br
13
13
  Authorization:
14
14
  - Bearer BOLETOSIMPLES_API_TOKEN
15
15
  Content-Type:
16
- - multipart/form-data; boundary=-----------RubyMultipartPost-7ece7694e5286de108e2e56822a40bcb
16
+ - multipart/form-data; boundary=-----------RubyMultipartPost-c96f55e417a547c689d6339b44174df4
17
17
  Content-Length:
18
18
  - '571'
19
19
  Accept:
@@ -25,10 +25,14 @@ http_interactions:
25
25
  code: 201
26
26
  message: Created
27
27
  headers:
28
- Server:
29
- - Cowboy
28
+ Content-Type:
29
+ - application/json; charset=utf-8
30
+ Transfer-Encoding:
31
+ - chunked
30
32
  Connection:
31
33
  - keep-alive
34
+ Server:
35
+ - Cowboy
32
36
  X-Frame-Options:
33
37
  - DENY
34
38
  X-Xss-Protection:
@@ -41,36 +45,48 @@ http_interactions:
41
45
  - none
42
46
  Referrer-Policy:
43
47
  - strict-origin-when-cross-origin
48
+ Expect-Ct:
49
+ - max-age=0, report-uri="https://boletosimples.report-uri.com/r/d/ct/reportOnly"
50
+ Cross-Origin-Resource-Policy:
51
+ - cross-origin
52
+ Cross-Origin-Embedder-Policy:
53
+ - unsafe-none
54
+ Cross-Origin-Opener-Policy:
55
+ - unsafe-none
44
56
  Location:
45
- - https://sandbox.boletosimples.com.br/api/v1/imports/customer_subscriptions/1053
46
- Content-Type:
47
- - application/json; charset=utf-8
57
+ - https://api-sandbox.kobana.com.br/api/v1/imports/customer_subscriptions/1279
48
58
  X-Ratelimit-Limit:
49
- - '1000'
59
+ - '18000'
50
60
  X-Ratelimit-Remaining:
51
- - '999'
61
+ - '17967'
52
62
  Etag:
53
- - W/"b99d66a320d3419430f8bb66bf777696"
63
+ - W/"792b77874b2044afb755dcf78adbe6e5"
54
64
  Cache-Control:
55
65
  - max-age=0, private, must-revalidate
56
66
  X-Request-Id:
57
- - 38bae327-df59-4c7e-aa89-ff240e1ea2ed
67
+ - 2e5c8b62-883c-48c2-8a4f-19bf2802426c
58
68
  X-Runtime:
59
- - '1.498103'
69
+ - '0.142736'
60
70
  Date:
61
- - Tue, 13 Apr 2021 17:18:17 GMT
71
+ - Tue, 22 Feb 2022 17:30:29 GMT
62
72
  X-Rack-Cache:
63
73
  - invalidate, pass
64
74
  Strict-Transport-Security:
65
- - max-age=2629746
75
+ - max-age=31556952; includeSubDomains; preload
66
76
  Vary:
67
77
  - Origin,Accept-Encoding
68
- Transfer-Encoding:
69
- - chunked
78
+ X-Rack-Cors:
79
+ - miss; no-origin
70
80
  Via:
71
- - 1.1 vegur
81
+ - 1.1 vegur, 1.1 a18ddfb379d1a4a5c2e721a55509e380.cloudfront.net (CloudFront)
82
+ X-Cache:
83
+ - Miss from cloudfront
84
+ X-Amz-Cf-Pop:
85
+ - MIA3-C1
86
+ X-Amz-Cf-Id:
87
+ - zIRK8IEAiq2_UBGdaBfEb7-_WuJHRDAxc99OtF8mp6Hcw5X9l5bX_A==
72
88
  body:
73
89
  encoding: UTF-8
74
- string: '{"id":1053,"created_rows":0,"enqueued_at":"2021-04-13T14:18:16-03:00","started_at":null,"finished_at":null,"processed_at":null,"failed_to_create_rows":0,"failed_to_update_rows":0,"import_errors":null,"processed_rows":0,"total_rows":null,"updated_rows":0,"source_file_name":"customer_subscriptions.csv","source_file_size":239,"status":"enqueued","created_via_api":true}'
75
- recorded_at: Tue, 13 Apr 2021 17:18:17 GMT
90
+ string: '{"id":1279,"created_rows":0,"enqueued_at":null,"started_at":null,"finished_at":null,"processed_at":null,"failed_to_create_rows":0,"failed_to_update_rows":0,"import_errors":null,"processed_rows":0,"total_rows":null,"updated_rows":0,"source_file_name":"customer_subscriptions.csv","source_file_size":239,"status":"pending","created_via_api":true}'
91
+ recorded_at: Tue, 22 Feb 2022 17:30:29 GMT
76
92
  recorded_with: VCR 6.0.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://sandbox.boletosimples.com.br/api/v1/imports/customer_subscriptions/1053
5
+ uri: https://api-sandbox.kobana.com.br/v1/imports/customer_subscriptions/1279
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -20,10 +20,14 @@ http_interactions:
20
20
  code: 200
21
21
  message: OK
22
22
  headers:
23
- Server:
24
- - Cowboy
23
+ Content-Type:
24
+ - application/json; charset=utf-8
25
+ Transfer-Encoding:
26
+ - chunked
25
27
  Connection:
26
28
  - keep-alive
29
+ Server:
30
+ - Cowboy
27
31
  X-Frame-Options:
28
32
  - DENY
29
33
  X-Xss-Protection:
@@ -36,36 +40,48 @@ http_interactions:
36
40
  - none
37
41
  Referrer-Policy:
38
42
  - strict-origin-when-cross-origin
43
+ Expect-Ct:
44
+ - max-age=0, report-uri="https://boletosimples.report-uri.com/r/d/ct/reportOnly"
45
+ Cross-Origin-Resource-Policy:
46
+ - cross-origin
47
+ Cross-Origin-Embedder-Policy:
48
+ - unsafe-none
49
+ Cross-Origin-Opener-Policy:
50
+ - unsafe-none
39
51
  Location:
40
- - https://sandbox.boletosimples.com.br/api/v1/imports/customer_subscriptions/1053
41
- Content-Type:
42
- - application/json; charset=utf-8
52
+ - https://api-sandbox.kobana.com.br/api/v1/imports/customer_subscriptions/1279
43
53
  X-Ratelimit-Limit:
44
- - '60'
54
+ - '100'
45
55
  X-Ratelimit-Remaining:
46
- - '57'
56
+ - '70'
47
57
  Etag:
48
- - W/"b99d66a320d3419430f8bb66bf777696"
58
+ - W/"792b77874b2044afb755dcf78adbe6e5"
49
59
  Cache-Control:
50
60
  - must-revalidate, private, max-age=0
51
61
  X-Request-Id:
52
- - 464fc319-6287-4a33-a6c2-91dbaa28380c
62
+ - 32d6ecd5-5589-46e6-8f27-2a696fb07bb1
53
63
  X-Runtime:
54
- - '0.021531'
64
+ - '0.018854'
55
65
  Date:
56
- - Tue, 13 Apr 2021 17:18:20 GMT
66
+ - Tue, 22 Feb 2022 17:30:31 GMT
57
67
  X-Rack-Cache:
58
68
  - miss
59
69
  Strict-Transport-Security:
60
- - max-age=2629746
70
+ - max-age=31556952; includeSubDomains; preload
61
71
  Vary:
62
72
  - Origin,Accept-Encoding
63
- Transfer-Encoding:
64
- - chunked
73
+ X-Rack-Cors:
74
+ - miss; no-origin
65
75
  Via:
66
- - 1.1 vegur
76
+ - 1.1 vegur, 1.1 786adf19b53b584c0a277661acb7690c.cloudfront.net (CloudFront)
77
+ X-Cache:
78
+ - Miss from cloudfront
79
+ X-Amz-Cf-Pop:
80
+ - MIA3-C1
81
+ X-Amz-Cf-Id:
82
+ - g5duH7bB3_9L_0L-gVvkx-CaMcyte4nv-tWY1wdCSJZIp4jE9dmhSQ==
67
83
  body:
68
84
  encoding: UTF-8
69
- string: '{"id":1053,"created_rows":0,"enqueued_at":"2021-04-13T14:18:16-03:00","started_at":null,"finished_at":null,"processed_at":null,"failed_to_create_rows":0,"failed_to_update_rows":0,"import_errors":null,"processed_rows":0,"total_rows":null,"updated_rows":0,"source_file_name":"customer_subscriptions.csv","source_file_size":239,"status":"enqueued","created_via_api":true}'
70
- recorded_at: Tue, 13 Apr 2021 17:18:20 GMT
85
+ string: '{"id":1279,"created_rows":0,"enqueued_at":null,"started_at":null,"finished_at":null,"processed_at":null,"failed_to_create_rows":0,"failed_to_update_rows":0,"import_errors":null,"processed_rows":0,"total_rows":null,"updated_rows":0,"source_file_name":"customer_subscriptions.csv","source_file_size":239,"status":"pending","created_via_api":true}'
86
+ recorded_at: Tue, 22 Feb 2022 17:30:31 GMT
71
87
  recorded_with: VCR 6.0.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://sandbox.boletosimples.com.br/api/v1/discharges
5
+ uri: https://api-sandbox.kobana.com.br/v1/discharges
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -20,10 +20,14 @@ http_interactions:
20
20
  code: 200
21
21
  message: OK
22
22
  headers:
23
- Server:
24
- - Cowboy
23
+ Content-Type:
24
+ - application/json; charset=utf-8
25
+ Transfer-Encoding:
26
+ - chunked
25
27
  Connection:
26
28
  - keep-alive
29
+ Server:
30
+ - Cowboy
27
31
  X-Frame-Options:
28
32
  - DENY
29
33
  X-Xss-Protection:
@@ -36,60 +40,54 @@ http_interactions:
36
40
  - none
37
41
  Referrer-Policy:
38
42
  - strict-origin-when-cross-origin
43
+ Expect-Ct:
44
+ - max-age=0, report-uri="https://boletosimples.report-uri.com/r/d/ct/reportOnly"
45
+ Cross-Origin-Resource-Policy:
46
+ - cross-origin
47
+ Cross-Origin-Embedder-Policy:
48
+ - unsafe-none
49
+ Cross-Origin-Opener-Policy:
50
+ - unsafe-none
39
51
  Per-Page:
40
52
  - '50'
41
53
  Page:
42
54
  - ''
43
- Content-Type:
44
- - application/json; charset=utf-8
45
55
  X-Ratelimit-Limit:
46
- - '60'
56
+ - '100'
47
57
  X-Ratelimit-Remaining:
48
- - '42'
58
+ - '50'
49
59
  Etag:
50
- - W/"001838ec1bd26b15664667cef54ce761"
60
+ - W/"fe3882beb9651f767e50c83a910947d0"
51
61
  Cache-Control:
52
62
  - must-revalidate, private, max-age=0
53
63
  X-Request-Id:
54
- - fc091652-c165-432f-a018-89585bd3f2d3
64
+ - 9705a886-a031-437e-be4c-f7f592fca3e9
55
65
  X-Runtime:
56
- - '0.050491'
66
+ - '0.021086'
57
67
  Date:
58
- - Tue, 13 Apr 2021 17:18:48 GMT
68
+ - Tue, 22 Feb 2022 17:30:50 GMT
59
69
  X-Rack-Cache:
60
70
  - miss
61
71
  Strict-Transport-Security:
62
- - max-age=2629746
72
+ - max-age=31556952; includeSubDomains; preload
63
73
  Vary:
64
74
  - Origin,Accept-Encoding
65
- Transfer-Encoding:
66
- - chunked
75
+ X-Rack-Cors:
76
+ - miss; no-origin
67
77
  Via:
68
- - 1.1 vegur
78
+ - 1.1 vegur, 1.1 a1b25087bb9d630ebf78c28557294564.cloudfront.net (CloudFront)
79
+ X-Cache:
80
+ - Miss from cloudfront
81
+ X-Amz-Cf-Pop:
82
+ - MIA3-C1
83
+ X-Amz-Cf-Id:
84
+ - vaamYGJoqixbY-i7CkFxt-Z_B-_mgdZPxIAc8wzrKTWlHZ7GXspADg==
69
85
  body:
70
86
  encoding: UTF-8
71
- string: '[{"id":3192,"filename":"discharge.RET","processed_at":null,"created_via_api":true,"status":"unprocessed","bank_billet_account_id":null,"created_via_integration":null,"bank_billet_discharges":[]},{"id":3191,"filename":"discharge.RET","processed_at":"2021-04-13T11:44:18-03:00","created_via_api":true,"status":"unrecognized","bank_billet_account_id":null,"created_via_integration":null,"bank_billet_discharges":[{"id":19809,"occurrence":"10","date_of_occurrence":"2020-03-20","discharge_id":3191,"bank_billet_id":null,"occurrence_error":"00","line_parsed":{"iof":"0","paid_at":"2020-03-20","cnpj_cpf":"78796613000141","discount":"0","bank_rate":"30","credit_at":"2020-03-20","error_code":"00","event_type":"10","our_number":"04958535","billet_fine":"0","paid_amount":"0","other_credit":"0","value_rebate":"0","agency_number":"6519","credit_amount":"0","account_number":"90009999","conta_cobranca":"90009999","control_number":"","banco_recebedor":"033","document_number":"495853","agencia_recebedora":"1651"},"line_raw":{"line_raw":"1027879661300014165199000999990009999 04958535 510200320495853 0495853500 12111900000000300350331651901000000000003000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
72
- N 200320 SOLUCOES DIGITAIS L 00000000000000000000000000000000000000000C 325000002"},"processed_at":"2021-04-13T11:44:18-03:00","occurrence_detail":"Título
73
- Baixado Conforme Instrução Ou Por Título Protestado 11 = Em Ser","occurrence_error_detail":null,"our_occurrence":"2074","bank_billet_account_id":null,"bank_number":"033","created_at":"2021-04-13T11:44:18-03:00","kind":"400"}]},{"id":3190,"filename":"discharge.RET","processed_at":"2021-04-13T11:40:02-03:00","created_via_api":true,"status":"unrecognized","bank_billet_account_id":null,"created_via_integration":null,"bank_billet_discharges":[{"id":19808,"occurrence":"10","date_of_occurrence":"2020-03-20","discharge_id":3190,"bank_billet_id":null,"occurrence_error":"00","line_parsed":{"iof":"0","paid_at":"2020-03-20","cnpj_cpf":"78796613000141","discount":"0","bank_rate":"30","credit_at":"2020-03-20","error_code":"00","event_type":"10","our_number":"04958535","billet_fine":"0","paid_amount":"0","other_credit":"0","value_rebate":"0","agency_number":"6519","credit_amount":"0","account_number":"90009999","conta_cobranca":"90009999","control_number":"","banco_recebedor":"033","document_number":"495853","agencia_recebedora":"1651"},"line_raw":{"line_raw":"1027879661300014165199000999990009999 04958535 510200320495853 0495853500 12111900000000300350331651901000000000003000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
74
- N 200320 SOLUCOES DIGITAIS L 00000000000000000000000000000000000000000C 325000002"},"processed_at":"2021-04-13T11:40:03-03:00","occurrence_detail":"Título
75
- Baixado Conforme Instrução Ou Por Título Protestado 11 = Em Ser","occurrence_error_detail":null,"our_occurrence":"2074","bank_billet_account_id":null,"bank_number":"033","created_at":"2021-04-13T11:40:03-03:00","kind":"400"}]},{"id":3189,"filename":"discharge.RET","processed_at":"2021-04-13T11:35:30-03:00","created_via_api":true,"status":"unrecognized","bank_billet_account_id":null,"created_via_integration":null,"bank_billet_discharges":[{"id":19807,"occurrence":"10","date_of_occurrence":"2020-03-20","discharge_id":3189,"bank_billet_id":null,"occurrence_error":"00","line_parsed":{"iof":"0","paid_at":"2020-03-20","cnpj_cpf":"78796613000141","discount":"0","bank_rate":"30","credit_at":"2020-03-20","error_code":"00","event_type":"10","our_number":"04958535","billet_fine":"0","paid_amount":"0","other_credit":"0","value_rebate":"0","agency_number":"6519","credit_amount":"0","account_number":"90009999","conta_cobranca":"90009999","control_number":"","banco_recebedor":"033","document_number":"495853","agencia_recebedora":"1651"},"line_raw":{"line_raw":"1027879661300014165199000999990009999 04958535 510200320495853 0495853500 12111900000000300350331651901000000000003000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
76
- N 200320 SOLUCOES DIGITAIS L 00000000000000000000000000000000000000000C 325000002"},"processed_at":"2021-04-13T11:35:31-03:00","occurrence_detail":"Título
77
- Baixado Conforme Instrução Ou Por Título Protestado 11 = Em Ser","occurrence_error_detail":null,"our_occurrence":"2074","bank_billet_account_id":null,"bank_number":"033","created_at":"2021-04-13T11:35:31-03:00","kind":"400"}]},{"id":3188,"filename":"discharge.RET","processed_at":"2021-04-13T11:26:08-03:00","created_via_api":true,"status":"unrecognized","bank_billet_account_id":null,"created_via_integration":null,"bank_billet_discharges":[{"id":19806,"occurrence":"10","date_of_occurrence":"2020-03-20","discharge_id":3188,"bank_billet_id":null,"occurrence_error":"00","line_parsed":{"iof":"0","paid_at":"2020-03-20","cnpj_cpf":"78796613000141","discount":"0","bank_rate":"30","credit_at":"2020-03-20","error_code":"00","event_type":"10","our_number":"04958535","billet_fine":"0","paid_amount":"0","other_credit":"0","value_rebate":"0","agency_number":"6519","credit_amount":"0","account_number":"90009999","conta_cobranca":"90009999","control_number":"","banco_recebedor":"033","document_number":"495853","agencia_recebedora":"1651"},"line_raw":{"line_raw":"1027879661300014165199000999990009999 04958535 510200320495853 0495853500 12111900000000300350331651901000000000003000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
78
- N 200320 SOLUCOES DIGITAIS L 00000000000000000000000000000000000000000C 325000002"},"processed_at":"2021-04-13T11:26:08-03:00","occurrence_detail":"Título
79
- Baixado Conforme Instrução Ou Por Título Protestado 11 = Em Ser","occurrence_error_detail":null,"our_occurrence":"2074","bank_billet_account_id":null,"bank_number":"033","created_at":"2021-04-13T11:26:08-03:00","kind":"400"}]},{"id":3187,"filename":"discharge.RET","processed_at":"2021-04-13T11:22:11-03:00","created_via_api":true,"status":"unrecognized","bank_billet_account_id":null,"created_via_integration":null,"bank_billet_discharges":[{"id":19805,"occurrence":"10","date_of_occurrence":"2020-03-20","discharge_id":3187,"bank_billet_id":null,"occurrence_error":"00","line_parsed":{"iof":"0","paid_at":"2020-03-20","cnpj_cpf":"78796613000141","discount":"0","bank_rate":"30","credit_at":"2020-03-20","error_code":"00","event_type":"10","our_number":"04958535","billet_fine":"0","paid_amount":"0","other_credit":"0","value_rebate":"0","agency_number":"6519","credit_amount":"0","account_number":"90009999","conta_cobranca":"90009999","control_number":"","banco_recebedor":"033","document_number":"495853","agencia_recebedora":"1651"},"line_raw":{"line_raw":"1027879661300014165199000999990009999 04958535 510200320495853 0495853500 12111900000000300350331651901000000000003000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
80
- N 200320 SOLUCOES DIGITAIS L 00000000000000000000000000000000000000000C 325000002"},"processed_at":"2021-04-13T11:22:11-03:00","occurrence_detail":"Título
81
- Baixado Conforme Instrução Ou Por Título Protestado 11 = Em Ser","occurrence_error_detail":null,"our_occurrence":"2074","bank_billet_account_id":null,"bank_number":"033","created_at":"2021-04-13T11:22:11-03:00","kind":"400"}]},{"id":3186,"filename":"discharge.RET","processed_at":"2021-04-13T11:10:39-03:00","created_via_api":true,"status":"unrecognized","bank_billet_account_id":null,"created_via_integration":null,"bank_billet_discharges":[{"id":19804,"occurrence":"10","date_of_occurrence":"2020-03-20","discharge_id":3186,"bank_billet_id":null,"occurrence_error":"00","line_parsed":{"iof":"0","paid_at":"2020-03-20","cnpj_cpf":"78796613000141","discount":"0","bank_rate":"30","credit_at":"2020-03-20","error_code":"00","event_type":"10","our_number":"04958535","billet_fine":"0","paid_amount":"0","other_credit":"0","value_rebate":"0","agency_number":"6519","credit_amount":"0","account_number":"90009999","conta_cobranca":"90009999","control_number":"","banco_recebedor":"033","document_number":"495853","agencia_recebedora":"1651"},"line_raw":{"line_raw":"1027879661300014165199000999990009999 04958535 510200320495853 0495853500 12111900000000300350331651901000000000003000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
82
- N 200320 SOLUCOES DIGITAIS L 00000000000000000000000000000000000000000C 325000002"},"processed_at":"2021-04-13T11:10:39-03:00","occurrence_detail":"Título
83
- Baixado Conforme Instrução Ou Por Título Protestado 11 = Em Ser","occurrence_error_detail":null,"our_occurrence":"2074","bank_billet_account_id":null,"bank_number":"033","created_at":"2021-04-13T11:10:39-03:00","kind":"400"}]},{"id":3185,"filename":"discharge.RET","processed_at":"2021-04-13T11:05:50-03:00","created_via_api":true,"status":"unrecognized","bank_billet_account_id":null,"created_via_integration":null,"bank_billet_discharges":[{"id":19803,"occurrence":"10","date_of_occurrence":"2020-03-20","discharge_id":3185,"bank_billet_id":null,"occurrence_error":"00","line_parsed":{"iof":"0","paid_at":"2020-03-20","cnpj_cpf":"78796613000141","discount":"0","bank_rate":"30","credit_at":"2020-03-20","error_code":"00","event_type":"10","our_number":"04958535","billet_fine":"0","paid_amount":"0","other_credit":"0","value_rebate":"0","agency_number":"6519","credit_amount":"0","account_number":"90009999","conta_cobranca":"90009999","control_number":"","banco_recebedor":"033","document_number":"495853","agencia_recebedora":"1651"},"line_raw":{"line_raw":"1027879661300014165199000999990009999 04958535 510200320495853 0495853500 12111900000000300350331651901000000000003000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
84
- N 200320 SOLUCOES DIGITAIS L 00000000000000000000000000000000000000000C 325000002"},"processed_at":"2021-04-13T11:05:50-03:00","occurrence_detail":"Título
85
- Baixado Conforme Instrução Ou Por Título Protestado 11 = Em Ser","occurrence_error_detail":null,"our_occurrence":"2074","bank_billet_account_id":null,"bank_number":"033","created_at":"2021-04-13T11:05:50-03:00","kind":"400"}]},{"id":3184,"filename":"discharge.RET","processed_at":"2021-04-13T10:55:36-03:00","created_via_api":true,"status":"unrecognized","bank_billet_account_id":null,"created_via_integration":null,"bank_billet_discharges":[{"id":19802,"occurrence":"10","date_of_occurrence":"2020-03-20","discharge_id":3184,"bank_billet_id":null,"occurrence_error":"00","line_parsed":{"iof":"0","paid_at":"2020-03-20","cnpj_cpf":"78796613000141","discount":"0","bank_rate":"30","credit_at":"2020-03-20","error_code":"00","event_type":"10","our_number":"04958535","billet_fine":"0","paid_amount":"0","other_credit":"0","value_rebate":"0","agency_number":"6519","credit_amount":"0","account_number":"90009999","conta_cobranca":"90009999","control_number":"","banco_recebedor":"033","document_number":"495853","agencia_recebedora":"1651"},"line_raw":{"line_raw":"1027879661300014165199000999990009999 04958535 510200320495853 0495853500 12111900000000300350331651901000000000003000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
86
- N 200320 SOLUCOES DIGITAIS L 00000000000000000000000000000000000000000C 325000002"},"processed_at":"2021-04-13T10:55:37-03:00","occurrence_detail":"Título
87
- Baixado Conforme Instrução Ou Por Título Protestado 11 = Em Ser","occurrence_error_detail":null,"our_occurrence":"2074","bank_billet_account_id":null,"bank_number":"033","created_at":"2021-04-13T10:55:37-03:00","kind":"400"}]},{"id":3183,"filename":"discharge.RET","processed_at":"2021-04-13T09:59:46-03:00","created_via_api":true,"status":"unrecognized","bank_billet_account_id":null,"created_via_integration":null,"bank_billet_discharges":[{"id":19801,"occurrence":"10","date_of_occurrence":"2020-03-20","discharge_id":3183,"bank_billet_id":null,"occurrence_error":"00","line_parsed":{"iof":"0","paid_at":"2020-03-20","cnpj_cpf":"78796613000141","discount":"0","bank_rate":"30","credit_at":"2020-03-20","error_code":"00","event_type":"10","our_number":"04958535","billet_fine":"0","paid_amount":"0","other_credit":"0","value_rebate":"0","agency_number":"6519","credit_amount":"0","account_number":"90009999","conta_cobranca":"90009999","control_number":"","banco_recebedor":"033","document_number":"495853","agencia_recebedora":"1651"},"line_raw":{"line_raw":"1027879661300014165199000999990009999 04958535 510200320495853 0495853500 12111900000000300350331651901000000000003000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
88
- N 200320 SOLUCOES DIGITAIS L 00000000000000000000000000000000000000000C 325000002"},"processed_at":"2021-04-13T09:59:46-03:00","occurrence_detail":"Título
89
- Baixado Conforme Instrução Ou Por Título Protestado 11 = Em Ser","occurrence_error_detail":null,"our_occurrence":"2074","bank_billet_account_id":null,"bank_number":"033","created_at":"2021-04-13T09:59:46-03:00","kind":"400"}]},{"id":3182,"filename":"discharge.RET","processed_at":"2021-04-13T09:27:07-03:00","created_via_api":true,"status":"unrecognized","bank_billet_account_id":null,"created_via_integration":null,"bank_billet_discharges":[{"id":19800,"occurrence":"10","date_of_occurrence":"2020-03-20","discharge_id":3182,"bank_billet_id":null,"occurrence_error":"00","line_parsed":{"iof":"0","paid_at":"2020-03-20","cnpj_cpf":"78796613000141","discount":"0","bank_rate":"30","credit_at":"2020-03-20","error_code":"00","event_type":"10","our_number":"04958535","billet_fine":"0","paid_amount":"0","other_credit":"0","value_rebate":"0","agency_number":"6519","credit_amount":"0","account_number":"90009999","conta_cobranca":"90009999","control_number":"","banco_recebedor":"033","document_number":"495853","agencia_recebedora":"1651"},"line_raw":{"line_raw":"1027879661300014165199000999990009999 04958535 510200320495853 0495853500 12111900000000300350331651901000000000003000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
90
- N 200320 SOLUCOES DIGITAIS L 00000000000000000000000000000000000000000C 325000002"},"processed_at":"2021-04-13T09:27:09-03:00","occurrence_detail":"Título
91
- Baixado Conforme Instrução Ou Por Título Protestado 11 = Em Ser","occurrence_error_detail":null,"our_occurrence":"2074","bank_billet_account_id":null,"bank_number":"033","created_at":"2021-04-13T09:27:09-03:00","kind":"400"}]},{"id":3181,"filename":"discharge.RET","processed_at":"2021-04-12T11:55:06-03:00","created_via_api":true,"status":"unrecognized","bank_billet_account_id":null,"created_via_integration":null,"bank_billet_discharges":[{"id":19799,"occurrence":"10","date_of_occurrence":"2020-03-20","discharge_id":3181,"bank_billet_id":null,"occurrence_error":"00","line_parsed":{"iof":"0","paid_at":"2020-03-20","cnpj_cpf":"78796613000141","discount":"0","bank_rate":"30","credit_at":"2020-03-20","error_code":"00","event_type":"10","our_number":"04958535","billet_fine":"0","paid_amount":"0","other_credit":"0","value_rebate":"0","agency_number":"6519","credit_amount":"0","account_number":"90009999","conta_cobranca":"90009999","control_number":"","banco_recebedor":"033","document_number":"495853","agencia_recebedora":"1651"},"line_raw":{"line_raw":"1027879661300014165199000999990009999 04958535 510200320495853 0495853500 12111900000000300350331651901000000000003000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
92
- N 200320 SOLUCOES DIGITAIS L 00000000000000000000000000000000000000000C 325000002"},"processed_at":"2021-04-12T11:55:07-03:00","occurrence_detail":"Título
93
- Baixado Conforme Instrução Ou Por Título Protestado 11 = Em Ser","occurrence_error_detail":null,"our_occurrence":"2074","bank_billet_account_id":null,"bank_number":"033","created_at":"2021-04-12T11:55:07-03:00","kind":"400"}]}]'
94
- recorded_at: Tue, 13 Apr 2021 17:18:48 GMT
87
+ string: '[{"id":3322,"filename":"discharge.RET","processed_at":"2022-02-22T14:30:48-03:00","created_via_api":true,"status":"unrecognized","bank_billet_account_id":null,"created_via_integration":null,"bank_billet_discharges":[{"id":21255,"occurrence":"10","date_of_occurrence":"2020-03-20","discharge_id":3322,"bank_billet_id":null,"occurrence_error":"00","line_parsed":{"iof":"0","paid_at":"2020-03-20","cnpj_cpf":"78796613000141","discount":"0","bank_rate":"30","credit_at":"2020-03-20","error_code":"00","event_type":"10","our_number":"0495853","billet_fine":"0","paid_amount":"0","other_credit":"0","value_rebate":"0","agency_number":"6519","credit_amount":"0","account_number":"90009999","conta_cobranca":"90009999","control_number":"","banco_recebedor":"033","document_number":"495853","agencia_recebedora":"1651","processed_our_number_raw":"04958535"},"line_raw":{"line_raw":"1027879661300014165199000999990009999 04958535 510200320495853 0495853500 12111900000000300350331651901000000000003000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
88
+ N 200320 SOLUCOES DIGITAIS L 00000000000000000000000000000000000000000C 325000002"},"processed_at":"2022-02-22T14:30:48-03:00","occurrence_detail":"Título
89
+ Baixado Conforme Instrução Ou Por Título Protestado 11 = Em Ser","occurrence_error_detail":null,"our_occurrence":"2074","bank_billet_account_id":null,"bank_number":"033","created_at":"2022-02-22T14:30:48-03:00","kind":"400"}]},{"id":3321,"filename":"discharge.RET","processed_at":"2022-02-22T14:26:40-03:00","created_via_api":true,"status":"unrecognized","bank_billet_account_id":null,"created_via_integration":null,"bank_billet_discharges":[{"id":21254,"occurrence":"10","date_of_occurrence":"2020-03-20","discharge_id":3321,"bank_billet_id":null,"occurrence_error":"00","line_parsed":{"iof":"0","paid_at":"2020-03-20","cnpj_cpf":"78796613000141","discount":"0","bank_rate":"30","credit_at":"2020-03-20","error_code":"00","event_type":"10","our_number":"0495853","billet_fine":"0","paid_amount":"0","other_credit":"0","value_rebate":"0","agency_number":"6519","credit_amount":"0","account_number":"90009999","conta_cobranca":"90009999","control_number":"","banco_recebedor":"033","document_number":"495853","agencia_recebedora":"1651","processed_our_number_raw":"04958535"},"line_raw":{"line_raw":"1027879661300014165199000999990009999 04958535 510200320495853 0495853500 12111900000000300350331651901000000000003000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
90
+ N 200320 SOLUCOES DIGITAIS L 00000000000000000000000000000000000000000C 325000002"},"processed_at":"2022-02-22T14:26:40-03:00","occurrence_detail":"Título
91
+ Baixado Conforme Instrução Ou Por Título Protestado 11 = Em Ser","occurrence_error_detail":null,"our_occurrence":"2074","bank_billet_account_id":null,"bank_number":"033","created_at":"2022-02-22T14:26:40-03:00","kind":"400"}]}]'
92
+ recorded_at: Tue, 22 Feb 2022 17:30:50 GMT
95
93
  recorded_with: VCR 6.0.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://sandbox.boletosimples.com.br/api/v1/discharges
5
+ uri: https://api-sandbox.kobana.com.br/v1/discharges
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{"discharge":{"content":""}}'
@@ -22,10 +22,14 @@ http_interactions:
22
22
  code: 422
23
23
  message: Unprocessable Entity
24
24
  headers:
25
- Server:
26
- - Cowboy
25
+ Content-Type:
26
+ - application/json; charset=utf-8
27
+ Transfer-Encoding:
28
+ - chunked
27
29
  Connection:
28
30
  - keep-alive
31
+ Server:
32
+ - Cowboy
29
33
  X-Frame-Options:
30
34
  - DENY
31
35
  X-Xss-Protection:
@@ -38,33 +42,45 @@ http_interactions:
38
42
  - none
39
43
  Referrer-Policy:
40
44
  - strict-origin-when-cross-origin
41
- Content-Type:
42
- - application/json; charset=utf-8
45
+ Expect-Ct:
46
+ - max-age=0, report-uri="https://boletosimples.report-uri.com/r/d/ct/reportOnly"
47
+ Cross-Origin-Resource-Policy:
48
+ - cross-origin
49
+ Cross-Origin-Embedder-Policy:
50
+ - unsafe-none
51
+ Cross-Origin-Opener-Policy:
52
+ - unsafe-none
43
53
  X-Ratelimit-Limit:
44
- - '1000'
54
+ - '18000'
45
55
  X-Ratelimit-Remaining:
46
- - '981'
56
+ - '17950'
47
57
  Cache-Control:
48
58
  - no-cache
49
59
  X-Request-Id:
50
- - 904c5219-a4ce-4a81-9249-72a63a9eebc0
60
+ - 3d6db5fb-73a1-429e-abd5-499380b72feb
51
61
  X-Runtime:
52
- - '0.026695'
62
+ - '0.019776'
53
63
  Date:
54
- - Tue, 13 Apr 2021 17:18:49 GMT
64
+ - Tue, 22 Feb 2022 17:30:49 GMT
55
65
  X-Rack-Cache:
56
66
  - invalidate, pass
57
67
  Strict-Transport-Security:
58
- - max-age=2629746
68
+ - max-age=31556952; includeSubDomains; preload
59
69
  Vary:
60
70
  - Origin,Accept-Encoding
61
- Transfer-Encoding:
62
- - chunked
71
+ X-Rack-Cors:
72
+ - miss; no-origin
63
73
  Via:
64
- - 1.1 vegur
74
+ - 1.1 vegur, 1.1 d2c636aea3f69033bb2125c4038e1c48.cloudfront.net (CloudFront)
75
+ X-Cache:
76
+ - Error from cloudfront
77
+ X-Amz-Cf-Pop:
78
+ - MIA3-C1
79
+ X-Amz-Cf-Id:
80
+ - CPaHsPU8d8Eqz5SwmQdPTg1yqHkv8voPijep2sCDfl8hmlGZ1rWvYA==
65
81
  body:
66
82
  encoding: UTF-8
67
83
  string: '{"errors":{"content":["não pode ficar em branco"],"filename":["não
68
84
  pode ficar em branco"]}}'
69
- recorded_at: Tue, 13 Apr 2021 17:18:49 GMT
85
+ recorded_at: Tue, 22 Feb 2022 17:30:49 GMT
70
86
  recorded_with: VCR 6.0.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://sandbox.boletosimples.com.br/api/v1/discharges
5
+ uri: https://api-sandbox.kobana.com.br/v1/discharges
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{"discharge":{}}'
@@ -22,10 +22,14 @@ http_interactions:
22
22
  code: 422
23
23
  message: Unprocessable Entity
24
24
  headers:
25
- Server:
26
- - Cowboy
25
+ Content-Type:
26
+ - application/json; charset=utf-8
27
+ Transfer-Encoding:
28
+ - chunked
27
29
  Connection:
28
30
  - keep-alive
31
+ Server:
32
+ - Cowboy
29
33
  X-Frame-Options:
30
34
  - DENY
31
35
  X-Xss-Protection:
@@ -38,32 +42,44 @@ http_interactions:
38
42
  - none
39
43
  Referrer-Policy:
40
44
  - strict-origin-when-cross-origin
41
- Content-Type:
42
- - application/json; charset=utf-8
45
+ Expect-Ct:
46
+ - max-age=0, report-uri="https://boletosimples.report-uri.com/r/d/ct/reportOnly"
47
+ Cross-Origin-Resource-Policy:
48
+ - cross-origin
49
+ Cross-Origin-Embedder-Policy:
50
+ - unsafe-none
51
+ Cross-Origin-Opener-Policy:
52
+ - unsafe-none
43
53
  X-Ratelimit-Limit:
44
- - '1000'
54
+ - '18000'
45
55
  X-Ratelimit-Remaining:
46
- - '982'
56
+ - '17949'
47
57
  Cache-Control:
48
58
  - no-cache
49
59
  X-Request-Id:
50
- - f9519ee6-1ff5-45d2-a0a5-0dddaec31060
60
+ - 2d271f01-062b-4f05-b642-e4f6e17afa87
51
61
  X-Runtime:
52
- - '0.022960'
62
+ - '0.015723'
53
63
  Date:
54
- - Tue, 13 Apr 2021 17:18:48 GMT
64
+ - Tue, 22 Feb 2022 17:30:49 GMT
55
65
  X-Rack-Cache:
56
66
  - invalidate, pass
57
67
  Strict-Transport-Security:
58
- - max-age=2629746
68
+ - max-age=31556952; includeSubDomains; preload
59
69
  Vary:
60
70
  - Origin,Accept-Encoding
61
- Transfer-Encoding:
62
- - chunked
71
+ X-Rack-Cors:
72
+ - miss; no-origin
63
73
  Via:
64
- - 1.1 vegur
74
+ - 1.1 vegur, 1.1 87870fc50391b69b5ca922233fe59ace.cloudfront.net (CloudFront)
75
+ X-Cache:
76
+ - Error from cloudfront
77
+ X-Amz-Cf-Pop:
78
+ - MIA3-C1
79
+ X-Amz-Cf-Id:
80
+ - LdVrOnrMNdLTkStWHjkmqV9z1FBFeCs6XdTKsBI_QqYXgyna3mmmAg==
65
81
  body:
66
82
  encoding: UTF-8
67
83
  string: '{"errors":[{"title":"discharge não pode ficar em branco","status":422,"code":422}]}'
68
- recorded_at: Tue, 13 Apr 2021 17:18:48 GMT
84
+ recorded_at: Tue, 22 Feb 2022 17:30:49 GMT
69
85
  recorded_with: VCR 6.0.0
@@ -2,10 +2,10 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://sandbox.boletosimples.com.br/api/v1/discharges
5
+ uri: https://api-sandbox.kobana.com.br/v1/discharges
6
6
  body:
7
7
  encoding: UTF-8
8
- string: "-------------RubyMultipartPost-b54f557c3434e9dd5ea8f333d6da7fa3\r\nContent-Disposition:
8
+ string: "-------------RubyMultipartPost-24dceadd63421cea19ac03a1adccc41e\r\nContent-Disposition:
9
9
  form-data; name=\"discharge[file]\"; filename=\"discharge.RET\"\r\nContent-Length:
10
10
  1206\r\nContent-Type: text/plain\r\nContent-Transfer-Encoding: binary\r\n\r\n02RETORNO01COBRANCA
11
11
  \ 16511300049999999999 SISTEMAS S.A 033SANTANDER 20032000000000009483012
@@ -14,14 +14,14 @@ http_interactions:
14
14
  \ 0495853500 12111900000000300350331651901000000000003000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
15
15
  N 200320 SOLUCOES DIGITAIS L 00000000000000000000000000000000000000000C
16
16
  \ 325000002\r\n9201033 000025050000053763329700000518 000000000000000000000000000000
17
- \ 000000000000000000000000000000 325000632\r\n\r\n-------------RubyMultipartPost-b54f557c3434e9dd5ea8f333d6da7fa3--\r\n"
17
+ \ 000000000000000000000000000000 325000632\r\n\r\n-------------RubyMultipartPost-24dceadd63421cea19ac03a1adccc41e--\r\n"
18
18
  headers:
19
19
  User-Agent:
20
20
  - email@minhaempresa.com.br
21
21
  Authorization:
22
22
  - Bearer BOLETOSIMPLES_API_TOKEN
23
23
  Content-Type:
24
- - multipart/form-data; boundary=-----------RubyMultipartPost-b54f557c3434e9dd5ea8f333d6da7fa3
24
+ - multipart/form-data; boundary=-----------RubyMultipartPost-24dceadd63421cea19ac03a1adccc41e
25
25
  Content-Length:
26
26
  - '1507'
27
27
  Accept:
@@ -33,10 +33,14 @@ http_interactions:
33
33
  code: 201
34
34
  message: Created
35
35
  headers:
36
- Server:
37
- - Cowboy
36
+ Content-Type:
37
+ - application/json; charset=utf-8
38
+ Transfer-Encoding:
39
+ - chunked
38
40
  Connection:
39
41
  - keep-alive
42
+ Server:
43
+ - Cowboy
40
44
  X-Frame-Options:
41
45
  - DENY
42
46
  X-Xss-Protection:
@@ -49,36 +53,48 @@ http_interactions:
49
53
  - none
50
54
  Referrer-Policy:
51
55
  - strict-origin-when-cross-origin
56
+ Expect-Ct:
57
+ - max-age=0, report-uri="https://boletosimples.report-uri.com/r/d/ct/reportOnly"
58
+ Cross-Origin-Resource-Policy:
59
+ - cross-origin
60
+ Cross-Origin-Embedder-Policy:
61
+ - unsafe-none
62
+ Cross-Origin-Opener-Policy:
63
+ - unsafe-none
52
64
  Location:
53
- - https://sandbox.boletosimples.com.br/api/v1/discharges/3192
54
- Content-Type:
55
- - application/json; charset=utf-8
65
+ - https://api-sandbox.kobana.com.br/api/v1/discharges/3322
56
66
  X-Ratelimit-Limit:
57
- - '1000'
67
+ - '18000'
58
68
  X-Ratelimit-Remaining:
59
- - '983'
69
+ - '17951'
60
70
  Etag:
61
- - W/"e077f7fad4f8c1d2e95d90396adb0b16"
71
+ - W/"0c52841befe661e2d2d6c6f2a63f6e2b"
62
72
  Cache-Control:
63
73
  - max-age=0, private, must-revalidate
64
74
  X-Request-Id:
65
- - 797fe79a-7db2-4e07-86a7-0e05dd8945be
75
+ - 59ba292a-6b9b-4a5b-bb95-32e1ad9f9c72
66
76
  X-Runtime:
67
- - '0.076282'
77
+ - '0.053394'
68
78
  Date:
69
- - Tue, 13 Apr 2021 17:18:46 GMT
79
+ - Tue, 22 Feb 2022 17:30:48 GMT
70
80
  X-Rack-Cache:
71
81
  - invalidate, pass
72
82
  Strict-Transport-Security:
73
- - max-age=2629746
83
+ - max-age=31556952; includeSubDomains; preload
74
84
  Vary:
75
85
  - Origin,Accept-Encoding
76
- Transfer-Encoding:
77
- - chunked
86
+ X-Rack-Cors:
87
+ - miss; no-origin
78
88
  Via:
79
- - 1.1 vegur
89
+ - 1.1 vegur, 1.1 3b888dcc047b71c0685c3b793d031fb2.cloudfront.net (CloudFront)
90
+ X-Cache:
91
+ - Miss from cloudfront
92
+ X-Amz-Cf-Pop:
93
+ - MIA3-C1
94
+ X-Amz-Cf-Id:
95
+ - ppOm9LD1aGK6UpXHaANtpXCPPrithFvEo7riYnf9EYMfaT-98cRnRA==
80
96
  body:
81
97
  encoding: UTF-8
82
- string: '{"id":3192,"filename":"discharge.RET","processed_at":null,"created_via_api":true,"status":"unprocessed","bank_billet_account_id":null,"created_via_integration":null,"bank_billet_discharges":[]}'
83
- recorded_at: Tue, 13 Apr 2021 17:18:46 GMT
98
+ string: '{"id":3322,"filename":"discharge.RET","processed_at":null,"created_via_api":true,"status":"unprocessed","bank_billet_account_id":null,"created_via_integration":null,"bank_billet_discharges":[]}'
99
+ recorded_at: Tue, 22 Feb 2022 17:30:48 GMT
84
100
  recorded_with: VCR 6.0.0