v1
latestOpenAPI 3.1.02026-07-24750514.9 KBCriar Checkout
post/checkouts
Headers
Authorizationstring
Token de autenticação. Deve ser enviado no formato Bearer <token>.
Content-typestring
Request body
Response
200
Example response
{
"id": "CHEC_XXXX",
"reference_id": "REFERÊNCIA DO PRODUTO",
"expiration_date": "2023-08-14T19:09:10-03:00",
"created_at": "2023-06-14T16:34:30-03:00",
"status": "ACTIVE",
"customer": {
"name": "João Teste",
"email": "joao@teste.com",
"tax_id": "00000000000",
"phone": {
"country": "+55",
"area": "27",
"number": "999999999"
}
},
"customer_modifiable": true,
"items": [
{
"reference_id": "ITEM01",
"name": "Nome do Produto",
"quantity": 1,
"unit_amount": 500,
"image_url": "https://www.petz.com.br/blog//wp-content/upload/2018/09/tamanho-de-cachorro-pet-1.jpg"
}
],
"shipping": {
"type": "FREE",
"address": {
"country": "BRA",
"region_code": "SP",
"city": "São Paulo",
"postal_code": "01452002",
"street": "Faria Lima",
"number": "1384",
"locality": "Pinheiros",
"complement": "5 andar"
},
"address_modifiable": true
},
"payment_methods": [
{
"type": "CREDIT_CARD",
"brands": [
"MASTERCARD"
]
}
],
"payment_methods_configs": [
{
"type": "CREDIT_CARD",
"config_options": [
{
"option": "INSTALLMENTS_LIMIT",
"value": "1"
}
]
}
],
"soft_descriptor": "xxxx",
"redirect_url": "https://pagseguro.uol.com.br",
"redirect_waiting_time": 15,
"return_url": "https://pagseguro.uol.com.br",
"notification_urls": [
"https://pagseguro.uol.com.br"
],
"payment_notification_urls": [
"https://pagseguro.uol.com.br"
],
"links": [
{
"rel": "PAY",
"href": "https://pagamento.pagseguro.uol.com.br/pagamento?code=XXXX",
"method": "GET"
}
]
}