Skip to main content
POST
Send Pix
Auth: TokenAccount or TokenInstanceRate-limit: Global (100/min) • Idempotent: no

Description

Sends a message with a visual PIX card in the WhatsApp chat, displaying the beneficiary name, the key type and the key itself. The button works as a “copy key” with PIX styling, when tapped, the recipient copies the key to the clipboard and pastes it into their banking app to pay. It does not open a payment screen, does not create a charge, and there is no confirmation callback, it is just the visual presentation of the key in a friendly, clickable format.

Examples

PIX with CPF Key

Sends the PIX button using a CPF key. Send digits only (no dots or dashes).

PIX with CNPJ Key

Sends the PIX button using a CNPJ key. Send digits only (no dots, dashes or slashes).

PIX with Email Key

Sends the PIX button using an EMAIL key.

Success response

200 OK
The button only copies the PIX key to the recipient’s clipboard, it does not open the bank’s payment screen or initiate a charge. Payment is done manually by the recipient in their own banking app, and there is no “paid” callback via WhatsApp.

Path parameters

string
required
Instance name (e.g., $Instance_Name).

Headers

string
required
TokenAccount or TokenInstance.
string
required
application/json

Request body

string
required
Destination: phone (5511999999999) or JID (@s.whatsapp.net, @lid, @g.us).
string
required
Beneficiary name displayed on the visual PIX card (above the key).
string
required
PIX key (CPF, CNPJ, email, phone or random key).
string
required
Key type. Accepted values: CPF, CNPJ, EMAIL, PHONE, RANDOM.
int
default:"0"
Time in seconds to wait before sending. During the interval, the server sends the “typing…” indicator to the recipient.
string
ID of the message to be quoted (reply). The original message must belong to the same instance and have been saved in the database.
boolean
default:"false"
When true and replyTo points to a message originating from a group, the reply is redirected to the original author’s private chat.
string
default:"api"
Origin identifier for traceability (e.g., crm, checkout, n8n).

Notes

  • The pixKeyType is validated by oneof, if you send a value outside CPF | CNPJ | EMAIL | PHONE | RANDOM, the request is rejected with 400.
  • For CPF/CNPJ keys, send digits only (no dots, dashes or slashes): 12345678901 or 12345678000199.
  • For PHONE, use the international format without + (e.g., 5511999999999).
  • For RANDOM, use the UUID generated by the bank (e.g., aabbccdd-1234-5678-90ab-cdef01234567).
  • This endpoint does not create a Brcode QR Code or register a charge, it is only the visual representation of the order with a clickable PIX key.

Errors

Error envelope: