create templateUtility or Marketing category to see the Default template format option.Default template format, and click Nexttemplate name and supported localelocales selected there will be an equal number of template variants and businesses need to fill in the template details in respective locale.Header, Body and optional footer text.
Header, you can choose one of three media types: Text, Image or Document. Choose Document if you want to send PDF files in the header of this template.Note: The value entered is for demonstration purposes only. The actual code or URI will be unique to each customer interaction and will be included in the send payload.

ACTIVEACTIVE to PAUSED or DISABLED based on customer feedback and engagement. We recommend that you monitor status changes and take appropriate actions whenever such change occurs.
POST /{PHONE_NUMBER_ID}/messages
{ "messaging_product": "whatsapp", "recipient_type": "individual", "to": "<PHONE_NUMBER>", "type": "template", "template": { "name": "<TEMPLATE_NAME>", "language": { "code": "<LANGUAGE>" }, "components": [ { "type": "button", "sub_type": "payment_request", "index": "0", "parameters": [ { "type": "action", "action": { "payment_request": { "payment_setting": { "type": "boleto", "boleto": { "digitable_line": "03399026944140000002628346101018898510000008848" } } } } } ] }, { "type": "button", "sub_type": "payment_request", "index": "1", "parameters": [ { "type": "action", "action": { "payment_request": { "payment_setting": { "type": "pix_dynamic_code", "pix_dynamic_code": { "code": "00020101021226700014br.gov.bcb.pix2548pix.example.com..." } } } } } ] }, { "type": "button", "sub_type": "payment_request", "index": "2", "parameters": [ { "type": "action", "action": { "payment_request": { "payment_setting": { "type": "payment_link", "payment_link": { "uri": "https://my-payment-link-url" } } } } } ] } ] } }
{ "messaging_product": "whatsapp", "contacts": [ { "input": "<PHONE_NUMBER>", "wa_id": "<PHONE_NUMBER>" } ], "messages": [ { "id": "wamid.HBgNNTUxMTk4Nzg2NjI5NRUCABEYEjUxOTBGNEU0RDA2MjdCMUVBOQA=", "message_status": "accepted" } ] }
| Field Name | Optional? | Type | Description |
|---|---|---|---|
type | Required | String | Must be PAYMENT_REQUEST for payment messages. |
text | Required | String | The button label. Must be Copy Pix code for pix_dynamic_code, Copy Boleto code for boleto, or Open payment link for payment_link. |
payment_setting | Required | Payment configuration object. |
| Field Name | Optional? | Type | Description |
|---|---|---|---|
type | Required | String | One of pix_dynamic_code, payment_link, boleto. |
One of the following objects: pix_dynamic_code, payment_link, boleto. | Required | Object | Payment instructions which will be displayed to buyers during the checkout process. |
| Field Name | Optional? | Type | Description |
|---|---|---|---|
pix_dynamic_code | Required | String | The dynamic Pix code which will be copied by the buyer. |
| Field Name | Optional? | Type | Description |
|---|---|---|---|
uri | Required | String | The Payment Link’s uri which will be opened in the web browser, when user taps on the Payment Link CTA button. |
| Field Name | Optional? | Type | Description |
|---|---|---|---|
digitable_line | Required | String | The Boleto digital line / code which will be copied to the clipboard, when user taps on the Boleto CTA button. |