boletosimples 0.6.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (136) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ruby.yml +34 -0
  3. data/.rspec +3 -0
  4. data/.rubocop.yml +9 -0
  5. data/.ruby-version +1 -1
  6. data/CHANGELOG.md +6 -20
  7. data/Gemfile +2 -0
  8. data/README.md +12 -54
  9. data/Rakefile +3 -1
  10. data/boletosimples.gemspec +14 -11
  11. data/lib/boletosimples.rb +4 -6
  12. data/lib/boletosimples/configuration.rb +14 -25
  13. data/lib/boletosimples/last_request.rb +12 -9
  14. data/lib/boletosimples/middlewares/bearer.rb +12 -0
  15. data/lib/boletosimples/middlewares/last_request.rb +3 -1
  16. data/lib/boletosimples/middlewares/raise_error.rb +9 -2
  17. data/lib/boletosimples/middlewares/user_agent.rb +3 -1
  18. data/lib/boletosimples/resources/bank_billet.rb +5 -11
  19. data/lib/boletosimples/resources/bank_billet_account.rb +3 -1
  20. data/lib/boletosimples/resources/bank_billet_discharge.rb +3 -1
  21. data/lib/boletosimples/resources/bank_billet_payment.rb +3 -1
  22. data/lib/boletosimples/resources/bank_billet_remittance.rb +3 -1
  23. data/lib/boletosimples/resources/base_model.rb +3 -1
  24. data/lib/boletosimples/resources/customer.rb +3 -1
  25. data/lib/boletosimples/resources/customer_import.rb +5 -3
  26. data/lib/boletosimples/resources/customer_subscription.rb +3 -10
  27. data/lib/boletosimples/resources/customer_subscription_import.rb +5 -3
  28. data/lib/boletosimples/resources/discharge.rb +4 -11
  29. data/lib/boletosimples/resources/email_delivery.rb +3 -1
  30. data/lib/boletosimples/resources/event.rb +3 -1
  31. data/lib/boletosimples/resources/installment.rb +3 -1
  32. data/lib/boletosimples/resources/remittance.rb +3 -1
  33. data/lib/boletosimples/resources/sms_delivery.rb +6 -0
  34. data/lib/boletosimples/resources/transaction.rb +3 -1
  35. data/lib/boletosimples/resources/webhook.rb +3 -1
  36. data/lib/boletosimples/resources/webhook_delivery.rb +3 -1
  37. data/lib/boletosimples/response_error.rb +8 -3
  38. data/lib/boletosimples/version.rb +3 -1
  39. data/spec/boletosimples/configuration_spec.rb +71 -101
  40. data/spec/boletosimples/last_request_spec.rb +16 -28
  41. data/spec/boletosimples/resources/bank_billet_account_spec.rb +57 -33
  42. data/spec/boletosimples/resources/bank_billet_discharge_spec.rb +7 -12
  43. data/spec/boletosimples/resources/bank_billet_payment_spec.rb +7 -12
  44. data/spec/boletosimples/resources/bank_billet_remittance_spec.rb +7 -12
  45. data/spec/boletosimples/resources/bank_billet_spec.rb +56 -42
  46. data/spec/boletosimples/resources/customer_import_spec.rb +41 -30
  47. data/spec/boletosimples/resources/customer_spec.rb +52 -39
  48. data/spec/boletosimples/resources/customer_subscription_import_spec.rb +41 -30
  49. data/spec/boletosimples/resources/customer_subscription_spec.rb +61 -33
  50. data/spec/boletosimples/resources/discharge_spec.rb +64 -11
  51. data/spec/boletosimples/resources/email_delivery_spec.rb +6 -11
  52. data/spec/boletosimples/resources/event_spec.rb +7 -12
  53. data/spec/boletosimples/resources/installment_spec.rb +61 -32
  54. data/spec/boletosimples/resources/remittance_spec.rb +7 -12
  55. data/spec/boletosimples/resources/sms_delivery_spec.rb +12 -0
  56. data/spec/boletosimples/resources/transactions_spec.rb +7 -12
  57. data/spec/boletosimples/resources/webhook_delivery_spec.rb +7 -12
  58. data/spec/boletosimples/resources/webhook_spec.rb +7 -12
  59. data/spec/fixtures/discharge.RET +3 -0
  60. data/spec/fixtures/vcr_cassettes/last_request/bank_billets.yml +536 -88
  61. data/spec/fixtures/vcr_cassettes/resources/bank_billet/all.yml +537 -91
  62. data/spec/fixtures/vcr_cassettes/resources/bank_billet/cancel/success.yml +34 -92
  63. data/spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_params.yml +32 -20
  64. data/spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_root.yml +28 -17
  65. data/spec/fixtures/vcr_cassettes/resources/bank_billet/create/valid.yml +43 -27
  66. data/spec/fixtures/vcr_cassettes/resources/bank_billet/duplicate/success.yml +83 -0
  67. data/spec/fixtures/vcr_cassettes/resources/bank_billet/find.yml +51 -27
  68. data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/all.yml +131 -20
  69. data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/create/invalid_params.yml +34 -20
  70. data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/create/invalid_root.yml +30 -19
  71. data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/create/valid.yml +41 -21
  72. data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/find.yml +38 -18
  73. data/spec/fixtures/vcr_cassettes/resources/bank_billet_discharge/all.yml +66 -47
  74. data/spec/fixtures/vcr_cassettes/resources/bank_billet_payment/all.yml +44 -42
  75. data/spec/fixtures/vcr_cassettes/resources/bank_billet_remittance/all.yml +95 -48
  76. data/spec/fixtures/vcr_cassettes/resources/customer/all.yml +79 -32
  77. data/spec/fixtures/vcr_cassettes/resources/customer/create/invalid_params.yml +30 -17
  78. data/spec/fixtures/vcr_cassettes/resources/customer/create/invalid_root.yml +28 -17
  79. data/spec/fixtures/vcr_cassettes/resources/customer/create/valid.yml +33 -21
  80. data/spec/fixtures/vcr_cassettes/resources/customer/find.yml +33 -19
  81. data/spec/fixtures/vcr_cassettes/resources/customer_import/all.yml +43 -60
  82. data/spec/fixtures/vcr_cassettes/resources/customer_import/create/invalid_params.yml +37 -51
  83. data/spec/fixtures/vcr_cassettes/resources/customer_import/create/invalid_root.yml +38 -52
  84. data/spec/fixtures/vcr_cassettes/resources/customer_import/create/valid.yml +43 -68
  85. data/spec/fixtures/vcr_cassettes/resources/customer_import/find.yml +40 -54
  86. data/spec/fixtures/vcr_cassettes/resources/customer_subscription/all.yml +102 -52
  87. data/spec/fixtures/vcr_cassettes/resources/customer_subscription/create/invalid_params.yml +40 -50
  88. data/spec/fixtures/vcr_cassettes/resources/customer_subscription/create/invalid_root.yml +36 -48
  89. data/spec/fixtures/vcr_cassettes/resources/customer_subscription/create/valid.yml +48 -53
  90. data/spec/fixtures/vcr_cassettes/resources/customer_subscription/find.yml +44 -50
  91. data/spec/fixtures/vcr_cassettes/resources/customer_subscription/next_charge.yml +45 -133
  92. data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/all.yml +44 -55
  93. data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/create/invalid_params.yml +37 -52
  94. data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/create/invalid_root.yml +39 -53
  95. data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/create/valid.yml +43 -70
  96. data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/find.yml +40 -55
  97. data/spec/fixtures/vcr_cassettes/resources/discharge/all.yml +64 -33
  98. data/spec/fixtures/vcr_cassettes/resources/discharge/create/invalid_params.yml +70 -0
  99. data/spec/fixtures/vcr_cassettes/resources/discharge/create/invalid_root.yml +69 -0
  100. data/spec/fixtures/vcr_cassettes/resources/discharge/create/valid.yml +84 -0
  101. data/spec/fixtures/vcr_cassettes/resources/discharge/find.yml +71 -0
  102. data/spec/fixtures/vcr_cassettes/resources/email_delivery/all.yml +40 -43
  103. data/spec/fixtures/vcr_cassettes/resources/event/all.yml +490 -166
  104. data/spec/fixtures/vcr_cassettes/resources/installment/all.yml +418 -52
  105. data/spec/fixtures/vcr_cassettes/resources/installment/create/invalid_params.yml +41 -52
  106. data/spec/fixtures/vcr_cassettes/resources/installment/create/invalid_root.yml +36 -48
  107. data/spec/fixtures/vcr_cassettes/resources/installment/create/valid.yml +48 -53
  108. data/spec/fixtures/vcr_cassettes/resources/installment/find.yml +44 -52
  109. data/spec/fixtures/vcr_cassettes/resources/remittance/all.yml +53 -33
  110. data/spec/fixtures/vcr_cassettes/resources/sns_delivery/all.yml +73 -0
  111. data/spec/fixtures/vcr_cassettes/resources/transaction/all.yml +34 -22
  112. data/spec/fixtures/vcr_cassettes/resources/web_hook/all.yml +42 -33
  113. data/spec/fixtures/vcr_cassettes/resources/webhook_delivery/all.yml +1232 -54
  114. data/spec/spec_helper.rb +3 -20
  115. data/spec/support/stub_env.rb +7 -0
  116. data/spec/support/vcr.rb +3 -4
  117. metadata +87 -52
  118. data/.coveralls.yml +0 -2
  119. data/.travis.yml +0 -46
  120. data/gemfiles/rails_42.gemfile +0 -8
  121. data/gemfiles/rails_50.gemfile +0 -8
  122. data/gemfiles/rails_51.gemfile +0 -8
  123. data/gemfiles/rails_52.gemfile +0 -9
  124. data/lib/boletosimples/extra.rb +0 -8
  125. data/lib/boletosimples/resources/partner/user.rb +0 -7
  126. data/lib/oauth2_patch.rb +0 -24
  127. data/spec/boletosimples/extra_spec.rb +0 -31
  128. data/spec/boletosimples/resources/partner/user_spec.rb +0 -19
  129. data/spec/fixtures/vcr_cassettes/configuration/client_credentials/invalid.yml +0 -64
  130. data/spec/fixtures/vcr_cassettes/configuration/client_credentials/valid.yml +0 -56
  131. data/spec/fixtures/vcr_cassettes/extra/userinfo/authenticated.yml +0 -58
  132. data/spec/fixtures/vcr_cassettes/extra/userinfo/not_authenticated.yml +0 -54
  133. data/spec/fixtures/vcr_cassettes/last_request/userinfo.yml +0 -58
  134. data/spec/fixtures/vcr_cassettes/resources/bank_billet/cancel/failure.yml +0 -118
  135. data/spec/fixtures/vcr_cassettes/resources/partner/user/create.yml +0 -60
  136. data/spec/spec.opts +0 -8
