Cobrança (PIX, boleto, link): uazapi e Orkesio
Na uazapi: POST /send/request-payment. Na Orkesio: POST /messages com "type": "payment". A rota da uazapi continua funcionando.
Na uazapi o pedido do contato ia em orderMessageId; na Orkesio, em order_id.
Pedido
uazapi (POST /send/request-payment)
{
"number": "5511999999999",
"amount": 349.5,
"text": "Pedido #457",
"invoiceNumber": "457",
"itemName": "Kit de ferramentas",
"pixKey": "12345678000190",
"pixType": "CNPJ",
"pixName": "Loja Exemplo LTDA",
"boletoCode": "34191.79001 01043.510047 91020.150008 5 97340000034950",
"fileUrl": "https://loja.exemplo/boleto-457.pdf",
"fileName": "boleto-457.pdf"
}Orkesio (POST /messages)
{
"to": "5511999999999",
"type": "payment",
"amount": 349.5,
"text": "Pedido #457",
"reference_id": "457",
"items": [
{
"name": "Kit de ferramentas",
"quantity": 1
}
],
"pix": {
"key": "12345678000190",
"key_type": "cnpj",
"merchant_name": "Loja Exemplo LTDA"
},
"boleto": "34191.79001 01043.510047 91020.150008 5 97340000034950",
"invoice": {
"url": "https://loja.exemplo/boleto-457.pdf",
"filename": "boleto-457.pdf"
}
}Resposta
O content da uazapi é o proto do WhatsApp; aqui vai resumido (...).
uazapi
{
"id": "5511888888888:3EB05DCE1D4036FCE241C6",
"messageid": "3EB05DCE1D4036FCE241C6",
"chatid": "5511999999999@s.whatsapp.net",
"chatlid": "123456789012345@lid",
"fromMe": true,
"isGroup": false,
"groupName": "",
"sender": "987654321098765@lid",
"sender_pn": "5511888888888@s.whatsapp.net",
"sender_lid": "987654321098765@lid",
"senderName": "",
"messageType": "InteractiveMessage",
"mediaType": "",
"messageTimestamp": 1792238400000,
"source": "web",
"status": "",
"text": "Pedido #457",
"content": {
"body": {
"text": "Pedido #457"
},
"nativeFlowMessage": {
"buttons": [
{
"name": "review_and_pay",
"buttonParamsJSON": "..."
}
]
}
},
"quoted": "",
"edited": "",
"reaction": "",
"vote": "",
"buttonOrListid": "",
"convertOptions": "",
"pinned": false,
"owner": "5511888888888",
"wasSentByApi": true,
"track_source": "",
"track_id": "",
"response": {
"status": "success",
"message": "Message sent successfully"
}
}Orkesio
{
"id": "3EB05DCE1D4036FCE241C6",
"chat_id": "5511999999999@s.whatsapp.net",
"author": {
"id": "5511888888888@s.whatsapp.net",
"phone": "5511888888888"
},
"direction": "out",
"sent_at": "2026-10-17T12:00:00.000Z",
"category": "unsent",
"type": "payment",
"amount": 349.5,
"reference_id": "457",
"text": "Pedido #457",
"pix": {
"key": "12345678000190",
"key_type": "cnpj",
"merchant_name": "Loja Exemplo LTDA"
},
"boleto": "34191.79001 01043.510047 91020.150008 5 97340000034950",
"sent_by": "api",
"status": "queued"
}Cobrança (PIX, boleto, link) na Orkesio: canais, webhook e a resposta do contato