boletosimples 0.6.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -12
- data/README.md +21 -59
- data/lib/boletosimples/configuration.rb +25 -28
- data/lib/boletosimples/last_request.rb +17 -10
- data/lib/boletosimples/middlewares/bearer.rb +12 -0
- data/lib/boletosimples/middlewares/custom_headers.rb +12 -0
- data/lib/boletosimples/middlewares/debug.rb +30 -0
- data/lib/boletosimples/middlewares/last_request.rb +3 -1
- data/lib/boletosimples/middlewares/raise_error.rb +9 -2
- data/lib/boletosimples/middlewares/user_agent.rb +3 -1
- data/lib/boletosimples/resources/bank_billet.rb +5 -11
- data/lib/boletosimples/resources/bank_billet_account.rb +3 -1
- data/lib/boletosimples/resources/bank_billet_discharge.rb +3 -1
- data/lib/boletosimples/resources/bank_billet_payment.rb +3 -1
- data/lib/boletosimples/resources/bank_billet_remittance.rb +3 -1
- data/lib/boletosimples/resources/base_model.rb +3 -1
- data/lib/boletosimples/resources/customer.rb +3 -1
- data/lib/boletosimples/resources/customer_import.rb +5 -3
- data/lib/boletosimples/resources/customer_subscription.rb +3 -10
- data/lib/boletosimples/resources/customer_subscription_import.rb +5 -3
- data/lib/boletosimples/resources/discharge.rb +4 -11
- data/lib/boletosimples/resources/email_delivery.rb +3 -1
- data/lib/boletosimples/resources/event.rb +3 -1
- data/lib/boletosimples/resources/installment.rb +3 -1
- data/lib/boletosimples/resources/remittance.rb +3 -1
- data/lib/boletosimples/resources/sms_delivery.rb +6 -0
- data/lib/boletosimples/resources/transaction.rb +3 -1
- data/lib/boletosimples/resources/webhook.rb +3 -1
- data/lib/boletosimples/resources/webhook_delivery.rb +3 -1
- data/lib/boletosimples/response_error.rb +10 -5
- data/lib/boletosimples/version.rb +3 -1
- data/lib/boletosimples.rb +6 -6
- data/spec/boletosimples/configuration_spec.rb +67 -80
- data/spec/boletosimples/last_request_spec.rb +17 -28
- data/spec/boletosimples/middlewares/custom_headers_spec.rb +26 -0
- data/spec/boletosimples/resources/bank_billet_account_spec.rb +57 -33
- data/spec/boletosimples/resources/bank_billet_discharge_spec.rb +7 -12
- data/spec/boletosimples/resources/bank_billet_payment_spec.rb +7 -12
- data/spec/boletosimples/resources/bank_billet_remittance_spec.rb +7 -12
- data/spec/boletosimples/resources/bank_billet_spec.rb +56 -42
- data/spec/boletosimples/resources/customer_import_spec.rb +41 -30
- data/spec/boletosimples/resources/customer_spec.rb +57 -39
- data/spec/boletosimples/resources/customer_subscription_import_spec.rb +41 -30
- data/spec/boletosimples/resources/customer_subscription_spec.rb +61 -33
- data/spec/boletosimples/resources/discharge_spec.rb +64 -11
- data/spec/boletosimples/resources/email_delivery_spec.rb +6 -11
- data/spec/boletosimples/resources/event_spec.rb +7 -12
- data/spec/boletosimples/resources/installment_spec.rb +61 -32
- data/spec/boletosimples/resources/remittance_spec.rb +7 -12
- data/spec/boletosimples/resources/sms_delivery_spec.rb +12 -0
- data/spec/boletosimples/resources/transactions_spec.rb +7 -12
- data/spec/boletosimples/resources/webhook_delivery_spec.rb +7 -12
- data/spec/boletosimples/resources/webhook_spec.rb +7 -12
- data/spec/fixtures/discharge.RET +3 -0
- data/spec/fixtures/vcr_cassettes/custom_headers.yml +113 -0
- data/spec/fixtures/vcr_cassettes/last_request/bank_billets.yml +409 -95
- data/spec/fixtures/vcr_cassettes/resources/bank_billet/all.yml +101 -99
- data/spec/fixtures/vcr_cassettes/resources/bank_billet/cancel/success.yml +55 -95
- data/spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_params.yml +55 -27
- data/spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_root.yml +51 -24
- data/spec/fixtures/vcr_cassettes/resources/bank_billet/create/valid.yml +64 -34
- data/spec/fixtures/vcr_cassettes/resources/bank_billet/duplicate/success.yml +97 -0
- data/spec/fixtures/vcr_cassettes/resources/bank_billet/find.yml +73 -34
- data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/all.yml +82 -27
- data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/create/invalid_params.yml +57 -27
- data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/create/invalid_root.yml +53 -26
- data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/create/valid.yml +64 -28
- data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/find.yml +61 -25
- data/spec/fixtures/vcr_cassettes/resources/bank_billet_discharge/all.yml +59 -46
- data/spec/fixtures/vcr_cassettes/resources/bank_billet_payment/all.yml +74 -71
- data/spec/fixtures/vcr_cassettes/resources/bank_billet_remittance/all.yml +63 -47
- data/spec/fixtures/vcr_cassettes/resources/customer/all.yml +141 -39
- data/spec/fixtures/vcr_cassettes/resources/customer/create/invalid_params.yml +54 -25
- data/spec/fixtures/vcr_cassettes/resources/customer/create/invalid_root.yml +54 -24
- data/spec/fixtures/vcr_cassettes/resources/customer/create/valid.yml +56 -28
- data/spec/fixtures/vcr_cassettes/resources/customer/find.yml +56 -26
- data/spec/fixtures/vcr_cassettes/resources/customer_import/all.yml +58 -59
- data/spec/fixtures/vcr_cassettes/resources/customer_import/create/invalid_params.yml +53 -51
- data/spec/fixtures/vcr_cassettes/resources/customer_import/create/invalid_root.yml +54 -52
- data/spec/fixtures/vcr_cassettes/resources/customer_import/create/valid.yml +58 -67
- data/spec/fixtures/vcr_cassettes/resources/customer_import/find.yml +55 -53
- data/spec/fixtures/vcr_cassettes/resources/customer_subscription/all.yml +65 -51
- data/spec/fixtures/vcr_cassettes/resources/customer_subscription/create/invalid_params.yml +56 -50
- data/spec/fixtures/vcr_cassettes/resources/customer_subscription/create/invalid_root.yml +52 -48
- data/spec/fixtures/vcr_cassettes/resources/customer_subscription/create/valid.yml +63 -52
- data/spec/fixtures/vcr_cassettes/resources/customer_subscription/find.yml +61 -51
- data/spec/fixtures/vcr_cassettes/resources/customer_subscription/next_charge.yml +60 -132
- data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/all.yml +58 -54
- data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/create/invalid_params.yml +53 -52
- data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/create/invalid_root.yml +55 -53
- data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/create/valid.yml +58 -69
- data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/find.yml +55 -54
- data/spec/fixtures/vcr_cassettes/resources/discharge/all.yml +63 -34
- data/spec/fixtures/vcr_cassettes/resources/discharge/create/invalid_params.yml +86 -0
- data/spec/fixtures/vcr_cassettes/resources/discharge/create/invalid_root.yml +85 -0
- data/spec/fixtures/vcr_cassettes/resources/discharge/create/valid.yml +100 -0
- data/spec/fixtures/vcr_cassettes/resources/discharge/find.yml +89 -0
- data/spec/fixtures/vcr_cassettes/resources/email_delivery/all.yml +40 -43
- data/spec/fixtures/vcr_cassettes/resources/event/all.yml +326 -167
- data/spec/fixtures/vcr_cassettes/resources/installment/all.yml +113 -51
- data/spec/fixtures/vcr_cassettes/resources/installment/create/invalid_params.yml +57 -52
- data/spec/fixtures/vcr_cassettes/resources/installment/create/invalid_root.yml +52 -48
- data/spec/fixtures/vcr_cassettes/resources/installment/create/valid.yml +63 -52
- data/spec/fixtures/vcr_cassettes/resources/installment/find.yml +83 -51
- data/spec/fixtures/vcr_cassettes/resources/remittance/all.yml +83 -62
- data/spec/fixtures/vcr_cassettes/resources/sns_delivery/all.yml +89 -0
- data/spec/fixtures/vcr_cassettes/resources/transaction/all.yml +73 -60
- data/spec/fixtures/vcr_cassettes/resources/web_hook/all.yml +59 -34
- data/spec/fixtures/vcr_cassettes/resources/webhook_delivery/all.yml +2684 -55
- data/spec/spec_helper.rb +3 -20
- data/spec/support/stub_env.rb +7 -0
- data/spec/support/vcr.rb +3 -4
- metadata +42 -176
- data/.coveralls.yml +0 -2
- data/.gitignore +0 -19
- data/.ruby-version +0 -1
- data/.travis.yml +0 -46
- data/Gemfile +0 -4
- data/Rakefile +0 -14
- data/boletosimples.gemspec +0 -38
- data/gemfiles/rails_42.gemfile +0 -8
- data/gemfiles/rails_50.gemfile +0 -8
- data/gemfiles/rails_51.gemfile +0 -8
- data/gemfiles/rails_52.gemfile +0 -9
- data/lib/boletosimples/extra.rb +0 -8
- data/lib/boletosimples/resources/partner/user.rb +0 -7
- data/lib/oauth2_patch.rb +0 -24
- data/spec/boletosimples/extra_spec.rb +0 -31
- data/spec/boletosimples/resources/partner/user_spec.rb +0 -19
- data/spec/fixtures/vcr_cassettes/configuration/client_credentials/invalid.yml +0 -64
- data/spec/fixtures/vcr_cassettes/configuration/client_credentials/valid.yml +0 -56
- data/spec/fixtures/vcr_cassettes/extra/userinfo/authenticated.yml +0 -58
- data/spec/fixtures/vcr_cassettes/extra/userinfo/not_authenticated.yml +0 -54
- data/spec/fixtures/vcr_cassettes/last_request/userinfo.yml +0 -58
- data/spec/fixtures/vcr_cassettes/resources/bank_billet/cancel/failure.yml +0 -118
- data/spec/fixtures/vcr_cassettes/resources/partner/user/create.yml +0 -60
- data/spec/spec.opts +0 -8
@@ -2,82 +2,144 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://sandbox.
|
5
|
+
uri: https://api-sandbox.kobana.com.br/v1/installments
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
-
|
11
|
+
- email@minhaempresa.com.br
|
12
12
|
Authorization:
|
13
|
-
-
|
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
|
-
Connection:
|
24
|
-
- keep-alive
|
25
23
|
Content-Type:
|
26
24
|
- application/json; charset=utf-8
|
27
25
|
Transfer-Encoding:
|
28
26
|
- chunked
|
29
|
-
|
30
|
-
-
|
31
|
-
|
32
|
-
-
|
33
|
-
X-
|
34
|
-
-
|
35
|
-
Date:
|
36
|
-
- Mon, 15 Aug 2016 19:16:33 GMT
|
37
|
-
Strict-Transport-Security:
|
38
|
-
- max-age=631138519
|
39
|
-
X-Ratelimit-Remaining:
|
40
|
-
- '490'
|
41
|
-
Vary:
|
42
|
-
- Accept-Encoding
|
43
|
-
X-Permitted-Cross-Domain-Policies:
|
44
|
-
- none
|
27
|
+
Connection:
|
28
|
+
- keep-alive
|
29
|
+
Server:
|
30
|
+
- Cowboy
|
31
|
+
X-Frame-Options:
|
32
|
+
- DENY
|
45
33
|
X-Xss-Protection:
|
46
34
|
- 1; mode=block
|
47
|
-
X-
|
48
|
-
-
|
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
|
-
- '1'
|
35
|
+
X-Content-Type-Options:
|
36
|
+
- nosniff
|
60
37
|
X-Download-Options:
|
61
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
|
51
|
+
Per-Page:
|
52
|
+
- '50'
|
53
|
+
Page:
|
54
|
+
- ''
|
55
|
+
X-Ratelimit-Limit:
|
56
|
+
- '100'
|
57
|
+
X-Ratelimit-Remaining:
|
58
|
+
- '49'
|
62
59
|
Etag:
|
63
|
-
- W/"
|
60
|
+
- W/"0ba95fbcc1a8f4dc419c8e9da79740d0"
|
61
|
+
Cache-Control:
|
62
|
+
- must-revalidate, private, max-age=0
|
63
|
+
X-Request-Id:
|
64
|
+
- 13700d44-599a-41c2-9f82-1b959219d0d4
|
64
65
|
X-Runtime:
|
65
|
-
- '0.
|
66
|
-
|
67
|
-
-
|
68
|
-
X-Content-Type-Options:
|
69
|
-
- nosniff
|
66
|
+
- '0.037529'
|
67
|
+
Date:
|
68
|
+
- Tue, 22 Feb 2022 17:30:51 GMT
|
70
69
|
X-Rack-Cache:
|
71
70
|
- miss
|
72
|
-
|
73
|
-
-
|
74
|
-
|
75
|
-
-
|
71
|
+
Strict-Transport-Security:
|
72
|
+
- max-age=31556952; includeSubDomains; preload
|
73
|
+
Vary:
|
74
|
+
- Origin,Accept-Encoding
|
75
|
+
X-Rack-Cors:
|
76
|
+
- miss; no-origin
|
76
77
|
Via:
|
77
|
-
- 1.1 vegur
|
78
|
+
- 1.1 vegur, 1.1 e889e31621f397bc8c9980a1bf9bd7fa.cloudfront.net (CloudFront)
|
79
|
+
X-Cache:
|
80
|
+
- Miss from cloudfront
|
81
|
+
X-Amz-Cf-Pop:
|
82
|
+
- MIA3-C1
|
83
|
+
X-Amz-Cf-Id:
|
84
|
+
- 59ouk1edWu504UggMRqFRoFfgdS3ttvE2v8J0ZXCRAff6jkHP-GeUQ==
|
78
85
|
body:
|
79
86
|
encoding: UTF-8
|
80
|
-
string: '[{"id":
|
81
|
-
|
82
|
-
|
83
|
-
|
87
|
+
string: '[{"id":15265,"amount":1120.4,"cycle":"monthly","start_at":"2022-09-15","end_at":"2022-11-15","instructions":null,"customer_id":93340,"description":"Hospedagem","created_at":"2022-02-22T14:30:51-03:00","updated_at":"2022-02-22T14:30:51-03:00","customer_person_name":"Joao
|
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_ignore_sms":null,"customer_mobile_local_code":null,"customer_mobile_number":null,"customer_nickname":null,"customer_notes":null,"created_via_api":true,"total":3,"bank_billet_account_id":659,"status":"processed","fine_for_delay":null,"fine_type":0,"fine_percentage":null,"fine_value":null,"days_for_fine":null,"late_payment_interest":null,"interest_type":0,"interest_daily_value":null,"interest_daily_percentage":null,"interest_monthly_percentage":null,"days_for_interest":null,"discount_type":0,"days_for_discount":null,"discount_value":null,"discount_percentage":null,"bank_billet_layout_id":null,"url":"https://sandbox.bole.to/3/qdoweq/carne","bank_billet_ids":[472533,472532,472534],"bank_billets":[{"id":472533,"expire_at":"2022-10-17","paid_at":null,"description":"Hospedagem","status":"opened","customer_person_name":"Joao
|
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_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
|
95
|
+
de Janeiro","paid_amount":0.0,"amount":1120.4,"url":"https://sandbox.bole.to/3/kekdrr","formats":{"default":"https://sandbox.bole.to/3/kekdrr","png":"https://sandbox.bole.to/3/kekdrr.png","pdf":"https://sandbox.bole.to/3/kekdrr.pdf","boleto_hibrido":"https://sandbox.bole.to/3/kekdrr/boleto_hibrido","boleto_pix":"https://sandbox.bole.to/3/kekdrr/boleto_pix","barcode":"https://sandbox.bole.to/3/kekdrr/barcode","envelope":"https://sandbox.bole.to/3/kekdrr/envelope","letter":"https://sandbox.bole.to/3/kekdrr/letter","line":"https://sandbox.bole.to/3/kekdrr/line","recibo":"https://sandbox.bole.to/3/kekdrr/recibo","carne":"https://sandbox.bole.to/3/kekdrr/carne"},"meta":null,"fine_for_delay":null,"fine_type":0,"fine_percentage":null,"fine_value":null,"days_for_fine":null,"late_payment_interest":null,"interest_type":0,"interest_daily_value":null,"interest_daily_percentage":null,"interest_monthly_percentage":null,"days_for_interest":null,"discount_type":0,"discount_limit_date":null,"discount_value":null,"discount_percentage":null,"days_for_revoke":null,"notes":null,"payment_count":1,"bank_billet_account_id":659,"beneficiary_name":"Kivanio
|
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":"14000000000000089-8","processed_our_number_raw":"140000000000000898","bank_contract_slug":"caixa-rg","agency_number":"2342","agency_digit":"2","account_number":"0012432","account_digit":"1","extra1":"0123322","extra1_digit":null,"extra2":null,"extra2_digit":null,"line":"10491.23324
|
99
|
+
20000.100048 00000.008904 4 91410000112040","our_number":"000000000000089","customer_subscription_id":null,"installment_total":3,"installment_number":2,"installment_id":15265,"carne_url":"https://sandbox.bole.to/3/kekdrr/carne","bank_billet_layout_id":null,"created_at":"2022-02-22T14:30:51-03:00","updated_at":"2022-02-22T14:30:51-03:00","tags":[],"tag_list":null,"document_type_label":"DM","addons":null,"ignore_email":false,"ignore_sms":false,"sue_code":null,"revoke_code":null,"first_instruction":null,"second_instruction":null,"guarantor_address_number":null,"guarantor_neighborhood":null,"guarantor_phone_number":null,"guarantor_city_name":null,"guarantor_state":null,"guarantor_zipcode":null,"guarantor_address":null,"guarantor_address_complement":null,"barcode":"10494914100001120401233220000100040000000890","registered_at":null,"prevent_registration":false,"customer_id":93340,"control_number":null,"divergent_payment_type":null,"divergent_payment_value_type":null,"divergent_payment_maximum_value":null,"divergent_payment_minimum_value":null,"divergent_payment_maximum_percentage":null,"divergent_payment_minimum_percentage":null,"divergent_payment_limit":null,"days_for_discount":null,"days_for_second_discount":null,"second_discount_percentage":null,"second_discount_value":null,"days_for_third_discount":null,"third_discount_percentage":null,"third_discount_value":null,"days_for_sue":null,"days_for_negativation":null,"interest_percentage":null,"interest_value":null,"interest_days_type":0,"customer_contact_person":null,"custom_attachment_name":null,"split_payment":false,"dispatch_type":1,"charge_type":1,"custom_data":null,"issued_at":"2022-02-22T14:30:51-03:00","shorten_url":"https://sandbox.bole.to/3/kekdrr","pix_enabled":false,"pix_qrcode":null,"password_protected_mode":null,"revoked_at":null},{"id":472532,"expire_at":"2022-09-15","paid_at":null,"description":"Hospedagem","status":"opened","customer_person_name":"Joao
|
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_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
|
103
|
+
de Janeiro","paid_amount":0.0,"amount":1120.4,"url":"https://sandbox.bole.to/3/qdoweq","formats":{"default":"https://sandbox.bole.to/3/qdoweq","png":"https://sandbox.bole.to/3/qdoweq.png","pdf":"https://sandbox.bole.to/3/qdoweq.pdf","boleto_hibrido":"https://sandbox.bole.to/3/qdoweq/boleto_hibrido","boleto_pix":"https://sandbox.bole.to/3/qdoweq/boleto_pix","barcode":"https://sandbox.bole.to/3/qdoweq/barcode","envelope":"https://sandbox.bole.to/3/qdoweq/envelope","letter":"https://sandbox.bole.to/3/qdoweq/letter","line":"https://sandbox.bole.to/3/qdoweq/line","recibo":"https://sandbox.bole.to/3/qdoweq/recibo","carne":"https://sandbox.bole.to/3/qdoweq/carne"},"meta":null,"fine_for_delay":null,"fine_type":0,"fine_percentage":null,"fine_value":null,"days_for_fine":null,"late_payment_interest":null,"interest_type":0,"interest_daily_value":null,"interest_daily_percentage":null,"interest_monthly_percentage":null,"days_for_interest":null,"discount_type":0,"discount_limit_date":null,"discount_value":null,"discount_percentage":null,"days_for_revoke":null,"notes":null,"payment_count":1,"bank_billet_account_id":659,"beneficiary_name":"Kivanio
|
104
|
+
Pereira Barbosa","beneficiary_cnpj_cpf":"000.233.771-19","beneficiary_address":"Rua
|
105
|
+
Quatro, 9, 78058-330","beneficiary_assignor_code":"0001/123322-0","guarantor_name":null,"guarantor_cnpj_cpf":null,"payment_place":"Pagável
|
106
|
+
em qualquer banco até a data de vencimento.","instructions":null,"document_date":null,"document_type":"02","document_number":null,"acceptance":"N","processed_our_number":"14000000000000088-0","processed_our_number_raw":"140000000000000880","bank_contract_slug":"caixa-rg","agency_number":"2342","agency_digit":"2","account_number":"0012432","account_digit":"1","extra1":"0123322","extra1_digit":null,"extra2":null,"extra2_digit":null,"line":"10491.23324
|
107
|
+
20000.100048 00000.008821 9 91090000112040","our_number":"000000000000088","customer_subscription_id":null,"installment_total":3,"installment_number":1,"installment_id":15265,"carne_url":"https://sandbox.bole.to/3/qdoweq/carne","bank_billet_layout_id":null,"created_at":"2022-02-22T14:30:51-03:00","updated_at":"2022-02-22T14:30:51-03:00","tags":[],"tag_list":null,"document_type_label":"DM","addons":null,"ignore_email":false,"ignore_sms":false,"sue_code":null,"revoke_code":null,"first_instruction":null,"second_instruction":null,"guarantor_address_number":null,"guarantor_neighborhood":null,"guarantor_phone_number":null,"guarantor_city_name":null,"guarantor_state":null,"guarantor_zipcode":null,"guarantor_address":null,"guarantor_address_complement":null,"barcode":"10499910900001120401233220000100040000000882","registered_at":null,"prevent_registration":false,"customer_id":93340,"control_number":null,"divergent_payment_type":null,"divergent_payment_value_type":null,"divergent_payment_maximum_value":null,"divergent_payment_minimum_value":null,"divergent_payment_maximum_percentage":null,"divergent_payment_minimum_percentage":null,"divergent_payment_limit":null,"days_for_discount":null,"days_for_second_discount":null,"second_discount_percentage":null,"second_discount_value":null,"days_for_third_discount":null,"third_discount_percentage":null,"third_discount_value":null,"days_for_sue":null,"days_for_negativation":null,"interest_percentage":null,"interest_value":null,"interest_days_type":0,"customer_contact_person":null,"custom_attachment_name":null,"split_payment":false,"dispatch_type":1,"charge_type":1,"custom_data":null,"issued_at":"2022-02-22T14:30:51-03:00","shorten_url":"https://sandbox.bole.to/3/qdoweq","pix_enabled":false,"pix_qrcode":null,"password_protected_mode":null,"revoked_at":null},{"id":472534,"expire_at":"2022-11-16","paid_at":null,"description":"Hospedagem","status":"opened","customer_person_name":"Joao
|
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_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
|
111
|
+
de Janeiro","paid_amount":0.0,"amount":1120.4,"url":"https://sandbox.bole.to/3/ewezlo","formats":{"default":"https://sandbox.bole.to/3/ewezlo","png":"https://sandbox.bole.to/3/ewezlo.png","pdf":"https://sandbox.bole.to/3/ewezlo.pdf","boleto_hibrido":"https://sandbox.bole.to/3/ewezlo/boleto_hibrido","boleto_pix":"https://sandbox.bole.to/3/ewezlo/boleto_pix","barcode":"https://sandbox.bole.to/3/ewezlo/barcode","envelope":"https://sandbox.bole.to/3/ewezlo/envelope","letter":"https://sandbox.bole.to/3/ewezlo/letter","line":"https://sandbox.bole.to/3/ewezlo/line","recibo":"https://sandbox.bole.to/3/ewezlo/recibo","carne":"https://sandbox.bole.to/3/ewezlo/carne"},"meta":null,"fine_for_delay":null,"fine_type":0,"fine_percentage":null,"fine_value":null,"days_for_fine":null,"late_payment_interest":null,"interest_type":0,"interest_daily_value":null,"interest_daily_percentage":null,"interest_monthly_percentage":null,"days_for_interest":null,"discount_type":0,"discount_limit_date":null,"discount_value":null,"discount_percentage":null,"days_for_revoke":null,"notes":null,"payment_count":1,"bank_billet_account_id":659,"beneficiary_name":"Kivanio
|
112
|
+
Pereira Barbosa","beneficiary_cnpj_cpf":"000.233.771-19","beneficiary_address":"Rua
|
113
|
+
Quatro, 9, 78058-330","beneficiary_assignor_code":"0001/123322-0","guarantor_name":null,"guarantor_cnpj_cpf":null,"payment_place":"Pagável
|
114
|
+
em qualquer banco até a data de vencimento.","instructions":null,"document_date":null,"document_type":"02","document_number":null,"acceptance":"N","processed_our_number":"14000000000000090-1","processed_our_number_raw":"140000000000000901","bank_contract_slug":"caixa-rg","agency_number":"2342","agency_digit":"2","account_number":"0012432","account_digit":"1","extra1":"0123322","extra1_digit":null,"extra2":null,"extra2_digit":null,"line":"10491.23324
|
115
|
+
20000.100048 00000.009043 1 91710000112040","our_number":"000000000000090","customer_subscription_id":null,"installment_total":3,"installment_number":3,"installment_id":15265,"carne_url":"https://sandbox.bole.to/3/ewezlo/carne","bank_billet_layout_id":null,"created_at":"2022-02-22T14:30:51-03:00","updated_at":"2022-02-22T14:30:51-03:00","tags":[],"tag_list":null,"document_type_label":"DM","addons":null,"ignore_email":false,"ignore_sms":false,"sue_code":null,"revoke_code":null,"first_instruction":null,"second_instruction":null,"guarantor_address_number":null,"guarantor_neighborhood":null,"guarantor_phone_number":null,"guarantor_city_name":null,"guarantor_state":null,"guarantor_zipcode":null,"guarantor_address":null,"guarantor_address_complement":null,"barcode":"10491917100001120401233220000100040000000904","registered_at":null,"prevent_registration":false,"customer_id":93340,"control_number":null,"divergent_payment_type":null,"divergent_payment_value_type":null,"divergent_payment_maximum_value":null,"divergent_payment_minimum_value":null,"divergent_payment_maximum_percentage":null,"divergent_payment_minimum_percentage":null,"divergent_payment_limit":null,"days_for_discount":null,"days_for_second_discount":null,"second_discount_percentage":null,"second_discount_value":null,"days_for_third_discount":null,"third_discount_percentage":null,"third_discount_value":null,"days_for_sue":null,"days_for_negativation":null,"interest_percentage":null,"interest_value":null,"interest_days_type":0,"customer_contact_person":null,"custom_attachment_name":null,"split_payment":false,"dispatch_type":1,"charge_type":1,"custom_data":null,"issued_at":"2022-02-22T14:30:51-03:00","shorten_url":"https://sandbox.bole.to/3/ewezlo","pix_enabled":false,"pix_qrcode":null,"password_protected_mode":null,"revoked_at":null}],"notes":null,"payment_count":1,"tags":[],"tag_list":null,"prevent_registration":false,"divergent_payment_type":null,"divergent_payment_value_type":null,"divergent_payment_maximum_value":null,"divergent_payment_minimum_value":null,"divergent_payment_maximum_percentage":null,"divergent_payment_minimum_percentage":null,"divergent_payment_limit":null,"days_for_second_discount":null,"second_discount_percentage":null,"second_discount_value":null,"days_for_third_discount":null,"third_discount_percentage":null,"third_discount_value":null,"days_for_revoke":null,"days_for_sue":null,"days_for_negativation":null,"interest_percentage":null,"interest_value":null,"interest_days_type":0,"customer_contact_person":null,"custom_attachment_name":null,"guarantor_name":null,"guarantor_cnpj_cpf":null,"guarantor_address_number":null,"guarantor_neighborhood":null,"guarantor_phone_number":null,"guarantor_city_name":null,"guarantor_state":null,"guarantor_zipcode":null,"guarantor_address":null,"guarantor_address_complement":null,"document_number":null,"document_date":null,"document_type":"02"},{"id":15264,"amount":1120.4,"cycle":"monthly","start_at":"2022-09-15","end_at":"2022-11-15","instructions":null,"customer_id":93340,"description":"Hospedagem","created_at":"2022-02-22T14:27:01-03:00","updated_at":"2022-02-22T14:27:02-03:00","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_ignore_sms":null,"customer_mobile_local_code":null,"customer_mobile_number":null,"customer_nickname":null,"customer_notes":null,"created_via_api":true,"total":3,"bank_billet_account_id":659,"status":"generated","fine_for_delay":null,"fine_type":0,"fine_percentage":null,"fine_value":null,"days_for_fine":null,"late_payment_interest":null,"interest_type":0,"interest_daily_value":null,"interest_daily_percentage":null,"interest_monthly_percentage":null,"days_for_interest":null,"discount_type":0,"days_for_discount":null,"discount_value":null,"discount_percentage":null,"bank_billet_layout_id":null,"url":"https://sandbox.bole.to/3/rdvrov/carne","bank_billet_ids":[472527,472526,472528],"bank_billets":[{"id":472527,"expire_at":"2022-10-17","paid_at":null,"description":"Hospedagem","status":"opened","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_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
|
123
|
+
de Janeiro","paid_amount":0.0,"amount":1120.4,"url":"https://sandbox.bole.to/3/mvzyld","formats":{"default":"https://sandbox.bole.to/3/mvzyld","png":"https://sandbox.bole.to/3/mvzyld.png","pdf":"https://sandbox.bole.to/3/mvzyld.pdf","boleto_hibrido":"https://sandbox.bole.to/3/mvzyld/boleto_hibrido","boleto_pix":"https://sandbox.bole.to/3/mvzyld/boleto_pix","barcode":"https://sandbox.bole.to/3/mvzyld/barcode","envelope":"https://sandbox.bole.to/3/mvzyld/envelope","letter":"https://sandbox.bole.to/3/mvzyld/letter","line":"https://sandbox.bole.to/3/mvzyld/line","recibo":"https://sandbox.bole.to/3/mvzyld/recibo","carne":"https://sandbox.bole.to/3/mvzyld/carne"},"meta":null,"fine_for_delay":null,"fine_type":0,"fine_percentage":null,"fine_value":null,"days_for_fine":null,"late_payment_interest":null,"interest_type":0,"interest_daily_value":null,"interest_daily_percentage":null,"interest_monthly_percentage":null,"days_for_interest":null,"discount_type":0,"discount_limit_date":null,"discount_value":null,"discount_percentage":null,"days_for_revoke":null,"notes":null,"payment_count":1,"bank_billet_account_id":659,"beneficiary_name":"Kivanio
|
124
|
+
Pereira Barbosa","beneficiary_cnpj_cpf":"000.233.771-19","beneficiary_address":"Rua
|
125
|
+
Quatro, 9, 78058-330","beneficiary_assignor_code":"0001/123322-0","guarantor_name":null,"guarantor_cnpj_cpf":null,"payment_place":"Pagável
|
126
|
+
em qualquer banco até a data de vencimento.","instructions":null,"document_date":null,"document_type":"02","document_number":null,"acceptance":"N","processed_our_number":"14000000000000083-9","processed_our_number_raw":"140000000000000839","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
|
127
|
+
20000.100048 00000.008318 9 91410000112040","our_number":"000000000000083","customer_subscription_id":null,"installment_total":3,"installment_number":2,"installment_id":15264,"carne_url":"https://sandbox.bole.to/3/mvzyld/carne","bank_billet_layout_id":null,"created_at":"2022-02-22T14:27:01-03:00","updated_at":"2022-02-22T14:27:02-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":"10499914100001120401233220000100040000000831","registered_at":null,"prevent_registration":false,"customer_id":93340,"control_number":null,"divergent_payment_type":null,"divergent_payment_value_type":null,"divergent_payment_maximum_value":null,"divergent_payment_minimum_value":null,"divergent_payment_maximum_percentage":null,"divergent_payment_minimum_percentage":null,"divergent_payment_limit":null,"days_for_discount":null,"days_for_second_discount":null,"second_discount_percentage":null,"second_discount_value":null,"days_for_third_discount":null,"third_discount_percentage":null,"third_discount_value":null,"days_for_sue":null,"days_for_negativation":null,"interest_percentage":null,"interest_value":null,"interest_days_type":0,"customer_contact_person":null,"custom_attachment_name":null,"split_payment":false,"dispatch_type":1,"charge_type":1,"custom_data":null,"issued_at":"2022-02-22T14:27:01-03:00","shorten_url":"https://sandbox.bole.to/3/mvzyld","pix_enabled":false,"pix_qrcode":null,"password_protected_mode":null,"revoked_at":null},{"id":472526,"expire_at":"2022-09-15","paid_at":null,"description":"Hospedagem","status":"opened","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_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
|
131
|
+
de Janeiro","paid_amount":0.0,"amount":1120.4,"url":"https://sandbox.bole.to/3/rdvrov","formats":{"default":"https://sandbox.bole.to/3/rdvrov","png":"https://sandbox.bole.to/3/rdvrov.png","pdf":"https://sandbox.bole.to/3/rdvrov.pdf","boleto_hibrido":"https://sandbox.bole.to/3/rdvrov/boleto_hibrido","boleto_pix":"https://sandbox.bole.to/3/rdvrov/boleto_pix","barcode":"https://sandbox.bole.to/3/rdvrov/barcode","envelope":"https://sandbox.bole.to/3/rdvrov/envelope","letter":"https://sandbox.bole.to/3/rdvrov/letter","line":"https://sandbox.bole.to/3/rdvrov/line","recibo":"https://sandbox.bole.to/3/rdvrov/recibo","carne":"https://sandbox.bole.to/3/rdvrov/carne"},"meta":null,"fine_for_delay":null,"fine_type":0,"fine_percentage":null,"fine_value":null,"days_for_fine":null,"late_payment_interest":null,"interest_type":0,"interest_daily_value":null,"interest_daily_percentage":null,"interest_monthly_percentage":null,"days_for_interest":null,"discount_type":0,"discount_limit_date":null,"discount_value":null,"discount_percentage":null,"days_for_revoke":null,"notes":null,"payment_count":1,"bank_billet_account_id":659,"beneficiary_name":"Kivanio
|
132
|
+
Pereira Barbosa","beneficiary_cnpj_cpf":"000.233.771-19","beneficiary_address":"Rua
|
133
|
+
Quatro, 9, 78058-330","beneficiary_assignor_code":"0001/123322-0","guarantor_name":null,"guarantor_cnpj_cpf":null,"payment_place":"Pagável
|
134
|
+
em qualquer banco até a data de vencimento.","instructions":null,"document_date":null,"document_type":"02","document_number":null,"acceptance":"N","processed_our_number":"14000000000000082-0","processed_our_number_raw":"140000000000000820","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
|
135
|
+
20000.100048 00000.008235 3 91090000112040","our_number":"000000000000082","customer_subscription_id":null,"installment_total":3,"installment_number":1,"installment_id":15264,"carne_url":"https://sandbox.bole.to/3/rdvrov/carne","bank_billet_layout_id":null,"created_at":"2022-02-22T14:27:01-03:00","updated_at":"2022-02-22T14:27:02-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":"10493910900001120401233220000100040000000823","registered_at":null,"prevent_registration":false,"customer_id":93340,"control_number":null,"divergent_payment_type":null,"divergent_payment_value_type":null,"divergent_payment_maximum_value":null,"divergent_payment_minimum_value":null,"divergent_payment_maximum_percentage":null,"divergent_payment_minimum_percentage":null,"divergent_payment_limit":null,"days_for_discount":null,"days_for_second_discount":null,"second_discount_percentage":null,"second_discount_value":null,"days_for_third_discount":null,"third_discount_percentage":null,"third_discount_value":null,"days_for_sue":null,"days_for_negativation":null,"interest_percentage":null,"interest_value":null,"interest_days_type":0,"customer_contact_person":null,"custom_attachment_name":null,"split_payment":false,"dispatch_type":1,"charge_type":1,"custom_data":null,"issued_at":"2022-02-22T14:27:01-03:00","shorten_url":"https://sandbox.bole.to/3/rdvrov","pix_enabled":false,"pix_qrcode":null,"password_protected_mode":null,"revoked_at":null},{"id":472528,"expire_at":"2022-11-16","paid_at":null,"description":"Hospedagem","status":"opened","customer_person_name":"Joao
|
136
|
+
da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua
|
137
|
+
quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
|
138
|
+
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
|
139
|
+
de Janeiro","paid_amount":0.0,"amount":1120.4,"url":"https://sandbox.bole.to/3/yqrngb","formats":{"default":"https://sandbox.bole.to/3/yqrngb","png":"https://sandbox.bole.to/3/yqrngb.png","pdf":"https://sandbox.bole.to/3/yqrngb.pdf","boleto_hibrido":"https://sandbox.bole.to/3/yqrngb/boleto_hibrido","boleto_pix":"https://sandbox.bole.to/3/yqrngb/boleto_pix","barcode":"https://sandbox.bole.to/3/yqrngb/barcode","envelope":"https://sandbox.bole.to/3/yqrngb/envelope","letter":"https://sandbox.bole.to/3/yqrngb/letter","line":"https://sandbox.bole.to/3/yqrngb/line","recibo":"https://sandbox.bole.to/3/yqrngb/recibo","carne":"https://sandbox.bole.to/3/yqrngb/carne"},"meta":null,"fine_for_delay":null,"fine_type":0,"fine_percentage":null,"fine_value":null,"days_for_fine":null,"late_payment_interest":null,"interest_type":0,"interest_daily_value":null,"interest_daily_percentage":null,"interest_monthly_percentage":null,"days_for_interest":null,"discount_type":0,"discount_limit_date":null,"discount_value":null,"discount_percentage":null,"days_for_revoke":null,"notes":null,"payment_count":1,"bank_billet_account_id":659,"beneficiary_name":"Kivanio
|
140
|
+
Pereira Barbosa","beneficiary_cnpj_cpf":"000.233.771-19","beneficiary_address":"Rua
|
141
|
+
Quatro, 9, 78058-330","beneficiary_assignor_code":"0001/123322-0","guarantor_name":null,"guarantor_cnpj_cpf":null,"payment_place":"Pagável
|
142
|
+
em qualquer banco até a data de vencimento.","instructions":null,"document_date":null,"document_type":"02","document_number":null,"acceptance":"N","processed_our_number":"14000000000000084-7","processed_our_number_raw":"140000000000000847","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
|
143
|
+
20000.100048 00000.008409 1 91710000112040","our_number":"000000000000084","customer_subscription_id":null,"installment_total":3,"installment_number":3,"installment_id":15264,"carne_url":"https://sandbox.bole.to/3/yqrngb/carne","bank_billet_layout_id":null,"created_at":"2022-02-22T14:27:01-03:00","updated_at":"2022-02-22T14:27:02-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":"10491917100001120401233220000100040000000840","registered_at":null,"prevent_registration":false,"customer_id":93340,"control_number":null,"divergent_payment_type":null,"divergent_payment_value_type":null,"divergent_payment_maximum_value":null,"divergent_payment_minimum_value":null,"divergent_payment_maximum_percentage":null,"divergent_payment_minimum_percentage":null,"divergent_payment_limit":null,"days_for_discount":null,"days_for_second_discount":null,"second_discount_percentage":null,"second_discount_value":null,"days_for_third_discount":null,"third_discount_percentage":null,"third_discount_value":null,"days_for_sue":null,"days_for_negativation":null,"interest_percentage":null,"interest_value":null,"interest_days_type":0,"customer_contact_person":null,"custom_attachment_name":null,"split_payment":false,"dispatch_type":1,"charge_type":1,"custom_data":null,"issued_at":"2022-02-22T14:27:01-03:00","shorten_url":"https://sandbox.bole.to/3/yqrngb","pix_enabled":false,"pix_qrcode":null,"password_protected_mode":null,"revoked_at":null}],"notes":null,"payment_count":1,"tags":[],"tag_list":null,"prevent_registration":false,"divergent_payment_type":null,"divergent_payment_value_type":null,"divergent_payment_maximum_value":null,"divergent_payment_minimum_value":null,"divergent_payment_maximum_percentage":null,"divergent_payment_minimum_percentage":null,"divergent_payment_limit":null,"days_for_second_discount":null,"second_discount_percentage":null,"second_discount_value":null,"days_for_third_discount":null,"third_discount_percentage":null,"third_discount_value":null,"days_for_revoke":null,"days_for_sue":null,"days_for_negativation":null,"interest_percentage":null,"interest_value":null,"interest_days_type":0,"customer_contact_person":null,"custom_attachment_name":null,"guarantor_name":null,"guarantor_cnpj_cpf":null,"guarantor_address_number":null,"guarantor_neighborhood":null,"guarantor_phone_number":null,"guarantor_city_name":null,"guarantor_state":null,"guarantor_zipcode":null,"guarantor_address":null,"guarantor_address_complement":null,"document_number":null,"document_date":null,"document_type":"02"}]'
|
144
|
+
recorded_at: Tue, 22 Feb 2022 17:30:51 GMT
|
145
|
+
recorded_with: VCR 6.0.0
|
@@ -2,84 +2,89 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: https://sandbox.
|
5
|
+
uri: https://api-sandbox.kobana.com.br/v1/installments
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: '{"installment":{"person_name":""}}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
-
|
11
|
+
- email@minhaempresa.com.br
|
12
12
|
Authorization:
|
13
|
-
-
|
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
|
-
Connection:
|
26
|
-
- keep-alive
|
27
25
|
Content-Type:
|
28
26
|
- application/json; charset=utf-8
|
29
27
|
Transfer-Encoding:
|
30
28
|
- chunked
|
31
|
-
|
32
|
-
-
|
33
|
-
|
34
|
-
-
|
35
|
-
X-
|
36
|
-
-
|
37
|
-
Date:
|
38
|
-
- Mon, 15 Aug 2016 19:16:32 GMT
|
39
|
-
Strict-Transport-Security:
|
40
|
-
- max-age=631138519
|
41
|
-
X-Ratelimit-Remaining:
|
42
|
-
- '491'
|
43
|
-
Vary:
|
44
|
-
- Accept-Encoding
|
45
|
-
X-Permitted-Cross-Domain-Policies:
|
46
|
-
- none
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
Server:
|
32
|
+
- Cowboy
|
33
|
+
X-Frame-Options:
|
34
|
+
- DENY
|
47
35
|
X-Xss-Protection:
|
48
36
|
- 1; mode=block
|
49
|
-
X-
|
50
|
-
-
|
51
|
-
Content-Security-Policy-Report-Only:
|
52
|
-
- 'default-src ''self''; child-src ''self'' www.googleadservices.com googleads.g.doubleclick.net
|
53
|
-
www.google.com; connect-src ws: wss: *.intercom.io ws.pusherapp.com hn.inspectlet.com
|
54
|
-
stats.pusher.com; font-src ''self'' fonts.googleapis.com fonts.gstatic.com
|
55
|
-
data:; img-src ''self'' https: data:; script-src ''self'' static.intercomcdn.com
|
56
|
-
cdn.inspectlet.com widget.intercom.io js.intercomcdn.com js.pusher.com stats.pusher.com
|
57
|
-
zapier.com www.google-analytics.com www.googleadservices.com i.kissmetrics.com
|
58
|
-
doug1izaerwt3.cloudfront.net app.popupdomination.com cdn.ywxi.net www.draw.io;
|
59
|
-
style-src ''self'' fonts.googleapis.com; report-uri https://boletosimples.report-uri.io/r/default/csp/reportOnly'
|
37
|
+
X-Content-Type-Options:
|
38
|
+
- nosniff
|
60
39
|
X-Download-Options:
|
61
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
|
+
X-Ratelimit-Limit:
|
54
|
+
- '18000'
|
55
|
+
X-Ratelimit-Remaining:
|
56
|
+
- '17946'
|
57
|
+
Cache-Control:
|
58
|
+
- no-cache
|
59
|
+
X-Request-Id:
|
60
|
+
- 29549315-a37e-4864-9227-2d117d205455
|
62
61
|
X-Runtime:
|
63
|
-
- '0.
|
64
|
-
|
65
|
-
-
|
66
|
-
X-Content-Type-Options:
|
67
|
-
- nosniff
|
62
|
+
- '0.085110'
|
63
|
+
Date:
|
64
|
+
- Tue, 22 Feb 2022 17:30:53 GMT
|
68
65
|
X-Rack-Cache:
|
69
66
|
- invalidate, pass
|
70
|
-
|
71
|
-
-
|
72
|
-
|
73
|
-
-
|
67
|
+
Strict-Transport-Security:
|
68
|
+
- max-age=31556952; includeSubDomains; preload
|
69
|
+
Vary:
|
70
|
+
- Origin,Accept-Encoding
|
71
|
+
X-Rack-Cors:
|
72
|
+
- miss; no-origin
|
74
73
|
Via:
|
75
|
-
- 1.1 vegur
|
74
|
+
- 1.1 vegur, 1.1 3f72a8b28c744ea2f627e9f8a8ac8282.cloudfront.net (CloudFront)
|
75
|
+
X-Cache:
|
76
|
+
- Error from cloudfront
|
77
|
+
X-Amz-Cf-Pop:
|
78
|
+
- MIA3-C1
|
79
|
+
X-Amz-Cf-Id:
|
80
|
+
- 3vjap0uyv4jGTb0vshKf7DLTWQJ1lniDxNwfqzUncMSspsj5xKbAmg==
|
76
81
|
body:
|
77
82
|
encoding: UTF-8
|
78
|
-
string: '{"errors":{"
|
79
|
-
|
80
|
-
|
81
|
-
em branco"],"
|
82
|
-
|
83
|
-
|
84
|
-
recorded_at:
|
85
|
-
recorded_with: VCR
|
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"],"total":["não
|
85
|
+
pode ficar em branco","não é um número"],"start_at":["não pode ficar em branco"],"amount":["não
|
86
|
+
pode ficar em branco"],"customer_address":["não pode ficar em branco"],"customer_neighborhood":["não
|
87
|
+
pode ficar em branco"],"customer_city_name":["não pode ficar em branco"],"customer_state":["não
|
88
|
+
está incluído na lista"]}}'
|
89
|
+
recorded_at: Tue, 22 Feb 2022 17:30:53 GMT
|
90
|
+
recorded_with: VCR 6.0.0
|
@@ -2,80 +2,84 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: https://sandbox.
|
5
|
+
uri: https://api-sandbox.kobana.com.br/v1/installments
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: '{"installment":{}}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
-
|
11
|
+
- email@minhaempresa.com.br
|
12
12
|
Authorization:
|
13
|
-
-
|
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
|
-
Connection:
|
26
|
-
- keep-alive
|
27
25
|
Content-Type:
|
28
26
|
- application/json; charset=utf-8
|
29
27
|
Transfer-Encoding:
|
30
28
|
- chunked
|
31
|
-
|
32
|
-
-
|
33
|
-
|
34
|
-
-
|
35
|
-
X-
|
36
|
-
-
|
37
|
-
Date:
|
38
|
-
- Mon, 15 Aug 2016 19:16:31 GMT
|
39
|
-
Strict-Transport-Security:
|
40
|
-
- max-age=631138519
|
41
|
-
X-Ratelimit-Remaining:
|
42
|
-
- '492'
|
43
|
-
Vary:
|
44
|
-
- Accept-Encoding
|
45
|
-
X-Permitted-Cross-Domain-Policies:
|
46
|
-
- none
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
Server:
|
32
|
+
- Cowboy
|
33
|
+
X-Frame-Options:
|
34
|
+
- DENY
|
47
35
|
X-Xss-Protection:
|
48
36
|
- 1; mode=block
|
49
|
-
X-
|
50
|
-
-
|
51
|
-
Content-Security-Policy-Report-Only:
|
52
|
-
- 'default-src ''self''; child-src ''self'' www.googleadservices.com googleads.g.doubleclick.net
|
53
|
-
www.google.com; connect-src ws: wss: *.intercom.io ws.pusherapp.com hn.inspectlet.com
|
54
|
-
stats.pusher.com; font-src ''self'' fonts.googleapis.com fonts.gstatic.com
|
55
|
-
data:; img-src ''self'' https: data:; script-src ''self'' static.intercomcdn.com
|
56
|
-
cdn.inspectlet.com widget.intercom.io js.intercomcdn.com js.pusher.com stats.pusher.com
|
57
|
-
zapier.com www.google-analytics.com www.googleadservices.com i.kissmetrics.com
|
58
|
-
doug1izaerwt3.cloudfront.net app.popupdomination.com cdn.ywxi.net www.draw.io;
|
59
|
-
style-src ''self'' fonts.googleapis.com; report-uri https://boletosimples.report-uri.io/r/default/csp/reportOnly'
|
37
|
+
X-Content-Type-Options:
|
38
|
+
- nosniff
|
60
39
|
X-Download-Options:
|
61
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
|
+
X-Ratelimit-Limit:
|
54
|
+
- '18000'
|
55
|
+
X-Ratelimit-Remaining:
|
56
|
+
- '17947'
|
57
|
+
Cache-Control:
|
58
|
+
- no-cache
|
59
|
+
X-Request-Id:
|
60
|
+
- 664795bc-6b4f-410f-a0a1-f9addb2eb434
|
62
61
|
X-Runtime:
|
63
|
-
- '0.
|
64
|
-
|
65
|
-
-
|
66
|
-
X-Content-Type-Options:
|
67
|
-
- nosniff
|
62
|
+
- '0.012875'
|
63
|
+
Date:
|
64
|
+
- Tue, 22 Feb 2022 17:30:52 GMT
|
68
65
|
X-Rack-Cache:
|
69
66
|
- invalidate, pass
|
70
|
-
|
71
|
-
-
|
72
|
-
|
73
|
-
-
|
67
|
+
Strict-Transport-Security:
|
68
|
+
- max-age=31556952; includeSubDomains; preload
|
69
|
+
Vary:
|
70
|
+
- Origin,Accept-Encoding
|
71
|
+
X-Rack-Cors:
|
72
|
+
- miss; no-origin
|
74
73
|
Via:
|
75
|
-
- 1.1 vegur
|
74
|
+
- 1.1 vegur, 1.1 2feed206ccd80c991a2378002008d9f0.cloudfront.net (CloudFront)
|
75
|
+
X-Cache:
|
76
|
+
- Error from cloudfront
|
77
|
+
X-Amz-Cf-Pop:
|
78
|
+
- MIA3-C1
|
79
|
+
X-Amz-Cf-Id:
|
80
|
+
- HVUORc0RG76Xfl9yfL38K477qSy68tQ3JHFi-EZmFMAD0yjx9d7jrw==
|
76
81
|
body:
|
77
82
|
encoding: UTF-8
|
78
|
-
string: '{"errors":{"
|
79
|
-
|
80
|
-
|
81
|
-
recorded_with: VCR 2.9.3
|
83
|
+
string: '{"errors":[{"title":"installment não pode ficar em branco","status":422,"code":422}]}'
|
84
|
+
recorded_at: Tue, 22 Feb 2022 17:30:52 GMT
|
85
|
+
recorded_with: VCR 6.0.0
|