@@ -2,100 +2,75 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://sandbox.boletosimples.com.br/api/v1/imports/customers?access_token=BOLETOSIMPLES_ACCESS_TOKEN
5
+ uri: https://sandbox.boletosimples.com.br/api/v1/imports/customers
6
6
  body:
7
7
  encoding: ASCII-8BIT
8
8
  string: !binary |-
9
- LS0tLS0tLS0tLS0tLVJ1YnlNdWx0aXBhcnRQb3N0LTI0MWU1YWY1ZTlkYzcw
10
- YjY4MTZiOWQxYjQ3Mjk5ZmU3DQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3Jt
11
- LWRhdGE7IG5hbWU9ImN1c3RvbWVyX2ltcG9ydFtzb3VyY2VdIjsgZmlsZW5h
12
- bWU9ImN1c3RvbWVycy5jc3YiDQpDb250ZW50LUxlbmd0aDogMTkwDQpDb250
13
- ZW50LVR5cGU6IHRleHQvY3N2DQpDb250ZW50LVRyYW5zZmVyLUVuY29kaW5n
14
- OiBiaW5hcnkNCg0KTm9tZS9SYXphbyBTb2NpYWwsQXBlbGlkby9Ob21lIEZh
15
- bnRhc2lhLENOUEovQ1BGLEUtbWFpbCxDRVAsRW5kZXJlw6dvLE51bWVybyBk
16
- byBFbmRlcmVjbyxDb21wbGVtZW50byxCYWlycm8sQ2lkYWRlLEVzdGFkbyxU
17
- ZWxlZm9uZSAoY29tIERERCksREREIGRvIENlbHVsYXIsTnVtZXJvIGRvIENl
18
- bHVsYXIsRS1tYWlsIG9wY2lvbmFsCg0KLS0tLS0tLS0tLS0tLVJ1YnlNdWx0
19
- aXBhcnRQb3N0LTI0MWU1YWY1ZTlkYzcwYjY4MTZiOWQxYjQ3Mjk5ZmU3LS0N
20
- Cg0K
9
+ LS0tLS0tLS0tLS0tLVJ1YnlNdWx0aXBhcnRQb3N0LTg5MmViM2NlYWI5OWQ0M2M1Y2Y3ZGQ5MzE5MmE3ZDJmDQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9ImN1c3RvbWVyX2ltcG9ydFtzb3VyY2VdIjsgZmlsZW5hbWU9ImN1c3RvbWVycy5jc3YiDQpDb250ZW50LUxlbmd0aDogMTkwDQpDb250ZW50LVR5cGU6IHRleHQvY3N2DQpDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiBiaW5hcnkNCg0KTm9tZS9SYXphbyBTb2NpYWwsQXBlbGlkby9Ob21lIEZhbnRhc2lhLENOUEovQ1BGLEUtbWFpbCxDRVAsRW5kZXJlw6dvLE51bWVybyBkbyBFbmRlcmVjbyxDb21wbGVtZW50byxCYWlycm8sQ2lkYWRlLEVzdGFkbyxUZWxlZm9uZSAoY29tIERERCksREREIGRvIENlbHVsYXIsTnVtZXJvIGRvIENlbHVsYXIsRS1tYWlsIG9wY2lvbmFsCg0KLS0tLS0tLS0tLS0tLVJ1YnlNdWx0aXBhcnRQb3N0LTg5MmViM2NlYWI5OWQ0M2M1Y2Y3ZGQ5MzE5MmE3ZDJmLS0NCg==
21
10
  headers:
