boletosimples 1.0.4 → 2.0.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 +6 -0
- data/README.md +6 -7
- data/lib/boletosimples/configuration.rb +2 -2
- data/lib/boletosimples/response_error.rb +2 -2
- data/lib/boletosimples/version.rb +1 -1
- data/spec/boletosimples/configuration_spec.rb +3 -3
- data/spec/boletosimples/resources/bank_billet_spec.rb +2 -2
- data/spec/boletosimples/resources/customer_spec.rb +9 -4
- data/spec/boletosimples/resources/customer_subscription_spec.rb +1 -1
- data/spec/boletosimples/resources/installment_spec.rb +1 -1
- data/spec/fixtures/vcr_cassettes/last_request/bank_billets.yml +386 -520
- data/spec/fixtures/vcr_cassettes/resources/bank_billet/all.yml +78 -522
- data/spec/fixtures/vcr_cassettes/resources/bank_billet/cancel/success.yml +30 -12
- data/spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_params.yml +32 -16
- data/spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_root.yml +31 -15
- data/spec/fixtures/vcr_cassettes/resources/bank_billet/create/valid.yml +42 -28
- data/spec/fixtures/vcr_cassettes/resources/bank_billet/duplicate/success.yml +41 -27
- data/spec/fixtures/vcr_cassettes/resources/bank_billet/find.yml +46 -31
- data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/all.yml +47 -103
- data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/create/invalid_params.yml +31 -15
- data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/create/invalid_root.yml +31 -15
- data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/create/valid.yml +35 -19
- data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/find.yml +35 -19
- data/spec/fixtures/vcr_cassettes/resources/bank_billet_discharge/all.yml +35 -41
- data/spec/fixtures/vcr_cassettes/resources/bank_billet_payment/all.yml +73 -72
- data/spec/fixtures/vcr_cassettes/resources/bank_billet_remittance/all.yml +39 -70
- data/spec/fixtures/vcr_cassettes/resources/customer/all.yml +111 -56
- data/spec/fixtures/vcr_cassettes/resources/customer/create/invalid_params.yml +35 -19
- data/spec/fixtures/vcr_cassettes/resources/customer/create/invalid_root.yml +35 -16
- data/spec/fixtures/vcr_cassettes/resources/customer/create/valid.yml +37 -21
- data/spec/fixtures/vcr_cassettes/resources/customer/find.yml +36 -20
- data/spec/fixtures/vcr_cassettes/resources/customer_import/all.yml +34 -18
- data/spec/fixtures/vcr_cassettes/resources/customer_import/create/invalid_params.yml +31 -15
- data/spec/fixtures/vcr_cassettes/resources/customer_import/create/invalid_root.yml +31 -15
- data/spec/fixtures/vcr_cassettes/resources/customer_import/create/valid.yml +36 -20
- data/spec/fixtures/vcr_cassettes/resources/customer_import/find.yml +34 -18
- data/spec/fixtures/vcr_cassettes/resources/customer_subscription/all.yml +35 -71
- data/spec/fixtures/vcr_cassettes/resources/customer_subscription/create/invalid_params.yml +32 -16
- data/spec/fixtures/vcr_cassettes/resources/customer_subscription/create/invalid_root.yml +31 -15
- data/spec/fixtures/vcr_cassettes/resources/customer_subscription/create/valid.yml +35 -19
- data/spec/fixtures/vcr_cassettes/resources/customer_subscription/find.yml +36 -20
- data/spec/fixtures/vcr_cassettes/resources/customer_subscription/next_charge.yml +36 -20
- data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/all.yml +34 -19
- data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/create/invalid_params.yml +31 -15
- data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/create/invalid_root.yml +31 -15
- data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/create/valid.yml +36 -20
- data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/find.yml +34 -18
- data/spec/fixtures/vcr_cassettes/resources/discharge/all.yml +37 -39
- data/spec/fixtures/vcr_cassettes/resources/discharge/create/invalid_params.yml +31 -15
- data/spec/fixtures/vcr_cassettes/resources/discharge/create/invalid_root.yml +31 -15
- data/spec/fixtures/vcr_cassettes/resources/discharge/create/valid.yml +37 -21
- data/spec/fixtures/vcr_cassettes/resources/discharge/find.yml +36 -18
- data/spec/fixtures/vcr_cassettes/resources/email_delivery/all.yml +1 -1
- data/spec/fixtures/vcr_cassettes/resources/event/all.yml +267 -432
- data/spec/fixtures/vcr_cassettes/resources/installment/all.yml +71 -375
- data/spec/fixtures/vcr_cassettes/resources/installment/create/invalid_params.yml +32 -16
- data/spec/fixtures/vcr_cassettes/resources/installment/create/invalid_root.yml +31 -15
- data/spec/fixtures/vcr_cassettes/resources/installment/create/valid.yml +35 -19
- data/spec/fixtures/vcr_cassettes/resources/installment/find.yml +59 -19
- data/spec/fixtures/vcr_cassettes/resources/remittance/all.yml +82 -81
- data/spec/fixtures/vcr_cassettes/resources/sns_delivery/all.yml +31 -15
- data/spec/fixtures/vcr_cassettes/resources/transaction/all.yml +72 -71
- data/spec/fixtures/vcr_cassettes/resources/web_hook/all.yml +33 -17
- data/spec/fixtures/vcr_cassettes/resources/webhook_delivery/all.yml +2657 -1206
- metadata +5 -186
@@ -2,18 +2,18 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: https://sandbox.
|
5
|
+
uri: https://api-sandbox.kobana.com.br/v1/imports/customers
|
6
6
|
body:
|
7
7
|
encoding: ASCII-8BIT
|
8
8
|
string: !binary |-
|
9
|
-
|
9
|
+
LS0tLS0tLS0tLS0tLVJ1YnlNdWx0aXBhcnRQb3N0LWIyN2Y1MGQwNzA4ZWJiZmJlZGU2MGUwYTM5ZTgwNWVjDQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9ImN1c3RvbWVyX2ltcG9ydFtzb3VyY2VdIjsgZmlsZW5hbWU9ImN1c3RvbWVycy5jc3YiDQpDb250ZW50LUxlbmd0aDogMTkwDQpDb250ZW50LVR5cGU6IHRleHQvY3N2DQpDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiBiaW5hcnkNCg0KTm9tZS9SYXphbyBTb2NpYWwsQXBlbGlkby9Ob21lIEZhbnRhc2lhLENOUEovQ1BGLEUtbWFpbCxDRVAsRW5kZXJlw6dvLE51bWVybyBkbyBFbmRlcmVjbyxDb21wbGVtZW50byxCYWlycm8sQ2lkYWRlLEVzdGFkbyxUZWxlZm9uZSAoY29tIERERCksREREIGRvIENlbHVsYXIsTnVtZXJvIGRvIENlbHVsYXIsRS1tYWlsIG9wY2lvbmFsCg0KLS0tLS0tLS0tLS0tLVJ1YnlNdWx0aXBhcnRQb3N0LWIyN2Y1MGQwNzA4ZWJiZmJlZGU2MGUwYTM5ZTgwNWVjLS0NCg==
|
10
10
|
headers:
|
11
11
|
User-Agent:
|
12
12
|
- email@minhaempresa.com.br
|
13
13
|
Authorization:
|
14
14
|
- Bearer BOLETOSIMPLES_API_TOKEN
|
15
15
|
Content-Type:
|
16
|
-
- multipart/form-data; boundary=-----------RubyMultipartPost-
|
16
|
+
- multipart/form-data; boundary=-----------RubyMultipartPost-b27f50d0708ebbfbede60e0a39e805ec
|
17
17
|
Content-Length:
|
18
18
|
- '496'
|
19
19
|
Accept:
|
@@ -25,10 +25,14 @@ http_interactions:
|
|
25
25
|
code: 201
|
26
26
|
message: Created
|
27
27
|
headers:
|
28
|
-
|
29
|
-
-
|
28
|
+
Content-Type:
|
29
|
+
- application/json; charset=utf-8
|
30
|
+
Transfer-Encoding:
|
31
|
+
- chunked
|
30
32
|
Connection:
|
31
33
|
- keep-alive
|
34
|
+
Server:
|
35
|
+
- Cowboy
|
32
36
|
X-Frame-Options:
|
33
37
|
- DENY
|
34
38
|
X-Xss-Protection:
|
@@ -41,36 +45,48 @@ http_interactions:
|
|
41
45
|
- none
|
42
46
|
Referrer-Policy:
|
43
47
|
- strict-origin-when-cross-origin
|
48
|
+
Expect-Ct:
|
49
|
+
- max-age=0, report-uri="https://boletosimples.report-uri.com/r/d/ct/reportOnly"
|
50
|
+
Cross-Origin-Resource-Policy:
|
51
|
+
- cross-origin
|
52
|
+
Cross-Origin-Embedder-Policy:
|
53
|
+
- unsafe-none
|
54
|
+
Cross-Origin-Opener-Policy:
|
55
|
+
- unsafe-none
|
44
56
|
Location:
|
45
|
-
- https://sandbox.
|
46
|
-
Content-Type:
|
47
|
-
- application/json; charset=utf-8
|
57
|
+
- https://api-sandbox.kobana.com.br/api/v1/imports/customers/1280
|
48
58
|
X-Ratelimit-Limit:
|
49
|
-
- '
|
59
|
+
- '18000'
|
50
60
|
X-Ratelimit-Remaining:
|
51
|
-
- '
|
61
|
+
- '17954'
|
52
62
|
Etag:
|
53
|
-
- W/"
|
63
|
+
- W/"cb53b753cfe3d8e4376db065eac4d757"
|
54
64
|
Cache-Control:
|
55
65
|
- max-age=0, private, must-revalidate
|
56
66
|
X-Request-Id:
|
57
|
-
-
|
67
|
+
- 661d87bc-ee14-4433-ba38-0c66e664ece7
|
58
68
|
X-Runtime:
|
59
|
-
- '0.
|
69
|
+
- '0.207911'
|
60
70
|
Date:
|
61
|
-
- Tue,
|
71
|
+
- Tue, 22 Feb 2022 17:30:45 GMT
|
62
72
|
X-Rack-Cache:
|
63
73
|
- invalidate, pass
|
64
74
|
Strict-Transport-Security:
|
65
|
-
- max-age=
|
75
|
+
- max-age=31556952; includeSubDomains; preload
|
66
76
|
Vary:
|
67
77
|
- Origin,Accept-Encoding
|
68
|
-
|
69
|
-
-
|
78
|
+
X-Rack-Cors:
|
79
|
+
- miss; no-origin
|
70
80
|
Via:
|
71
|
-
- 1.1 vegur
|
81
|
+
- 1.1 vegur, 1.1 189ad47cf7c6f3a8b745cb053efec004.cloudfront.net (CloudFront)
|
82
|
+
X-Cache:
|
83
|
+
- Miss from cloudfront
|
84
|
+
X-Amz-Cf-Pop:
|
85
|
+
- MIA3-C1
|
86
|
+
X-Amz-Cf-Id:
|
87
|
+
- ss7Kn_qEzQa3JRk8aQHhPkFzq0YFVjn5hjbI56bQwP2Jnn6TWfv-WA==
|
72
88
|
body:
|
73
89
|
encoding: UTF-8
|
74
|
-
string: '{"id":
|
75
|
-
recorded_at: Tue,
|
90
|
+
string: '{"id":1280,"created_rows":0,"enqueued_at":null,"started_at":null,"finished_at":null,"processed_at":null,"failed_to_create_rows":0,"failed_to_update_rows":0,"import_errors":null,"processed_rows":0,"total_rows":null,"updated_rows":0,"source_file_name":"customers.csv","source_file_size":190,"status":"pending","created_via_api":true}'
|
91
|
+
recorded_at: Tue, 22 Feb 2022 17:30:45 GMT
|
76
92
|
recorded_with: VCR 6.0.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://sandbox.
|
5
|
+
uri: https://api-sandbox.kobana.com.br/v1/imports/customers/1280
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -20,10 +20,14 @@ http_interactions:
|
|
20
20
|
code: 200
|
21
21
|
message: OK
|
22
22
|
headers:
|
23
|
-
|
24
|
-
-
|
23
|
+
Content-Type:
|
24
|
+
- application/json; charset=utf-8
|
25
|
+
Transfer-Encoding:
|
26
|
+
- chunked
|
25
27
|
Connection:
|
26
28
|
- keep-alive
|
29
|
+
Server:
|
30
|
+
- Cowboy
|
27
31
|
X-Frame-Options:
|
28
32
|
- DENY
|
29
33
|
X-Xss-Protection:
|
@@ -36,36 +40,48 @@ http_interactions:
|
|
36
40
|
- none
|
37
41
|
Referrer-Policy:
|
38
42
|
- strict-origin-when-cross-origin
|
43
|
+
Expect-Ct:
|
44
|
+
- max-age=0, report-uri="https://boletosimples.report-uri.com/r/d/ct/reportOnly"
|
45
|
+
Cross-Origin-Resource-Policy:
|
46
|
+
- cross-origin
|
47
|
+
Cross-Origin-Embedder-Policy:
|
48
|
+
- unsafe-none
|
49
|
+
Cross-Origin-Opener-Policy:
|
50
|
+
- unsafe-none
|
39
51
|
Location:
|
40
|
-
- https://sandbox.
|
41
|
-
Content-Type:
|
42
|
-
- application/json; charset=utf-8
|
52
|
+
- https://api-sandbox.kobana.com.br/api/v1/imports/customers/1280
|
43
53
|
X-Ratelimit-Limit:
|
44
|
-
- '
|
54
|
+
- '100'
|
45
55
|
X-Ratelimit-Remaining:
|
46
|
-
- '
|
56
|
+
- '53'
|
47
57
|
Etag:
|
48
|
-
- W/"
|
58
|
+
- W/"cb53b753cfe3d8e4376db065eac4d757"
|
49
59
|
Cache-Control:
|
50
60
|
- must-revalidate, private, max-age=0
|
51
61
|
X-Request-Id:
|
52
|
-
-
|
62
|
+
- b354487b-2234-4e72-b5f3-0e7e781933d3
|
53
63
|
X-Runtime:
|
54
|
-
- '0.
|
64
|
+
- '0.014999'
|
55
65
|
Date:
|
56
|
-
- Tue,
|
66
|
+
- Tue, 22 Feb 2022 17:30:47 GMT
|
57
67
|
X-Rack-Cache:
|
58
68
|
- miss
|
59
69
|
Strict-Transport-Security:
|
60
|
-
- max-age=
|
70
|
+
- max-age=31556952; includeSubDomains; preload
|
61
71
|
Vary:
|
62
72
|
- Origin,Accept-Encoding
|
63
|
-
|
64
|
-
-
|
73
|
+
X-Rack-Cors:
|
74
|
+
- miss; no-origin
|
65
75
|
Via:
|
66
|
-
- 1.1 vegur
|
76
|
+
- 1.1 vegur, 1.1 87870fc50391b69b5ca922233fe59ace.cloudfront.net (CloudFront)
|
77
|
+
X-Cache:
|
78
|
+
- Miss from cloudfront
|
79
|
+
X-Amz-Cf-Pop:
|
80
|
+
- MIA3-C1
|
81
|
+
X-Amz-Cf-Id:
|
82
|
+
- zY9mOnFrVo8vK0XL_pg5Ggyu0Tt-xCuylAVoUYS8qgXqApSnZAnwjQ==
|
67
83
|
body:
|
68
84
|
encoding: UTF-8
|
69
|
-
string: '{"id":
|
70
|
-
recorded_at: Tue,
|
85
|
+
string: '{"id":1280,"created_rows":0,"enqueued_at":null,"started_at":null,"finished_at":null,"processed_at":null,"failed_to_create_rows":0,"failed_to_update_rows":0,"import_errors":null,"processed_rows":0,"total_rows":null,"updated_rows":0,"source_file_name":"customers.csv","source_file_size":190,"status":"pending","created_via_api":true}'
|
86
|
+
recorded_at: Tue, 22 Feb 2022 17:30:47 GMT
|
71
87
|
recorded_with: VCR 6.0.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://sandbox.
|
5
|
+
uri: https://api-sandbox.kobana.com.br/v1/customer_subscriptions
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -20,10 +20,14 @@ http_interactions:
|
|
20
20
|
code: 200
|
21
21
|
message: OK
|
22
22
|
headers:
|
23
|
-
|
24
|
-
-
|
23
|
+
Content-Type:
|
24
|
+
- application/json; charset=utf-8
|
25
|
+
Transfer-Encoding:
|
26
|
+
- chunked
|
25
27
|
Connection:
|
26
28
|
- keep-alive
|
29
|
+
Server:
|
30
|
+
- Cowboy
|
27
31
|
X-Frame-Options:
|
28
32
|
- DENY
|
29
33
|
X-Xss-Protection:
|
@@ -36,98 +40,58 @@ http_interactions:
|
|
36
40
|
- none
|
37
41
|
Referrer-Policy:
|
38
42
|
- strict-origin-when-cross-origin
|
43
|
+
Expect-Ct:
|
44
|
+
- max-age=0, report-uri="https://boletosimples.report-uri.com/r/d/ct/reportOnly"
|
45
|
+
Cross-Origin-Resource-Policy:
|
46
|
+
- cross-origin
|
47
|
+
Cross-Origin-Embedder-Policy:
|
48
|
+
- unsafe-none
|
49
|
+
Cross-Origin-Opener-Policy:
|
50
|
+
- unsafe-none
|
39
51
|
Per-Page:
|
40
52
|
- '50'
|
41
53
|
Page:
|
42
54
|
- ''
|
43
|
-
Content-Type:
|
44
|
-
- application/json; charset=utf-8
|
45
55
|
X-Ratelimit-Limit:
|
46
|
-
- '
|
56
|
+
- '100'
|
47
57
|
X-Ratelimit-Remaining:
|
48
|
-
- '
|
58
|
+
- '62'
|
49
59
|
Etag:
|
50
|
-
- W/"
|
60
|
+
- W/"b689ab1ab2ff2be920a7b435436ca43e"
|
51
61
|
Cache-Control:
|
52
62
|
- must-revalidate, private, max-age=0
|
53
63
|
X-Request-Id:
|
54
|
-
-
|
64
|
+
- 7e444190-4a22-4804-8763-fe5b444806b6
|
55
65
|
X-Runtime:
|
56
|
-
- '0.
|
66
|
+
- '0.022865'
|
57
67
|
Date:
|
58
|
-
- Tue,
|
68
|
+
- Tue, 22 Feb 2022 17:30:39 GMT
|
59
69
|
X-Rack-Cache:
|
60
70
|
- miss
|
61
71
|
Strict-Transport-Security:
|
62
|
-
- max-age=
|
72
|
+
- max-age=31556952; includeSubDomains; preload
|
63
73
|
Vary:
|
64
74
|
- Origin,Accept-Encoding
|
65
|
-
|
66
|
-
-
|
75
|
+
X-Rack-Cors:
|
76
|
+
- miss; no-origin
|
67
77
|
Via:
|
68
|
-
- 1.1 vegur
|
78
|
+
- 1.1 vegur, 1.1 ea905bc41494afa044dd561d2410d0a0.cloudfront.net (CloudFront)
|
79
|
+
X-Cache:
|
80
|
+
- Miss from cloudfront
|
81
|
+
X-Amz-Cf-Pop:
|
82
|
+
- MIA3-C1
|
83
|
+
X-Amz-Cf-Id:
|
84
|
+
- 2gEvWjpkcPNslWv7rngv2e9RFjnBf8vR80Ja-VID2vkZ53jmFjrT_w==
|
69
85
|
body:
|
70
86
|
encoding: UTF-8
|
71
|
-
string: '[{"id":
|
72
|
-
da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua
|
73
|
-
quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
|
74
|
-
4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_city_name":"Rio
|
75
|
-
de Janeiro","customer_email_cc":null,"customer_ignore_email":null,"customer_mobile_local_code":null,"customer_mobile_number":null,"customer_nickname":null,"customer_notes":null,"description":"Hospedagem","created_at":"2021-04-13T14:18:56-03:00","updated_at":"2021-04-13T14:18:56-03:00","created_via_api":true,"days_in_advance":7,"bank_billet_account_id":3547,"fine_for_delay":null,"fine_type":0,"fine_percentage":null,"fine_value":null,"days_for_fine":null,"late_payment_interest":null,"interest_type":0,"interest_daily_value":null,"interest_daily_percentage":null,"interest_monthly_percentage":null,"days_for_interest":null,"discount_type":0,"days_for_discount":null,"discount_value":null,"discount_percentage":null,"email":null,"bank_billet_layout_id":null,"bank_billet_ids":[],"notes":null,"payment_count":1,"tags":[],"tag_list":"","prevent_registration":false,"divergent_payment_type":null,"divergent_payment_value_type":null,"divergent_payment_maximum_value":null,"divergent_payment_minimum_value":null,"divergent_payment_maximum_percentage":null,"divergent_payment_minimum_percentage":null,"divergent_payment_limit":null,"days_for_second_discount":null,"second_discount_percentage":null,"second_discount_value":null,"days_for_third_discount":null,"third_discount_percentage":null,"third_discount_value":null,"days_for_revoke":null,"days_for_sue":null,"days_for_negativation":null,"interest_percentage":null,"interest_value":null,"interest_days_type":0,"customer_contact_person":null,"custom_attachment_name":null,"guarantor_name":null,"guarantor_cnpj_cpf":null,"guarantor_address_number":null,"guarantor_neighborhood":null,"guarantor_phone_number":null,"guarantor_city_name":null,"guarantor_state":null,"guarantor_zipcode":null,"guarantor_address":null,"guarantor_address_complement":null},{"id":2624,"amount":1120.4,"cycle":"monthly","next_billing":"2021-06-09","end_at":null,"instructions":null,"customer_id":80703,"customer_person_name":"Joao
|
76
|
-
da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua
|
77
|
-
quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
|
78
|
-
4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_city_name":"Rio
|
79
|
-
de Janeiro","customer_email_cc":null,"customer_ignore_email":null,"customer_mobile_local_code":null,"customer_mobile_number":null,"customer_nickname":null,"customer_notes":null,"description":"Hospedagem","created_at":"2021-04-09T10:56:03-03:00","updated_at":"2021-04-09T10:56:07-03:00","created_via_api":true,"days_in_advance":7,"bank_billet_account_id":3547,"fine_for_delay":null,"fine_type":0,"fine_percentage":null,"fine_value":null,"days_for_fine":null,"late_payment_interest":null,"interest_type":0,"interest_daily_value":null,"interest_daily_percentage":null,"interest_monthly_percentage":null,"days_for_interest":null,"discount_type":0,"days_for_discount":null,"discount_value":null,"discount_percentage":null,"email":null,"bank_billet_layout_id":null,"bank_billet_ids":[],"notes":null,"payment_count":1,"tags":[],"tag_list":"","prevent_registration":false,"divergent_payment_type":null,"divergent_payment_value_type":null,"divergent_payment_maximum_value":null,"divergent_payment_minimum_value":null,"divergent_payment_maximum_percentage":null,"divergent_payment_minimum_percentage":null,"divergent_payment_limit":null,"days_for_second_discount":null,"second_discount_percentage":null,"second_discount_value":null,"days_for_third_discount":null,"third_discount_percentage":null,"third_discount_value":null,"days_for_revoke":null,"days_for_sue":null,"days_for_negativation":null,"interest_percentage":null,"interest_value":null,"interest_days_type":0,"customer_contact_person":null,"custom_attachment_name":null,"guarantor_name":null,"guarantor_cnpj_cpf":null,"guarantor_address_number":null,"guarantor_neighborhood":null,"guarantor_phone_number":null,"guarantor_city_name":null,"guarantor_state":null,"guarantor_zipcode":null,"guarantor_address":null,"guarantor_address_complement":null},{"id":2625,"amount":1120.4,"cycle":"monthly","next_billing":"2021-06-09","end_at":null,"instructions":null,"customer_id":80703,"customer_person_name":"Joao
|
80
|
-
da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua
|
81
|
-
quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
|
82
|
-
4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_city_name":"Rio
|
83
|
-
de Janeiro","customer_email_cc":null,"customer_ignore_email":null,"customer_mobile_local_code":null,"customer_mobile_number":null,"customer_nickname":null,"customer_notes":null,"description":"Hospedagem","created_at":"2021-04-09T11:17:09-03:00","updated_at":"2021-04-09T11:17:11-03:00","created_via_api":true,"days_in_advance":7,"bank_billet_account_id":3547,"fine_for_delay":null,"fine_type":0,"fine_percentage":null,"fine_value":null,"days_for_fine":null,"late_payment_interest":null,"interest_type":0,"interest_daily_value":null,"interest_daily_percentage":null,"interest_monthly_percentage":null,"days_for_interest":null,"discount_type":0,"days_for_discount":null,"discount_value":null,"discount_percentage":null,"email":null,"bank_billet_layout_id":null,"bank_billet_ids":[],"notes":null,"payment_count":1,"tags":[],"tag_list":"","prevent_registration":false,"divergent_payment_type":null,"divergent_payment_value_type":null,"divergent_payment_maximum_value":null,"divergent_payment_minimum_value":null,"divergent_payment_maximum_percentage":null,"divergent_payment_minimum_percentage":null,"divergent_payment_limit":null,"days_for_second_discount":null,"second_discount_percentage":null,"second_discount_value":null,"days_for_third_discount":null,"third_discount_percentage":null,"third_discount_value":null,"days_for_revoke":null,"days_for_sue":null,"days_for_negativation":null,"interest_percentage":null,"interest_value":null,"interest_days_type":0,"customer_contact_person":null,"custom_attachment_name":null,"guarantor_name":null,"guarantor_cnpj_cpf":null,"guarantor_address_number":null,"guarantor_neighborhood":null,"guarantor_phone_number":null,"guarantor_city_name":null,"guarantor_state":null,"guarantor_zipcode":null,"guarantor_address":null,"guarantor_address_complement":null},{"id":2623,"amount":1120.4,"cycle":"monthly","next_billing":"2021-06-09","end_at":null,"instructions":null,"customer_id":80703,"customer_person_name":"Joao
|
84
|
-
da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua
|
85
|
-
quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
|
86
|
-
4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_city_name":"Rio
|
87
|
-
de Janeiro","customer_email_cc":null,"customer_ignore_email":null,"customer_mobile_local_code":null,"customer_mobile_number":null,"customer_nickname":null,"customer_notes":null,"description":"Hospedagem","created_at":"2021-04-09T10:39:17-03:00","updated_at":"2021-04-09T10:39:19-03:00","created_via_api":true,"days_in_advance":7,"bank_billet_account_id":3547,"fine_for_delay":null,"fine_type":0,"fine_percentage":null,"fine_value":null,"days_for_fine":null,"late_payment_interest":null,"interest_type":0,"interest_daily_value":null,"interest_daily_percentage":null,"interest_monthly_percentage":null,"days_for_interest":null,"discount_type":0,"days_for_discount":null,"discount_value":null,"discount_percentage":null,"email":null,"bank_billet_layout_id":null,"bank_billet_ids":[],"notes":null,"payment_count":1,"tags":[],"tag_list":"","prevent_registration":false,"divergent_payment_type":null,"divergent_payment_value_type":null,"divergent_payment_maximum_value":null,"divergent_payment_minimum_value":null,"divergent_payment_maximum_percentage":null,"divergent_payment_minimum_percentage":null,"divergent_payment_limit":null,"days_for_second_discount":null,"second_discount_percentage":null,"second_discount_value":null,"days_for_third_discount":null,"third_discount_percentage":null,"third_discount_value":null,"days_for_revoke":null,"days_for_sue":null,"days_for_negativation":null,"interest_percentage":null,"interest_value":null,"interest_days_type":0,"customer_contact_person":null,"custom_attachment_name":null,"guarantor_name":null,"guarantor_cnpj_cpf":null,"guarantor_address_number":null,"guarantor_neighborhood":null,"guarantor_phone_number":null,"guarantor_city_name":null,"guarantor_state":null,"guarantor_zipcode":null,"guarantor_address":null,"guarantor_address_complement":null},{"id":2627,"amount":1120.4,"cycle":"monthly","next_billing":"2021-06-12","end_at":null,"instructions":null,"customer_id":80703,"customer_person_name":"Joao
|
88
|
-
da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua
|
89
|
-
quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
|
90
|
-
4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_city_name":"Rio
|
91
|
-
de Janeiro","customer_email_cc":null,"customer_ignore_email":null,"customer_mobile_local_code":null,"customer_mobile_number":null,"customer_nickname":null,"customer_notes":null,"description":"Hospedagem","created_at":"2021-04-12T11:54:58-03:00","updated_at":"2021-04-12T11:55:01-03:00","created_via_api":true,"days_in_advance":7,"bank_billet_account_id":3547,"fine_for_delay":null,"fine_type":0,"fine_percentage":null,"fine_value":null,"days_for_fine":null,"late_payment_interest":null,"interest_type":0,"interest_daily_value":null,"interest_daily_percentage":null,"interest_monthly_percentage":null,"days_for_interest":null,"discount_type":0,"days_for_discount":null,"discount_value":null,"discount_percentage":null,"email":null,"bank_billet_layout_id":null,"bank_billet_ids":[382119],"notes":null,"payment_count":1,"tags":[],"tag_list":"","prevent_registration":false,"divergent_payment_type":null,"divergent_payment_value_type":null,"divergent_payment_maximum_value":null,"divergent_payment_minimum_value":null,"divergent_payment_maximum_percentage":null,"divergent_payment_minimum_percentage":null,"divergent_payment_limit":null,"days_for_second_discount":null,"second_discount_percentage":null,"second_discount_value":null,"days_for_third_discount":null,"third_discount_percentage":null,"third_discount_value":null,"days_for_revoke":null,"days_for_sue":null,"days_for_negativation":null,"interest_percentage":null,"interest_value":null,"interest_days_type":0,"customer_contact_person":null,"custom_attachment_name":null,"guarantor_name":null,"guarantor_cnpj_cpf":null,"guarantor_address_number":null,"guarantor_neighborhood":null,"guarantor_phone_number":null,"guarantor_city_name":null,"guarantor_state":null,"guarantor_zipcode":null,"guarantor_address":null,"guarantor_address_complement":null},{"id":2631,"amount":1120.4,"cycle":"monthly","next_billing":"2021-06-13","end_at":null,"instructions":null,"customer_id":80703,"customer_person_name":"Joao
|
92
|
-
da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua
|
93
|
-
quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
|
94
|
-
4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_city_name":"Rio
|
95
|
-
de Janeiro","customer_email_cc":null,"customer_ignore_email":null,"customer_mobile_local_code":null,"customer_mobile_number":null,"customer_nickname":null,"customer_notes":null,"description":"Hospedagem","created_at":"2021-04-13T10:00:34-03:00","updated_at":"2021-04-13T10:00:36-03:00","created_via_api":true,"days_in_advance":7,"bank_billet_account_id":3547,"fine_for_delay":null,"fine_type":0,"fine_percentage":null,"fine_value":null,"days_for_fine":null,"late_payment_interest":null,"interest_type":0,"interest_daily_value":null,"interest_daily_percentage":null,"interest_monthly_percentage":null,"days_for_interest":null,"discount_type":0,"days_for_discount":null,"discount_value":null,"discount_percentage":null,"email":null,"bank_billet_layout_id":null,"bank_billet_ids":[382282],"notes":null,"payment_count":1,"tags":[],"tag_list":"","prevent_registration":false,"divergent_payment_type":null,"divergent_payment_value_type":null,"divergent_payment_maximum_value":null,"divergent_payment_minimum_value":null,"divergent_payment_maximum_percentage":null,"divergent_payment_minimum_percentage":null,"divergent_payment_limit":null,"days_for_second_discount":null,"second_discount_percentage":null,"second_discount_value":null,"days_for_third_discount":null,"third_discount_percentage":null,"third_discount_value":null,"days_for_revoke":null,"days_for_sue":null,"days_for_negativation":null,"interest_percentage":null,"interest_value":null,"interest_days_type":0,"customer_contact_person":null,"custom_attachment_name":null,"guarantor_name":null,"guarantor_cnpj_cpf":null,"guarantor_address_number":null,"guarantor_neighborhood":null,"guarantor_phone_number":null,"guarantor_city_name":null,"guarantor_state":null,"guarantor_zipcode":null,"guarantor_address":null,"guarantor_address_complement":null},{"id":2632,"amount":1120.4,"cycle":"monthly","next_billing":"2021-06-13","end_at":null,"instructions":null,"customer_id":80703,"customer_person_name":"Joao
|
96
|
-
da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua
|
97
|
-
quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
|
98
|
-
4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_city_name":"Rio
|
99
|
-
de Janeiro","customer_email_cc":null,"customer_ignore_email":null,"customer_mobile_local_code":null,"customer_mobile_number":null,"customer_nickname":null,"customer_notes":null,"description":"Hospedagem","created_at":"2021-04-13T10:55:15-03:00","updated_at":"2021-04-13T10:55:16-03:00","created_via_api":true,"days_in_advance":7,"bank_billet_account_id":3547,"fine_for_delay":null,"fine_type":0,"fine_percentage":null,"fine_value":null,"days_for_fine":null,"late_payment_interest":null,"interest_type":0,"interest_daily_value":null,"interest_daily_percentage":null,"interest_monthly_percentage":null,"days_for_interest":null,"discount_type":0,"days_for_discount":null,"discount_value":null,"discount_percentage":null,"email":null,"bank_billet_layout_id":null,"bank_billet_ids":[382303],"notes":null,"payment_count":1,"tags":[],"tag_list":"","prevent_registration":false,"divergent_payment_type":null,"divergent_payment_value_type":null,"divergent_payment_maximum_value":null,"divergent_payment_minimum_value":null,"divergent_payment_maximum_percentage":null,"divergent_payment_minimum_percentage":null,"divergent_payment_limit":null,"days_for_second_discount":null,"second_discount_percentage":null,"second_discount_value":null,"days_for_third_discount":null,"third_discount_percentage":null,"third_discount_value":null,"days_for_revoke":null,"days_for_sue":null,"days_for_negativation":null,"interest_percentage":null,"interest_value":null,"interest_days_type":0,"customer_contact_person":null,"custom_attachment_name":null,"guarantor_name":null,"guarantor_cnpj_cpf":null,"guarantor_address_number":null,"guarantor_neighborhood":null,"guarantor_phone_number":null,"guarantor_city_name":null,"guarantor_state":null,"guarantor_zipcode":null,"guarantor_address":null,"guarantor_address_complement":null},{"id":2633,"amount":1120.4,"cycle":"monthly","next_billing":"2021-06-13","end_at":null,"instructions":null,"customer_id":80703,"customer_person_name":"Joao
|
100
|
-
da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua
|
101
|
-
quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
|
102
|
-
4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_city_name":"Rio
|
103
|
-
de Janeiro","customer_email_cc":null,"customer_ignore_email":null,"customer_mobile_local_code":null,"customer_mobile_number":null,"customer_nickname":null,"customer_notes":null,"description":"Hospedagem","created_at":"2021-04-13T11:03:01-03:00","updated_at":"2021-04-13T11:03:02-03:00","created_via_api":true,"days_in_advance":7,"bank_billet_account_id":3547,"fine_for_delay":null,"fine_type":0,"fine_percentage":null,"fine_value":null,"days_for_fine":null,"late_payment_interest":null,"interest_type":0,"interest_daily_value":null,"interest_daily_percentage":null,"interest_monthly_percentage":null,"days_for_interest":null,"discount_type":0,"days_for_discount":null,"discount_value":null,"discount_percentage":null,"email":null,"bank_billet_layout_id":null,"bank_billet_ids":[382309],"notes":null,"payment_count":1,"tags":[],"tag_list":"","prevent_registration":false,"divergent_payment_type":null,"divergent_payment_value_type":null,"divergent_payment_maximum_value":null,"divergent_payment_minimum_value":null,"divergent_payment_maximum_percentage":null,"divergent_payment_minimum_percentage":null,"divergent_payment_limit":null,"days_for_second_discount":null,"second_discount_percentage":null,"second_discount_value":null,"days_for_third_discount":null,"third_discount_percentage":null,"third_discount_value":null,"days_for_revoke":null,"days_for_sue":null,"days_for_negativation":null,"interest_percentage":null,"interest_value":null,"interest_days_type":0,"customer_contact_person":null,"custom_attachment_name":null,"guarantor_name":null,"guarantor_cnpj_cpf":null,"guarantor_address_number":null,"guarantor_neighborhood":null,"guarantor_phone_number":null,"guarantor_city_name":null,"guarantor_state":null,"guarantor_zipcode":null,"guarantor_address":null,"guarantor_address_complement":null},{"id":2634,"amount":1120.4,"cycle":"monthly","next_billing":"2021-06-13","end_at":null,"instructions":null,"customer_id":80703,"customer_person_name":"Joao
|
104
|
-
da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua
|
105
|
-
quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
|
106
|
-
4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_city_name":"Rio
|
107
|
-
de Janeiro","customer_email_cc":null,"customer_ignore_email":null,"customer_mobile_local_code":null,"customer_mobile_number":null,"customer_nickname":null,"customer_notes":null,"description":"Hospedagem","created_at":"2021-04-13T11:10:18-03:00","updated_at":"2021-04-13T11:10:23-03:00","created_via_api":true,"days_in_advance":7,"bank_billet_account_id":3547,"fine_for_delay":null,"fine_type":0,"fine_percentage":null,"fine_value":null,"days_for_fine":null,"late_payment_interest":null,"interest_type":0,"interest_daily_value":null,"interest_daily_percentage":null,"interest_monthly_percentage":null,"days_for_interest":null,"discount_type":0,"days_for_discount":null,"discount_value":null,"discount_percentage":null,"email":null,"bank_billet_layout_id":null,"bank_billet_ids":[382314],"notes":null,"payment_count":1,"tags":[],"tag_list":"","prevent_registration":false,"divergent_payment_type":null,"divergent_payment_value_type":null,"divergent_payment_maximum_value":null,"divergent_payment_minimum_value":null,"divergent_payment_maximum_percentage":null,"divergent_payment_minimum_percentage":null,"divergent_payment_limit":null,"days_for_second_discount":null,"second_discount_percentage":null,"second_discount_value":null,"days_for_third_discount":null,"third_discount_percentage":null,"third_discount_value":null,"days_for_revoke":null,"days_for_sue":null,"days_for_negativation":null,"interest_percentage":null,"interest_value":null,"interest_days_type":0,"customer_contact_person":null,"custom_attachment_name":null,"guarantor_name":null,"guarantor_cnpj_cpf":null,"guarantor_address_number":null,"guarantor_neighborhood":null,"guarantor_phone_number":null,"guarantor_city_name":null,"guarantor_state":null,"guarantor_zipcode":null,"guarantor_address":null,"guarantor_address_complement":null},{"id":2630,"amount":1120.4,"cycle":"monthly","next_billing":"2021-06-13","end_at":null,"instructions":null,"customer_id":80703,"customer_person_name":"Joao
|
108
|
-
da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua
|
109
|
-
quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
|
110
|
-
4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_city_name":"Rio
|
111
|
-
de Janeiro","customer_email_cc":null,"customer_ignore_email":null,"customer_mobile_local_code":null,"customer_mobile_number":null,"customer_nickname":null,"customer_notes":null,"description":"Hospedagem","created_at":"2021-04-13T09:27:26-03:00","updated_at":"2021-04-13T09:27:28-03:00","created_via_api":true,"days_in_advance":7,"bank_billet_account_id":3547,"fine_for_delay":null,"fine_type":0,"fine_percentage":null,"fine_value":null,"days_for_fine":null,"late_payment_interest":null,"interest_type":0,"interest_daily_value":null,"interest_daily_percentage":null,"interest_monthly_percentage":null,"days_for_interest":null,"discount_type":0,"days_for_discount":null,"discount_value":null,"discount_percentage":null,"email":null,"bank_billet_layout_id":null,"bank_billet_ids":[382264],"notes":null,"payment_count":1,"tags":[],"tag_list":"","prevent_registration":false,"divergent_payment_type":null,"divergent_payment_value_type":null,"divergent_payment_maximum_value":null,"divergent_payment_minimum_value":null,"divergent_payment_maximum_percentage":null,"divergent_payment_minimum_percentage":null,"divergent_payment_limit":null,"days_for_second_discount":null,"second_discount_percentage":null,"second_discount_value":null,"days_for_third_discount":null,"third_discount_percentage":null,"third_discount_value":null,"days_for_revoke":null,"days_for_sue":null,"days_for_negativation":null,"interest_percentage":null,"interest_value":null,"interest_days_type":0,"customer_contact_person":null,"custom_attachment_name":null,"guarantor_name":null,"guarantor_cnpj_cpf":null,"guarantor_address_number":null,"guarantor_neighborhood":null,"guarantor_phone_number":null,"guarantor_city_name":null,"guarantor_state":null,"guarantor_zipcode":null,"guarantor_address":null,"guarantor_address_complement":null},{"id":2636,"amount":1120.4,"cycle":"monthly","next_billing":"2021-06-13","end_at":null,"instructions":null,"customer_id":80703,"customer_person_name":"Joao
|
112
|
-
da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua
|
113
|
-
quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
|
114
|
-
4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_city_name":"Rio
|
115
|
-
de Janeiro","customer_email_cc":null,"customer_ignore_email":null,"customer_mobile_local_code":null,"customer_mobile_number":null,"customer_nickname":null,"customer_notes":null,"description":"Hospedagem","created_at":"2021-04-13T11:26:23-03:00","updated_at":"2021-04-13T11:26:24-03:00","created_via_api":true,"days_in_advance":7,"bank_billet_account_id":3547,"fine_for_delay":null,"fine_type":0,"fine_percentage":null,"fine_value":null,"days_for_fine":null,"late_payment_interest":null,"interest_type":0,"interest_daily_value":null,"interest_daily_percentage":null,"interest_monthly_percentage":null,"days_for_interest":null,"discount_type":0,"days_for_discount":null,"discount_value":null,"discount_percentage":null,"email":null,"bank_billet_layout_id":null,"bank_billet_ids":[382324],"notes":null,"payment_count":1,"tags":[],"tag_list":"","prevent_registration":false,"divergent_payment_type":null,"divergent_payment_value_type":null,"divergent_payment_maximum_value":null,"divergent_payment_minimum_value":null,"divergent_payment_maximum_percentage":null,"divergent_payment_minimum_percentage":null,"divergent_payment_limit":null,"days_for_second_discount":null,"second_discount_percentage":null,"second_discount_value":null,"days_for_third_discount":null,"third_discount_percentage":null,"third_discount_value":null,"days_for_revoke":null,"days_for_sue":null,"days_for_negativation":null,"interest_percentage":null,"interest_value":null,"interest_days_type":0,"customer_contact_person":null,"custom_attachment_name":null,"guarantor_name":null,"guarantor_cnpj_cpf":null,"guarantor_address_number":null,"guarantor_neighborhood":null,"guarantor_phone_number":null,"guarantor_city_name":null,"guarantor_state":null,"guarantor_zipcode":null,"guarantor_address":null,"guarantor_address_complement":null},{"id":2637,"amount":1120.4,"cycle":"monthly","next_billing":"2021-06-13","end_at":null,"instructions":null,"customer_id":80703,"customer_person_name":"Joao
|
116
|
-
da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua
|
117
|
-
quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
|
118
|
-
4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_city_name":"Rio
|
119
|
-
de Janeiro","customer_email_cc":null,"customer_ignore_email":null,"customer_mobile_local_code":null,"customer_mobile_number":null,"customer_nickname":null,"customer_notes":null,"description":"Hospedagem","created_at":"2021-04-13T11:35:46-03:00","updated_at":"2021-04-13T11:35:49-03:00","created_via_api":true,"days_in_advance":7,"bank_billet_account_id":3547,"fine_for_delay":null,"fine_type":0,"fine_percentage":null,"fine_value":null,"days_for_fine":null,"late_payment_interest":null,"interest_type":0,"interest_daily_value":null,"interest_daily_percentage":null,"interest_monthly_percentage":null,"days_for_interest":null,"discount_type":0,"days_for_discount":null,"discount_value":null,"discount_percentage":null,"email":null,"bank_billet_layout_id":null,"bank_billet_ids":[382333],"notes":null,"payment_count":1,"tags":[],"tag_list":"","prevent_registration":false,"divergent_payment_type":null,"divergent_payment_value_type":null,"divergent_payment_maximum_value":null,"divergent_payment_minimum_value":null,"divergent_payment_maximum_percentage":null,"divergent_payment_minimum_percentage":null,"divergent_payment_limit":null,"days_for_second_discount":null,"second_discount_percentage":null,"second_discount_value":null,"days_for_third_discount":null,"third_discount_percentage":null,"third_discount_value":null,"days_for_revoke":null,"days_for_sue":null,"days_for_negativation":null,"interest_percentage":null,"interest_value":null,"interest_days_type":0,"customer_contact_person":null,"custom_attachment_name":null,"guarantor_name":null,"guarantor_cnpj_cpf":null,"guarantor_address_number":null,"guarantor_neighborhood":null,"guarantor_phone_number":null,"guarantor_city_name":null,"guarantor_state":null,"guarantor_zipcode":null,"guarantor_address":null,"guarantor_address_complement":null},{"id":2638,"amount":1120.4,"cycle":"monthly","next_billing":"2021-06-13","end_at":null,"instructions":null,"customer_id":80703,"customer_person_name":"Joao
|
120
|
-
da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua
|
121
|
-
quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
|
122
|
-
4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_city_name":"Rio
|
123
|
-
de Janeiro","customer_email_cc":null,"customer_ignore_email":null,"customer_mobile_local_code":null,"customer_mobile_number":null,"customer_nickname":null,"customer_notes":null,"description":"Hospedagem","created_at":"2021-04-13T11:40:16-03:00","updated_at":"2021-04-13T11:40:18-03:00","created_via_api":true,"days_in_advance":7,"bank_billet_account_id":3547,"fine_for_delay":null,"fine_type":0,"fine_percentage":null,"fine_value":null,"days_for_fine":null,"late_payment_interest":null,"interest_type":0,"interest_daily_value":null,"interest_daily_percentage":null,"interest_monthly_percentage":null,"days_for_interest":null,"discount_type":0,"days_for_discount":null,"discount_value":null,"discount_percentage":null,"email":null,"bank_billet_layout_id":null,"bank_billet_ids":[382345],"notes":null,"payment_count":1,"tags":[],"tag_list":"","prevent_registration":false,"divergent_payment_type":null,"divergent_payment_value_type":null,"divergent_payment_maximum_value":null,"divergent_payment_minimum_value":null,"divergent_payment_maximum_percentage":null,"divergent_payment_minimum_percentage":null,"divergent_payment_limit":null,"days_for_second_discount":null,"second_discount_percentage":null,"second_discount_value":null,"days_for_third_discount":null,"third_discount_percentage":null,"third_discount_value":null,"days_for_revoke":null,"days_for_sue":null,"days_for_negativation":null,"interest_percentage":null,"interest_value":null,"interest_days_type":0,"customer_contact_person":null,"custom_attachment_name":null,"guarantor_name":null,"guarantor_cnpj_cpf":null,"guarantor_address_number":null,"guarantor_neighborhood":null,"guarantor_phone_number":null,"guarantor_city_name":null,"guarantor_state":null,"guarantor_zipcode":null,"guarantor_address":null,"guarantor_address_complement":null},{"id":2639,"amount":1120.4,"cycle":"monthly","next_billing":"2021-06-13","end_at":null,"instructions":null,"customer_id":80703,"customer_person_name":"Joao
|
87
|
+
string: '[{"id":3200,"amount":1120.4,"cycle":"monthly","next_billing":"2022-04-22","end_at":null,"instructions":null,"customer_id":93340,"customer_person_name":"Joao
|
124
88
|
da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua
|
125
89
|
quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
|
126
90
|
4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_city_name":"Rio
|
127
|
-
de Janeiro","customer_email_cc":null,"customer_ignore_email":null,"customer_mobile_local_code":null,"customer_mobile_number":null,"customer_nickname":null,"customer_notes":null,"description":"Hospedagem","created_at":"
|
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,"description":"Hospedagem","created_at":"2022-02-22T14:26:57-03:00","updated_at":"2022-02-22T14:26:58-03:00","created_via_api":true,"days_in_advance":7,"bank_billet_account_id":659,"fine_for_delay":null,"fine_type":0,"fine_percentage":null,"fine_value":null,"days_for_fine":null,"late_payment_interest":null,"interest_type":0,"interest_daily_value":null,"interest_daily_percentage":null,"interest_monthly_percentage":null,"days_for_interest":null,"discount_type":0,"days_for_discount":null,"discount_value":null,"discount_percentage":null,"email":null,"bank_billet_layout_id":null,"bank_billet_ids":[472525],"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},{"id":3201,"amount":1120.4,"cycle":"monthly","next_billing":"2022-04-22","end_at":null,"instructions":null,"customer_id":93340,"customer_person_name":"Joao
|
128
92
|
da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua
|
129
93
|
quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
|
130
94
|
4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_city_name":"Rio
|
131
|
-
de Janeiro","customer_email_cc":null,"customer_ignore_email":null,"customer_mobile_local_code":null,"customer_mobile_number":null,"customer_nickname":null,"customer_notes":null,"description":"Hospedagem","created_at":"
|
132
|
-
recorded_at: Tue,
|
95
|
+
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,"description":"Hospedagem","created_at":"2022-02-22T14:30:36-03:00","updated_at":"2022-02-22T14:30:39-03:00","created_via_api":true,"days_in_advance":7,"bank_billet_account_id":659,"fine_for_delay":null,"fine_type":0,"fine_percentage":null,"fine_value":null,"days_for_fine":null,"late_payment_interest":null,"interest_type":0,"interest_daily_value":null,"interest_daily_percentage":null,"interest_monthly_percentage":null,"days_for_interest":null,"discount_type":0,"days_for_discount":null,"discount_value":null,"discount_percentage":null,"email":null,"bank_billet_layout_id":null,"bank_billet_ids":[472531],"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}]'
|
96
|
+
recorded_at: Tue, 22 Feb 2022 17:30:39 GMT
|
133
97
|
recorded_with: VCR 6.0.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: https://sandbox.
|
5
|
+
uri: https://api-sandbox.kobana.com.br/v1/customer_subscriptions
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: '{"customer_subscription":{"customer_id":""}}'
|
@@ -22,10 +22,14 @@ http_interactions:
|
|
22
22
|
code: 422
|
23
23
|
message: Unprocessable Entity
|
24
24
|
headers:
|
25
|
-
|
26
|
-
-
|
25
|
+
Content-Type:
|
26
|
+
- application/json; charset=utf-8
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
27
29
|
Connection:
|
28
30
|
- keep-alive
|
31
|
+
Server:
|
32
|
+
- Cowboy
|
29
33
|
X-Frame-Options:
|
30
34
|
- DENY
|
31
35
|
X-Xss-Protection:
|
@@ -38,36 +42,48 @@ http_interactions:
|
|
38
42
|
- none
|
39
43
|
Referrer-Policy:
|
40
44
|
- strict-origin-when-cross-origin
|
41
|
-
|
42
|
-
-
|
45
|
+
Expect-Ct:
|
46
|
+
- max-age=0, report-uri="https://boletosimples.report-uri.com/r/d/ct/reportOnly"
|
47
|
+
Cross-Origin-Resource-Policy:
|
48
|
+
- cross-origin
|
49
|
+
Cross-Origin-Embedder-Policy:
|
50
|
+
- unsafe-none
|
51
|
+
Cross-Origin-Opener-Policy:
|
52
|
+
- unsafe-none
|
43
53
|
X-Ratelimit-Limit:
|
44
|
-
- '
|
54
|
+
- '18000'
|
45
55
|
X-Ratelimit-Remaining:
|
46
|
-
- '
|
56
|
+
- '17960'
|
47
57
|
Cache-Control:
|
48
58
|
- no-cache
|
49
59
|
X-Request-Id:
|
50
|
-
-
|
60
|
+
- 90e83d99-6331-4d1a-8f32-d62c84b18ff4
|
51
61
|
X-Runtime:
|
52
|
-
- '0.
|
62
|
+
- '0.055160'
|
53
63
|
Date:
|
54
|
-
- Tue,
|
64
|
+
- Tue, 22 Feb 2022 17:30:37 GMT
|
55
65
|
X-Rack-Cache:
|
56
66
|
- invalidate, pass
|
57
67
|
Strict-Transport-Security:
|
58
|
-
- max-age=
|
68
|
+
- max-age=31556952; includeSubDomains; preload
|
59
69
|
Vary:
|
60
70
|
- Origin,Accept-Encoding
|
61
|
-
|
62
|
-
-
|
71
|
+
X-Rack-Cors:
|
72
|
+
- miss; no-origin
|
63
73
|
Via:
|
64
|
-
- 1.1 vegur
|
74
|
+
- 1.1 vegur, 1.1 b3ca1a7752327aa687a6611c7f28951e.cloudfront.net (CloudFront)
|
75
|
+
X-Cache:
|
76
|
+
- Error from cloudfront
|
77
|
+
X-Amz-Cf-Pop:
|
78
|
+
- MIA3-C1
|
79
|
+
X-Amz-Cf-Id:
|
80
|
+
- UmV_SSORxjI2o6ZzH12DFmW8i5aV9pnfPk8MvFkaumFMEU05ALcySA==
|
65
81
|
body:
|
66
82
|
encoding: UTF-8
|
67
83
|
string: '{"errors":{"customer_person_name":["não pode ficar em branco"],"customer_cnpj_cpf":["não
|
68
|
-
|
84
|
+
é um CNPJ ou CPF válido"],"customer_zipcode":["não pode ficar em branco"],"amount":["não
|
69
85
|
pode ficar em branco"],"customer_address":["não pode ficar em branco"],"customer_neighborhood":["não
|
70
86
|
pode ficar em branco"],"customer_city_name":["não pode ficar em branco"],"customer_state":["não
|
71
87
|
está incluído na lista"]}}'
|
72
|
-
recorded_at: Tue,
|
88
|
+
recorded_at: Tue, 22 Feb 2022 17:30:38 GMT
|
73
89
|
recorded_with: VCR 6.0.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: https://sandbox.
|
5
|
+
uri: https://api-sandbox.kobana.com.br/v1/customer_subscriptions
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: '{"customer_subscription":{}}'
|
@@ -22,10 +22,14 @@ http_interactions:
|
|
22
22
|
code: 422
|
23
23
|
message: Unprocessable Entity
|
24
24
|
headers:
|
25
|
-
|
26
|
-
-
|
25
|
+
Content-Type:
|
26
|
+
- application/json; charset=utf-8
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
27
29
|
Connection:
|
28
30
|
- keep-alive
|
31
|
+
Server:
|
32
|
+
- Cowboy
|
29
33
|
X-Frame-Options:
|
30
34
|
- DENY
|
31
35
|
X-Xss-Protection:
|
@@ -38,32 +42,44 @@ http_interactions:
|
|
38
42
|
- none
|
39
43
|
Referrer-Policy:
|
40
44
|
- strict-origin-when-cross-origin
|
41
|
-
|
42
|
-
-
|
45
|
+
Expect-Ct:
|
46
|
+
- max-age=0, report-uri="https://boletosimples.report-uri.com/r/d/ct/reportOnly"
|
47
|
+
Cross-Origin-Resource-Policy:
|
48
|
+
- cross-origin
|
49
|
+
Cross-Origin-Embedder-Policy:
|
50
|
+
- unsafe-none
|
51
|
+
Cross-Origin-Opener-Policy:
|
52
|
+
- unsafe-none
|
43
53
|
X-Ratelimit-Limit:
|
44
|
-
- '
|
54
|
+
- '18000'
|
45
55
|
X-Ratelimit-Remaining:
|
46
|
-
- '
|
56
|
+
- '17959'
|
47
57
|
Cache-Control:
|
48
58
|
- no-cache
|
49
59
|
X-Request-Id:
|
50
|
-
-
|
60
|
+
- 700bc792-bf92-4f0c-84aa-f195ac738587
|
51
61
|
X-Runtime:
|
52
|
-
- '0.
|
62
|
+
- '0.013827'
|
53
63
|
Date:
|
54
|
-
- Tue,
|
64
|
+
- Tue, 22 Feb 2022 17:30:38 GMT
|
55
65
|
X-Rack-Cache:
|
56
66
|
- invalidate, pass
|
57
67
|
Strict-Transport-Security:
|
58
|
-
- max-age=
|
68
|
+
- max-age=31556952; includeSubDomains; preload
|
59
69
|
Vary:
|
60
70
|
- Origin,Accept-Encoding
|
61
|
-
|
62
|
-
-
|
71
|
+
X-Rack-Cors:
|
72
|
+
- miss; no-origin
|
63
73
|
Via:
|
64
|
-
- 1.1 vegur
|
74
|
+
- 1.1 vegur, 1.1 5b065c27afb6cf16a3aa6aae83715630.cloudfront.net (CloudFront)
|
75
|
+
X-Cache:
|
76
|
+
- Error from cloudfront
|
77
|
+
X-Amz-Cf-Pop:
|
78
|
+
- MIA3-C1
|
79
|
+
X-Amz-Cf-Id:
|
80
|
+
- 2gjzIrDeNzaIa9Xh3MvJfPdrCJzOjDy8PhwFhjUToRhauRSI6lJhww==
|
65
81
|
body:
|
66
82
|
encoding: UTF-8
|
67
83
|
string: '{"errors":[{"title":"customer_subscription não pode ficar em branco","status":422,"code":422}]}'
|
68
|
-
recorded_at: Tue,
|
84
|
+
recorded_at: Tue, 22 Feb 2022 17:30:38 GMT
|
69
85
|
recorded_with: VCR 6.0.0
|