--- http_interactions: - request: method: post uri: https://api-sandbox.kobana.com.br/v1/bank_billets/472529/duplicate body: encoding: UTF-8 string: '{"bank_billet":{"id":472529}}' headers: User-Agent: - email@minhaempresa.com.br Authorization: - Bearer BOLETOSIMPLES_API_TOKEN Content-Type: - application/json Accept: - application/json Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: status: code: 201 message: Created headers: Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked Connection: - keep-alive Server: - Cowboy X-Frame-Options: - DENY X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff X-Download-Options: - noopen X-Permitted-Cross-Domain-Policies: - none Referrer-Policy: - strict-origin-when-cross-origin Expect-Ct: - max-age=0, report-uri="https://boletosimples.report-uri.com/r/d/ct/reportOnly" Cross-Origin-Resource-Policy: - cross-origin Cross-Origin-Embedder-Policy: - unsafe-none Cross-Origin-Opener-Policy: - unsafe-none Location: - https://api-sandbox.kobana.com.br/api/v1/bank_billets/472530 X-Ratelimit-Limit: - '18000' X-Ratelimit-Remaining: - '17968' Etag: - W/"ccda87b3da5ffbd4da9c0fd62a429483" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - de1988c5-dd7f-48e3-8bc7-364105ab6e15 X-Runtime: - '0.087328' Date: - Tue, 22 Feb 2022 17:30:28 GMT X-Rack-Cache: - invalidate, pass Strict-Transport-Security: - max-age=31556952; includeSubDomains; preload Vary: - Origin,Accept-Encoding X-Rack-Cors: - miss; no-origin Via: - 1.1 vegur, 1.1 0cf45531e6680fc654de9fce5ded19c6.cloudfront.net (CloudFront) X-Cache: - Miss from cloudfront X-Amz-Cf-Pop: - MIA3-C1 X-Amz-Cf-Id: - NL5AcloK9zDo0Ym7g_YyX5_L3DkC2SAibC4tnafoDL7O9D9Me8sd6w== body: encoding: UTF-8 string: '{"id":472530,"expire_at":"2022-03-01","paid_at":null,"description":"Despesas do contrato 0012","status":"generating","customer_person_name":"Joao da Silva","customer_cnpj_cpf":"34.565.715/0001-03","customer_address":"Rua quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala 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 de Janeiro","paid_amount":0.0,"amount":9.01,"url":"https://sandbox.bole.to/3/jnbrqy","formats":{"default":"https://sandbox.bole.to/3/jnbrqy","png":"https://sandbox.bole.to/3/jnbrqy.png","pdf":"https://sandbox.bole.to/3/jnbrqy.pdf","boleto_hibrido":"https://sandbox.bole.to/3/jnbrqy/boleto_hibrido","boleto_pix":"https://sandbox.bole.to/3/jnbrqy/boleto_pix","barcode":"https://sandbox.bole.to/3/jnbrqy/barcode","envelope":"https://sandbox.bole.to/3/jnbrqy/envelope","letter":"https://sandbox.bole.to/3/jnbrqy/letter","line":"https://sandbox.bole.to/3/jnbrqy/line","recibo":"https://sandbox.bole.to/3/jnbrqy/recibo"},"meta":null,"fine_for_delay":null,"fine_type":0,"fine_percentage":null,"fine_value":null,"days_for_fine":null,"late_payment_interest":null,"interest_type":0,"interest_daily_value":null,"interest_daily_percentage":null,"interest_monthly_percentage":null,"days_for_interest":null,"discount_type":0,"discount_limit_date":null,"discount_value":null,"discount_percentage":null,"days_for_revoke":null,"notes":null,"payment_count":1,"bank_billet_account_id":659,"beneficiary_name":"Kivanio Pereira Barbosa","beneficiary_cnpj_cpf":"000.233.771-19","beneficiary_address":"Rua Quatro, 9, 78058-330","beneficiary_assignor_code":"0001/123322-0","guarantor_name":null,"guarantor_cnpj_cpf":null,"payment_place":"Pagável em qualquer banco até a data de vencimento.","instructions":null,"document_date":null,"document_type":"02","document_number":null,"acceptance":"N","processed_our_number":"14000000000000086-3","processed_our_number_raw":"140000000000000863","bank_contract_slug":"caixa-rg","agency_number":"2342","agency_digit":"2","account_number":"0012432","account_digit":"1","extra1":"0123322","extra1_digit":null,"extra2":null,"extra2_digit":null,"line":"10491.23324 20000.100048 00000.008664 1 89110000000901","our_number":"000000000000086","customer_subscription_id":null,"installment_total":null,"installment_number":null,"installment_id":null,"carne_url":null,"bank_billet_layout_id":null,"created_at":"2022-02-22T14:30:28-03:00","updated_at":"2022-02-22T14:30:28-03:00","tags":[],"tag_list":null,"document_type_label":"DM","addons":null,"ignore_email":false,"ignore_sms":false,"sue_code":null,"revoke_code":null,"first_instruction":null,"second_instruction":null,"guarantor_address_number":null,"guarantor_neighborhood":null,"guarantor_phone_number":null,"guarantor_city_name":null,"guarantor_state":null,"guarantor_zipcode":null,"guarantor_address":null,"guarantor_address_complement":null,"barcode":"10491891100000009011233220000100040000000866","registered_at":null,"prevent_registration":false,"customer_id":93341,"control_number":null,"divergent_payment_type":null,"divergent_payment_value_type":null,"divergent_payment_maximum_value":null,"divergent_payment_minimum_value":null,"divergent_payment_maximum_percentage":null,"divergent_payment_minimum_percentage":null,"divergent_payment_limit":null,"days_for_discount":null,"days_for_second_discount":null,"second_discount_percentage":null,"second_discount_value":null,"days_for_third_discount":null,"third_discount_percentage":null,"third_discount_value":null,"days_for_sue":null,"days_for_negativation":null,"interest_percentage":null,"interest_value":null,"interest_days_type":0,"customer_contact_person":null,"custom_attachment_name":null,"split_payment":false,"dispatch_type":1,"charge_type":1,"custom_data":null,"issued_at":"2022-02-22T14:30:28-03:00","shorten_url":"https://sandbox.bole.to/3/jnbrqy","pix_enabled":false,"pix_qrcode":null,"password_protected_mode":null,"revoked_at":null,"bank_billet_discharges":[],"bank_billet_remittances":[],"bank_billet_payments":[],"bank_billet_registrations":[],"bank_billet_split_accounts":[],"pix":[]}' recorded_at: Tue, 22 Feb 2022 17:30:28 GMT recorded_with: VCR 6.0.0