boletosimples 1.0.4 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/README.md +6 -7
  4. data/lib/boletosimples/configuration.rb +2 -2
  5. data/lib/boletosimples/response_error.rb +2 -2
  6. data/lib/boletosimples/version.rb +1 -1
  7. data/spec/boletosimples/configuration_spec.rb +3 -3
  8. data/spec/boletosimples/resources/bank_billet_spec.rb +2 -2
  9. data/spec/boletosimples/resources/customer_spec.rb +9 -4
  10. data/spec/boletosimples/resources/customer_subscription_spec.rb +1 -1
  11. data/spec/boletosimples/resources/installment_spec.rb +1 -1
  12. data/spec/fixtures/vcr_cassettes/last_request/bank_billets.yml +386 -520
  13. data/spec/fixtures/vcr_cassettes/resources/bank_billet/all.yml +78 -522
  14. data/spec/fixtures/vcr_cassettes/resources/bank_billet/cancel/success.yml +30 -12
  15. data/spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_params.yml +32 -16
  16. data/spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_root.yml +31 -15
  17. data/spec/fixtures/vcr_cassettes/resources/bank_billet/create/valid.yml +42 -28
  18. data/spec/fixtures/vcr_cassettes/resources/bank_billet/duplicate/success.yml +41 -27
  19. data/spec/fixtures/vcr_cassettes/resources/bank_billet/find.yml +46 -31
  20. data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/all.yml +47 -103
  21. data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/create/invalid_params.yml +31 -15
  22. data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/create/invalid_root.yml +31 -15
  23. data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/create/valid.yml +35 -19
  24. data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/find.yml +35 -19
  25. data/spec/fixtures/vcr_cassettes/resources/bank_billet_discharge/all.yml +35 -41
  26. data/spec/fixtures/vcr_cassettes/resources/bank_billet_payment/all.yml +73 -72
  27. data/spec/fixtures/vcr_cassettes/resources/bank_billet_remittance/all.yml +39 -70
  28. data/spec/fixtures/vcr_cassettes/resources/customer/all.yml +111 -56
  29. data/spec/fixtures/vcr_cassettes/resources/customer/create/invalid_params.yml +35 -19
  30. data/spec/fixtures/vcr_cassettes/resources/customer/create/invalid_root.yml +35 -16
  31. data/spec/fixtures/vcr_cassettes/resources/customer/create/valid.yml +37 -21
  32. data/spec/fixtures/vcr_cassettes/resources/customer/find.yml +36 -20
  33. data/spec/fixtures/vcr_cassettes/resources/customer_import/all.yml +34 -18
  34. data/spec/fixtures/vcr_cassettes/resources/customer_import/create/invalid_params.yml +31 -15
  35. data/spec/fixtures/vcr_cassettes/resources/customer_import/create/invalid_root.yml +31 -15
  36. data/spec/fixtures/vcr_cassettes/resources/customer_import/create/valid.yml +36 -20
  37. data/spec/fixtures/vcr_cassettes/resources/customer_import/find.yml +34 -18
  38. data/spec/fixtures/vcr_cassettes/resources/customer_subscription/all.yml +35 -71
  39. data/spec/fixtures/vcr_cassettes/resources/customer_subscription/create/invalid_params.yml +32 -16
  40. data/spec/fixtures/vcr_cassettes/resources/customer_subscription/create/invalid_root.yml +31 -15
  41. data/spec/fixtures/vcr_cassettes/resources/customer_subscription/create/valid.yml +35 -19
  42. data/spec/fixtures/vcr_cassettes/resources/customer_subscription/find.yml +36 -20
  43. data/spec/fixtures/vcr_cassettes/resources/customer_subscription/next_charge.yml +36 -20
  44. data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/all.yml +34 -19
  45. data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/create/invalid_params.yml +31 -15
  46. data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/create/invalid_root.yml +31 -15
  47. data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/create/valid.yml +36 -20
  48. data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/find.yml +34 -18
  49. data/spec/fixtures/vcr_cassettes/resources/discharge/all.yml +37 -39
  50. data/spec/fixtures/vcr_cassettes/resources/discharge/create/invalid_params.yml +31 -15
  51. data/spec/fixtures/vcr_cassettes/resources/discharge/create/invalid_root.yml +31 -15
  52. data/spec/fixtures/vcr_cassettes/resources/discharge/create/valid.yml +37 -21
  53. data/spec/fixtures/vcr_cassettes/resources/discharge/find.yml +36 -18
  54. data/spec/fixtures/vcr_cassettes/resources/email_delivery/all.yml +1 -1
  55. data/spec/fixtures/vcr_cassettes/resources/event/all.yml +267 -432
  56. data/spec/fixtures/vcr_cassettes/resources/installment/all.yml +71 -375
  57. data/spec/fixtures/vcr_cassettes/resources/installment/create/invalid_params.yml +32 -16
  58. data/spec/fixtures/vcr_cassettes/resources/installment/create/invalid_root.yml +31 -15
  59. data/spec/fixtures/vcr_cassettes/resources/installment/create/valid.yml +35 -19
  60. data/spec/fixtures/vcr_cassettes/resources/installment/find.yml +59 -19
  61. data/spec/fixtures/vcr_cassettes/resources/remittance/all.yml +82 -81
  62. data/spec/fixtures/vcr_cassettes/resources/sns_delivery/all.yml +31 -15
  63. data/spec/fixtures/vcr_cassettes/resources/transaction/all.yml +72 -71
  64. data/spec/fixtures/vcr_cassettes/resources/web_hook/all.yml +33 -17
  65. data/spec/fixtures/vcr_cassettes/resources/webhook_delivery/all.yml +2657 -1206
  66. metadata +5 -186
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://sandbox.boletosimples.com.br/api/v1/bank_billet_remittances
5
+ uri: https://api-sandbox.kobana.com.br/v1/bank_billet_remittances
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,91 +40,56 @@ http_interactions:
36
40
  - none
