boletosimples 0.6.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +16 -12
  3. data/README.md +21 -59
  4. data/lib/boletosimples/configuration.rb +25 -28
  5. data/lib/boletosimples/last_request.rb +17 -10
  6. data/lib/boletosimples/middlewares/bearer.rb +12 -0
  7. data/lib/boletosimples/middlewares/custom_headers.rb +12 -0
  8. data/lib/boletosimples/middlewares/debug.rb +30 -0
  9. data/lib/boletosimples/middlewares/last_request.rb +3 -1
  10. data/lib/boletosimples/middlewares/raise_error.rb +9 -2
  11. data/lib/boletosimples/middlewares/user_agent.rb +3 -1
  12. data/lib/boletosimples/resources/bank_billet.rb +5 -11
  13. data/lib/boletosimples/resources/bank_billet_account.rb +3 -1
  14. data/lib/boletosimples/resources/bank_billet_discharge.rb +3 -1
  15. data/lib/boletosimples/resources/bank_billet_payment.rb +3 -1
  16. data/lib/boletosimples/resources/bank_billet_remittance.rb +3 -1
  17. data/lib/boletosimples/resources/base_model.rb +3 -1
  18. data/lib/boletosimples/resources/customer.rb +3 -1
  19. data/lib/boletosimples/resources/customer_import.rb +5 -3
  20. data/lib/boletosimples/resources/customer_subscription.rb +3 -10
  21. data/lib/boletosimples/resources/customer_subscription_import.rb +5 -3
  22. data/lib/boletosimples/resources/discharge.rb +4 -11
  23. data/lib/boletosimples/resources/email_delivery.rb +3 -1
  24. data/lib/boletosimples/resources/event.rb +3 -1
  25. data/lib/boletosimples/resources/installment.rb +3 -1
  26. data/lib/boletosimples/resources/remittance.rb +3 -1
  27. data/lib/boletosimples/resources/sms_delivery.rb +6 -0
  28. data/lib/boletosimples/resources/transaction.rb +3 -1
  29. data/lib/boletosimples/resources/webhook.rb +3 -1
  30. data/lib/boletosimples/resources/webhook_delivery.rb +3 -1
  31. data/lib/boletosimples/response_error.rb +10 -5
  32. data/lib/boletosimples/version.rb +3 -1
  33. data/lib/boletosimples.rb +6 -6
  34. data/spec/boletosimples/configuration_spec.rb +67 -80
  35. data/spec/boletosimples/last_request_spec.rb +17 -28
  36. data/spec/boletosimples/middlewares/custom_headers_spec.rb +26 -0
  37. data/spec/boletosimples/resources/bank_billet_account_spec.rb +57 -33
  38. data/spec/boletosimples/resources/bank_billet_discharge_spec.rb +7 -12
  39. data/spec/boletosimples/resources/bank_billet_payment_spec.rb +7 -12
  40. data/spec/boletosimples/resources/bank_billet_remittance_spec.rb +7 -12
  41. data/spec/boletosimples/resources/bank_billet_spec.rb +56 -42
  42. data/spec/boletosimples/resources/customer_import_spec.rb +41 -30
  43. data/spec/boletosimples/resources/customer_spec.rb +57 -39
  44. data/spec/boletosimples/resources/customer_subscription_import_spec.rb +41 -30
  45. data/spec/boletosimples/resources/customer_subscription_spec.rb +61 -33
  46. data/spec/boletosimples/resources/discharge_spec.rb +64 -11
  47. data/spec/boletosimples/resources/email_delivery_spec.rb +6 -11
  48. data/spec/boletosimples/resources/event_spec.rb +7 -12
  49. data/spec/boletosimples/resources/installment_spec.rb +61 -32
  50. data/spec/boletosimples/resources/remittance_spec.rb +7 -12
  51. data/spec/boletosimples/resources/sms_delivery_spec.rb +12 -0
  52. data/spec/boletosimples/resources/transactions_spec.rb +7 -12
  53. data/spec/boletosimples/resources/webhook_delivery_spec.rb +7 -12
  54. data/spec/boletosimples/resources/webhook_spec.rb +7 -12
  55. data/spec/fixtures/discharge.RET +3 -0
  56. data/spec/fixtures/vcr_cassettes/custom_headers.yml +113 -0
  57. data/spec/fixtures/vcr_cassettes/last_request/bank_billets.yml +409 -95
  58. data/spec/fixtures/vcr_cassettes/resources/bank_billet/all.yml +101 -99
  59. data/spec/fixtures/vcr_cassettes/resources/bank_billet/cancel/success.yml +55 -95
  60. data/spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_params.yml +55 -27
  61. data/spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_root.yml +51 -24
  62. data/spec/fixtures/vcr_cassettes/resources/bank_billet/create/valid.yml +64 -34
  63. data/spec/fixtures/vcr_cassettes/resources/bank_billet/duplicate/success.yml +97 -0
  64. data/spec/fixtures/vcr_cassettes/resources/bank_billet/find.yml +73 -34
  65. data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/all.yml +82 -27
  66. data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/create/invalid_params.yml +57 -27
  67. data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/create/invalid_root.yml +53 -26
  68. data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/create/valid.yml +64 -28
  69. data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/find.yml +61 -25
  70. data/spec/fixtures/vcr_cassettes/resources/bank_billet_discharge/all.yml +59 -46
  71. data/spec/fixtures/vcr_cassettes/resources/bank_billet_payment/all.yml +74 -71
  72. data/spec/fixtures/vcr_cassettes/resources/bank_billet_remittance/all.yml +63 -47
  73. data/spec/fixtures/vcr_cassettes/resources/customer/all.yml +141 -39
  74. data/spec/fixtures/vcr_cassettes/resources/customer/create/invalid_params.yml +54 -25
  75. data/spec/fixtures/vcr_cassettes/resources/customer/create/invalid_root.yml +54 -24
  76. data/spec/fixtures/vcr_cassettes/resources/customer/create/valid.yml +56 -28
  77. data/spec/fixtures/vcr_cassettes/resources/customer/find.yml +56 -26
  78. data/spec/fixtures/vcr_cassettes/resources/customer_import/all.yml +58 -59
  79. data/spec/fixtures/vcr_cassettes/resources/customer_import/create/invalid_params.yml +53 -51
  80. data/spec/fixtures/vcr_cassettes/resources/customer_import/create/invalid_root.yml +54 -52
  81. data/spec/fixtures/vcr_cassettes/resources/customer_import/create/valid.yml +58 -67
  82. data/spec/fixtures/vcr_cassettes/resources/customer_import/find.yml +55 -53
  83. data/spec/fixtures/vcr_cassettes/resources/customer_subscription/all.yml +65 -51
  84. data/spec/fixtures/vcr_cassettes/resources/customer_subscription/create/invalid_params.yml +56 -50
  85. data/spec/fixtures/vcr_cassettes/resources/customer_subscription/create/invalid_root.yml +52 -48
  86. data/spec/fixtures/vcr_cassettes/resources/customer_subscription/create/valid.yml +63 -52
  87. data/spec/fixtures/vcr_cassettes/resources/customer_subscription/find.yml +61 -51
  88. data/spec/fixtures/vcr_cassettes/resources/customer_subscription/next_charge.yml +60 -132
  89. data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/all.yml +58 -54
  90. data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/create/invalid_params.yml +53 -52
  91. data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/create/invalid_root.yml +55 -53
  92. data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/create/valid.yml +58 -69
  93. data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/find.yml +55 -54
  94. data/spec/fixtures/vcr_cassettes/resources/discharge/all.yml +63 -34
  95. data/spec/fixtures/vcr_cassettes/resources/discharge/create/invalid_params.yml +86 -0
  96. data/spec/fixtures/vcr_cassettes/resources/discharge/create/invalid_root.yml +85 -0
  97. data/spec/fixtures/vcr_cassettes/resources/discharge/create/valid.yml +100 -0
  98. data/spec/fixtures/vcr_cassettes/resources/discharge/find.yml +89 -0
  99. data/spec/fixtures/vcr_cassettes/resources/email_delivery/all.yml +40 -43
  100. data/spec/fixtures/vcr_cassettes/resources/event/all.yml +326 -167
  101. data/spec/fixtures/vcr_cassettes/resources/installment/all.yml +113 -51
  102. data/spec/fixtures/vcr_cassettes/resources/installment/create/invalid_params.yml +57 -52
  103. data/spec/fixtures/vcr_cassettes/resources/installment/create/invalid_root.yml +52 -48
  104. data/spec/fixtures/vcr_cassettes/resources/installment/create/valid.yml +63 -52
  105. data/spec/fixtures/vcr_cassettes/resources/installment/find.yml +83 -51
  106. data/spec/fixtures/vcr_cassettes/resources/remittance/all.yml +83 -62
  107. data/spec/fixtures/vcr_cassettes/resources/sns_delivery/all.yml +89 -0
  108. data/spec/fixtures/vcr_cassettes/resources/transaction/all.yml +73 -60
  109. data/spec/fixtures/vcr_cassettes/resources/web_hook/all.yml +59 -34
  110. data/spec/fixtures/vcr_cassettes/resources/webhook_delivery/all.yml +2684 -55
  111. data/spec/spec_helper.rb +3 -20
  112. data/spec/support/stub_env.rb +7 -0
  113. data/spec/support/vcr.rb +3 -4
  114. metadata +42 -176
  115. data/.coveralls.yml +0 -2
  116. data/.gitignore +0 -19
  117. data/.ruby-version +0 -1
  118. data/.travis.yml +0 -46
  119. data/Gemfile +0 -4
  120. data/Rakefile +0 -14
  121. data/boletosimples.gemspec +0 -38
  122. data/gemfiles/rails_42.gemfile +0 -8
  123. data/gemfiles/rails_50.gemfile +0 -8
  124. data/gemfiles/rails_51.gemfile +0 -8
  125. data/gemfiles/rails_52.gemfile +0 -9
  126. data/lib/boletosimples/extra.rb +0 -8
  127. data/lib/boletosimples/resources/partner/user.rb +0 -7
  128. data/lib/oauth2_patch.rb +0 -24
  129. data/spec/boletosimples/extra_spec.rb +0 -31
  130. data/spec/boletosimples/resources/partner/user_spec.rb +0 -19
  131. data/spec/fixtures/vcr_cassettes/configuration/client_credentials/invalid.yml +0 -64
  132. data/spec/fixtures/vcr_cassettes/configuration/client_credentials/valid.yml +0 -56
  133. data/spec/fixtures/vcr_cassettes/extra/userinfo/authenticated.yml +0 -58
  134. data/spec/fixtures/vcr_cassettes/extra/userinfo/not_authenticated.yml +0 -54
  135. data/spec/fixtures/vcr_cassettes/last_request/userinfo.yml +0 -58
  136. data/spec/fixtures/vcr_cassettes/resources/bank_billet/cancel/failure.yml +0 -118
  137. data/spec/fixtures/vcr_cassettes/resources/partner/user/create.yml +0 -60
  138. data/spec/spec.opts +0 -8
