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"
}
}
}