cs-selling-experience-api-services
This API facilitates secure access to Policy Issuance and Payment Services, designed to support the automation of policy generation, payment processing, and PDF handling
home
๐ Home - ๐๏ธ experience-selling-api
Welcome to the documentation for experience-selling-api.
This API handles services related to policy issuance, payments, PDF document generation, and transaction confirmations through channels like PayU.
๐ Base Information
- API Title: experience-selling-api
- Version: 1.0.0
- Base URL:
https://experience-selling-api-qa-v1.us-e1.cloudhub.io/api
๐ Getting Started
Authentication:You must include the
client_id
and anOAuth 2.0 Bearer token
to access secured endpoints.Required Headers:
-H "client_id: YOUR_CLIENT_ID" -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
Content-Type for POST/PUT:
-H "Content-Type: application/json"
๐ Available Endpoints
๐ /PolicyIssuance/v1
Method | Endpoint | Description | Link |
---|---|---|---|
POST | /PolicyIssuance/v1/generatePolicy | Generates a new policy based on the provided information. | View details |
๐ณ /Services/v1/Payu
Method | Endpoint | Description | Link |
---|---|---|---|
POST | /Services/v1/Payu/paymentPayU | Initiates a payment with PayU. | View details |
POST | /Services/v1/Payu/paymentConfirmationPayU | Confirms the status of a PayU transaction. | View details |
๐งพ /Services/v1/ServicePolicyPdf
Method | Endpoint | Description | Link |
---|---|---|---|
POST | /Services/v1/ServicePolicyPdf | Requests the generation of a policy PDF. | View details |
๐ธ /Services/v1/CorePayment
Method | Endpoint | Description | Link |
---|---|---|---|
POST | /Services/v1/CorePayment | Executes the centralized payment flow. | View details |
๐ /Services/v1/CorePolicyIssuance
Method | Endpoint | Description | Link |
---|---|---|---|
POST | /Services/v1/CorePolicyIssuance | Performs the core policy issuance process. | View details |
๐ค Example Request (POST)
curl -X POST "https://experience-selling-api-qa-v1.us-e1.cloudhub.io/api/PolicyIssuance/v1/generatePolicy" \
-H "Content-Type: application/json" \
-H "client_id: YOUR_CLIENT_ID" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-d '{
"policyType": "life",
"customerId": "1234567890",
"productCode": "PROD001",
"startDate": "2025-04-01"
}'
โ ๏ธ Error Handling
Standard HTTP status codes are used:
200 OK
โ Request was successful400 Bad Request
โ Invalid or missing parameters401 Unauthorized
โ Authentication failed404 Not Found
โ Endpoint or resource not found500 Internal Server Error
โ Unexpected server error
๐ Support
For any technical issues, please contact:
Integration Services and Applications Coordination
๐ง epalma@fgs.co
๐๏ธ Notes
- Last updated: April 2025
- For further information, visit the API Exchange Portal