37
41
  Referrer-Policy:
38
42
  - strict-origin-when-cross-origin
39
- Link:
40
- - <https://sandbox.boletosimples.com.br/api/v1/bank_billet_remittances?page=2>;
41
- rel="next"
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
42
51
  Per-Page:
43
52
  - '50'
44
53
  Page:
45
54
  - ''
46
- Content-Type:
47
- - application/json; charset=utf-8
48
55
  X-Ratelimit-Limit:
49
- - '60'
56
+ - '100'
50
57
  X-Ratelimit-Remaining:
51
- - '36'
58
+ - '59'
52
59
  Etag:
53
- - W/"61a58e3e0b8ce637f9a1a286ee2a6a70"
60
+ - W/"be008f0e923787ce661f24d6a2ace6f7"
54
61
  Cache-Control:
55
62
  - must-revalidate, private, max-age=0
56
63
  X-Request-Id:
57
- - b7de9a4e-83ad-4a54-9995-3c52c34c2e4b
64
+ - 0e3a565e-0a9a-4c18-b054-c288898b7dad
58
65
  X-Runtime:
59
- - '0.071825'
66
+ - '0.023621'
60
67
  Date:
61
- - Tue, 13 Apr 2021 17:19:01 GMT
68
+ - Tue, 22 Feb 2022 17:30:41 GMT
62
69
  X-Rack-Cache:
63
70
  - miss
64
71
  Strict-Transport-Security:
65
- - max-age=2629746
72
+ - max-age=31556952; includeSubDomains; preload
66
73
  Vary:
67
74
  - Origin,Accept-Encoding
68
- Transfer-Encoding:
69
- - chunked
75
+ X-Rack-Cors:
76
+ - miss; no-origin
70
77
  Via:
71
- - 1.1 vegur
78
+ - 1.1 vegur, 1.1 982dd7ed309ab3025635ef6f0ff61e82.cloudfront.net (CloudFront)
79
+ X-Cache:
80
+ - Miss from cloudfront
81
+ X-Amz-Cf-Pop:
82
+ - MIA3-C1
83
+ X-Amz-Cf-Id:
84
+ - SFnx2sEl0quYsYVllZ7ZC-AB4t7BT9Sju2Grgx43zvVrUanAr7qe0w==
72
85
  body:
73
86
  encoding: UTF-8
