--- http_interactions: - request: method: get uri: http://localhost:3000/api/v1/customers/gid:%2F%2Fdummy%2FPay::Customer%2F772847388 body: encoding: UTF-8 string: '' headers: Authorization: - Bearer Content-Type: - application/json User-Agent: - Lago Ruby v0.52.2-beta Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" response: status: code: 200 message: OK headers: X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - '0' X-Content-Type-Options: - nosniff X-Download-Options: - noopen X-Permitted-Cross-Domain-Policies: - none Referrer-Policy: - strict-origin-when-cross-origin Content-Type: - application/json; charset=utf-8 Etag: - W/"cc37a5917ff5ee222c568eb23ff5f263" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 2a8c2d12-2a68-4b01-b686-906cf41776ce X-Runtime: - '0.007276' Vary: - Origin Transfer-Encoding: - chunked body: encoding: UTF-8 string: '{"customer":{"lago_id":"f8186952-5b73-480b-96ac-af4c7c953344","external_id":"gid://dummy/Pay::Customer/772847388","name":"Lago User","sequential_id":3,"slug":"AMO-15BA-003","created_at":"2023-11-07T23:51:03Z","updated_at":"2023-12-11T04:52:33Z","country":null,"address_line1":null,"address_line2":null,"state":null,"zipcode":null,"email":"lago@example.org","city":null,"url":null,"phone":null,"logo_url":null,"legal_name":null,"legal_number":null,"currency":"USD","tax_identification_number":null,"timezone":null,"applicable_timezone":"UTC","net_payment_term":null,"external_salesforce_id":null,"billing_configuration":{"invoice_grace_period":null,"payment_provider":"stripe","vat_rate":null,"document_locale":null,"provider_customer_id":"test_1234_a","provider_payment_methods":["card"]},"metadata":[],"taxes":[]}}' recorded_at: Mon, 11 Dec 2023 06:07:17 GMT - request: method: post uri: http://localhost:3000/api/v1/customers body: encoding: UTF-8 string: '{"customer":{"external_id":"gid://dummy/Pay::Customer/772847388","address_line1":null,"address_line2":null,"city":null,"country":null,"email":"lago@example.org","legal_name":null,"legal_number":null,"net_payment_term":null,"tax_identification_number":null,"logo_url":null,"name":"Lago User","phone":null,"state":null,"url":null,"zipcode":null,"currency":"USD","tax_codes":null,"timezone":null,"billing_configuration":{"payment_provider":"stripe","provider_customer_id":"x"}}}' headers: Authorization: - Bearer Content-Type: - application/json User-Agent: - Lago Ruby v0.52.2-beta Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" response: status: code: 200 message: OK headers: X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - '0' X-Content-Type-Options: - nosniff X-Download-Options: - noopen X-Permitted-Cross-Domain-Policies: - none Referrer-Policy: - strict-origin-when-cross-origin Content-Type: - application/json; charset=utf-8 Etag: - W/"97cba9d09cf8d9e47b2eb5e9e4d3f468" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - f6aafd8d-9094-45b5-8054-7551b1f4af23 X-Runtime: - '0.026853' Vary: - Origin Transfer-Encoding: - chunked body: encoding: UTF-8 string: '{"customer":{"lago_id":"f8186952-5b73-480b-96ac-af4c7c953344","external_id":"gid://dummy/Pay::Customer/772847388","name":"Lago User","sequential_id":3,"slug":"AMO-15BA-003","created_at":"2023-11-07T23:51:03Z","updated_at":"2023-12-11T04:52:33Z","country":null,"address_line1":null,"address_line2":null,"state":null,"zipcode":null,"email":"lago@example.org","city":null,"url":null,"phone":null,"logo_url":null,"legal_name":null,"legal_number":null,"currency":"USD","tax_identification_number":null,"timezone":null,"applicable_timezone":"UTC","net_payment_term":null,"external_salesforce_id":null,"billing_configuration":{"invoice_grace_period":null,"payment_provider":"stripe","vat_rate":null,"document_locale":null,"provider_customer_id":"x","provider_payment_methods":["card"]},"metadata":[],"taxes":[]}}' recorded_at: Mon, 11 Dec 2023 06:07:17 GMT recorded_with: VCR 6.2.0