
-
    request:
        method: POST
        url: 'https://sandbox.boletosimples.com.br/api/v1/bank_billets'
        headers:
            Host: sandbox.boletosimples.com.br
            Expect: null
            Accept-Encoding: null
            Content-Type: application/json
            User-Agent: 'BoletoSimples PHP Client v0.0.5 (contato@boletosimples.com.br)'
            Authorization: 'Bearer BOLETOSIMPLES_ACCESS_TOKEN'
            Accept: null
        body: '{"bank_billet":{"amount":"9,01","description":"Despesas do contrato 0012","expire_at":"2014-01-01","customer_address":"Rua quinhentos","customer_address_complement":"Sala 4","customer_address_number":"111","customer_city_name":"Rio de Janeiro","customer_cnpj_cpf":"012.345.678-90","customer_email":"cliente@example.com","customer_neighborhood":"Sao Francisco","customer_person_name":"Joao da Silva","customer_person_type":"individual","customer_phone_number":"2112123434","customer_state":"RJ","customer_zipcode":"12312-123","notification_url":"http:\/\/example.com.br\/notify"}}'
    response:
        status:
            http_version: '1.1'
            code: '201'
            message: Created
        headers:
            Server: Cowboy
            Connection: keep-alive
            Strict-Transport-Security: max-age=2592000
            Location: 'https://sandbox.boletosimples.com.br/api/v1/bank_billets/798'
            Content-Type: 'application/json; charset=utf-8'
            X-Ratelimit-Limit: '500'
            X-Ratelimit-Remaining: '479'
            Etag: '"4816ee6b4ef3c82a203bcee9fd8568c5"'
            Cache-Control: 'max-age=0, private, must-revalidate'
            X-Request-Id: b99f0fa2-f402-4243-a237-d67bda75ecc5
            X-Runtime: '0.146021'
            Date: 'Mon, 02 Mar 2015 23:41:28 GMT'
            X-Rack-Cache: 'invalidate, pass'
            Vary: Accept-Encoding
            Transfer-Encoding: chunked
            Via: '1.1 vegur'
        body: '{"id":798,"expire_at":"2014-01-01","paid_at":null,"description":"Despesas do contrato 0012","status":"generating","shorten_url":null,"customer_person_type":"individual","customer_person_name":"Joao da Silva","customer_cnpj_cpf":"012.345.678-90","customer_address":"Rua quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312-123","customer_address_number":"111","customer_address_complement":"Sala 4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","notification_url":"http://example.com.br/notify","send_email_on_creation":null,"created_via_api":true,"customer_city_name":"Rio de Janeiro","paid_amount":0.0,"amount":9.01}'