74
- string: '[{"id":348220,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382372,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
75
- de Título","created_at":"2021-04-13T14:18:55-03:00"},{"id":348219,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382371,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
76
- de Título","created_at":"2021-04-13T14:18:48-03:00"},{"id":348218,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382370,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
77
- de Título","created_at":"2021-04-13T14:18:47-03:00"},{"id":348198,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382350,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
78
- de Título","created_at":"2021-04-13T11:44:34-03:00"},{"id":348196,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382348,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
79
- de Título","created_at":"2021-04-13T11:43:57-03:00"},{"id":348195,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382347,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
80
- de Título","created_at":"2021-04-13T11:43:55-03:00"},{"id":348194,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382346,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
81
- de Título","created_at":"2021-04-13T11:43:53-03:00"},{"id":348193,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382345,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
82
- de Título","created_at":"2021-04-13T11:40:22-03:00"},{"id":348192,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382344,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
83
- de Título","created_at":"2021-04-13T11:40:16-03:00"},{"id":348191,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382343,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
84
- de Título","created_at":"2021-04-13T11:40:13-03:00"},{"id":348190,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382342,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
85
- de Título","created_at":"2021-04-13T11:40:13-03:00"},{"id":348187,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382338,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
86
- de Título","created_at":"2021-04-13T11:38:13-03:00"},{"id":348185,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382336,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
87
- de Título","created_at":"2021-04-13T11:38:07-03:00"},{"id":348184,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382335,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
88
- de Título","created_at":"2021-04-13T11:38:05-03:00"},{"id":348182,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382333,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
89
- de Título","created_at":"2021-04-13T11:35:50-03:00"},{"id":348180,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382331,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
90
- de Título","created_at":"2021-04-13T11:35:35-03:00"},{"id":348179,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382330,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
91
- de Título","created_at":"2021-04-13T11:35:33-03:00"},{"id":348178,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382329,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
92
- de Título","created_at":"2021-04-13T11:35:30-03:00"},{"id":348177,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382328,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
93
- de Título","created_at":"2021-04-13T11:26:44-03:00"},{"id":348176,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382327,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
94
- de Título","created_at":"2021-04-13T11:26:42-03:00"},{"id":348175,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382326,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
95
- de Título","created_at":"2021-04-13T11:26:40-03:00"},{"id":348173,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382324,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
96
- de Título","created_at":"2021-04-13T11:26:26-03:00"},{"id":348171,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382322,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
97
- de Título","created_at":"2021-04-13T11:22:33-03:00"},{"id":348170,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382321,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
98
- de Título","created_at":"2021-04-13T11:21:49-03:00"},{"id":348169,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382320,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
99
- de Título","created_at":"2021-04-13T11:21:47-03:00"},{"id":348168,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382319,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
100
- de Título","created_at":"2021-04-13T11:21:45-03:00"},{"id":348167,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382318,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
101
- de Título","created_at":"2021-04-13T11:11:00-03:00"},{"id":348166,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382317,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
102
- de Título","created_at":"2021-04-13T11:11:00-03:00"},{"id":348165,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382316,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
103
- de Título","created_at":"2021-04-13T11:10:58-03:00"},{"id":348163,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382314,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
104
- de Título","created_at":"2021-04-13T11:10:25-03:00"},{"id":348159,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382309,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
105
- de Título","created_at":"2021-04-13T11:03:04-03:00"},{"id":348157,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382307,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
106
- de Título","created_at":"2021-04-13T10:57:52-03:00"},{"id":348156,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382306,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
107
- de Título","created_at":"2021-04-13T10:57:46-03:00"},{"id":348155,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382305,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
108
- de Título","created_at":"2021-04-13T10:57:43-03:00"},{"id":348154,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382304,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
109
- de Título","created_at":"2021-04-13T10:57:35-03:00"},{"id":348153,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382303,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
110
- de Título","created_at":"2021-04-13T10:55:34-03:00"},{"id":348152,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382302,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
111
- de Título","created_at":"2021-04-13T10:55:28-03:00"},{"id":348151,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382301,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
112
- de Título","created_at":"2021-04-13T10:55:27-03:00"},{"id":348150,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382300,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
113
- de Título","created_at":"2021-04-13T10:55:10-03:00"},{"id":348137,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382282,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
114
- de Título","created_at":"2021-04-13T10:00:42-03:00"},{"id":348136,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382281,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
115
- de Título","created_at":"2021-04-13T10:00:35-03:00"},{"id":348135,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382280,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
116
- de Título","created_at":"2021-04-13T10:00:33-03:00"},{"id":348134,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382279,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
117
- de Título","created_at":"2021-04-13T10:00:30-03:00"},{"id":348119,"our_code":"1034","occurrence":"34","remittance_id":2350,"bank_billet_id":382264,"bank_billet_account_id":3547,"processed_at":"2021-04-13T09:30:40-03:00","occurrence_detail":"Pago
118
- diretamente ao beneficiário","created_at":"2021-04-13T09:30:20-03:00"},{"id":348118,"our_code":"1001","occurrence":"01","remittance_id":2350,"bank_billet_id":382264,"bank_billet_account_id":3547,"processed_at":"2021-04-13T09:30:40-03:00","occurrence_detail":"Entrada
119
- de Título","created_at":"2021-04-13T09:27:31-03:00"},{"id":348117,"our_code":"1001","occurrence":"01","remittance_id":2350,"bank_billet_id":382263,"bank_billet_account_id":3547,"processed_at":"2021-04-13T09:30:40-03:00","occurrence_detail":"Entrada
120
- de Título","created_at":"2021-04-13T09:27:25-03:00"},{"id":348116,"our_code":"1001","occurrence":"01","remittance_id":2350,"bank_billet_id":382262,"bank_billet_account_id":3547,"processed_at":"2021-04-13T09:30:40-03:00","occurrence_detail":"Entrada
121
- de Título","created_at":"2021-04-13T09:27:23-03:00"},{"id":348115,"our_code":"1001","occurrence":"01","remittance_id":2350,"bank_billet_id":382261,"bank_billet_account_id":3547,"processed_at":"2021-04-13T09:30:40-03:00","occurrence_detail":"Entrada
122
- de Título","created_at":"2021-04-13T09:27:23-03:00"},{"id":347983,"our_code":"1001","occurrence":"01","remittance_id":2350,"bank_billet_id":382122,"bank_billet_account_id":3547,"processed_at":"2021-04-13T09:30:40-03:00","occurrence_detail":"Entrada
123
- de Título","created_at":"2021-04-12T11:55:20-03:00"},{"id":347982,"our_code":"1001","occurrence":"01","remittance_id":2350,"bank_billet_id":382121,"bank_billet_account_id":3547,"processed_at":"2021-04-13T09:30:40-03:00","occurrence_detail":"Entrada
124
- de Título","created_at":"2021-04-12T11:55:18-03:00"}]'
125
- recorded_at: Tue, 13 Apr 2021 17:19:01 GMT
87
+ string: '[{"id":433979,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":472531,"bank_billet_account_id":659,"processed_at":null,"occurrence_detail":"Entrada
88
+ de Título","created_at":"2022-02-22T14:30:39-03:00"},{"id":433978,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":472530,"bank_billet_account_id":659,"processed_at":null,"occurrence_detail":"Entrada
89
+ de Título","created_at":"2022-02-22T14:30:28-03:00"},{"id":433976,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":472528,"bank_billet_account_id":659,"processed_at":null,"occurrence_detail":"Entrada
90
+ de Título","created_at":"2022-02-22T14:27:02-03:00"},{"id":433975,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":472526,"bank_billet_account_id":659,"processed_at":null,"occurrence_detail":"Entrada
91
+ de Título","created_at":"2022-02-22T14:27:02-03:00"},{"id":433974,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":472527,"bank_billet_account_id":659,"processed_at":null,"occurrence_detail":"Entrada
92
+ de Título","created_at":"2022-02-22T14:27:02-03:00"},{"id":433973,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":472525,"bank_billet_account_id":659,"processed_at":null,"occurrence_detail":"Entrada
93
+ de Título","created_at":"2022-02-22T14:26:58-03:00"}]'
94
+ recorded_at: Tue, 22 Feb 2022 17:30:41 GMT
126
95
  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/customers