@@ -2,60 +2,88 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://sandbox.boletosimples.com.br/api/v1/bank_billets?access_token=BOLETOSIMPLES_ACCESS_TOKEN
5
+ uri: https://api-sandbox.kobana.com.br/v1/bank_billets
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{"bank_billet":{"amount":9.1}}'
9
9
  headers:
10
10
  User-Agent:
11
- - BoletoSimples Ruby Client v0.1.0 (contato@boletosimples.com.br)
11
+ - email@minhaempresa.com.br
12
12
  Authorization:
13
- - Token token="BOLETOSIMPLES_ACCESS_TOKEN"
13
+ - Bearer BOLETOSIMPLES_API_TOKEN
14
14
  Content-Type:
15
15
  - application/json
16
+ Accept:
17
+ - application/json
16
18
  Accept-Encoding:
17
19
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
- Accept:
19
- - "*/*"
20
20
  response:
21
21
  status:
22
22
  code: 422
23
23
  message: Unprocessable Entity
24
24
  headers:
25
- Server:
26
- - Cowboy
27
- Connection:
28
- - keep-alive
29
- Strict-Transport-Security:
30
- - max-age=2592000
31
25
  Content-Type:
32
26
  - application/json; charset=utf-8
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Connection:
30
+ - keep-alive
31
+ Server:
32
+ - Cowboy
33
+ X-Frame-Options:
34
+ - DENY
35
+ X-Xss-Protection:
36
+ - 1; mode=block
37
+ X-Content-Type-Options:
38
+ - nosniff
39
+ X-Download-Options:
40
+ - noopen
41
+ X-Permitted-Cross-Domain-Policies:
42
+ - none
43
+ Referrer-Policy:
44
+ - strict-origin-when-cross-origin
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
33
53
  X-Ratelimit-Limit:
