
-
    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,99","expire_at":"2015-01-01","customer_cnpj_cpf":"012.345.678-90","customer_person_name":"Joao da Silva","customer_zipcode":"12312-123","description":"Cobran\u00e7a XPTO"}}'
    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/799'
            Content-Type: 'application/json; charset=utf-8'
            X-Ratelimit-Limit: '500'
            X-Ratelimit-Remaining: '494'
            Etag: '"49a2cc9a55b064fdf3b6457c1623ef61"'
            Cache-Control: 'max-age=0, private, must-revalidate'
            X-Request-Id: 4d406f2a-b5aa-4b4f-9302-986a030efa2f
            X-Runtime: '0.795783'
            Date: 'Tue, 03 Mar 2015 01:26:02 GMT'
            X-Rack-Cache: 'invalidate, pass'
            Vary: Accept-Encoding
            Transfer-Encoding: chunked
            Via: '1.1 vegur'
        body: '{"id":799,"expire_at":"2015-01-01","paid_at":null,"description":"Cobrança XPTO","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":null,"send_email_on_creation":null,"created_via_api":true,"customer_city_name":"Rio de Janeiro","paid_amount":0.0,"amount":9.99}'