5
+ uri: https://api-sandbox.kobana.com.br/v1/customers
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,84 +40,135 @@ 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
- - '32'
58
+ - '47'
49
59
  Etag:
50
- - W/"667a693af60595f15bccf9f8562b85cd"
60
+ - W/"445dd4e72878a664a4a35ec2cc27317f"
51
61
  Cache-Control:
52
62
  - must-revalidate, private, max-age=0
53
63
  X-Request-Id:
54
- - 45f986c4-9cd6-4a4c-a891-89f48e51565f
64
+ - de4ef123-8889-400c-9247-c94ab7173472
55
65
  X-Runtime:
56
- - '0.033612'
66
+ - '0.026400'
57
67
  Date:
58
- - Tue, 13 Apr 2021 17:19:10 GMT
68
+ - Tue, 22 Feb 2022 17:34:24 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 f0d2db130f25377126d8fc517e82fa4c.cloudfront.net (CloudFront)
79
+ X-Cache:
80
+ - Miss from cloudfront
81
+ X-Amz-Cf-Pop:
82
+ - MIA3-C1
83
+ X-Amz-Cf-Id:
84
+ - 4zeuibd7l0iWw6JmxDnj5gB5xZ-3FakGrxQXOMnQ7fhPOOxb_8Gn0w==
69
85
  body:
70
86
  encoding: UTF-8
71
- string: '[{"id":80702,"city_name":"Rio de Janeiro","person_name":"Maria José","nickname":null,"address":"Rua
72
- quinhentos","address_complement":"Sala 4","address_number":"111","mobile_number":null,"cnpj_cpf":"811.536.151-85","email":"cliente@example.com","neighborhood":"bairro","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
73
- quinhentos, 111","external_code":null,"tags":[],"tag_list":"","custom_data":null},{"id":80703,"city_name":"Rio
87
+ string: '[{"id":3,"city_name":"Rio de Janeiro","person_name":"Boleto Simples","nickname":"","address":"Av.
88
+ Presidente Vargas","address_complement":"sala 1716","address_number":"633","mobile_number":"81214248","cnpj_cpf":"05.813.794/0001-26","email":"kivanio+sb@boletosimples.com.br","neighborhood":"Centro","phone_number":"6581214248","zipcode":"20071004","mobile_local_code":"65","notes":null,"state":"RJ","created_via_api":false,"email_cc":null,"contact_person":null,"truncated_address":null,"external_code":null,"tags":[],"tag_list":null,"custom_data":null},{"id":21,"city_name":"Rio
74
89
  de Janeiro","person_name":"Joao da Silva","nickname":null,"address":"Rua quinhentos","address_complement":"Sala
