latestSwagger 2.02026-08-10422755.5 KB

9e1d4f09d0b2

Widget / Eligibility and Estimates / CGX

Step 1 - Generate setupId to load widget in iframe

SetupId will be required to load the widget in iframe. SetupId can be generated using Client ID and Client Secret. To generate SetupId, pass Client ID and Client Secret to following endpoint [POST] https://premium.pverify.com/Widget/Setup e.g.

json { "clientApiId":"xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx", "clientSecret":"xxxxxxxxxxxxxxx" } It will generate a SetupId something like this XXXXxxXX-XXXX-XxXX-XxXX-XXxxXXXXxXX.

Step 2 - Load iframe with following URL with setupId If you want to integrate Estimation widget, then set URL of iframe as shown below https://premium.pverify.com/Component/EstimateInquiry?SetupId=setupId

If you want to integrate Eligibility widget, then set URL of iframe as shown below https://premium.pverify.com/Component/ElgInquiry?SetupId=setupId

Details about SetupId 1.Need to generate SetupId for each transaction 2.SetupId is valid for 10 mins

post/Widget/Setup

Headers

Authorizationstring required

The authorization token required for the request. Provide the token in the format Bearer {token}, where {token} is your actual authentication token.

Client-Api-Idstring required

Client Id (Accepts valid GUID)

Request body

clientApiIdstring
clientSecretstring

Response

Successful response