Professional Documents
Culture Documents
protectgroup.co/api-guide/refundprotect
Introduction
Welcome to the brief Refund Protect integration guide, designed to help you set up the
offering on your booking platform.
Our team will provide you with a VendorId and API Key for your new platform account.
Our integrations team are at hand to support you along the way, contact them at
integrations@protectgroup.com.
We have produced a Postman collection to allow you to view examples of the requests and to
act as a template, you can view the collections in the sections below.
1/11
Request Header
There are 2 parts to the request header.
X-RefundProtect-VendorId
This is your unique VendorID (UAT VendorID will be replaced with a production VendorID
once testing has been verified)
X-RefundProtect-AuthToken
This is your unique API Key (UAT API Key will be replaced with a production Key once
testing has been verified)
Request Header
Content-Type: application/json
Post
We need to receive all of the transactions in the format as provided below. We also need to
know when the customer chooses not to select a Refundable Booking as this helps us improve
your customer conversion and prevent fraud.
Method Required: PUT/POST http method (other methods will return an error message).
Request URL
UAT Request URL - https://test.api.protectgroup.co/api/v1/refundprotect/salesoffering
IMPORTANT INFORMATION
Please note: Any transactions submitted to the UAT Request URL are tests only and will
not be billed for. No test transactions should be sent to the Live Production Protect
Platform as these will be charged for.
2/11
Sales Request Data Structure
Each sales request must have a predefined set of content and must conform exactly to the
specified rules as found below:
Request In case no response is returned from the API, a request timeout should be
timeout: set to 10 seconds.
{
"vendorCode": "DemoVendorId ",
"vendorSalesReferenceId": "UniqueID-9166-9877-1234-3211",
"VendorSalesDate":"2020-03-02T07:42:36.73+11:00",
"customerFirstName": "John",
"customerLastName": "Doe",
"products": [
{
"productCode": "HTL",
"currencyCode": "USD",
"productPrice": 100,
"premiumRate": 8.0,
"offeringMethod": "OPT-OUT",
"sold": true,
"insuranceEndDate": "2018-06-15T23:59:59.999"
}
]
}
3/11
vendorSalesReferenceID YES Character The customer’s booking
confirmation reference/number
SELECT - The service is not pre-selected but mandatory to choose either options.
4/11
offeringMethod NO Character The method that you are offering Refund
Protect and must use the following values:
OPT-IN – The customer is required to opt-
in to the protection.
OPT-OUT – The service is either pre-
selected for the customer or automatically
build into the transaction
insuranceEndDate YES Character The start date and time of the booking.
This needs to be in ISO8601 UTC format
(YYYY-MM-DDTHH:mm:ss.ssss)
E.g. 2021-08-01T00:00:00+00:00
Response Signals:
200 OK Signal
422 Entity unable to be processed as it is missing data (e.g. missing productPrice value)
IMPORTANT INFORMATION
We require all transactions. Both sold:true and sold:false to enable ongoing commercial
management.
Cancellation API
This API is used to cancel a previously submitted transaction. This API uses a slightly
different Request URL, requiring the transaction booking reference number at the end of the
URL however everything else is exactly the same.
5/11
UAT Request URL -
https://test.api.protectgroup.co/api/v1/refundprotect/{transactionID}
Once the tests have been validated by the Protect Group team, you will be provided with a
Request URL for the Live Production Environment.
Request Header
Content-Type: application/json
Commercial Succes
Our service must be offered to your customers using the following template information.
It is important that you decide on the best front-end sales process of Refund Protect to
incorporate within your booking flow. You MUST consider the local consumer sales
regulations of your country as this sales process is your responsibility as the Member of
Refund Protect.
You must present Refund Protect in the following way to ensure that your option of a
refundable booking is in no way considered insurance and is not connected to our Refund
Protect brand.
6/11
OPTION A: INFORMED CHOICE
The service is offered in a single page checkout and/or booking
flow.
WORDING
O Non-refundable booking
You must link the Terms and Conditions in the placement wording
above to our most up-to-date terms using the URL:
https://www.refundable.me/
7/11
OPTION B: NEXT STEP
NEXT STEP is designed for multi-step checkouts whereby the
Refundable option is offered to the customer on a separate page
before payment. The customer is encouraged to opt-in through the
“Refundable booking” button in Green.
This process is only suitable for booking flows that are multi-stage
and would not be fit for implementation into a single page checkout.
We’d therefore recommend the INFORMED CHOICE sales process
for these types of checkouts.
WORDING
You must link the Terms and Conditions in the placement wording
above to our most up-to-date terms using the URL:
https://www.refundable.me/
8/11
OPTION C: APPLY TO ALL
APPLY TO ALL is designed for members who wish to build the enhanced Refundable
terms into every transaction they process. This option does not require a front-end
selection box.
Terms of Sale
To add the latest version of the Refundable Terms into your existing terms of sale, you can
either insert a section of text which directs customers to the external Refundable Terms URL
(https://refundable.me).
Both of these methods are inserted within your Terms of Sale to customers to always provide
customers with access to the Refundable Terms and Conditions and all wording is provided
below:
For any other refund enquiries, including where your is cancelled or changed by the , please
contact our customer service team at .
For any other refund enquiries, including where your is cancelled or changed by the , please
contact our customer service team at .
9/11
Booking Confirmation Email
It’s very important that you place the wording in your Booking Confirmation
email which you normally send to customers after their payment to confirm
their booking. This must be the only email referencing Refundable Terms to
position the service correctly in a legal and compliant manner.
For any other refund enquiries, including where your <Insert booking
type> is cancelled or changed by the <Insert supplier type>, please contact
our customer service team at <Insert your standard customer service point
of contact>.
For any other refund enquiries, including where your <Insert booking
type> is cancelled or changed by the <Insert supplier type>, please contact
our customer service team at <Insert your standard customer service point
of contact>.
10/11
11/11