75
- 4","address_number":"111","mobile_number":null,"cnpj_cpf":"18.033.842/0001-05","email":"cliente@example.com","neighborhood":"Sao
90
+ 4","address_number":"111","mobile_number":null,"cnpj_cpf":"496.956.856-17","email":"cliente@bom.com","neighborhood":"Sao
91
+ Francisco","phone_number":"2112123434","zipcode":"12312-123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":false,"email_cc":null,"contact_person":null,"truncated_address":null,"external_code":null,"tags":[],"tag_list":null,"custom_data":null},{"id":22,"city_name":null,"person_name":"Kivanio
92
+ Barbosa","nickname":null,"address":"rua 4","address_complement":"ap 5","address_number":"9","mobile_number":null,"cnpj_cpf":"425.176.823-05","email":null,"neighborhood":"Bau","phone_number":"6581214248","zipcode":"78058-330","mobile_local_code":null,"notes":null,"state":"MT","created_via_api":false,"email_cc":null,"contact_person":null,"truncated_address":null,"external_code":null,"tags":[],"tag_list":null,"custom_data":null},{"id":23,"city_name":"Cuiabá","person_name":"Kivanio
93
+ Barbosa","nickname":null,"address":"rua 4","address_complement":"ap 5","address_number":"9","mobile_number":null,"cnpj_cpf":"65.752.217/0001-01","email":null,"neighborhood":"Bau","phone_number":"6581214248","zipcode":"78058330","mobile_local_code":null,"notes":null,"state":"MT","created_via_api":false,"email_cc":null,"contact_person":null,"truncated_address":null,"external_code":null,"tags":[],"tag_list":null,"custom_data":null},{"id":41,"city_name":"Cuiabá","person_name":"Guillermo
94
+ Testing","nickname":null,"address":"Rua 4","address_complement":null,"address_number":null,"mobile_number":null,"cnpj_cpf":"648.330.468-49","email":"kivanio@gmail.com","neighborhood":"centro","phone_number":null,"zipcode":"21941900","mobile_local_code":null,"notes":null,"state":"MT","created_via_api":true,"email_cc":"RITAFORTALEZA@GMAIL.COM.BR","contact_person":null,"truncated_address":null,"external_code":null,"tags":[],"tag_list":null,"custom_data":null},{"id":43,"city_name":"Rio
95
+ de Janeiro","person_name":"Nome do Cliente","nickname":null,"address":"Rua
96
+ quinhentos","address_complement":null,"address_number":null,"mobile_number":null,"cnpj_cpf":"125.812.717-28","email":null,"neighborhood":"bairro","phone_number":null,"zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":null,"external_code":null,"tags":[],"tag_list":null,"custom_data":null},{"id":911,"city_name":"Cuiabá","person_name":"Kivanio
97
+ Barbosa","nickname":"","address":"Rua Quatro","address_complement":"","address_number":"9","mobile_number":null,"cnpj_cpf":"000.233.771-19","email":"kivanio@gmail.com","neighborhood":"CPA
98
+ III","phone_number":"6581214248","zipcode":"78058330","mobile_local_code":null,"notes":null,"state":"MT","created_via_api":true,"email_cc":null,"contact_person":"","truncated_address":null,"external_code":null,"tags":[],"tag_list":null,"custom_data":null},{"id":1059,"city_name":"Rio
99
+ de Janeiro","person_name":"Joao da Silva","nickname":null,"address":"Rua quinhentos","address_complement":"Sala
100
+ 4","address_number":"111","mobile_number":null,"cnpj_cpf":"321.315.217-07","email":"cliente@example.com","neighborhood":"bairro","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":null,"external_code":null,"tags":[],"tag_list":null,"custom_data":null},{"id":1060,"city_name":"Rio
101
+ de Janeiro","person_name":"Joao da Silva","nickname":null,"address":"Rua quinhentos","address_complement":"Sala
102
+ 4","address_number":"111","mobile_number":null,"cnpj_cpf":"667.525.119-85","email":"cliente@example.com","neighborhood":"bairro","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":null,"external_code":null,"tags":[],"tag_list":null,"custom_data":null},{"id":7997,"city_name":"Rio
103
+ de Janeiro","person_name":"Joao da Silva","nickname":null,"address":"Rua quinhentos","address_complement":"Sala
104
+ 4","address_number":"111","mobile_number":null,"cnpj_cpf":"247.524.507-71","email":"cliente@example.com","neighborhood":"Sao
76
105
  Francisco","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
77
- quinhentos, 111","external_code":null,"tags":[],"tag_list":"","custom_data":null},{"id":80706,"city_name":"Rio
78
- de Janeiro","person_name":"Maria José","nickname":null,"address":"Rua quinhentos","address_complement":"Sala
79
- 4","address_number":"111","mobile_number":null,"cnpj_cpf":"02.854.339/0001-80","email":"cliente@example.com","neighborhood":"bairro","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
80
- quinhentos, 111","external_code":null,"tags":[],"tag_list":"","custom_data":null},{"id":80707,"city_name":"Rio
106
+ quinhentos, 111","external_code":null,"tags":[],"tag_list":null,"custom_data":null},{"id":8162,"city_name":"Rio
81
107
  de Janeiro","person_name":"Joao da Silva","nickname":null,"address":"Rua quinhentos","address_complement":"Sala
82
- 4","address_number":"111","mobile_number":null,"cnpj_cpf":"34.565.715/0001-03","email":"cliente@example.com","neighborhood":"Sao
108
+ 4","address_number":"111","mobile_number":null,"cnpj_cpf":"414.655.417-99","email":"cliente@example.com","neighborhood":"Sao
83
109
  Francisco","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