34
- - '500'
54
+ - '18000'
35
55
  X-Ratelimit-Remaining:
36
- - '464'
56
+ - '17969'
37
57
  Cache-Control:
38
58
  - no-cache
39
59
  X-Request-Id:
40
- - 06416084-e98b-4810-b538-e23526138773
60
+ - 5019b0f5-6976-4b76-8d8a-b109d99bdfae
41
61
  X-Runtime:
42
- - '0.122267'
62
+ - '0.029409'
43
63
  Date:
44
- - Sun, 08 Mar 2015 19:55:34 GMT
64
+ - Tue, 22 Feb 2022 17:30:27 GMT
45
65
  X-Rack-Cache:
46
66
  - invalidate, pass
67
+ Strict-Transport-Security:
68
+ - max-age=31556952; includeSubDomains; preload
47
69
  Vary:
48
- - Accept-Encoding
49
- Transfer-Encoding:
50
- - chunked
70
+ - Origin,Accept-Encoding
71
+ X-Rack-Cors:
72
+ - miss; no-origin
51
73
  Via:
52
- - 1.1 vegur
74
+ - 1.1 vegur, 1.1 bc5ca942c588917a31bb32f85c8bfee4.cloudfront.net (CloudFront)
75
+ X-Cache:
76
+ - Error from cloudfront
77
+ X-Amz-Cf-Pop:
78
+ - MIA3-C1
79
+ X-Amz-Cf-Id:
80
+ - 88rp4v0AVhnJ-nSp1HLDPK2eAC2LOMP0QCzovmDYEa5oZTorxkC-1Q==
53
81
  body:
54
82
  encoding: UTF-8
