Boleto Bancário . com - Soluções para geração de boletos bancários

Boleto Bancário . com - Soluções para geração de boletos bancários

Desde 2000 no mercado de emissão de boletos

In English

Boleto Service Demonstração

O Boleto Service funciona como um Web Service, facilmente integrável a qualquer tipo de site ou aplicação. Basta chamar a URL informando seu usuário, senha e os dados do boleto.

O formulário a seguir mostra o Boleto Service em ação. Preencha os campos e veja como ficará a URL do Boleto Service.

URL:
https://www.boletobancario.com/boletoservice/servlet/BoletoService?





















* Nesta demonstração, está habilitada apenas a conta 5678 da agência 1234 do banco Bradesco. Além disso, a data de vencimento deve estar no passado.

<?php
    $url = "";
    $ch = curl_init();
    curl_setopt ($ch, CURLOPT_URL, $url);
    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, 10);
    $file_contents = curl_exec($ch);
    curl_close($ch);
    echo $file_contents;
?>
<%
    url = ""
    Set xmlHttp = Server.Createobject("MSXML2.ServerXMLHTTP")
    xmlHttp.Open "POST", url, False
    xmlHttp.setRequestHeader "User-Agent", "asp httprequest"
    xmlHttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
    xmlHttp.Send
    Response.Write xmlHttp.responseText
    xmlHttp.abort()
    set xmlHttp = Nothing
%>
<%@ page import="java.net.URL" %>
<%@ page import="java.io.BufferedReader" %>
<%@ page import="java.io.InputStreamReader" %>
<%
    URL url = new URL("");
    BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));

    String inputLine;

    while ((inputLine = in.readLine()) != null) {
        out.println(inputLine);
    }

    in.close();
%>
package com.boletobancario.demo;

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.URL;

public class ExemploBoletoService {
    public static void main(String[] args) throws Exception {

        URL url = new URL("");
        BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));

        String inputLine;

        while ((inputLine = in.readLine()) != null) {
            System.out.println(inputLine);
        }

        in.close();
    }
}
Rua Des. Ermelino de Leão, 35 - 3º Andar
Centro - Curitiba-PR
Segurança garantida pela Thawte Desenvolvido por Polvo Digital