Skip to content
DRAFT 0.2 · 3 December 2026 · Nothing is built yet. Subject to change.

Test environment

Test Production
Base URL https://api-test.gocamping.dk/channel/v1 (proposed) https://api.gocamping.dk/channel/v1 (proposed)
Key prefix gcc_test_ gcc_live_
Guests None. Nothing reaches real guests Real guests
Money Payment links in test mode only. No real money moves Real payments

The test environment runs the same code as production, against GoCamping’s test database.

When your partner account is created, a fictional test campsite is connected to your channel in the test environment (the demo campsite “ByCamp”, with about 200 pitches and cabins, a site map, guest types and add-ons). You may make as many bookings as you like on it.

  • Data on the test property can be reset by GoCamping. Do not rely on bookings staying there for long.
  • Emails to guests from the test environment are only sent to addresses GoCamping has put on an allow-list. Use your own address when you test and tell us which one.
  • Ask us if you need a second test property, for example a marina or a property that collects no payments.

Before you get a live key, you run through these steps on the test property. We follow along in the channel log.

# Step Expected
1 GET /ping with your test key 200, environment: "test"
2 Fetch properties, the test property, unit types, units, guest types, add-ons and (if you use it) the map Stored on your side
3 Fetch availability for 366 nights in one call No 429
4 Quote a stay with adults, a child with age, a dog and (if you use it) a chosen unit 201 with lines that add up
5 Quote a stay that breaks a minimum-stay rule 422 rule_violated, shown sensibly to the guest
6 Book from the quote 201, status: "confirmed", reference shown to the guest
7 Send the same booking again with the same Idempotency-Key Same booking, Idempotent-Replayed: true
8 Book with a wrong expected_total 409 price_changed, nothing created
9 Preview and commit a change of dates New version, new total
10 Preview and commit a cancellation status: "cancelled", fee as previewed
11 GoCamping changes and cancels one of your bookings from the property’s side You receive booking.modified and booking.cancelled, with a valid signature, and fetch the booking
12 Answer a webhook with 500 once We retry, and you handle the event once
13 Read the change feed from the start of the test The same events as the webhooks

When all steps pass, you get your live key and webhook secret for production.