
-
    request:
        method: POST
        url: 'http://api.desenvolvimento/v1/customers'
        headers:
            Host: api.desenvolvimento
            Authorization: 'Basic ZGV2ZWxvcG1lbnRfYXBpX3Rva2VuOg=='
            Accept: application/json
            Accept-Charset: utf-8
            User-Agent: 'Iugu PHPLibrary'
            Accept-Language: 'pt-br;q=0.9,pt-BR'
        body: 'email=john.snow%40greatwall.com&name=John+Snow&cpf_cnpj=648.144.103-01&cc_emails=heisenberg%40lospolloshermanos.com&zip_code=29190560&number=8&street=Rua+dos+Bobos&city=S%C3%A3o+Paulo&state=SP&district=Mooca&complement=123C'
    response:
        status:
            http_version: '1.1'
            code: '200'
            message: OK
        headers:
            Server: nginx/1.13.8
            Date: 'Wed, 28 Feb 2018 18:15:34 GMT'
            Content-Type: 'application/json; charset=utf-8'
            Transfer-Encoding: chunked
            Connection: keep-alive
            x-HandledBy: 'api/v1/customer#create'
            X-UA-Compatible: IE=Edge
            ETag: '"15cc68e143bf7ff23da4baabcbf49235"'
            Cache-Control: 'max-age=0, private, must-revalidate'
            X-Request-Id: 2a7cc1b2b6541528b82fbe57d3a288c1
            X-Runtime: '0.043264'
            Vary: Origin
        body: '{"id":"D5BDE4542AE441298BE0FF0175518B92","email":"john.snow@greatwall.com","name":"John Snow","notes":null,"created_at":"2018-02-28T15:15:34-03:00","updated_at":"2018-02-28T15:15:34-03:00","cc_emails":"heisenberg@lospolloshermanos.com","cpf_cnpj":"648.144.103-01","zip_code":"29190560","number":"8","complement":"123C","phone":null,"phone_prefix":null,"default_payment_method_id":null,"proxy_payments_from_customer_id":null,"city":null,"state":"SP","district":"Mooca","street":"Rua dos Bobos","custom_variables":[]}'