22
11
  User-Agent:
23
- - BoletoSimples Ruby Client v0.4.1 (contato@boletosimples.com.br)
12
+ - email@minhaempresa.com.br
24
13
  Authorization:
25
- - Token token="BOLETOSIMPLES_ACCESS_TOKEN"
14
+ - Bearer BOLETOSIMPLES_API_TOKEN
26
15
  Content-Type:
27
- - multipart/form-data; boundary=-----------RubyMultipartPost-241e5af5e9dc70b6816b9d1b47299fe7
16
+ - multipart/form-data; boundary=-----------RubyMultipartPost-892eb3ceab99d43c5cf7dd93192a7d2f
28
17
  Content-Length:
29
- - '498'
18
+ - '496'
19
+ Accept:
20
+ - application/json
30
21
  Accept-Encoding:
31
22
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
32
- Accept:
33
- - "*/*"
34
23
  response:
35
24
  status:
36
25
  code: 201
37
26
  message: Created
38
27
  headers:
28
+ Server:
29
+ - Cowboy
39
30
  Connection:
40
31
  - keep-alive
41
- Content-Type:
42
- - application/json; charset=utf-8
43
- Transfer-Encoding:
44
- - chunked
45
- Status:
46
- - 201 Created
47
- Cache-Control:
48
- - max-age=0, private, must-revalidate
49
- Date:
50
- - Fri, 16 Jun 2017 03:50:16 GMT
51
- Vary:
52
- - Origin,Accept-Encoding
53
- Strict-Transport-Security:
54
- - max-age=631138519
55
- X-Permitted-Cross-Domain-Policies:
56
- - none
32
+ X-Frame-Options:
33
+ - DENY
57
34
  X-Xss-Protection:
