
-
    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":"199,99","expire_at":"2020-01-01","description":"Cobran\u00e7a XPTO"}}'
    response:
        status:
            http_version: '1.1'
            code: '422'
            message: 'Unprocessable Entity'
        headers:
            Server: Cowboy
            Connection: keep-alive
            Strict-Transport-Security: max-age=2592000
            Content-Type: 'application/json; charset=utf-8'
            X-Ratelimit-Limit: '500'
            X-Ratelimit-Remaining: '495'
            Cache-Control: no-cache
            X-Request-Id: 31701f7c-c265-4941-9a79-2636c48e6b4d
            X-Runtime: '0.078203'
            Date: 'Tue, 03 Mar 2015 01:26:00 GMT'
            X-Rack-Cache: 'invalidate, pass'
            Vary: Accept-Encoding
            Transfer-Encoding: chunked
            Via: '1.1 vegur'
        body: '{"errors":{"customer_person_name":["não pode ficar em branco"],"customer_cnpj_cpf":["não pode ficar em branco"],"customer_zipcode":["não pode ficar em branco"],"expire_at":["deve ser em ou até 02/02/2015"],"amount":["deve ser menor ou igual a 10"]}}'