55
- string: '{"errors":{"expire_at":["não pode ficar em branco","não é uma data
56
- válida"],"customer_person_name":["não pode ficar em branco"],"customer_cnpj_cpf":["não
57
- pode ficar em branco"],"description":["não pode ficar em branco"],"customer_zipcode":["não
58
- pode ficar em branco"]}}'
59
- http_version:
60
- recorded_at: Sun, 08 Mar 2015 19:55:34 GMT
61
- recorded_with: VCR 2.9.3
83
+ string: '{"errors":{"customer_person_name":["não pode ficar em branco"],"customer_cnpj_cpf":["não
84
+ é um CNPJ ou CPF válido"],"customer_zipcode":["não pode ficar em branco"],"expire_at":["não
85
+ pode ficar em branco","não é uma data válida"],"customer_address":["não pode
86
+ ficar em branco"],"customer_neighborhood":["não pode ficar em branco"],"customer_city_name":["não
87
+ pode ficar em branco"],"customer_state":["não está incluído na lista"]}}'
88
+ recorded_at: Tue, 22 Feb 2022 17:30:27 GMT
89
+ recorded_with: VCR 6.0.0
@@ -2,57 +2,84 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://sandbox.boletosimples.com.br/api/v1/bank_billets?access_token=BOLETOSIMPLES_ACCESS_TOKEN
5
+ uri: https://api-sandbox.kobana.com.br/v1/bank_billets
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{"bank_billet":{}}'
9
9
  headers:
10
10
  User-Agent:
11
- - BoletoSimples Ruby Client v0.1.0 (contato@boletosimples.com.br)
11
+ - email@minhaempresa.com.br
12
12
  Authorization:
13
- - Token token="BOLETOSIMPLES_ACCESS_TOKEN"
13
+ - Bearer BOLETOSIMPLES_API_TOKEN
14
14
  Content-Type:
15
15
  - application/json
16
+ Accept:
17
+ - application/json
16
18
  Accept-Encoding:
17
19
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
- Accept:
19
- - "*/*"
20
20
  response:
21
21
  status:
22
22
  code: 422
23
23
  message: Unprocessable Entity
24
24
  headers:
25
- Server:
26
- - Cowboy
27
- Connection:
28
- - keep-alive
29
- Strict-Transport-Security:
30
- - max-age=2592000
31
25
  Content-Type:
32
26
  - application/json; charset=utf-8
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Connection:
30
+ - keep-alive
31
+ Server:
32
+ - Cowboy
33
+ X-Frame-Options:
34
+ - DENY
35
+ X-Xss-Protection:
36
+ - 1; mode=block
37
+ X-Content-Type-Options:
38
+ - nosniff
39
+ X-Download-Options:
40
+ - noopen
41
+ X-Permitted-Cross-Domain-Policies:
42
+ - none
43
+ Referrer-Policy:
44
+ - strict-origin-when-cross-origin
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
33
53
  X-Ratelimit-Limit:
34
- - '500'
54
+ - '18000'
35
55
  X-Ratelimit-Remaining:
36
- - '465'
56
+ - '17970'
37
57
  Cache-Control:
38
58
  - no-cache
39
59
  X-Request-Id:
40
- - 9960d0bb-e798-4a31-801c-eddbd2cd3afc
60
+ - eb3f1717-44fa-4d83-b3b3-61fff861fb4b
41
61
  X-Runtime:
42
- - '0.058479'
62
+ - '0.019192'
43
63
  Date:
44
- - Sun, 08 Mar 2015 19:55:33 GMT
64
+ - Tue, 22 Feb 2022 17:30:27 GMT
45
65
  X-Rack-Cache:
46
66
  - invalidate, pass
67
+ Strict-Transport-Security:
68
+ - max-age=31556952; includeSubDomains; preload
47
69
  Vary:
48
- - Accept-Encoding
49
- Transfer-Encoding:
50
- - chunked
70
+ - Origin,Accept-Encoding
71
+ X-Rack-Cors:
72
+ - miss; no-origin
51
73
  Via:
52
- - 1.1 vegur
74
+ - 1.1 vegur, 1.1 ea905bc41494afa044dd561d2410d0a0.cloudfront.net (CloudFront)
75
+ X-Cache:
76
+ - Error from cloudfront
77
+ X-Amz-Cf-Pop:
78
+ - MIA3-C1
79
+ X-Amz-Cf-Id:
80
+ - WhAWiNXtLNKa4ZwUXVQ5LoyfCiajOC7-5aFWYuFLFr1esTWLvBQO5w==
53
81
  body:
54
82
  encoding: UTF-8