84
- quinhentos, 111","external_code":null,"tags":[],"tag_list":"","custom_data":null},{"id":80767,"city_name":"Rio
85
- de Janeiro","person_name":"Maria José","nickname":null,"address":"Rua quinhentos","address_complement":"Sala
86
- 4","address_number":"111","mobile_number":null,"cnpj_cpf":"48.350.663/0001-62","email":"cliente@example.com","neighborhood":"bairro","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
87
- quinhentos, 111","external_code":null,"tags":[],"tag_list":"","custom_data":null},{"id":80809,"city_name":"Rio
88
- de Janeiro","person_name":"Maria José","nickname":null,"address":"Rua quinhentos","address_complement":"Sala
89
- 4","address_number":"111","mobile_number":null,"cnpj_cpf":"75.587.633/0001-47","email":"cliente@example.com","neighborhood":"bairro","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
90
- quinhentos, 111","external_code":null,"tags":[],"tag_list":"","custom_data":null},{"id":80810,"city_name":"Rio
91
- de Janeiro","person_name":"Maria José","nickname":null,"address":"Rua quinhentos","address_complement":"Sala
92
- 4","address_number":"111","mobile_number":null,"cnpj_cpf":"61.711.627/0001-45","email":"cliente@example.com","neighborhood":"bairro","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
93
- quinhentos, 111","external_code":null,"tags":[],"tag_list":"","custom_data":null},{"id":80811,"city_name":"Rio
94
- de Janeiro","person_name":"Maria José","nickname":null,"address":"Rua quinhentos","address_complement":"Sala
95
- 4","address_number":"111","mobile_number":null,"cnpj_cpf":"12.120.044/0001-34","email":"cliente@example.com","neighborhood":"bairro","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
96
- quinhentos, 111","external_code":null,"tags":[],"tag_list":"","custom_data":null},{"id":80812,"city_name":"Rio
97
- de Janeiro","person_name":"Maria José","nickname":null,"address":"Rua quinhentos","address_complement":"Sala
98
- 4","address_number":"111","mobile_number":null,"cnpj_cpf":"79.270.635/0001-69","email":"cliente@example.com","neighborhood":"bairro","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
99
- quinhentos, 111","external_code":null,"tags":[],"tag_list":"","custom_data":null},{"id":80816,"city_name":"Rio
100
- de Janeiro","person_name":"Maria José","nickname":null,"address":"Rua quinhentos","address_complement":"Sala
101
- 4","address_number":"111","mobile_number":null,"cnpj_cpf":"73.197.200/0001-50","email":"cliente@example.com","neighborhood":"bairro","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
102
- quinhentos, 111","external_code":null,"tags":[],"tag_list":"","custom_data":null},{"id":80818,"city_name":"Rio
103
- de Janeiro","person_name":"Maria José","nickname":null,"address":"Rua quinhentos","address_complement":"Sala
104
- 4","address_number":"111","mobile_number":null,"cnpj_cpf":"64.186.371/0001-92","email":"cliente@example.com","neighborhood":"bairro","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
105
- quinhentos, 111","external_code":null,"tags":[],"tag_list":"","custom_data":null},{"id":80820,"city_name":"Rio
106
- de Janeiro","person_name":"Maria José","nickname":null,"address":"Rua quinhentos","address_complement":"Sala
107
- 4","address_number":"111","mobile_number":null,"cnpj_cpf":"20.341.932/0001-05","email":"cliente@example.com","neighborhood":"bairro","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
108
- quinhentos, 111","external_code":null,"tags":[],"tag_list":"","custom_data":null},{"id":80821,"city_name":"Rio
109
- de Janeiro","person_name":"Maria José","nickname":null,"address":"Rua quinhentos","address_complement":"Sala
110
- 4","address_number":"111","mobile_number":null,"cnpj_cpf":"74.286.849/0001-00","email":"cliente@example.com","neighborhood":"bairro","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
111
- quinhentos, 111","external_code":null,"tags":[],"tag_list":"","custom_data":null},{"id":80822,"city_name":"Rio
110
+ quinhentos, 111","external_code":null,"tags":[],"tag_list":null,"custom_data":null},{"id":10337,"city_name":"Rio
111
+ de Janeiro","person_name":"Rafael Lima","nickname":null,"address":"Av. Candango
112
+ 321 489","address_complement":null,"address_number":null,"mobile_number":null,"cnpj_cpf":"174.438.154-25","email":"email@example.com","neighborhood":"Guaranim","phone_number":"00099324545","zipcode":"21324009","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Av.
113
+ Candango 321 489, ","external_code":null,"tags":[],"tag_list":null,"custom_data":null},{"id":12276,"city_name":"Campo
114
+ Verde","person_name":"ANTONIO CARLOS DESORDI","nickname":null,"address":"Rod.
115
+ Br 070, Km 370 + 06Km","address_complement":"Sala 4","address_number":"111","mobile_number":null,"cnpj_cpf":"245.600.650-04","email":"cliente@example.com","neighborhood":"Zona
116
+ Rural","phone_number":"6634193636","zipcode":"78840000","mobile_local_code":null,"notes":null,"state":"MT","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rod.
117
+ Br 070, Km 370 + 06Km, 111","external_code":null,"tags":[],"tag_list":null,"custom_data":null},{"id":15403,"city_name":"Rio
118
+ de Janeiro","person_name":"Nome do Cliente","nickname":null,"address":"Rua
119
+ quinhentos","address_complement":null,"address_number":null,"mobile_number":null,"cnpj_cpf":"482.252.976-28","email":null,"neighborhood":"bairro","phone_number":null,"zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
120
+ quinhentos, ","external_code":null,"tags":[],"tag_list":null,"custom_data":null},{"id":16931,"city_name":"Rio
121
+ de Janeiro","person_name":"Joao da Silva","nickname":null,"address":"Rua quinhentos","address_complement":"Sala
122
+ 4","address_number":"111","mobile_number":null,"cnpj_cpf":"782.661.177-64","email":"cliente@bom.com","neighborhood":"bairro","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
123
+ quinhentos, 111","external_code":null,"tags":[],"tag_list":null,"custom_data":null},{"id":16968,"city_name":"Rio
124
+ de Janeiro","person_name":"Joao da Silva","nickname":null,"address":"Rua quinhentos","address_complement":"Sala
125
+ 4","address_number":"111","mobile_number":null,"cnpj_cpf":"253.435.522-85","email":"cliente@example.com","neighborhood":"Sao
126
+ Francisco","phone_number":"2112123434","zipcode":"01001000","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
127
+ quinhentos, 111","external_code":null,"tags":[],"tag_list":null,"custom_data":null},{"id":20482,"city_name":"Macapá","person_name":"Trade
128
+ soja B ","nickname":"","address":"rua dois","address_complement":"","address_number":"","mobile_number":null,"cnpj_cpf":"274.687.636-15","email":null,"neighborhood":"centro","phone_number":null,"zipcode":"78058330","mobile_local_code":null,"notes":null,"state":"AP","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"rua
129
+ dois, ","external_code":null,"tags":[],"tag_list":null,"custom_data":null},{"id":20483,"city_name":"Lucas
130
+ do Rio Verde","person_name":"Trade Soja A ","nickname":"","address":"Rua dois","address_complement":"","address_number":"3","mobile_number":null,"cnpj_cpf":"394.615.022-57","email":null,"neighborhood":"Centro","phone_number":null,"zipcode":"78058330","mobile_local_code":null,"notes":null,"state":"MT","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
131
+ dois, 3","external_code":null,"tags":[],"tag_list":null,"custom_data":null},{"id":20484,"city_name":"Cuiabá","person_name":"Trade
132
+ Soja A","nickname":"","address":"Av. Rubens de Mendonça","address_complement":"","address_number":"4","mobile_number":null,"cnpj_cpf":"433.855.321-91","email":null,"neighborhood":"CPA","phone_number":null,"zipcode":"78058000","mobile_local_code":null,"notes":null,"state":"MT","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Av.
133
+ Rubens de Mendonça, 4","external_code":null,"tags":[],"tag_list":null,"custom_data":null},{"id":20485,"city_name":"Lucas
134
+ do Rio Verde","person_name":"Trade soja c","nickname":"","address":"rua dois
135
+ ","address_complement":"","address_number":"123","mobile_number":null,"cnpj_cpf":"547.376.595-50","email":null,"neighborhood":"Centro","phone_number":null,"zipcode":"78058330","mobile_local_code":null,"notes":null,"state":"MT","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"rua
136
+ dois , 123","external_code":null,"tags":[],"tag_list":null,"custom_data":null},{"id":20486,"city_name":"Maceió","person_name":"trade
137
+ soja h","nickname":"","address":"rua oitenta e tres","address_complement":"","address_number":"r","mobile_number":null,"cnpj_cpf":"567.554.288-41","email":null,"neighborhood":"bau","phone_number":null,"zipcode":"78050250","mobile_local_code":null,"notes":null,"state":"AL","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"rua
138
+ oitenta e tres, r","external_code":null,"tags":[],"tag_list":null,"custom_data":null},{"id":42104,"city_name":"Mineiros","person_name":"GEISESBEL
139
+ ALVES DE ASSIS","nickname":null,"address":"DA PRESIDENTE KENNEDY, S/N, QD
140
+ 14 LT 40","address_complement":null,"address_number":null,"mobile_number":null,"cnpj_cpf":"015.756.811-37","email":null,"neighborhood":"PARQUE
141
+ SAO JOSE","phone_number":null,"zipcode":"75830000","mobile_local_code":null,"notes":null,"state":"GO","created_via_api":false,"email_cc":null,"contact_person":null,"truncated_address":"DA
142
+ PRESIDENTE KENNEDY, S/N, QD 14 LT , ","external_code":null,"tags":[],"tag_list":null,"custom_data":null},{"id":42105,"city_name":"Mineiros","person_name":"MARLIANE
143
+ FURTADO REIS","nickname":null,"address":"AVENIDA DOS PALMEIRAS, QD 59 LT 08","address_complement":null,"address_number":null,"mobile_number":null,"cnpj_cpf":"610.658.183-51","email":null,"neighborhood":"BOA
144
+ VISTA","phone_number":null,"zipcode":"75830000","mobile_local_code":null,"notes":null,"state":"GO","created_via_api":false,"email_cc":null,"contact_person":null,"truncated_address":"AVENIDA
145
+ DOS PALMEIRAS, QD 59 LT 08, ","external_code":null,"tags":[],"tag_list":null,"custom_data":null},{"id":42106,"city_name":"SAO
146
+ PAULO","person_name":"FYP ENGENHARIA E CONSTRUCOES LTDA","nickname":null,"address":"RUA
147
+ LAIS BERTONI PEREIRA, 70","address_complement":null,"address_number":null,"mobile_number":null,"cnpj_cpf":"09.642.594/0001-09","email":null,"neighborhood":"CAMBU","phone_number":null,"zipcode":"13024057","mobile_local_code":null,"notes":null,"state":"SP","created_via_api":false,"email_cc":null,"contact_person":null,"truncated_address":"RUA
148
+ LAIS BERTONI PEREIRA, 70, ","external_code":null,"tags":[],"tag_list":null,"custom_data":null},{"id":71606,"city_name":"GUARULHOS","person_name":"HOLLYTEC
149
+ MET. IND E COM DE MAT ELET LTDA","nickname":null,"address":"RUA - RIO GRANDE
150
+ 674","address_complement":null,"address_number":null,"mobile_number":null,"cnpj_cpf":"15.584.095/0001-05","email":"vinicius.brum@creditbr.com.br","neighborhood":"VILA
151
+ ROSALIA","phone_number":null,"zipcode":"07072070","mobile_local_code":null,"notes":null,"state":"SP","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"RUA
152
+ - RIO GRANDE 674, ","external_code":null,"tags":[],"tag_list":null,"custom_data":null},{"id":73647,"city_name":"Rio
112
153
  de Janeiro","person_name":"Maria José","nickname":null,"address":"Rua quinhentos","address_complement":"Sala
