Pabau Integration Setup Guide

Connect VOWCH vouchers with your Pabau practice management system in under 15 minutes. This guide covers API configuration, webhook setup, testing, and troubleshooting.

Prerequisites

Before you begin, ensure you have the following:

  • An active VOWCH salon account with admin access
  • A Pabau account with API access enabled (requires Pabau Pro or Enterprise plan)
  • Admin permissions in Pabau to configure custom fields and webhooks
  • 15 minutes of uninterrupted time to complete the setup

1
Get Your VOWCH API Key

Generate API Credentials

Your VOWCH API key authenticates requests from Pabau to validate and redeem vouchers. Each salon has a unique API key that must be kept secure.

Steps to generate your API key:

  1. Log in to your VOWCH salon dashboard
  2. Navigate to Settings โ†’ Integrations
  3. Click "Generate Pabau API Key"
  4. Copy the generated key and store it securely (you won't be able to view it again)

Security Note: Treat your API key like a password. Never share it publicly or commit it to version control. If compromised, regenerate it immediately from your dashboard.

2
Configure Pabau Custom Fields

Add Voucher Code Field to Bookings

Create a custom field in Pabau to capture VOWCH voucher codes during the booking process. This field will trigger the validation API call.

Configuration steps:

  1. In Pabau, go to Setup โ†’ Custom Fields
  2. Click "Add New Field"
  3. Set Field Type to Text Input
  4. Set Field Name to VOWCH Voucher Code
  5. Set Field ID to vowch_voucher_code
  6. Enable "Validate on Entry"
  7. Set Validation URL to: https://vouchsalon-x3xwdkwk.manus.space/api/pabau/vouchers/validate
  8. Add your VOWCH API key to the Authorization header: Bearer YOUR_API_KEY
  9. Save the field

What happens: When a customer enters a voucher code, Pabau sends a validation request to VOWCH. The API returns the voucher's remaining balance and expiry date, which Pabau displays to the staff member.

3
Set Up Webhooks

Configure Appointment Webhooks

Webhooks notify VOWCH when appointments are completed or cancelled, triggering automatic voucher redemption or reservation release.

Webhook 1: Appointment Completed

Eventappointment.completed
URLhttps://vouchsalon-x3xwdkwk.manus.space/api/pabau/vouchers/confirm
MethodPOST
HeadersAuthorization: Bearer YOUR_API_KEY

Webhook 2: Appointment Cancelled

Eventappointment.cancelled
URLhttps://vouchsalon-x3xwdkwk.manus.space/api/pabau/vouchers/release
MethodPOST
HeadersAuthorization: Bearer YOUR_API_KEY

How it works: When an appointment is marked complete in Pabau, the webhook sends the voucher code and redemption amount to VOWCH. VOWCH deducts the amount from the voucher balance and triggers settlement to your salon account based on your configured settlement mode.

4
Test the Integration

Validation & Testing

Before going live, test the integration end-to-end to ensure vouchers validate, redeem, and settle correctly.

Testing checklist:

  1. Create a test voucher in VOWCH (use a small amount like ยฃ10)
  2. In Pabau, create a test appointment for a customer
  3. Enter the test voucher code in the VOWCH Voucher Code field
  4. Verify that Pabau displays the voucher balance and expiry date
  5. Complete the appointment in Pabau
  6. Check your VOWCH dashboard to confirm the voucher was redeemed
  7. Verify settlement appears in your Settlement History

๐Ÿงช Use Our Webhook Testing Tool

Before testing in Pabau, verify your API key and webhook configuration using our interactive testing tool. It simulates all webhook calls and provides instant feedback.

Success! If all steps complete without errors, your integration is working correctly. You can now start accepting VOWCH vouchers for real appointments.

API Reference

Available Endpoints

POST /api/pabau/vouchers/validate

Validate a voucher code and return its details.

Request Body:

{
  "voucher_code": "VOWCH-XXXX-XXXX",
  "requested_amount": 5000  // Optional, in pence
}

Response:

{
  "success": true,
  "valid": true,
  "voucher": {
    "code": "VOWCH-XXXX-XXXX",
    "remaining_balance": 5000,
    "expires_at": "2026-06-01T00:00:00Z",
    "message": "Voucher is valid"
  }
}

POST /api/pabau/vouchers/reserve

Reserve voucher balance for an upcoming appointment.

Request Body:

{
  "voucher_code": "VOWCH-XXXX-XXXX",
  "amount": 5000,  // In pence
  "appointment_id": "pabau_appointment_123",
  "appointment_date": "2026-03-15T14:00:00Z"
}

POST /api/pabau/vouchers/confirm

Confirm redemption when appointment is completed.

Request Body:

{
  "voucher_code": "VOWCH-XXXX-XXXX",
  "amount": 5000,  // In pence
  "appointment_id": "pabau_appointment_123"
}

POST /api/pabau/vouchers/release

Release reservation if appointment is cancelled.

Request Body:

{
  "voucher_code": "VOWCH-XXXX-XXXX",
  "appointment_id": "pabau_appointment_123"
}

Troubleshooting

Common Issues & Solutions

โŒ "Invalid API key" error

Cause: The API key in Pabau's Authorization header doesn't match your VOWCH salon account.

Solution: Regenerate your API key from VOWCH dashboard โ†’ Settings โ†’ Integrations, then update the Authorization header in Pabau's custom field and webhook configurations.

โŒ "Voucher not found" error

Cause: The voucher code entered doesn't exist in VOWCH, or it belongs to a different salon.

Solution: Verify the voucher code is correct. Check that the voucher was purchased for your salon specifically (customers can only redeem vouchers at the salon they were purchased for).

โŒ "Insufficient balance" error

Cause: The requested redemption amount exceeds the voucher's remaining balance.

Solution: Check the voucher's remaining balance in VOWCH. The customer may have already used part of the voucher. Adjust the redemption amount or ask the customer to pay the difference.

โŒ Webhook not triggering

Cause: Pabau webhook configuration is incorrect or the webhook URL is unreachable.

Solution: In Pabau, go to Setup โ†’ Webhooks and verify the URLs match exactly (including https://). Check that the Authorization header is present. Test the webhook using Pabau's "Send Test" button.

โŒ Settlement not appearing

Cause: Your settlement mode is set to "Monthly Drip" or "Deferred", so funds won't appear immediately.

Solution: Check your settlement mode in VOWCH dashboard โ†’ Settings โ†’ Settlement. If set to "On Redemption", funds should appear within 24 hours. For other modes, refer to your settlement schedule.

Still having issues? Contact our support team at [email protected] with your salon ID and a description of the problem. We typically respond within 2 hours during business hours.

Need Help?

Our integration specialists are here to assist with setup, troubleshooting, and optimization. Get in touch for personalized support.