58
35
  - 1; mode=block
59
- X-Request-Id:
60
- - 685c0992-20c4-4530-839b-00999cce1797
61
- Content-Security-Policy-Report-Only:
62
- - 'default-src ''self''; child-src ''self'' www.googleadservices.com googleads.g.doubleclick.net
63
- www.google.com www.google.com.br app.popupdomination.com; connect-src ''self''
64
- ws: wss: *.intercom.io ws.pusherapp.com hn.inspectlet.com *.pusher.com boletosimples.com.br
65
- *.boletosimples.com.br boletosimples.zendesk.com; font-src ''self'' fonts.googleapis.com
66
- fonts.gstatic.com js.intercomcdn.com data: v2.zopim.com d25j7wj0q61kjj.cloudfront.net;
67
- img-src ''self'' https: data: maps.googleapis.com dev.bole.to:5001 bole.to
68
- boletosimples-sandbox.s3.amazonaws.com; script-src ''self'' ''unsafe-inline''
69
- static.intercomcdn.com cdn.inspectlet.com widget.intercom.io js.intercomcdn.com
70
- js.pusher.com stats.pusher.com zapier.com www.google-analytics.com www.googleadservices.com
71
- doug1izaerwt3.cloudfront.net app.popupdomination.com cdn.ywxi.net www.draw.io
72
- tag.getdrip.com www.getdrip.com js-agent.newrelic.com bam.nr-data.net cdnjs.cloudflare.com
73
- widget.pluga.co www.google.com www.gstatic.com boletosimples.zendesk.com assets.zendesk.com
74
- v2.zopim.com d25j7wj0q61kjj.cloudfront.net; style-src ''self'' ''unsafe-inline''
75
- fonts.googleapis.com d25j7wj0q61kjj.cloudfront.net; report-uri https://boletosimples.report-uri.io/r/default/csp/reportOnly'
76
- Location:
77
- - https://sandbox.boletosimples.com.br/api/v1/imports/customers/6
36
+ X-Content-Type-Options:
37
+ - nosniff
78
38
  X-Download-Options:
79
39
  - noopen
40
+ X-Permitted-Cross-Domain-Policies:
41
+ - none
42
+ Referrer-Policy:
43
+ - strict-origin-when-cross-origin
44
+ Location:
45
+ - https://sandbox.boletosimples.com.br/api/v1/imports/customers/1054
46
+ Content-Type:
47
+ - application/json; charset=utf-8
48
+ X-Ratelimit-Limit:
49
+ - '1000'
50
+ X-Ratelimit-Remaining:
51
+ - '996'
80
52
  Etag:
81
- - W/"a8f4bd7880c47cc76588e180d1370ae4"
53
+ - W/"b06778fa549b3ad7eef78bfe88e83b61"
54
+ Cache-Control:
55
+ - max-age=0, private, must-revalidate
56
+ X-Request-Id:
57
+ - f872ce17-55d4-448c-9af4-afec481264f2
82
58
  X-Runtime:
83
- - '0.161758'
84
- X-Frame-Options:
85
- - sameorigin
86
- X-Content-Type-Options:
87
- - nosniff
59
+ - '0.217330'
60
+ Date:
61
+ - Tue, 13 Apr 2021 17:18:23 GMT
88
62
  X-Rack-Cache:
89
63
  - invalidate, pass
90
- X-Powered-By:
91
- - Phusion Passenger 5.1.4
92
- Server:
93
- - nginx/1.10.3 + Phusion Passenger 5.1.4
64
+ Strict-Transport-Security:
65
+ - max-age=2629746
66
+ Vary:
67
+ - Origin,Accept-Encoding
68
+ Transfer-Encoding:
69
+ - chunked
94
70
  Via:
95
71
  - 1.1 vegur
96
72
  body:
97
73
  encoding: UTF-8
98
- string: '{"id":6,"created_rows":0,"records_count":null,"enqueued_at":"2017-06-16T00:50:16-03:00","started_at":null,"finished_at":null,"processed_at":null,"failed_to_create_rows":0,"failed_to_update_rows":0,"import_errors":null,"processed_rows":0,"total_rows":null,"updated_rows":0,"source_content_type":"text/plain","source_file_name":"customers.csv","source_file_size":190,"source_updated_at":"2017-06-16T00:50:16-03:00","status":"enqueued"}'
99
- http_version:
100
- recorded_at: Fri, 16 Jun 2017 03:50:16 GMT
101
- recorded_with: VCR 3.0.3
74
+ string: '{"id":1054,"created_rows":0,"enqueued_at":"2021-04-13T14:18:22-03:00","started_at":null,"finished_at":null,"processed_at":null,"failed_to_create_rows":0,"failed_to_update_rows":0,"import_errors":null,"processed_rows":0,"total_rows":null,"updated_rows":0,"source_file_name":"customers.csv","source_file_size":190,"status":"enqueued","created_via_api":true}'
75
+ recorded_at: Tue, 13 Apr 2021 17:18:23 GMT
76
+ recorded_with: VCR 6.0.0
@@ -2,84 +2,70 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://sandbox.boletosimples.com.br/api/v1/imports/customers/6?access_token=BOLETOSIMPLES_ACCESS_TOKEN
5
+ uri: https://sandbox.boletosimples.com.br/api/v1/imports/customers/1054
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - BoletoSimples Ruby Client v0.4.1 (contato@boletosimples.com.br)
11
+ - email@minhaempresa.com.br
12
12
  Authorization:
