ولائيولائيولائيWALAAY
HomeCardsFeaturesHow it worksSectorsAffiliate marketingMenuBookingsIntegrationsDevelopers / APIPricingBlogContact us
Start free

ولائي

WALAAY

Stamp and points cards in Apple Wallet and Google Wallet, appointment booking, a digital queue and a QR menu or catalog for shops, salons, clinics, cafes.

Products and solutions

  • Digital loyalty cards
  • Digital menu & catalog
  • Booking system
  • Digital queue
  • Affiliate marketing
  • POS integrations
  • REST API

About the app

  • Home
  • All features
  • How we work
  • Sectors
  • Restaurants
  • Salons
  • Clinics

Resources and policies

  • About us
  • Blog
  • Plans and pricing
  • Complaints and suggestions
  • Security and privacy
  • Terms and conditions

Contact

  • support@walaay.com.sa
  • +966 55 992 3942

Download Walaay

Game Boy Establishment

CR number: 7026695424

All rights reserved

Back

Developers

Walaay API reference

Sandbox/live keys, earn, OTP redeem, reversals, and signed webhooks — original Walaay docs.

OpenAPI 3.1PostmanIntegrations hub

curl

curl https://walaay.com.sa/api/v1/me \
  -H "Authorization: Bearer wl_test_…"

Examples

Copy-paste ready

JavaScript

const res = await fetch("https://walaay.com.sa/api/v1/transactions/earn", {
  method: "POST",
  headers: {
    Authorization: "Bearer wl_test_…",
    "Content-Type": "application/json",
    "Idempotency-Key": crypto.randomUUID(),
  },
  body: JSON.stringify({
    customer: { phone: "+966501234567" },
    order: { reference: "INV-1", total_halalas: 11500 },
    points: 100,
  }),
});
console.log(await res.json());

Python

import requests, uuid
r = requests.post(
  "https://walaay.com.sa/api/v1/transactions/earn",
  headers={
    "Authorization": "Bearer wl_test_…",
    "Idempotency-Key": str(uuid.uuid4()),
  },
  json={
    "customer": {"phone": "+966501234567"},
    "order": {"reference": "INV-1", "total_halalas": 11500},
    "points": 100,
  },
)
print(r.json())

PHP

$ch = curl_init("https://walaay.com.sa/api/v1/customers/lookup?phone=%2B966501234567");
curl_setopt_array($ch, [
  CURLOPT_HTTPHEADER => ["Authorization: Bearer wl_test_…"],
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);

Basics

  • Base: /api/v1
  • Keys: wl_test_ / wl_live_
  • Idempotency-Key required on writes
  • Sandbox OTP: 000000
  • Webhook: Walaay-Signature HMAC-SHA256