For the complete documentation index, see llms.txt. This page is also available as Markdown.

Testing & go-live

Test your Offers API integration, run it alongside RentalCover, and switch traffic over safely.

Test environment

There is no separate staging URL. You test against the production base URL with test credentials. Test policies are not live cover. See Testing API Keys.

You build against a reference configuration that mirrors the standard RentalCover product set. It is not your production configuration, so expect products and prices to change when your own configuration goes live.

Test scenarios

Scenario
What to verify

Each product you sell

The offer returns the expected products, prices and document links for each market

Offer, then Confirm

The booking ID is an INS (XXXXX-XXXXX-INS), status is CONFIRMED, and total_price matches what you showed

Opt-out

The call returns 204 with no body

Pending, then finalise

Confirm with require_payment_confirmation returns PENDING_PAYMENT. Finalising moves it to CONFIRMED

Cancel preview and confirm

The preview returns refund_value, total_refund, cancellation_id and confirm_before. Confirming moves the booking to CANCELLED

One-step cancel

The booking is cancelled and the refund fields are what you expect

Rebooking

Cancel, then Create Offer with the rebooking fields, then Confirm. The new INS is stored and linked to the old one

Customer details change

Details change, the INS stays the same, and arrays you send are replaced in full

Price-affecting change

Quote for update returns the new price and an update_id. Confirm update applies it to the same booking

Webhooks

Your listener verifies the signature, returns 200 and handles a repeated event

v2 errors

Your code reads code, errors[] and metadata.field_errors, and logs error_id

Idempotent replay

Repeating Confirm or Cancel with the same key returns 409, and your code treats it as success

Residency mismatch

Confirm with a policyholder.country different from customer.country is rejected

Expired offer

Confirm after the validity window returns 404, and you request a new offer

Get Booking

Returns the expected status, quotes and documents for confirmed, pending and cancelled bookings

List Bookings

status=CONFIRMED and status=CANCELLED with a date range return the bookings you expect, and paging with next reaches the end

When these pass, walk through them with your CSE to sign off the integration.

Run both APIs in parallel

You can switch traffic in stages, for example one market or channel at a time.

During the parallel run, monitor:

  • Success rates compared with RentalCover

  • 4xx and 5xx responses by endpoint

  • Differences between the price shown and the Confirm total_price

  • Webhook failures and cancellations you can't match

  • Bookings stuck in PENDING_PAYMENT

Go-live checklist

See also

Last updated

Was this helpful?