13
- - Token token="BOLETOSIMPLES_ACCESS_TOKEN"
13
+ - Bearer BOLETOSIMPLES_API_TOKEN
14
+ Accept:
15
+ - application/json
14
16
  Accept-Encoding:
15
17
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
- Accept:
17
- - "*/*"
18
18
  response:
19
19
  status:
20
20
  code: 200
21
21
  message: OK
22
22
  headers:
23
+ Server:
24
+ - Cowboy
23
25
  Connection:
24
26
  - keep-alive
25
- Content-Type:
26
- - application/json; charset=utf-8
27
- Transfer-Encoding:
28
- - chunked
29
- Status:
30
- - 200 OK
31
- Cache-Control:
32
- - must-revalidate, private, max-age=0
33
- Date:
34
- - Fri, 16 Jun 2017 03:50:19 GMT
35
- Vary:
36
- - Origin,Accept-Encoding
37
- Strict-Transport-Security:
38
- - max-age=631138519
39
- X-Permitted-Cross-Domain-Policies:
40
- - none
27
+ X-Frame-Options:
28
+ - DENY
41
29
  X-Xss-Protection:
42
30
  - 1; mode=block
43
- X-Request-Id:
44
- - 9787cef7-4bcf-4d64-945e-f8ebb199e139
45
- Content-Security-Policy-Report-Only:
46
- - 'default-src ''self''; child-src ''self'' www.googleadservices.com googleads.g.doubleclick.net
47
- www.google.com www.google.com.br app.popupdomination.com; connect-src ''self''
48
- ws: wss: *.intercom.io ws.pusherapp.com hn.inspectlet.com *.pusher.com boletosimples.com.br
49
- *.boletosimples.com.br boletosimples.zendesk.com; font-src ''self'' fonts.googleapis.com
50
- fonts.gstatic.com js.intercomcdn.com data: v2.zopim.com d25j7wj0q61kjj.cloudfront.net;
51
- img-src ''self'' https: data: maps.googleapis.com dev.bole.to:5001 bole.to
52
- boletosimples-sandbox.s3.amazonaws.com; script-src ''self'' ''unsafe-inline''
53
- static.intercomcdn.com cdn.inspectlet.com widget.intercom.io js.intercomcdn.com
54
- js.pusher.com stats.pusher.com zapier.com www.google-analytics.com www.googleadservices.com
55
- doug1izaerwt3.cloudfront.net app.popupdomination.com cdn.ywxi.net www.draw.io
56
- tag.getdrip.com www.getdrip.com js-agent.newrelic.com bam.nr-data.net cdnjs.cloudflare.com
57
- widget.pluga.co www.google.com www.gstatic.com boletosimples.zendesk.com assets.zendesk.com
58
- v2.zopim.com d25j7wj0q61kjj.cloudfront.net; style-src ''self'' ''unsafe-inline''
59
- fonts.googleapis.com d25j7wj0q61kjj.cloudfront.net; report-uri https://boletosimples.report-uri.io/r/default/csp/reportOnly'
60
- Location:
61
- - https://sandbox.boletosimples.com.br/api/v1/imports/customers/6
31
+ X-Content-Type-Options:
32
+ - nosniff
62
33
  X-Download-Options:
63
34
  - noopen
35
+ X-Permitted-Cross-Domain-Policies:
36
+ - none
37
+ Referrer-Policy:
38
+ - strict-origin-when-cross-origin
39
+ Location:
40
+ - https://sandbox.boletosimples.com.br/api/v1/imports/customers/1054
41
+ Content-Type:
42
+ - application/json; charset=utf-8
43
+ X-Ratelimit-Limit:
44
+ - '60'
45
+ X-Ratelimit-Remaining:
46
+ - '56'
64
47
  Etag:
65
- - W/"b28d524c4fac5f32cac23b7c93c01740"
48
+ - W/"b06778fa549b3ad7eef78bfe88e83b61"
49
+ Cache-Control:
50
+ - must-revalidate, private, max-age=0
51
+ X-Request-Id:
52
+ - d133e268-ddac-44ae-823b-10d7db6a055b
66
53
  X-Runtime:
67
- - '0.027871'
68
- X-Frame-Options:
69
- - sameorigin
70
- X-Content-Type-Options:
71
- - nosniff
54
+ - '0.023842'
55
+ Date:
56
+ - Tue, 13 Apr 2021 17:18:23 GMT
72
57
  X-Rack-Cache:
73
58
  - miss
74
- X-Powered-By:
75
- - Phusion Passenger 5.1.4
76
- Server:
77
- - nginx/1.10.3 + Phusion Passenger 5.1.4
59
+ Strict-Transport-Security:
60
+ - max-age=2629746
61
+ Vary:
62
+ - Origin,Accept-Encoding
63
+ Transfer-Encoding:
64
+ - chunked
78
65
  Via:
