Skip to main content
POST
Send Pix button

Conceituação

Método para envio de mensagens com botão de pagamento via Pix. O destinatário recebe um botão que ao ser clicado copia a chave Pix. Os tipos de chave suportados são: CPF, CNPJ, PHONE, EMAIL e EVP (chave aleatória).

Autorizações

Authorization
string
header
obrigatório

Secret Key generated in the Omni Z-API Security panel

Corpo

application/json
phone
string
obrigatório

Recipient phone number (country code + area code + number)

Exemplo:

"5511999999999"

pixKey
string
obrigatório

Pix key

type
enum<string>
obrigatório

Pix key type

Opções disponíveis:
CPF,
CNPJ,
PHONE,
EMAIL,
EVP
merchantName
string

Button title. Default: "Pix"

Resposta

Message sent successfully

zaapId
string

Internal identifier

messageId
string

WhatsApp message ID

id
string

Same value as messageId (compatibility)