Skip to content
Splashify Pro
Docs

Order Details — Single Image

Available for accounts in India.

Send a single-card WhatsApp Pay order details message. Same payable order shape as the carousel variant, but with one card and one image header — use this for one-shot transactional sends like a single product order or a pre-filled cart.

Endpoint

POST

https://api.splashifypro.com/api/v1/public/message

Headers

Request body

json
{
  "phoneNumber": "9999999999",
  "callbackData": "",
  "type": "Template",
  "template": {
    "name": "single_image",
    "languageCode": "en",
    "headerValues": [
      "https://your-cdn.example.com/strawberry-cake.jpg"
    ],
    "bodyValues": ["mj"],
    "order_details": [
      {
        "reference_id": "22july25mjwapaytemp1",
        "order_items": [
          {
            "name": "Strawberry Cake",
            "quantity": 1,
            "amount": 1,
            "country_of_origin": "India"
          }
        ],
        "shipping_addresses": [
          {
            "name": "Akhil Kumar",
            "phone_number": "919000090000",
            "address": "Bandra Kurla Complex",
            "city": "Mumbai",
            "state": "Maharastra",
            "in_pin_code": "400051",
            "house_number": "12",
            "tower_number": "5",
            "building_name": "One BKC",
            "landmark_area": "Near BKC Circle",
            "country": "IN"
          }
        ],
        "subtotal": 1,
        "discount": 0,
        "tax": 0,
        "shipping": 0,
        "total_amount": 1,
        "currency": "INR",
        "payment_option_expires_in": {
          "value": 15,
          "unit": "minutes",
          "expiration_message": ""
        }
      }
    ]
  }
}

Example

bash
curl -X POST https://api.splashifypro.com/api/v1/public/message \
  -H "Authorization: Basic YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '@order-payload.json'

(See the JSON above — copy it into order-payload.json and send.)

Successful response — 201 Created

json
{
  "result": true,
  "message": "Message created successfully",
  "id": "8d620ba1-640f-42ee-a8dd-15363422144b"
}

Tips

  • Use a high-quality 1.91:1 image for the header — Meta downscales for slow networks but the source affects perceived quality.
  • The reference_id you pass here is the same reference you'll use later when sending an Order Status update.
  • All amounts are integers in the smallest unit. ₹1.00 → 100 paise, never 1.00.