79
66
  - 1.1 vegur
80
67
  body:
81
68
  encoding: UTF-8
82
- string: '{"id":6,"created_rows":0,"records_count":null,"enqueued_at":"2017-06-16T00:50:16-03:00","started_at":"2017-06-16T00:50:16-03:00","finished_at":"2017-06-16T00:50:16-03:00","processed_at":null,"failed_to_create_rows":0,"failed_to_update_rows":0,"import_errors":[],"processed_rows":0,"total_rows":0,"updated_rows":0,"source_content_type":"text/plain","source_file_name":"customers.csv","source_file_size":190,"source_updated_at":"2017-06-16T00:50:16-03:00","status":"done"}'
83
- http_version:
84
- recorded_at: Fri, 16 Jun 2017 03:50:19 GMT
85
- recorded_with: VCR 3.0.3
69
+ string: '{"id":1054,"created_rows":0,"enqueued_at":"2021-04-13T14:18:22-03:00","started_at":null,"finished_at":null,"processed_at":null,"failed_to_create_rows":0,"failed_to_update_rows":0,"import_errors":null,"processed_rows":0,"total_rows":null,"updated_rows":0,"source_file_name":"customers.csv","source_file_size":190,"status":"enqueued","created_via_api":true}'
70
+ recorded_at: Tue, 13 Apr 2021 17:18:23 GMT
71
+ recorded_with: VCR 6.0.0
@@ -2,82 +2,132 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://sandbox.boletosimples.com.br/api/v1/customer_subscriptions?access_token=BOLETOSIMPLES_ACCESS_TOKEN
5
+ uri: https://sandbox.boletosimples.com.br/api/v1/customer_subscriptions
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - BoletoSimples Ruby Client v0.3.1 (contato@boletosimples.com.br)
11
+ - email@minhaempresa.com.br
12
12
  Authorization:
13
- - Token token="BOLETOSIMPLES_ACCESS_TOKEN"
13
+ - Bearer BOLETOSIMPLES_API_TOKEN
14
+ Accept:
15
+ - application/json
14
16
  Accept-Encoding:
15
17
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
- Accept:
17
- - "*/*"
18
18
  response:
19
19
  status:
20
20
  code: 200
21
21
  message: OK
22
22
  headers:
23
+ Server:
24
+ - Cowboy
23
25
  Connection:
24
26
  - keep-alive
25
- Content-Type:
26
- - application/json; charset=utf-8
27
- Transfer-Encoding:
28
- - chunked
29
- Status:
30
- - 200 OK
31
- Cache-Control:
32
- - must-revalidate, private, max-age=0
33
- X-Ratelimit-Limit:
34
- - '500'
35
- Date:
36
- - Mon, 15 Aug 2016 19:12:06 GMT
37
- Strict-Transport-Security:
38
- - max-age=631138519
39
- X-Ratelimit-Remaining:
40
- - '495'
41
- Vary:
42
- - Accept-Encoding
43
- X-Permitted-Cross-Domain-Policies:
44
- - none
27
+ X-Frame-Options:
28
+ - DENY
45
29
  X-Xss-Protection:
46
30
  - 1; mode=block
47
- X-Request-Id:
48
- - 5c69fc71-b769-4fff-8c90-78735b4df6ad
49
- Content-Security-Policy-Report-Only:
50
- - 'default-src ''self''; child-src ''self'' www.googleadservices.com googleads.g.doubleclick.net
51
- www.google.com; connect-src ws: wss: *.intercom.io ws.pusherapp.com hn.inspectlet.com
52
- stats.pusher.com; font-src ''self'' fonts.googleapis.com fonts.gstatic.com
53
- data:; img-src ''self'' https: data:; script-src ''self'' static.intercomcdn.com
54
- cdn.inspectlet.com widget.intercom.io js.intercomcdn.com js.pusher.com stats.pusher.com
55
- zapier.com www.google-analytics.com www.googleadservices.com i.kissmetrics.com
56
- doug1izaerwt3.cloudfront.net app.popupdomination.com cdn.ywxi.net www.draw.io;
57
- style-src ''self'' fonts.googleapis.com; report-uri https://boletosimples.report-uri.io/r/default/csp/reportOnly'
58
- Total:
59
- - '2'
31
+ X-Content-Type-Options:
32
+ - nosniff
60
33
  X-Download-Options:
61
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
+ - '37'
62
49
  Etag:
63
- - W/"047508737376fc72cc83ff5ba90195f0"
50
+ - W/"81e06729cb2b4b4e2edb1b64a44b2de1"
51
+ Cache-Control:
52
+ - must-revalidate, private, max-age=0
53
+ X-Request-Id:
54
+ - 0b746d1f-c1de-4204-bbe8-e58ebd5fa387
64
55
  X-Runtime:
65
- - '0.037184'
66
- X-Frame-Options:
67
- - sameorigin
68
- X-Content-Type-Options:
69
- - nosniff
56
+ - '0.122276'
57
+ Date:
58
+ - Tue, 13 Apr 2021 17:18:58 GMT
70
59
  X-Rack-Cache:
71
60
  - miss
