IDEN
Wacommerce

Referensi API

Endpoint Public API inti dengan routing gaya Meta.

Base URL: `https://dashboard.wacommerce.id/api/public/v1`. Autentikasi: `Authorization: Bearer nxk_live_xxx`.

Endpoint inti

httpGET    /me
GET    /chats
GET    /chats/{phone}
GET    /orders
POST   /orders
POST   /messages

`POST /orders` membuat order dan mendukung `payment.method` plus `payment.bank` opsional, mis. `{ "billingType": "qris", "payment": { "method": "qris" } }` atau `{ "billingType": "virtual_account", "payment": { "method": "virtual_account", "bank": "bni" } }`. Lihat Buat Order & Metode Pembayaran.

Contoh GET /me

bashcurl https://dashboard.wacommerce.id/api/public/v1/me \
  -H "Authorization: Bearer nxk_live_xxx"

Routing gaya Meta

Untuk paritas dengan WhatsApp Cloud API, pengiriman juga dapat dialamatkan sebagai `POST /v1/{phone_number_id}/messages`.