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: post
5
- uri: https://sandbox.boletosimples.com.br/api/v1/installments
5
+ uri: https://api-sandbox.kobana.com.br/v1/installments
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{"installment":{"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,37 +42,49 @@ 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
- - '985'
56
+ - '17946'
47
57
  Cache-Control:
48
58
  - no-cache
49
59
  X-Request-Id:
50
- - 93706d41-4909-4afd-bf90-47b3638ac7fa
60
+ - 29549315-a37e-4864-9227-2d117d205455
51
61
  X-Runtime:
52
- - '0.074107'
62
+ - '0.085110'
53
63
  Date:
54
- - Tue, 13 Apr 2021 17:18:44 GMT
64
+ - Tue, 22 Feb 2022 17:30:53 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 3f72a8b28c744ea2f627e9f8a8ac8282.cloudfront.net (CloudFront)
75
+ X-Cache:
76
+ - Error from cloudfront
77
+ X-Amz-Cf-Pop:
78
+ - MIA3-C1
79
+ X-Amz-Cf-Id:
80
+ - 3vjap0uyv4jGTb0vshKf7DLTWQJ1lniDxNwfqzUncMSspsj5xKbAmg==
65
81
  body:
66
82
  encoding: UTF-8
67
83
  string: '{"errors":{"customer_person_name":["não pode ficar em branco"],"customer_cnpj_cpf":["não
68
- pode ficar em branco"],"customer_zipcode":["não pode ficar em branco"],"total":["não
84
+ é um CNPJ ou CPF válido"],"customer_zipcode":["não pode ficar em branco"],"total":["não
69
85
  pode ficar em branco","não é um número"],"start_at":["não pode ficar em branco"],"amount":["não
70
86
  pode ficar em branco"],"customer_address":["não pode ficar em branco"],"customer_neighborhood":["não
71
87
  pode ficar em branco"],"customer_city_name":["não pode ficar em branco"],"customer_state":["não
72
88
  está incluído na lista"]}}'
73
- recorded_at: Tue, 13 Apr 2021 17:18:44 GMT
89
+ recorded_at: Tue, 22 Feb 2022 17:30:53 GMT
74
90
  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/installments
5
+ uri: https://api-sandbox.kobana.com.br/v1/installments
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{"installment":{}}'
@@ -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
- - '984'
56
+ - '17947'
47
57
  Cache-Control:
48
58
  - no-cache
49
59
  X-Request-Id:
50
- - b79be165-5970-4b8a-8c9f-08ee89e9d173
60
+ - 664795bc-6b4f-410f-a0a1-f9addb2eb434
51
61
  X-Runtime:
52
- - '0.023672'
62
+ - '0.012875'
53
63
  Date:
54
- - Tue, 13 Apr 2021 17:18:45 GMT
64
+ - Tue, 22 Feb 2022 17:30:52 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 2feed206ccd80c991a2378002008d9f0.cloudfront.net (CloudFront)
75
+ X-Cache:
76
+ - Error from cloudfront
77
+ X-Amz-Cf-Pop:
78
+ - MIA3-C1
79
+ X-Amz-Cf-Id:
80
+ - HVUORc0RG76Xfl9yfL38K477qSy68tQ3JHFi-EZmFMAD0yjx9d7jrw==
65
81
  body:
66
82
  encoding: UTF-8
67
83
  string: '{"errors":[{"title":"installment não pode ficar em branco","status":422,"code":422}]}'
68
- recorded_at: Tue, 13 Apr 2021 17:18:45 GMT
84
+ recorded_at: Tue, 22 Feb 2022 17:30:52 GMT
69
85
  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/installments
5
+ uri: https://api-sandbox.kobana.com.br/v1/installments
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{"installment":{"amount":"1.120,4","cycle":"monthly","start_at":"2022-09-15","total":"3","description":"Hospedagem","customer_address":"Rua
@@ -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,40 +45,52 @@ 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/installments/12421
46
- Content-Type:
47
- - application/json; charset=utf-8
57
+ - https://api-sandbox.kobana.com.br/api/v1/installments/15265
48
58
  X-Ratelimit-Limit:
49
- - '1000'
59
+ - '18000'
50
60
  X-Ratelimit-Remaining:
51
- - '986'
61
+ - '17948'
52
62
  Etag:
53
- - W/"4b998210f081f4a1318ce41309d3bae7"
63
+ - W/"8b27d89d18fc8528ff3c7b7ae0f9290b"
54
64
  Cache-Control:
55
65
  - max-age=0, private, must-revalidate
56
66
  X-Request-Id:
57
- - 9de81dfb-a115-490d-bea3-98f13e9ed900
67
+ - 78504589-46ca-4b5e-923b-79a909c025e1
58
68
  X-Runtime:
59
- - '0.112589'
69
+ - '0.108091'
60
70
  Date:
61
- - Tue, 13 Apr 2021 17:18:42 GMT
71
+ - Tue, 22 Feb 2022 17:30:51 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 f0d2db130f25377126d8fc517e82fa4c.cloudfront.net (CloudFront)
82
+ X-Cache:
83
+ - Miss from cloudfront
84
+ X-Amz-Cf-Pop:
85
+ - MIA3-C1
86
+ X-Amz-Cf-Id:
87
+ - t35WrHO9sCicuiNuT6vucCxGb-a-G6Amcyw7yzY7A6LuJE26H-UCDw==
72
88
  body:
73
89
  encoding: UTF-8
74
- string: '{"id":12421,"amount":1120.4,"cycle":"monthly","start_at":"2022-09-15","end_at":"2022-11-16","instructions":null,"customer_id":80703,"description":"Hospedagem","created_at":"2021-04-13T14:18:42-03:00","updated_at":"2021-04-13T14:18:42-03:00","customer_person_name":"Joao
90
+ string: '{"id":15265,"amount":1120.4,"cycle":"monthly","start_at":"2022-09-15","end_at":"2022-11-15","instructions":null,"customer_id":93340,"description":"Hospedagem","created_at":"2022-02-22T14:30:51-03:00","updated_at":"2022-02-22T14:30:51-03:00","customer_person_name":"Joao
75
91
  da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua
76
92
  quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
77
93
  4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_city_name":"Rio
78
- de Janeiro","customer_email_cc":null,"customer_ignore_email":null,"customer_mobile_local_code":null,"customer_mobile_number":null,"customer_nickname":null,"customer_notes":null,"created_via_api":true,"total":3,"bank_billet_account_id":3547,"status":"created","fine_for_delay":null,"fine_type":0,"fine_percentage":null,"fine_value":null,"days_for_fine":null,"late_payment_interest":null,"interest_type":0,"interest_daily_value":null,"interest_daily_percentage":null,"interest_monthly_percentage":null,"days_for_interest":null,"discount_type":0,"days_for_discount":null,"discount_value":null,"discount_percentage":null,"bank_billet_layout_id":null,"url":null,"bank_billet_ids":[],"bank_billets":[],"notes":null,"payment_count":1,"tags":[],"tag_list":"","prevent_registration":false,"divergent_payment_type":null,"divergent_payment_value_type":null,"divergent_payment_maximum_value":null,"divergent_payment_minimum_value":null,"divergent_payment_maximum_percentage":null,"divergent_payment_minimum_percentage":null,"divergent_payment_limit":null,"days_for_second_discount":null,"second_discount_percentage":null,"second_discount_value":null,"days_for_third_discount":null,"third_discount_percentage":null,"third_discount_value":null,"days_for_revoke":null,"days_for_sue":null,"days_for_negativation":null,"interest_percentage":null,"interest_value":null,"interest_days_type":0,"customer_contact_person":null,"custom_attachment_name":null,"guarantor_name":null,"guarantor_cnpj_cpf":null,"guarantor_address_number":null,"guarantor_neighborhood":null,"guarantor_phone_number":null,"guarantor_city_name":null,"guarantor_state":null,"guarantor_zipcode":null,"guarantor_address":null,"guarantor_address_complement":null,"document_number":null,"document_date":null}'
79
- recorded_at: Tue, 13 Apr 2021 17:18:42 GMT
94
+ de Janeiro","customer_email_cc":null,"customer_ignore_email":null,"customer_ignore_sms":null,"customer_mobile_local_code":null,"customer_mobile_number":null,"customer_nickname":null,"customer_notes":null,"created_via_api":true,"total":3,"bank_billet_account_id":659,"status":"created","fine_for_delay":null,"fine_type":0,"fine_percentage":null,"fine_value":null,"days_for_fine":null,"late_payment_interest":null,"interest_type":0,"interest_daily_value":null,"interest_daily_percentage":null,"interest_monthly_percentage":null,"days_for_interest":null,"discount_type":0,"days_for_discount":null,"discount_value":null,"discount_percentage":null,"bank_billet_layout_id":null,"url":null,"bank_billet_ids":[],"bank_billets":[],"notes":null,"payment_count":1,"tags":[],"tag_list":null,"prevent_registration":false,"divergent_payment_type":null,"divergent_payment_value_type":null,"divergent_payment_maximum_value":null,"divergent_payment_minimum_value":null,"divergent_payment_maximum_percentage":null,"divergent_payment_minimum_percentage":null,"divergent_payment_limit":null,"days_for_second_discount":null,"second_discount_percentage":null,"second_discount_value":null,"days_for_third_discount":null,"third_discount_percentage":null,"third_discount_value":null,"days_for_revoke":null,"days_for_sue":null,"days_for_negativation":null,"interest_percentage":null,"interest_value":null,"interest_days_type":0,"customer_contact_person":null,"custom_attachment_name":null,"guarantor_name":null,"guarantor_cnpj_cpf":null,"guarantor_address_number":null,"guarantor_neighborhood":null,"guarantor_phone_number":null,"guarantor_city_name":null,"guarantor_state":null,"guarantor_zipcode":null,"guarantor_address":null,"guarantor_address_complement":null,"document_number":null,"document_date":null,"document_type":"02"}'
95
+ recorded_at: Tue, 22 Feb 2022 17:30:51 GMT
80
96
  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/installments/12421
5
+ uri: https://api-sandbox.kobana.com.br/v1/installments/15265
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,40 +40,76 @@ 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/installments/12421
41
- Content-Type:
42
- - application/json; charset=utf-8
52
+ - https://api-sandbox.kobana.com.br/api/v1/installments/15265
43
53
  X-Ratelimit-Limit:
44
- - '60'
54
+ - '100'
45
55
  X-Ratelimit-Remaining:
46
- - '45'
56
+ - '48'
47
57
  Etag:
48
- - W/"4b998210f081f4a1318ce41309d3bae7"
58
+ - W/"9c1d1e03ea85ad7314cfec9e01fe3e0e"
49
59
  Cache-Control:
50
60
  - must-revalidate, private, max-age=0
51
61
  X-Request-Id:
52
- - 2075c3d3-5c32-4fa1-927d-764121d5d2a5
62
+ - da96b0f3-9be3-4e34-a45c-965ee0da0218
53
63
  X-Runtime:
54
- - '0.038208'
64
+ - '0.026112'
55
65
  Date:
56
- - Tue, 13 Apr 2021 17:18:43 GMT
66
+ - Tue, 22 Feb 2022 17:30:52 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 e889e31621f397bc8c9980a1bf9bd7fa.cloudfront.net (CloudFront)
77
+ X-Cache:
78
+ - Miss from cloudfront
79
+ X-Amz-Cf-Pop:
80
+ - MIA3-C1
81
+ X-Amz-Cf-Id:
82
+ - ghkw--3X4fGVd93KaINyj-xy-bXoRmVykWKllZzW797b3nm_8DNq3w==
67
83
  body:
68
84
  encoding: UTF-8
69
- string: '{"id":12421,"amount":1120.4,"cycle":"monthly","start_at":"2022-09-15","end_at":"2022-11-16","instructions":null,"customer_id":80703,"description":"Hospedagem","created_at":"2021-04-13T14:18:42-03:00","updated_at":"2021-04-13T14:18:42-03:00","customer_person_name":"Joao
85
+ string: '{"id":15265,"amount":1120.4,"cycle":"monthly","start_at":"2022-09-15","end_at":"2022-11-15","instructions":null,"customer_id":93340,"description":"Hospedagem","created_at":"2022-02-22T14:30:51-03:00","updated_at":"2022-02-22T14:30:51-03:00","customer_person_name":"Joao
70
86
  da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua
71
87
  quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
72
88
  4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_city_name":"Rio
73
- de Janeiro","customer_email_cc":null,"customer_ignore_email":null,"customer_mobile_local_code":null,"customer_mobile_number":null,"customer_nickname":null,"customer_notes":null,"created_via_api":true,"total":3,"bank_billet_account_id":3547,"status":"created","fine_for_delay":null,"fine_type":0,"fine_percentage":null,"fine_value":null,"days_for_fine":null,"late_payment_interest":null,"interest_type":0,"interest_daily_value":null,"interest_daily_percentage":null,"interest_monthly_percentage":null,"days_for_interest":null,"discount_type":0,"days_for_discount":null,"discount_value":null,"discount_percentage":null,"bank_billet_layout_id":null,"url":null,"bank_billet_ids":[],"bank_billets":[],"notes":null,"payment_count":1,"tags":[],"tag_list":"","prevent_registration":false,"divergent_payment_type":null,"divergent_payment_value_type":null,"divergent_payment_maximum_value":null,"divergent_payment_minimum_value":null,"divergent_payment_maximum_percentage":null,"divergent_payment_minimum_percentage":null,"divergent_payment_limit":null,"days_for_second_discount":null,"second_discount_percentage":null,"second_discount_value":null,"days_for_third_discount":null,"third_discount_percentage":null,"third_discount_value":null,"days_for_revoke":null,"days_for_sue":null,"days_for_negativation":null,"interest_percentage":null,"interest_value":null,"interest_days_type":0,"customer_contact_person":null,"custom_attachment_name":null,"guarantor_name":null,"guarantor_cnpj_cpf":null,"guarantor_address_number":null,"guarantor_neighborhood":null,"guarantor_phone_number":null,"guarantor_city_name":null,"guarantor_state":null,"guarantor_zipcode":null,"guarantor_address":null,"guarantor_address_complement":null,"document_number":null,"document_date":null}'
74
- recorded_at: Tue, 13 Apr 2021 17:18:43 GMT
89
+ de Janeiro","customer_email_cc":null,"customer_ignore_email":null,"customer_ignore_sms":null,"customer_mobile_local_code":null,"customer_mobile_number":null,"customer_nickname":null,"customer_notes":null,"created_via_api":true,"total":3,"bank_billet_account_id":659,"status":"generated","fine_for_delay":null,"fine_type":0,"fine_percentage":null,"fine_value":null,"days_for_fine":null,"late_payment_interest":null,"interest_type":0,"interest_daily_value":null,"interest_daily_percentage":null,"interest_monthly_percentage":null,"days_for_interest":null,"discount_type":0,"days_for_discount":null,"discount_value":null,"discount_percentage":null,"bank_billet_layout_id":null,"url":"https://sandbox.bole.to/3/qdoweq/carne","bank_billet_ids":[472533,472532,472534],"bank_billets":[{"id":472533,"expire_at":"2022-10-17","paid_at":null,"description":"Hospedagem","status":"opened","customer_person_name":"Joao
90
+ da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua
91
+ quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
92
+ 4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_email_cc":null,"customer_ignore_email":null,"customer_ignore_sms":null,"customer_mobile_local_code":null,"customer_mobile_number":null,"customer_nickname":null,"customer_notes":null,"created_via_api":false,"customer_city_name":"Rio
93
+ de Janeiro","paid_amount":0.0,"amount":1120.4,"url":"https://sandbox.bole.to/3/kekdrr","formats":{"default":"https://sandbox.bole.to/3/kekdrr","png":"https://sandbox.bole.to/3/kekdrr.png","pdf":"https://sandbox.bole.to/3/kekdrr.pdf","boleto_hibrido":"https://sandbox.bole.to/3/kekdrr/boleto_hibrido","boleto_pix":"https://sandbox.bole.to/3/kekdrr/boleto_pix","barcode":"https://sandbox.bole.to/3/kekdrr/barcode","envelope":"https://sandbox.bole.to/3/kekdrr/envelope","letter":"https://sandbox.bole.to/3/kekdrr/letter","line":"https://sandbox.bole.to/3/kekdrr/line","recibo":"https://sandbox.bole.to/3/kekdrr/recibo","carne":"https://sandbox.bole.to/3/kekdrr/carne"},"meta":null,"fine_for_delay":null,"fine_type":0,"fine_percentage":null,"fine_value":null,"days_for_fine":null,"late_payment_interest":null,"interest_type":0,"interest_daily_value":null,"interest_daily_percentage":null,"interest_monthly_percentage":null,"days_for_interest":null,"discount_type":0,"discount_limit_date":null,"discount_value":null,"discount_percentage":null,"days_for_revoke":null,"notes":null,"payment_count":1,"bank_billet_account_id":659,"beneficiary_name":"Kivanio
94
+ Pereira Barbosa","beneficiary_cnpj_cpf":"000.233.771-19","beneficiary_address":"Rua
95
+ Quatro, 9, 78058-330","beneficiary_assignor_code":"0001/123322-0","guarantor_name":null,"guarantor_cnpj_cpf":null,"payment_place":"Pagável
96
+ em qualquer banco até a data de vencimento.","instructions":null,"document_date":null,"document_type":"02","document_number":null,"acceptance":"N","processed_our_number":"14000000000000089-8","processed_our_number_raw":"140000000000000898","bank_contract_slug":"caixa-rg","agency_number":"2342","agency_digit":"2","account_number":"0012432","account_digit":"1","extra1":"0123322","extra1_digit":null,"extra2":null,"extra2_digit":null,"line":"10491.23324
97
+ 20000.100048 00000.008904 4 91410000112040","our_number":"000000000000089","customer_subscription_id":null,"installment_total":3,"installment_number":2,"installment_id":15265,"carne_url":"https://sandbox.bole.to/3/kekdrr/carne","bank_billet_layout_id":null,"created_at":"2022-02-22T14:30:51-03:00","updated_at":"2022-02-22T14:30:51-03:00","tags":[],"tag_list":null,"document_type_label":"DM","addons":null,"ignore_email":false,"ignore_sms":false,"sue_code":null,"revoke_code":null,"first_instruction":null,"second_instruction":null,"guarantor_address_number":null,"guarantor_neighborhood":null,"guarantor_phone_number":null,"guarantor_city_name":null,"guarantor_state":null,"guarantor_zipcode":null,"guarantor_address":null,"guarantor_address_complement":null,"barcode":"10494914100001120401233220000100040000000890","registered_at":null,"prevent_registration":false,"customer_id":93340,"control_number":null,"divergent_payment_type":null,"divergent_payment_value_type":null,"divergent_payment_maximum_value":null,"divergent_payment_minimum_value":null,"divergent_payment_maximum_percentage":null,"divergent_payment_minimum_percentage":null,"divergent_payment_limit":null,"days_for_discount":null,"days_for_second_discount":null,"second_discount_percentage":null,"second_discount_value":null,"days_for_third_discount":null,"third_discount_percentage":null,"third_discount_value":null,"days_for_sue":null,"days_for_negativation":null,"interest_percentage":null,"interest_value":null,"interest_days_type":0,"customer_contact_person":null,"custom_attachment_name":null,"split_payment":false,"dispatch_type":1,"charge_type":1,"custom_data":null,"issued_at":"2022-02-22T14:30:51-03:00","shorten_url":"https://sandbox.bole.to/3/kekdrr","pix_enabled":false,"pix_qrcode":null,"password_protected_mode":null,"revoked_at":null},{"id":472532,"expire_at":"2022-09-15","paid_at":null,"description":"Hospedagem","status":"opened","customer_person_name":"Joao
98
+ da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua
99
+ quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
100
+ 4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_email_cc":null,"customer_ignore_email":null,"customer_ignore_sms":null,"customer_mobile_local_code":null,"customer_mobile_number":null,"customer_nickname":null,"customer_notes":null,"created_via_api":false,"customer_city_name":"Rio
101
+ de Janeiro","paid_amount":0.0,"amount":1120.4,"url":"https://sandbox.bole.to/3/qdoweq","formats":{"default":"https://sandbox.bole.to/3/qdoweq","png":"https://sandbox.bole.to/3/qdoweq.png","pdf":"https://sandbox.bole.to/3/qdoweq.pdf","boleto_hibrido":"https://sandbox.bole.to/3/qdoweq/boleto_hibrido","boleto_pix":"https://sandbox.bole.to/3/qdoweq/boleto_pix","barcode":"https://sandbox.bole.to/3/qdoweq/barcode","envelope":"https://sandbox.bole.to/3/qdoweq/envelope","letter":"https://sandbox.bole.to/3/qdoweq/letter","line":"https://sandbox.bole.to/3/qdoweq/line","recibo":"https://sandbox.bole.to/3/qdoweq/recibo","carne":"https://sandbox.bole.to/3/qdoweq/carne"},"meta":null,"fine_for_delay":null,"fine_type":0,"fine_percentage":null,"fine_value":null,"days_for_fine":null,"late_payment_interest":null,"interest_type":0,"interest_daily_value":null,"interest_daily_percentage":null,"interest_monthly_percentage":null,"days_for_interest":null,"discount_type":0,"discount_limit_date":null,"discount_value":null,"discount_percentage":null,"days_for_revoke":null,"notes":null,"payment_count":1,"bank_billet_account_id":659,"beneficiary_name":"Kivanio
102
+ Pereira Barbosa","beneficiary_cnpj_cpf":"000.233.771-19","beneficiary_address":"Rua
103
+ Quatro, 9, 78058-330","beneficiary_assignor_code":"0001/123322-0","guarantor_name":null,"guarantor_cnpj_cpf":null,"payment_place":"Pagável
104
+ em qualquer banco até a data de vencimento.","instructions":null,"document_date":null,"document_type":"02","document_number":null,"acceptance":"N","processed_our_number":"14000000000000088-0","processed_our_number_raw":"140000000000000880","bank_contract_slug":"caixa-rg","agency_number":"2342","agency_digit":"2","account_number":"0012432","account_digit":"1","extra1":"0123322","extra1_digit":null,"extra2":null,"extra2_digit":null,"line":"10491.23324
105
+ 20000.100048 00000.008821 9 91090000112040","our_number":"000000000000088","customer_subscription_id":null,"installment_total":3,"installment_number":1,"installment_id":15265,"carne_url":"https://sandbox.bole.to/3/qdoweq/carne","bank_billet_layout_id":null,"created_at":"2022-02-22T14:30:51-03:00","updated_at":"2022-02-22T14:30:51-03:00","tags":[],"tag_list":null,"document_type_label":"DM","addons":null,"ignore_email":false,"ignore_sms":false,"sue_code":null,"revoke_code":null,"first_instruction":null,"second_instruction":null,"guarantor_address_number":null,"guarantor_neighborhood":null,"guarantor_phone_number":null,"guarantor_city_name":null,"guarantor_state":null,"guarantor_zipcode":null,"guarantor_address":null,"guarantor_address_complement":null,"barcode":"10499910900001120401233220000100040000000882","registered_at":null,"prevent_registration":false,"customer_id":93340,"control_number":null,"divergent_payment_type":null,"divergent_payment_value_type":null,"divergent_payment_maximum_value":null,"divergent_payment_minimum_value":null,"divergent_payment_maximum_percentage":null,"divergent_payment_minimum_percentage":null,"divergent_payment_limit":null,"days_for_discount":null,"days_for_second_discount":null,"second_discount_percentage":null,"second_discount_value":null,"days_for_third_discount":null,"third_discount_percentage":null,"third_discount_value":null,"days_for_sue":null,"days_for_negativation":null,"interest_percentage":null,"interest_value":null,"interest_days_type":0,"customer_contact_person":null,"custom_attachment_name":null,"split_payment":false,"dispatch_type":1,"charge_type":1,"custom_data":null,"issued_at":"2022-02-22T14:30:51-03:00","shorten_url":"https://sandbox.bole.to/3/qdoweq","pix_enabled":false,"pix_qrcode":null,"password_protected_mode":null,"revoked_at":null},{"id":472534,"expire_at":"2022-11-16","paid_at":null,"description":"Hospedagem","status":"opened","customer_person_name":"Joao
106
+ da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua
107
+ quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
108
+ 4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_email_cc":null,"customer_ignore_email":null,"customer_ignore_sms":null,"customer_mobile_local_code":null,"customer_mobile_number":null,"customer_nickname":null,"customer_notes":null,"created_via_api":false,"customer_city_name":"Rio
109
+ de Janeiro","paid_amount":0.0,"amount":1120.4,"url":"https://sandbox.bole.to/3/ewezlo","formats":{"default":"https://sandbox.bole.to/3/ewezlo","png":"https://sandbox.bole.to/3/ewezlo.png","pdf":"https://sandbox.bole.to/3/ewezlo.pdf","boleto_hibrido":"https://sandbox.bole.to/3/ewezlo/boleto_hibrido","boleto_pix":"https://sandbox.bole.to/3/ewezlo/boleto_pix","barcode":"https://sandbox.bole.to/3/ewezlo/barcode","envelope":"https://sandbox.bole.to/3/ewezlo/envelope","letter":"https://sandbox.bole.to/3/ewezlo/letter","line":"https://sandbox.bole.to/3/ewezlo/line","recibo":"https://sandbox.bole.to/3/ewezlo/recibo","carne":"https://sandbox.bole.to/3/ewezlo/carne"},"meta":null,"fine_for_delay":null,"fine_type":0,"fine_percentage":null,"fine_value":null,"days_for_fine":null,"late_payment_interest":null,"interest_type":0,"interest_daily_value":null,"interest_daily_percentage":null,"interest_monthly_percentage":null,"days_for_interest":null,"discount_type":0,"discount_limit_date":null,"discount_value":null,"discount_percentage":null,"days_for_revoke":null,"notes":null,"payment_count":1,"bank_billet_account_id":659,"beneficiary_name":"Kivanio
110
+ Pereira Barbosa","beneficiary_cnpj_cpf":"000.233.771-19","beneficiary_address":"Rua
111
+ Quatro, 9, 78058-330","beneficiary_assignor_code":"0001/123322-0","guarantor_name":null,"guarantor_cnpj_cpf":null,"payment_place":"Pagável
112
+ em qualquer banco até a data de vencimento.","instructions":null,"document_date":null,"document_type":"02","document_number":null,"acceptance":"N","processed_our_number":"14000000000000090-1","processed_our_number_raw":"140000000000000901","bank_contract_slug":"caixa-rg","agency_number":"2342","agency_digit":"2","account_number":"0012432","account_digit":"1","extra1":"0123322","extra1_digit":null,"extra2":null,"extra2_digit":null,"line":"10491.23324
113
+ 20000.100048 00000.009043 1 91710000112040","our_number":"000000000000090","customer_subscription_id":null,"installment_total":3,"installment_number":3,"installment_id":15265,"carne_url":"https://sandbox.bole.to/3/ewezlo/carne","bank_billet_layout_id":null,"created_at":"2022-02-22T14:30:51-03:00","updated_at":"2022-02-22T14:30:51-03:00","tags":[],"tag_list":null,"document_type_label":"DM","addons":null,"ignore_email":false,"ignore_sms":false,"sue_code":null,"revoke_code":null,"first_instruction":null,"second_instruction":null,"guarantor_address_number":null,"guarantor_neighborhood":null,"guarantor_phone_number":null,"guarantor_city_name":null,"guarantor_state":null,"guarantor_zipcode":null,"guarantor_address":null,"guarantor_address_complement":null,"barcode":"10491917100001120401233220000100040000000904","registered_at":null,"prevent_registration":false,"customer_id":93340,"control_number":null,"divergent_payment_type":null,"divergent_payment_value_type":null,"divergent_payment_maximum_value":null,"divergent_payment_minimum_value":null,"divergent_payment_maximum_percentage":null,"divergent_payment_minimum_percentage":null,"divergent_payment_limit":null,"days_for_discount":null,"days_for_second_discount":null,"second_discount_percentage":null,"second_discount_value":null,"days_for_third_discount":null,"third_discount_percentage":null,"third_discount_value":null,"days_for_sue":null,"days_for_negativation":null,"interest_percentage":null,"interest_value":null,"interest_days_type":0,"customer_contact_person":null,"custom_attachment_name":null,"split_payment":false,"dispatch_type":1,"charge_type":1,"custom_data":null,"issued_at":"2022-02-22T14:30:51-03:00","shorten_url":"https://sandbox.bole.to/3/ewezlo","pix_enabled":false,"pix_qrcode":null,"password_protected_mode":null,"revoked_at":null}],"notes":null,"payment_count":1,"tags":[],"tag_list":null,"prevent_registration":false,"divergent_payment_type":null,"divergent_payment_value_type":null,"divergent_payment_maximum_value":null,"divergent_payment_minimum_value":null,"divergent_payment_maximum_percentage":null,"divergent_payment_minimum_percentage":null,"divergent_payment_limit":null,"days_for_second_discount":null,"second_discount_percentage":null,"second_discount_value":null,"days_for_third_discount":null,"third_discount_percentage":null,"third_discount_value":null,"days_for_revoke":null,"days_for_sue":null,"days_for_negativation":null,"interest_percentage":null,"interest_value":null,"interest_days_type":0,"customer_contact_person":null,"custom_attachment_name":null,"guarantor_name":null,"guarantor_cnpj_cpf":null,"guarantor_address_number":null,"guarantor_neighborhood":null,"guarantor_phone_number":null,"guarantor_city_name":null,"guarantor_state":null,"guarantor_zipcode":null,"guarantor_address":null,"guarantor_address_complement":null,"document_number":null,"document_date":null,"document_type":"02"}'
114
+ recorded_at: Tue, 22 Feb 2022 17:30:52 GMT
75
115
  recorded_with: VCR 6.0.0
@@ -1,84 +1,85 @@
1
1
  ---
2
2
  http_interactions:
3
- - request:
4
- method: get
5
- uri: https://sandbox.boletosimples.com.br/api/v1/remittances
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- User-Agent:
11
- - email@minhaempresa.com.br
12
- Authorization:
13
- - Bearer BOLETOSIMPLES_API_TOKEN
14
- Accept:
15
- - application/json
16
- Accept-Encoding:
17
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
- response:
19
- status:
20
- code: 200
21
- message: OK
22
- headers:
23
- Server:
24
- - Cowboy
25
- Connection:
26
- - keep-alive
27
- X-Frame-Options:
28
- - DENY
29
- X-Xss-Protection:
30
- - 1; mode=block
31
- X-Content-Type-Options:
32
- - nosniff
33
- X-Download-Options:
34
- - noopen
35
- X-Permitted-Cross-Domain-Policies:
36
- - none
37
- Referrer-Policy:
38
- - strict-origin-when-cross-origin
39
- Per-Page:
40
- - '50'
41
- Page:
42
- - ''
43
- Content-Type:
44
- - application/json; charset=utf-8
45
- X-Ratelimit-Limit:
46
- - '60'
47
- X-Ratelimit-Remaining:
48
- - '48'
49
- Etag:
50
- - W/"c6dffee977e49ac44b9150d254522678"
51
- Cache-Control:
52
- - must-revalidate, private, max-age=0
53
- X-Request-Id:
54
- - c6ac7f05-59bb-472c-992a-f12624a66297
55
- X-Runtime:
56
- - '0.050576'
57
- Date:
58
- - Tue, 13 Apr 2021 17:18:39 GMT
59
- X-Rack-Cache:
60
- - miss
61
- Strict-Transport-Security:
62
- - max-age=2629746
63
- Vary:
64
- - Origin,Accept-Encoding
65
- Transfer-Encoding:
66
- - chunked
67
- Via:
68
- - 1.1 vegur
69
- body:
70
- encoding: UTF-8
71
- string: '[{"id":2350,"filename":"2104131.REM","created_via_api":false,"status":"processed","bank_billet_account_id":3547,"created_at":"2021-04-13T09:30:38-03:00","processed_at":"2021-04-13T09:30:39-03:00","url":"https://sandbox.boletosimples.com.br/remessas/0636d86fb51bd17d3f65c73e20b87ecd/download","bank_billet_ids":[382118,382118,382119,382120,382121,382122,382261,382262,382263,382264,382264],"remittance_number":3,"sent_via_integration":null,"bank_billet_remittances":[{"id":347978,"our_code":"1002","occurrence":"02","remittance_id":2350,"bank_billet_id":382118,"bank_billet_account_id":3547,"processed_at":"2021-04-13T09:30:40-03:00","occurrence_detail":"Pedido
72
- de Baixa","created_at":"2021-04-12T11:51:09-03:00"},{"id":347979,"our_code":"1001","occurrence":"01","remittance_id":2350,"bank_billet_id":382118,"bank_billet_account_id":3547,"processed_at":"2021-04-13T09:30:40-03:00","occurrence_detail":"Entrada
73
- de Título","created_at":"2021-04-12T11:51:10-03:00"},{"id":347980,"our_code":"1001","occurrence":"01","remittance_id":2350,"bank_billet_id":382119,"bank_billet_account_id":3547,"processed_at":"2021-04-13T09:30:40-03:00","occurrence_detail":"Entrada
74
- de Título","created_at":"2021-04-12T11:55:04-03:00"},{"id":347981,"our_code":"1001","occurrence":"01","remittance_id":2350,"bank_billet_id":382120,"bank_billet_account_id":3547,"processed_at":"2021-04-13T09:30:40-03:00","occurrence_detail":"Entrada
75
- de Título","created_at":"2021-04-12T11:55:16-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
76
- de Título","created_at":"2021-04-12T11:55:18-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
77
- de Título","created_at":"2021-04-12T11:55:20-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
78
- de Título","created_at":"2021-04-13T09:27:23-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
79
- de Título","created_at":"2021-04-13T09:27:23-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
80
- de Título","created_at":"2021-04-13T09:27:25-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
81
- de Título","created_at":"2021-04-13T09:27:31-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
82
- diretamente ao beneficiário","created_at":"2021-04-13T09:30:20-03:00"}]}]'
83
- recorded_at: Tue, 13 Apr 2021 17:18:39 GMT
3
+ - request:
4
+ method: get
5
+ uri: https://api-sandbox.kobana.com.br/v1/remittances
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - email@minhaempresa.com.br
12
+ Authorization:
13
+ - Bearer BOLETOSIMPLES_API_TOKEN
14
+ Accept:
15
+ - application/json
16
+ Accept-Encoding:
17
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Server:
24
+ - Cowboy
25
+ Connection:
26
+ - keep-alive
27
+ X-Frame-Options:
28
+ - DENY
29
+ X-Xss-Protection:
30
+ - 1; mode=block
31
+ X-Content-Type-Options:
32
+ - nosniff
33
+ X-Download-Options:
34
+ - noopen
35
+ X-Permitted-Cross-Domain-Policies:
36
+ - none
37
+ Referrer-Policy:
38
+ - strict-origin-when-cross-origin
39
+ Per-Page:
40
+ - '50'
41
+ Page:
42
+ - ''
43
+ Content-Type:
44
+ - application/json; charset=utf-8
45
+ X-Ratelimit-Limit:
46
+ - '60'
47
+ X-Ratelimit-Remaining:
48
+ - '48'
49
+ Etag:
50
+ - W/"c6dffee977e49ac44b9150d254522678"
51
+ Cache-Control:
52
+ - must-revalidate, private, max-age=0
53
+ X-Request-Id:
54
+ - c6ac7f05-59bb-472c-992a-f12624a66297
55
+ X-Runtime:
56
+ - '0.050576'
57
+ Date:
58
+ - Tue, 13 Apr 2021 17:18:39 GMT
59
+ X-Rack-Cache:
60
+ - miss
61
+ Strict-Transport-Security:
62
+ - max-age=2629746
63
+ Vary:
64
+ - Origin,Accept-Encoding
65
+ Transfer-Encoding:
66
+ - chunked
67
+ Via:
68
+ - 1.1 vegur
69
+ body:
70
+ encoding: UTF-8
71
+ string:
72
+ '[{"id":2350,"filename":"2104131.REM","created_via_api":false,"status":"processed","bank_billet_account_id":3547,"created_at":"2021-04-13T09:30:38-03:00","processed_at":"2021-04-13T09:30:39-03:00","url":"https://sandbox.boletosimples.com.br/remessas/0636d86fb51bd17d3f65c73e20b87ecd/download","bank_billet_ids":[382118,382118,382119,382120,382121,382122,382261,382262,382263,382264,382264],"remittance_number":3,"sent_via_integration":null,"bank_billet_remittances":[{"id":347978,"our_code":"1002","occurrence":"02","remittance_id":2350,"bank_billet_id":382118,"bank_billet_account_id":3547,"processed_at":"2021-04-13T09:30:40-03:00","occurrence_detail":"Pedido
73
+ de Baixa","created_at":"2021-04-12T11:51:09-03:00"},{"id":347979,"our_code":"1001","occurrence":"01","remittance_id":2350,"bank_billet_id":382118,"bank_billet_account_id":3547,"processed_at":"2021-04-13T09:30:40-03:00","occurrence_detail":"Entrada
74
+ de Título","created_at":"2021-04-12T11:51:10-03:00"},{"id":347980,"our_code":"1001","occurrence":"01","remittance_id":2350,"bank_billet_id":382119,"bank_billet_account_id":3547,"processed_at":"2021-04-13T09:30:40-03:00","occurrence_detail":"Entrada
75
+ de Título","created_at":"2021-04-12T11:55:04-03:00"},{"id":347981,"our_code":"1001","occurrence":"01","remittance_id":2350,"bank_billet_id":382120,"bank_billet_account_id":3547,"processed_at":"2021-04-13T09:30:40-03:00","occurrence_detail":"Entrada
76
+ de Título","created_at":"2021-04-12T11:55:16-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
77
+ de Título","created_at":"2021-04-12T11:55:18-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
78
+ de Título","created_at":"2021-04-12T11:55:20-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
79
+ de Título","created_at":"2021-04-13T09:27:23-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
80
+ de Título","created_at":"2021-04-13T09:27:23-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
81
+ de Título","created_at":"2021-04-13T09:27:25-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
82
+ de Título","created_at":"2021-04-13T09:27:31-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
83
+ diretamente ao beneficiário","created_at":"2021-04-13T09:30:20-03:00"}]}]'
84
+ recorded_at: Tue, 13 Apr 2021 17:18:39 GMT
84
85
  recorded_with: VCR 6.0.0