72
- X-Powered-By:
73
- - Phusion Passenger 5.0.30
74
- Server:
75
- - nginx/1.10.1 + Phusion Passenger 5.0.30
61
+ Strict-Transport-Security:
62
+ - max-age=2629746
63
+ Vary:
64
+ - Origin,Accept-Encoding
65
+ Transfer-Encoding:
66
+ - chunked
76
67
  Via:
77
68
  - 1.1 vegur
78
69
  body:
79
70
  encoding: UTF-8
80
- string: '[{"id":3,"amount":1120.4,"cycle":"monthly","next_billing":"2016-09-15","end_at":null,"instructions":null,"customer_id":11,"description":"Hospedagem","created_at":"2016-08-15","updated_at":"2016-08-15","created_via_api":true,"days_in_advance":7,"bank_billet_account_id":12},{"id":4,"amount":1120.4,"cycle":"monthly","next_billing":"2016-09-15","end_at":null,"instructions":null,"customer_id":11,"description":"Hospedagem","created_at":"2016-08-15","updated_at":"2016-08-15","created_via_api":true,"days_in_advance":7,"bank_billet_account_id":12}]'
81
- http_version:
82
- recorded_at: Mon, 15 Aug 2016 19:12:06 GMT
83
- recorded_with: VCR 2.9.3
71
+ string: '[{"id":2640,"amount":1120.4,"cycle":"monthly","next_billing":"2021-05-13","end_at":null,"instructions":null,"customer_id":80703,"customer_person_name":"Joao
72
+ da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua
73
+ quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
74
+ 4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_city_name":"Rio
75
+ 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,"description":"Hospedagem","created_at":"2021-04-13T14:18:56-03:00","updated_at":"2021-04-13T14:18:56-03:00","created_via_api":true,"days_in_advance":7,"bank_billet_account_id":3547,"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,"email":null,"bank_billet_layout_id":null,"bank_billet_ids":[],"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},{"id":2624,"amount":1120.4,"cycle":"monthly","next_billing":"2021-06-09","end_at":null,"instructions":null,"customer_id":80703,"customer_person_name":"Joao
76
+ da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua
77
+ quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
78
+ 4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_city_name":"Rio
79
+ 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,"description":"Hospedagem","created_at":"2021-04-09T10:56:03-03:00","updated_at":"2021-04-09T10:56:07-03:00","created_via_api":true,"days_in_advance":7,"bank_billet_account_id":3547,"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,"email":null,"bank_billet_layout_id":null,"bank_billet_ids":[],"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},{"id":2625,"amount":1120.4,"cycle":"monthly","next_billing":"2021-06-09","end_at":null,"instructions":null,"customer_id":80703,"customer_person_name":"Joao
80
+ da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua
81
+ quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
82
+ 4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_city_name":"Rio
83
+ 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,"description":"Hospedagem","created_at":"2021-04-09T11:17:09-03:00","updated_at":"2021-04-09T11:17:11-03:00","created_via_api":true,"days_in_advance":7,"bank_billet_account_id":3547,"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,"email":null,"bank_billet_layout_id":null,"bank_billet_ids":[],"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},{"id":2623,"amount":1120.4,"cycle":"monthly","next_billing":"2021-06-09","end_at":null,"instructions":null,"customer_id":80703,"customer_person_name":"Joao
84
+ da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua
85
+ quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
86
+ 4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_city_name":"Rio
87
+ 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,"description":"Hospedagem","created_at":"2021-04-09T10:39:17-03:00","updated_at":"2021-04-09T10:39:19-03:00","created_via_api":true,"days_in_advance":7,"bank_billet_account_id":3547,"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,"email":null,"bank_billet_layout_id":null,"bank_billet_ids":[],"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},{"id":2627,"amount":1120.4,"cycle":"monthly","next_billing":"2021-06-12","end_at":null,"instructions":null,"customer_id":80703,"customer_person_name":"Joao
88
+ da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua
89
+ quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
90
+ 4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_city_name":"Rio
91
+ 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,"description":"Hospedagem","created_at":"2021-04-12T11:54:58-03:00","updated_at":"2021-04-12T11:55:01-03:00","created_via_api":true,"days_in_advance":7,"bank_billet_account_id":3547,"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,"email":null,"bank_billet_layout_id":null,"bank_billet_ids":[382119],"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},{"id":2631,"amount":1120.4,"cycle":"monthly","next_billing":"2021-06-13","end_at":null,"instructions":null,"customer_id":80703,"customer_person_name":"Joao
92
+ da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua
93
+ quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
94
+ 4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_city_name":"Rio
95
+ 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,"description":"Hospedagem","created_at":"2021-04-13T10:00:34-03:00","updated_at":"2021-04-13T10:00:36-03:00","created_via_api":true,"days_in_advance":7,"bank_billet_account_id":3547,"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,"email":null,"bank_billet_layout_id":null,"bank_billet_ids":[382282],"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},{"id":2632,"amount":1120.4,"cycle":"monthly","next_billing":"2021-06-13","end_at":null,"instructions":null,"customer_id":80703,"customer_person_name":"Joao
96
+ da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua
97
+ quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
98
+ 4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_city_name":"Rio
99
+ 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,"description":"Hospedagem","created_at":"2021-04-13T10:55:15-03:00","updated_at":"2021-04-13T10:55:16-03:00","created_via_api":true,"days_in_advance":7,"bank_billet_account_id":3547,"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,"email":null,"bank_billet_layout_id":null,"bank_billet_ids":[382303],"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},{"id":2633,"amount":1120.4,"cycle":"monthly","next_billing":"2021-06-13","end_at":null,"instructions":null,"customer_id":80703,"customer_person_name":"Joao
100
+ da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua
101
+ quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
102
+ 4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_city_name":"Rio
103
+ 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,"description":"Hospedagem","created_at":"2021-04-13T11:03:01-03:00","updated_at":"2021-04-13T11:03:02-03:00","created_via_api":true,"days_in_advance":7,"bank_billet_account_id":3547,"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,"email":null,"bank_billet_layout_id":null,"bank_billet_ids":[382309],"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},{"id":2634,"amount":1120.4,"cycle":"monthly","next_billing":"2021-06-13","end_at":null,"instructions":null,"customer_id":80703,"customer_person_name":"Joao
104
+ da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua
105
+ quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
106
+ 4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_city_name":"Rio
107
+ 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,"description":"Hospedagem","created_at":"2021-04-13T11:10:18-03:00","updated_at":"2021-04-13T11:10:23-03:00","created_via_api":true,"days_in_advance":7,"bank_billet_account_id":3547,"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,"email":null,"bank_billet_layout_id":null,"bank_billet_ids":[382314],"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},{"id":2630,"amount":1120.4,"cycle":"monthly","next_billing":"2021-06-13","end_at":null,"instructions":null,"customer_id":80703,"customer_person_name":"Joao
108
+ da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua
109
+ quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
110
+ 4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_city_name":"Rio
111
+ 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,"description":"Hospedagem","created_at":"2021-04-13T09:27:26-03:00","updated_at":"2021-04-13T09:27:28-03:00","created_via_api":true,"days_in_advance":7,"bank_billet_account_id":3547,"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,"email":null,"bank_billet_layout_id":null,"bank_billet_ids":[382264],"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},{"id":2636,"amount":1120.4,"cycle":"monthly","next_billing":"2021-06-13","end_at":null,"instructions":null,"customer_id":80703,"customer_person_name":"Joao
112
+ da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua
113
+ quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
114
+ 4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_city_name":"Rio
115
+ 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,"description":"Hospedagem","created_at":"2021-04-13T11:26:23-03:00","updated_at":"2021-04-13T11:26:24-03:00","created_via_api":true,"days_in_advance":7,"bank_billet_account_id":3547,"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,"email":null,"bank_billet_layout_id":null,"bank_billet_ids":[382324],"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},{"id":2637,"amount":1120.4,"cycle":"monthly","next_billing":"2021-06-13","end_at":null,"instructions":null,"customer_id":80703,"customer_person_name":"Joao
116
+ da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua
117
+ quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
118
+ 4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_city_name":"Rio
119
+ 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,"description":"Hospedagem","created_at":"2021-04-13T11:35:46-03:00","updated_at":"2021-04-13T11:35:49-03:00","created_via_api":true,"days_in_advance":7,"bank_billet_account_id":3547,"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,"email":null,"bank_billet_layout_id":null,"bank_billet_ids":[382333],"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},{"id":2638,"amount":1120.4,"cycle":"monthly","next_billing":"2021-06-13","end_at":null,"instructions":null,"customer_id":80703,"customer_person_name":"Joao
120
+ da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua
121
+ quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
122
+ 4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_city_name":"Rio
123
+ 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,"description":"Hospedagem","created_at":"2021-04-13T11:40:16-03:00","updated_at":"2021-04-13T11:40:18-03:00","created_via_api":true,"days_in_advance":7,"bank_billet_account_id":3547,"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,"email":null,"bank_billet_layout_id":null,"bank_billet_ids":[382345],"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},{"id":2639,"amount":1120.4,"cycle":"monthly","next_billing":"2021-06-13","end_at":null,"instructions":null,"customer_id":80703,"customer_person_name":"Joao
124
+ da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua
125
+ quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
126
+ 4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_city_name":"Rio
127
+ 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,"description":"Hospedagem","created_at":"2021-04-13T11:44:24-03:00","updated_at":"2021-04-13T11:44:32-03:00","created_via_api":true,"days_in_advance":7,"bank_billet_account_id":3547,"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,"email":null,"bank_billet_layout_id":null,"bank_billet_ids":[382350],"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},{"id":2635,"amount":1120.4,"cycle":"monthly","next_billing":"2021-06-13","end_at":null,"instructions":null,"customer_id":80703,"customer_person_name":"Joao
128
+ da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua
129
+ quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
130
+ 4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_city_name":"Rio
131
+ 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,"description":"Hospedagem","created_at":"2021-04-13T11:22:24-03:00","updated_at":"2021-04-13T11:22:31-03:00","created_via_api":true,"days_in_advance":7,"bank_billet_account_id":3547,"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,"email":null,"bank_billet_layout_id":null,"bank_billet_ids":[382322],"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}]'
132
+ recorded_at: Tue, 13 Apr 2021 17:18:58 GMT
133
+ recorded_with: VCR 6.0.0