55
- string: '{"errors":{"bank_billet":["não pode ficar em branco"]}}'
56
- http_version:
57
- recorded_at: Sun, 08 Mar 2015 19:55:33 GMT
58
- recorded_with: VCR 2.9.3
83
+ string: '{"errors":[{"title":"bank_billet não pode ficar em branco","status":422,"code":422}]}'
84
+ recorded_at: Tue, 22 Feb 2022 17:30:27 GMT
85
+ recorded_with: VCR 6.0.0
@@ -2,69 +2,99 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://sandbox.boletosimples.com.br/api/v1/bank_billets?access_token=BOLETOSIMPLES_ACCESS_TOKEN
5
+ uri: https://api-sandbox.kobana.com.br/v1/bank_billets
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"bank_billet":{"amount":9.01,"description":"Despesas do contrato 0012","expire_at":"2014-01-01","customer_address":"Rua
8
+ string: '{"bank_billet":{"amount":9.01,"description":"Despesas do contrato 0012","expire_at":"2024-01-01","customer_address":"Rua
9
9
  quinhentos","customer_address_complement":"Sala 4","customer_address_number":"111","customer_city_name":"Rio
10
- de Janeiro","customer_cnpj_cpf":"012.345.678-90","customer_email":"cliente@example.com","customer_neighborhood":"Sao
11
- Francisco","customer_person_name":"Joao da Silva","customer_person_type":"individual","customer_phone_number":"2112123434","customer_state":"RJ","customer_zipcode":"12312-123","notification_url":"http://example.com.br/notify"}}'
10
+ de Janeiro","customer_cnpj_cpf":"34.565.715/0001-03","customer_email":"cliente@example.com","customer_neighborhood":"Sao
11
+ Francisco","customer_person_name":"Joao da Silva","customer_person_type":"individual","customer_phone_number":"2112123434","customer_state":"RJ","customer_zipcode":"12312-123"}}'
12
12
  headers:
13
13
  User-Agent:
14
- - BoletoSimples Ruby Client v0.1.0 (contato@boletosimples.com.br)
14
+ - email@minhaempresa.com.br
15
15
  Authorization:
16
- - Token token="BOLETOSIMPLES_ACCESS_TOKEN"
16
+ - Bearer BOLETOSIMPLES_API_TOKEN
17
17
  Content-Type:
18
18
  - application/json
19
+ Accept:
20
+ - application/json
19
21
  Accept-Encoding:
20
22
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
21
- Accept:
22
- - "*/*"
23
23
  response:
24
24
  status:
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
32
- Strict-Transport-Security:
33
- - max-age=2592000
34
+ Server:
35
+ - Cowboy
36
+ X-Frame-Options:
37
+ - DENY
38
+ X-Xss-Protection:
39
+ - 1; mode=block
40
+ X-Content-Type-Options:
41
+ - nosniff
42
+ X-Download-Options:
43
+ - noopen
44
+ X-Permitted-Cross-Domain-Policies:
45
+ - none
46
+ Referrer-Policy:
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
34
56
  Location:
35
- - https://sandbox.boletosimples.com.br/api/v1/bank_billets/851
36
- Content-Type:
37
- - application/json; charset=utf-8
57
+ - https://api-sandbox.kobana.com.br/api/v1/bank_billets/472529
38
58
  X-Ratelimit-Limit:
39
- - '500'
59
+ - '18000'
40
60
  X-Ratelimit-Remaining:
41
- - '466'
61
+ - '17972'
42
62
  Etag:
43
- - W/"041ade0c7ea0750fb941604dfe6bf868"
63
+ - W/"1ef3d7869d8bf0227b135e317932e97a"
44
64
  Cache-Control:
45
65
  - max-age=0, private, must-revalidate
46
66
  X-Request-Id:
47
- - 5af00da9-557a-4907-a3fb-f1ed7a5b970e
67
+ - 399e78bb-9af5-42af-802e-49340b7af8de
48
68
  X-Runtime:
49
- - '0.225879'
69
+ - '0.070999'
50
70
  Date:
51
- - Sun, 08 Mar 2015 19:55:32 GMT
71
+ - Tue, 22 Feb 2022 17:30:25 GMT
52
72
  X-Rack-Cache:
53
73
  - invalidate, pass
74
+ Strict-Transport-Security:
75
+ - max-age=31556952; includeSubDomains; preload
54
76
  Vary:
55
- - Accept-Encoding
56
- Transfer-Encoding:
57
- - chunked
77
+ - Origin,Accept-Encoding
78
+ X-Rack-Cors:
79
+ - miss; no-origin
58
80
  Via:
59
- - 1.1 vegur
81
+ - 1.1 vegur, 1.1 ef571e66c5038660a5b767dcaa4205a4.cloudfront.net (CloudFront)
82
+ X-Cache:
83
+ - Miss from cloudfront
84
+ X-Amz-Cf-Pop:
85
+ - MIA3-C1
86
+ X-Amz-Cf-Id:
87
+ - Qshb_PmQvg8_CR5ZW30mSu01cq7ANJdfKw5fTuE-pSXZtj_n3buzKQ==
60
88
  body:
61
89
  encoding: UTF-8
62
- string: '{"id":851,"expire_at":"2014-01-01","paid_at":null,"description":"Despesas
63
- do contrato 0012","status":"generating","shorten_url":null,"customer_person_type":"individual","customer_person_name":"Joao
64
- da Silva","customer_cnpj_cpf":"012.345.678-90","customer_address":"Rua quinhentos","customer_state":"RJ","customer_neighborhood":"Sao
65
- Francisco","customer_zipcode":"12312-123","customer_address_number":"111","customer_address_complement":"Sala
66
- 4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","notification_url":"http://example.com.br/notify","send_email_on_creation":null,"created_via_api":true,"customer_city_name":"Rio
67
- de Janeiro","paid_amount":0.0,"amount":9.01}'
68
- http_version:
69
- recorded_at: Sun, 08 Mar 2015 19:55:32 GMT
70
- recorded_with: VCR 2.9.3
90
+ string: '{"id":472529,"expire_at":"2024-01-02","paid_at":null,"description":"Despesas
91
+ do contrato 0012","status":"generating","customer_person_name":"Joao da Silva","customer_cnpj_cpf":"34.565.715/0001-03","customer_address":"Rua
92
+ quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
93
+ 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":true,"customer_city_name":"Rio
94
+ de Janeiro","paid_amount":0.0,"amount":9.01,"url":"https://sandbox.bole.to/3/lodlme","formats":{"default":"https://sandbox.bole.to/3/lodlme","png":"https://sandbox.bole.to/3/lodlme.png","pdf":"https://sandbox.bole.to/3/lodlme.pdf","boleto_hibrido":"https://sandbox.bole.to/3/lodlme/boleto_hibrido","boleto_pix":"https://sandbox.bole.to/3/lodlme/boleto_pix","barcode":"https://sandbox.bole.to/3/lodlme/barcode","envelope":"https://sandbox.bole.to/3/lodlme/envelope","letter":"https://sandbox.bole.to/3/lodlme/letter","line":"https://sandbox.bole.to/3/lodlme/line","recibo":"https://sandbox.bole.to/3/lodlme/recibo"},"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
95
+ Pereira Barbosa","beneficiary_cnpj_cpf":"000.233.771-19","beneficiary_address":"Rua
96
+ Quatro, 9, 78058-330","beneficiary_assignor_code":"0001/123322-0","guarantor_name":null,"guarantor_cnpj_cpf":null,"payment_place":"Pagável
97
+ em qualquer banco até a data de vencimento.","instructions":null,"document_date":null,"document_type":"02","document_number":null,"acceptance":"N","processed_our_number":"14000000000000085-5","processed_our_number_raw":"140000000000000855","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
98
+ 20000.100048 00000.008581 1 95830000000901","our_number":"000000000000085","customer_subscription_id":null,"installment_total":null,"installment_number":null,"installment_id":null,"carne_url":null,"bank_billet_layout_id":null,"created_at":"2022-02-22T14:30:25-03:00","updated_at":"2022-02-22T14:30:25-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":"10491958300000009011233220000100040000000858","registered_at":null,"prevent_registration":false,"customer_id":null,"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:25-03:00","shorten_url":"https://sandbox.bole.to/3/lodlme","pix_enabled":false,"pix_qrcode":null,"password_protected_mode":null,"revoked_at":null,"bank_billet_discharges":[],"bank_billet_remittances":[],"bank_billet_payments":[],"bank_billet_registrations":[],"bank_billet_split_accounts":[],"pix":[]}'
99
+ recorded_at: Tue, 22 Feb 2022 17:30:25 GMT
100
+ recorded_with: VCR 6.0.0
@@ -0,0 +1,97 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api-sandbox.kobana.com.br/v1/bank_billets/472529/duplicate
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"bank_billet":{"id":472529}}'
9
+ headers:
10
+ User-Agent:
11
+ - email@minhaempresa.com.br
12
+ Authorization:
13
+ - Bearer BOLETOSIMPLES_API_TOKEN
14
+ Content-Type:
15
+ - application/json
16
+ Accept:
17
+ - application/json
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ response:
21
+ status:
22
+ code: 201
23
+ message: Created
24
+ headers:
25
+ Content-Type:
26
+ - application/json; charset=utf-8
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Connection:
30
+ - keep-alive
31
+ Server:
32
+ - Cowboy
33
+ X-Frame-Options:
34
+ - DENY
35
+ X-Xss-Protection:
36
+ - 1; mode=block
37
+ X-Content-Type-Options:
38
+ - nosniff
39
+ X-Download-Options:
40
+ - noopen
41
+ X-Permitted-Cross-Domain-Policies:
42
+ - none
43
+ Referrer-Policy:
44
+ - strict-origin-when-cross-origin
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
53
+ Location:
54
+ - https://api-sandbox.kobana.com.br/api/v1/bank_billets/472530
55
+ X-Ratelimit-Limit:
56
+ - '18000'
57
+ X-Ratelimit-Remaining:
58
+ - '17968'
59
+ Etag:
60
+ - W/"ccda87b3da5ffbd4da9c0fd62a429483"
61
+ Cache-Control:
62
+ - max-age=0, private, must-revalidate
63
+ X-Request-Id:
64
+ - de1988c5-dd7f-48e3-8bc7-364105ab6e15
65
+ X-Runtime:
66
+ - '0.087328'
67
+ Date:
68
+ - Tue, 22 Feb 2022 17:30:28 GMT
69
+ X-Rack-Cache:
70
+ - invalidate, pass
71
+ Strict-Transport-Security:
72
+ - max-age=31556952; includeSubDomains; preload
73
+ Vary:
74
+ - Origin,Accept-Encoding
75
+ X-Rack-Cors:
76
+ - miss; no-origin
77
+ Via:
78
+ - 1.1 vegur, 1.1 0cf45531e6680fc654de9fce5ded19c6.cloudfront.net (CloudFront)
79
+ X-Cache:
80
+ - Miss from cloudfront
81
+ X-Amz-Cf-Pop:
82
+ - MIA3-C1
83
+ X-Amz-Cf-Id:
84
+ - NL5AcloK9zDo0Ym7g_YyX5_L3DkC2SAibC4tnafoDL7O9D9Me8sd6w==
85
+ body:
86
+ encoding: UTF-8
87
+ string: '{"id":472530,"expire_at":"2022-03-01","paid_at":null,"description":"Despesas
88
+ do contrato 0012","status":"generating","customer_person_name":"Joao da Silva","customer_cnpj_cpf":"34.565.715/0001-03","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_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
91
+ de Janeiro","paid_amount":0.0,"amount":9.01,"url":"https://sandbox.bole.to/3/jnbrqy","formats":{"default":"https://sandbox.bole.to/3/jnbrqy","png":"https://sandbox.bole.to/3/jnbrqy.png","pdf":"https://sandbox.bole.to/3/jnbrqy.pdf","boleto_hibrido":"https://sandbox.bole.to/3/jnbrqy/boleto_hibrido","boleto_pix":"https://sandbox.bole.to/3/jnbrqy/boleto_pix","barcode":"https://sandbox.bole.to/3/jnbrqy/barcode","envelope":"https://sandbox.bole.to/3/jnbrqy/envelope","letter":"https://sandbox.bole.to/3/jnbrqy/letter","line":"https://sandbox.bole.to/3/jnbrqy/line","recibo":"https://sandbox.bole.to/3/jnbrqy/recibo"},"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
92
+ Pereira Barbosa","beneficiary_cnpj_cpf":"000.233.771-19","beneficiary_address":"Rua
93
+ Quatro, 9, 78058-330","beneficiary_assignor_code":"0001/123322-0","guarantor_name":null,"guarantor_cnpj_cpf":null,"payment_place":"Pagável
94
+ em qualquer banco até a data de vencimento.","instructions":null,"document_date":null,"document_type":"02","document_number":null,"acceptance":"N","processed_our_number":"14000000000000086-3","processed_our_number_raw":"140000000000000863","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
95
+ 20000.100048 00000.008664 1 89110000000901","our_number":"000000000000086","customer_subscription_id":null,"installment_total":null,"installment_number":null,"installment_id":null,"carne_url":null,"bank_billet_layout_id":null,"created_at":"2022-02-22T14:30:28-03:00","updated_at":"2022-02-22T14:30:28-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":"10491891100000009011233220000100040000000866","registered_at":null,"prevent_registration":false,"customer_id":93341,"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:28-03:00","shorten_url":"https://sandbox.bole.to/3/jnbrqy","pix_enabled":false,"pix_qrcode":null,"password_protected_mode":null,"revoked_at":null,"bank_billet_discharges":[],"bank_billet_remittances":[],"bank_billet_payments":[],"bank_billet_registrations":[],"bank_billet_split_accounts":[],"pix":[]}'
96
+ recorded_at: Tue, 22 Feb 2022 17:30:28 GMT
97
+ recorded_with: VCR 6.0.0
@@ -2,62 +2,101 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://sandbox.boletosimples.com.br/api/v1/bank_billets/851?access_token=BOLETOSIMPLES_ACCESS_TOKEN
5
+ uri: https://api-sandbox.kobana.com.br/v1/bank_billets/472529
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - BoletoSimples Ruby Client v0.1.0 (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
25
- Connection:
26
- - keep-alive
27
- Strict-Transport-Security:
28
- - max-age=2592000
29
23
  Content-Type:
30
24
  - application/json; charset=utf-8
31
- X-Ratelimit-Limit:
32
- - '500'
33
- X-Ratelimit-Remaining:
34
- - '460'
25
+ Transfer-Encoding:
26
+ - chunked
27
+ Connection:
28
+ - keep-alive
29
+ Server:
30
+ - Cowboy
31
+ X-Frame-Options:
32
+ - DENY
33
+ X-Xss-Protection:
34
+ - 1; mode=block
35
+ X-Content-Type-Options:
36
+ - nosniff
37
+ X-Download-Options:
38
+ - noopen
39
+ X-Permitted-Cross-Domain-Policies:
40
+ - none
41
+ Referrer-Policy:
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
35
51
  Etag:
36
- - W/"d7665b0a15eb03d124030c5f13771e4a"
52
+ - W/"fe601612fe0752af4787f352b3382482"
53
+ Last-Modified:
54
+ - Tue, 22 Feb 2022 17:30:25 GMT
55
+ Location:
56
+ - https://api-sandbox.kobana.com.br/api/v1/bank_billets/472529
37
57
  Cache-Control:
38
- - must-revalidate, private, max-age=0
58
+ - public
59
+ X-Ratelimit-Limit:
60
+ - '100'
61
+ X-Ratelimit-Remaining:
62
+ - '72'
39
63
  X-Request-Id:
40
- - ce28ce2c-bd0e-47eb-bb95-f7cfb764c024
64
+ - 18131795-ba21-4b60-ae3b-c100cd104b79
41
65
  X-Runtime:
42
- - '0.049211'
66
+ - '0.042076'
43
67
  Date:
44
- - Sun, 08 Mar 2015 19:55:39 GMT
68
+ - Tue, 22 Feb 2022 17:30:26 GMT
69
+ X-Content-Digest:
70
+ - 4930eeebda8bc6746004292a08dd061106309208
45
71
  X-Rack-Cache:
46
- - miss
72
+ - miss, store
73
+ Strict-Transport-Security:
74
+ - max-age=31556952; includeSubDomains; preload
47
75
  Vary:
48
- - Accept-Encoding
49
- Transfer-Encoding:
50
- - chunked
76
+ - Origin,Accept-Encoding
77
+ X-Rack-Cors:
78
+ - miss; no-origin
51
79
  Via:
52
- - 1.1 vegur
80
+ - 1.1 vegur, 1.1 ef571e66c5038660a5b767dcaa4205a4.cloudfront.net (CloudFront)
81
+ X-Cache:
82
+ - Miss from cloudfront
83
+ X-Amz-Cf-Pop:
84
+ - MIA3-C1
85
+ X-Amz-Cf-Id:
86
+ - MpOUrpfbIe6wke9Va6FEgJ2TnUcYb4ui3QP71GbDhZ-FZpekrUPvQg==
87
+ Age:
88
+ - '0'
53
89
  body:
54
90
  encoding: UTF-8
55
- string: '{"id":851,"expire_at":"2014-01-01","paid_at":null,"description":"Despesas
56
- do contrato 0012","status":"canceled","shorten_url":"http://staging.bole.to/nirjavew","customer_person_type":"individual","customer_person_name":"Joao
57
- da Silva","customer_cnpj_cpf":"012.345.678-90","customer_address":"Rua quinhentos","customer_state":"RJ","customer_neighborhood":"Sao
58
- Francisco","customer_zipcode":"12312-123","customer_address_number":"111","customer_address_complement":"Sala
59
- 4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","notification_url":"http://example.com.br/notify","send_email_on_creation":null,"created_via_api":true,"customer_city_name":"Rio
60
- de Janeiro","paid_amount":0.0,"amount":9.01}'
61
- http_version:
62
- recorded_at: Sun, 08 Mar 2015 19:55:38 GMT
63
- recorded_with: VCR 2.9.3
91
+ string: '{"id":472529,"expire_at":"2024-01-02","paid_at":null,"description":"Despesas
92
+ do contrato 0012","status":"opened","customer_person_name":"Joao da Silva","customer_cnpj_cpf":"34.565.715/0001-03","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_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,"customer_city_name":"Rio
95
+ de Janeiro","paid_amount":0.0,"amount":9.01,"url":"https://sandbox.bole.to/3/lodlme","formats":{"default":"https://sandbox.bole.to/3/lodlme","png":"https://sandbox.bole.to/3/lodlme.png","pdf":"https://sandbox.bole.to/3/lodlme.pdf","boleto_hibrido":"https://sandbox.bole.to/3/lodlme/boleto_hibrido","boleto_pix":"https://sandbox.bole.to/3/lodlme/boleto_pix","barcode":"https://sandbox.bole.to/3/lodlme/barcode","envelope":"https://sandbox.bole.to/3/lodlme/envelope","letter":"https://sandbox.bole.to/3/lodlme/letter","line":"https://sandbox.bole.to/3/lodlme/line","recibo":"https://sandbox.bole.to/3/lodlme/recibo"},"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
96
+ Pereira Barbosa","beneficiary_cnpj_cpf":"000.233.771-19","beneficiary_address":"Rua
97
+ Quatro, 9, 78058-330","beneficiary_assignor_code":"0001/123322-0","guarantor_name":null,"guarantor_cnpj_cpf":null,"payment_place":"Pagável
98
+ em qualquer banco até a data de vencimento.","instructions":null,"document_date":null,"document_type":"02","document_number":null,"acceptance":"N","processed_our_number":"14000000000000085-5","processed_our_number_raw":"140000000000000855","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
99
+ 20000.100048 00000.008581 1 95830000000901","our_number":"000000000000085","customer_subscription_id":null,"installment_total":null,"installment_number":null,"installment_id":null,"carne_url":null,"bank_billet_layout_id":null,"created_at":"2022-02-22T14:30:25-03:00","updated_at":"2022-02-22T14:30:25-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":"10491958300000009011233220000100040000000858","registered_at":null,"prevent_registration":false,"customer_id":93341,"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:25-03:00","shorten_url":"https://sandbox.bole.to/3/lodlme","pix_enabled":false,"pix_qrcode":null,"password_protected_mode":null,"revoked_at":null,"bank_billet_discharges":[],"bank_billet_remittances":[{"id":433977,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":472529,"bank_billet_account_id":659,"processed_at":null,"occurrence_detail":"Entrada
100
+ de Título","created_at":"2022-02-22T14:30:25-03:00"}],"bank_billet_payments":[],"bank_billet_registrations":[],"bank_billet_split_accounts":[],"pix":[]}'
101
+ recorded_at: Tue, 22 Feb 2022 17:30:26 GMT
102
+ recorded_with: VCR 6.0.0