These docs are for v1.0. Click to read the latest docs for v4.1.

Exemplo de implementação

Gerar boleto de R$19,87, de 1 pagamento.

https://ws.pagseguro.uol.com.br/recurring-payment/boletos?email=__seu_email__
&token=__seu_token__
{
    "reference": "PEDIDO123321",
    "firstDueDate": "2019-06-06",
    "numberOfPayments": "1",
    "periodicity": "monthly",
    "amount": "19.87",
    "instructions": "juros de 1% ao dia e mora de 5,00",
    "description": "Assinatura de Sorvete",
    "customer": {
        "document": {
            "type": "CPF",
            "value": "00000000000"
        },
        "name": "Alini QA",
        "email": "[email protected]",
        "phone": {
            "areaCode": "11",
            "number": "80804040"
        },
        "address": {
            "postalCode": "01046010",
            "street": "Av. Ipiranga",
            "number": "100",
            "district": "Republica",
            "city": "Sao Paulo",
            "state": "SP"
        }
    }
}

Gerar boleto de R$19,87, de 4 pagamentos.

https://ws.pagseguro.uol.com.br/recurring-payment/boletos?email=__seu_email__
&token=__seu_token__
{
    "reference": "PEDIDO123321",
    "firstDueDate": "2019-06-06",
    "numberOfPayments": "4",
    "periodicity": "monthly",
    "amount": "19.87",
    "instructions": "juros de 1% ao dia e mora de 5,00",
    "description": "Assinatura de Sorvete",
    "customer": {
        "document": {
            "type": "CPF",
            "value": "00000000000"
        },
        "name": "Alini QA",
        "email": "[email protected]",
        "phone": {
            "areaCode": "11",
            "number": "80804040"
        },
        "address": {
            "postalCode": "01046010",
            "street": "Av. Ipiranga",
            "number": "100",
            "district": "Republica",
            "city": "Sao Paulo",
            "state": "SP"
        }
    }
}

© 1996- Todos os direitos reservados.

PAGSEGURO INTERNET INSTITUIÇÃO DE PAGAMENTO S/A - CNPJ/MF 08.561.701/0001-01

Av. Brigadeiro Faria Lima, 1.384, São Paulo - SP - CEP 01451-001