Public
Documentation Settings

API Boleto

POSTGerar Boleto

https://ws.pagseguro.uol.com.br/recurring-payment/boletos?email={{EMAIL_DA_CONTA}}&token={{TOKEN_DA_CONTA}}
HEADERS
Content-Type

application/json

Accept

application/json

PARAMS
email

{{EMAIL_DA_CONTA}}

Email cadastrado na conta de produção.

token

{{TOKEN_DA_CONTA}}

Token gerado na conta de produção.

Bodyraw
{
    "reference": "PEDIDO TESTE",
    "firstDueDate": "2020-09-20",
    "numberOfPayments": "05",
    "periodicity": "monthly",
    "amount": "19.87",
    "ExtraAmount": -5.00,
    "instructions": "Teste Pagseguro.",
    "description": "Teste Pagseguro.",
    "customer": {
        "document": {
            "type": "CPF",
            "value": "CPF_COMPRADOR"
        },
        "name": "Alini QA",
        "email": "compradoralini@xpto.com.br",
        "phone": {
            "areaCode": "11",
            "number": "91234-5678
        },
        "address": {
            "postalCode": "01046010",
            "street": "Av. Ipiranga",
            "number": "100",
            "district": "Republica",
            "city": "Sao Paulo",
            "state": "SP"
        }
    }
}

POSTCancelar boleto

https://ws.pagseguro.uol.com.br/v2/transactions/cancels?email={{EMAIL_DA_CONTA}}&token={{TOKEN_DA_CONTA}}&transactionCode={{transaction-code}}
HEADERS
Content-Type

application/xml;charset=ISO-8859-1

PARAMS
email

{{EMAIL_DA_CONTA}}

token

{{TOKEN_DA_CONTA}}

transactionCode

{{transaction-code}}

Loading