--- http_interactions: - request: method: post uri: https://api.chartmogul.com/v1/data_sources body: encoding: UTF-8 string: '{"name":"Customer Test Data Source"}' headers: User-Agent: - Faraday v1.0.1 Content-Type: - application/json Authorization: - Basic hidden response: status: code: 201 message: Created headers: server: - nginx/1.10.1 date: - Tue, 16 Mar 2021 12:27:18 GMT content-type: - application/json transfer-encoding: - chunked connection: - keep-alive status: - 201 Created access-control-allow-credentials: - 'true' body: encoding: UTF-8 string: '{"uuid":"ds_f2f67ad0-8652-11eb-a9f8-37471a677085","name":"Customer Test Data Source","system":"Import API","created_at":"2021-03-16T12:27:18.630Z","status":"idle"}' http_version: recorded_at: Tue, 16 Mar 2021 12:27:18 GMT - request: method: post uri: https://api.chartmogul.com/v1/customers body: encoding: UTF-8 string: '{"external_id":"X1234","name":"Test Customer","email":"test@example.com","country":"DE","city":"Berlin","data_source_uuid":"ds_f2f67ad0-8652-11eb-a9f8-37471a677085","lead_created_at":"2016-10-01 23:55:00 UTC","free_trial_started_at":"2016-10-12 11:12:00 UTC"}' headers: User-Agent: - Faraday v1.0.1 Content-Type: - application/json Authorization: - Basic hidden response: status: code: 201 message: Created headers: server: - nginx/1.10.1 date: - Tue, 16 Mar 2021 12:27:19 GMT content-type: - application/json transfer-encoding: - chunked connection: - keep-alive status: - 201 Created access-control-allow-credentials: - 'true' body: encoding: UTF-8 string: '{"id":93760512,"uuid":"cus_f340970a-8652-11eb-a9f8-cfc7971a103f","external_id":"X1234","name":"Test Customer","email":"test@example.com","status":"Lead","customer-since":null,"attributes":{"custom":{},"clearbit":{},"stripe":{},"tags":[]},"data_source_uuid":"ds_f2f67ad0-8652-11eb-a9f8-37471a677085","data_source_uuids":["ds_f2f67ad0-8652-11eb-a9f8-37471a677085"],"external_ids":["X1234"],"company":"","country":"DE","state":null,"city":"Berlin","zip":null,"lead_created_at":"2016-10-01T23:55:00.000Z","free_trial_started_at":"2016-10-12T11:12:00.000Z","address":{"country":"Germany","state":null,"city":"Berlin","address_zip":null},"mrr":0,"arr":0,"billing-system-url":null,"chartmogul-url":"https://app.chartmogul.com/#customers/93760512-Test_Customer","billing-system-type":"Import API","currency":"USD","currency-sign":"$"}' http_version: recorded_at: Tue, 16 Mar 2021 12:27:19 GMT - request: method: get uri: https://api.chartmogul.com/v1/customers body: encoding: US-ASCII string: '' headers: User-Agent: - Faraday v1.0.1 Content-Type: - application/json Authorization: - Basic hidden response: status: code: 200 message: OK headers: server: - nginx/1.10.1 date: - Tue, 16 Mar 2021 12:27:19 GMT content-type: - application/json transfer-encoding: - chunked connection: - keep-alive vary: - Accept-Encoding, Accept-Encoding status: - 200 OK access-control-allow-credentials: - 'true' body: encoding: ASCII-8BIT string: '{"entries":[{"id":93760512,"uuid":"cus_f340970a-8652-11eb-a9f8-cfc7971a103f","external_id":"X1234","name":"Test Customer","email":"test@example.com","status":"Lead","customer-since":null,"attributes":{"custom":{},"clearbit":{},"stripe":{},"tags":[]},"data_source_uuid":"ds_f2f67ad0-8652-11eb-a9f8-37471a677085","data_source_uuids":["ds_f2f67ad0-8652-11eb-a9f8-37471a677085"],"external_ids":["X1234"],"company":"","country":"DE","state":null,"city":"Berlin","zip":null,"lead_created_at":"2016-10-01T23:55:00.000Z","free_trial_started_at":"2016-10-12T11:12:00.000Z","address":{"country":"Germany","state":null,"city":"Berlin","address_zip":null},"mrr":0,"arr":0,"billing-system-url":null,"chartmogul-url":"https://app.chartmogul.com/#customers/93760512-Test_Customer","billing-system-type":"Import API","currency":"USD","currency-sign":"$"}],"current_page":1,"total_pages":1,"has_more":false,"per_page":200,"page":1}' http_version: recorded_at: Tue, 16 Mar 2021 12:27:19 GMT - request: method: delete uri: https://api.chartmogul.com/v1/customers/cus_f340970a-8652-11eb-a9f8-cfc7971a103f body: encoding: US-ASCII string: '' headers: User-Agent: - Faraday v1.0.1 Authorization: - Basic hidden response: status: code: 204 message: No Content headers: server: - nginx/1.10.1 date: - Tue, 16 Mar 2021 12:28:19 GMT connection: - keep-alive status: - 204 No Content access-control-allow-credentials: - 'true' body: encoding: UTF-8 string: '' http_version: recorded_at: Tue, 16 Mar 2021 12:28:19 GMT - request: method: get uri: https://api.chartmogul.com/v1/customers body: encoding: US-ASCII string: '' headers: User-Agent: - Faraday v1.0.1 Content-Type: - application/json Authorization: - Basic hidden response: status: code: 200 message: OK headers: server: - nginx/1.10.1 date: - Tue, 16 Mar 2021 12:28:20 GMT content-type: - application/json transfer-encoding: - chunked connection: - keep-alive vary: - Accept-Encoding, Accept-Encoding status: - 200 OK access-control-allow-credentials: - 'true' body: encoding: ASCII-8BIT string: '{"entries":[],"current_page":1,"total_pages":1,"has_more":false,"per_page":200,"page":1}' http_version: recorded_at: Tue, 16 Mar 2021 12:28:20 GMT recorded_with: VCR 5.1.0