Pagamento através de PIX
Exemplo de request para pagamento com PIX
{
"type": "pix",
"items": [
{
"qty": 1,
"link": "AQMed Home",
"name": "Home",
"image": "AQMed Home",
"amount": 22.9
}
],
"amount": 22.9,
"customer": {
"name": "Comprador",
"type": "F",
"email": "[email protected]",
"phones": [
{
"area": "12",
"number": "934567890"
}
],
"address": {
"city": "Sao Paulo",
"state": "SP",
"number": 11,
"street": "Rua Tabapua",
"district": "Itaim Bibi",
"postcode": "04003-030"
},
"lastname": "da Silva",
"tax_document": "03723668054"
},
"payments": [
{
"type": "pix",
"amount": 22.9
}
],
"reference_id": "3769efbb-0c31-4f69-91af-7de63d2a26e8",
"qtd_dependents": 0
}