113
- 4","address_number":"111","mobile_number":null,"cnpj_cpf":"01.588.073/0001-09","email":"cliente@example.com","neighborhood":"bairro","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
114
- quinhentos, 111","external_code":null,"tags":[],"tag_list":"","custom_data":null},{"id":80825,"city_name":"Rio
154
+ 4","address_number":"111","mobile_number":null,"cnpj_cpf":"811.536.151-85","email":"cliente@example.com","neighborhood":"bairro","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
155
+ quinhentos, 111","external_code":null,"tags":[],"tag_list":null,"custom_data":null},{"id":79958,"city_name":"São
156
+ Paulo","person_name":"João Silva","nickname":null,"address":"Rua F, alamenda
157
+ G","address_complement":null,"address_number":null,"mobile_number":null,"cnpj_cpf":"16.974.923/0001-84","email":null,"neighborhood":"Centro","phone_number":null,"zipcode":"01310100","mobile_local_code":null,"notes":null,"state":"SP","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
158
+ F, alamenda G, ","external_code":null,"tags":[],"tag_list":null,"custom_data":null},{"id":93339,"city_name":"Rio
115
159
  de Janeiro","person_name":"Maria José","nickname":null,"address":"Rua quinhentos","address_complement":"Sala
116
160
  4","address_number":"111","mobile_number":null,"cnpj_cpf":"54.872.822/0001-91","email":"cliente@example.com","neighborhood":"bairro","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
117
- quinhentos, 111","external_code":null,"tags":[],"tag_list":"","custom_data":null}]'
118
- recorded_at: Tue, 13 Apr 2021 17:19:10 GMT
161
+ quinhentos, 111","external_code":null,"tags":[],"tag_list":null,"custom_data":null},{"id":93340,"city_name":"Rio
162
+ de Janeiro","person_name":"Joao da Silva","nickname":null,"address":"Rua quinhentos","address_complement":"Sala
163
+ 4","address_number":"111","mobile_number":null,"cnpj_cpf":"18.033.842/0001-05","email":"cliente@example.com","neighborhood":"Sao
164
+ Francisco","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
165
+ quinhentos, 111","external_code":null,"tags":[],"tag_list":null,"custom_data":null},{"id":93341,"city_name":"Rio
166
+ de Janeiro","person_name":"Joao da Silva","nickname":null,"address":"Rua quinhentos","address_complement":"Sala
167
+ 4","address_number":"111","mobile_number":null,"cnpj_cpf":"34.565.715/0001-03","email":"cliente@example.com","neighborhood":"Sao
168
+ Francisco","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
169
+ quinhentos, 111","external_code":null,"tags":[],"tag_list":null,"custom_data":null},{"id":93343,"city_name":"Rio
170
+ de Janeiro","person_name":"Maria José","nickname":null,"address":"Rua quinhentos","address_complement":"Sala
171
+ 4","address_number":"111","mobile_number":null,"cnpj_cpf":"84.232.027/0001-08","email":"cliente@example.com","neighborhood":"bairro","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
172
+ quinhentos, 111","external_code":null,"tags":[],"tag_list":null,"custom_data":null}]'
173
+ recorded_at: Tue, 22 Feb 2022 17:34:24 GMT
119
174
  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/customers
5
+ uri: https://api-sandbox.kobana.com.br/v1/customers
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{"customer":{"person_name":""}}'
@@ -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,35 +42,47 @@ 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
- - '972'
56
+ - '17943'
47
57
  Cache-Control:
48
58
  - no-cache
49
59
  X-Request-Id:
50
- - b9e6e5c7-8f5b-41ee-94fa-6ec5bc1c15e5
60
+ - 2519bdc3-5036-4dde-9c17-55f73df18626
51
61
  X-Runtime:
52
- - '0.026849'
62
+ - '0.016794'
53
63
  Date:
54
- - Tue, 13 Apr 2021 17:19:11 GMT
64
+ - Tue, 22 Feb 2022 17:34:25 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 b3ca1a7752327aa687a6611c7f28951e.cloudfront.net (CloudFront)
75
+ X-Cache:
76
+ - Error from cloudfront
77
+ X-Amz-Cf-Pop:
78
+ - MIA3-C1
79
+ X-Amz-Cf-Id:
80
+ - H5Qs8-9cLP6QF8nTmEsWFsIj6UHtiOafiJfiYVpnc0QHNJLwdOgOIw==
65
81
  body:
66
82
  encoding: UTF-8
67
- string: '{"errors":{"person_name":["não pode ficar em branco"],"cnpj_cpf":["não
68
- pode ficar em branco"],"zipcode":["não pode ficar em branco"],"address":["não
69
- pode ficar em branco"],"neighborhood":["não pode ficar em branco"],"city_name":["não
70
- pode ficar em branco"],"state":["não está incluído na lista"]}}'
71
- recorded_at: Tue, 13 Apr 2021 17:19:11 GMT
83
+ string: '{"errors":{"person_name":["não pode ficar em branco"],"zipcode":["não
84
+ pode ficar em branco"],"address":["não pode ficar em branco"],"neighborhood":["não
85
+ pode ficar em branco"],"city_name":["não pode ficar em branco"],"cnpj_cpf":["não
86
+ é um CNPJ ou CPF válido"],"state":["não está incluído na lista"]}}'
87
+ recorded_at: Tue, 22 Feb 2022 17:34:25 GMT
72
88
  recorded_with: VCR 6.0.0