Skip to content

SERVICE_CHARGE
Webhook

Request

Security
Bearer
Bodyapplication/json
event_typestring

SERVICE_CHARGE

Example:"SERVICE_CHARGE"
operationSummaryobject(OperationSummary)

Operation summary for webhook payload

operationstring(ServiceChargeOperationType)

Service charge operation types

ValueDescription
SERVICE_FEE

A service fee has been charged for the latest PNR.

Example:"SERVICE_FEE"
payloadobject(ServiceChargeRecord)

Service charge record.

timestampstring

Timestamp when the event was published

audienceobject(WebhookAudience)

Audience for whom this webhook payload is intended

payloadMetadataobject(PayloadMetadata)

Metadata about the webhook payload processing

Payload
{ "event_type": "SERVICE_CHARGE", "operationSummary": { "ticketsIssued": [ … ], "ticketsVoided": [ … ], "ticketsRefunded": [ … ] }, "operation": "SERVICE_FEE", "payload": { "entity": { … }, "tripId": "1234567890", "serviceChargeType": "TMC_CHARGE", "serviceType": "ITINERARY_BOOKING", "agentContact": { … }, "chargeId": "e2c04834-92eb-4b62-9faa-eb73a70051d3", "charge": { … }, "transactionTime": { … }, "paymentStatus": "SUCCESS", "userOrgId": { … }, "legalEntityId": { … }, "bookingDetails": { … }, "fop": { … }, "paymentTransaction": { … }, "failureDetails": { … } }, "timestamp": "string", "audience": { "organizationId": "string", "contractingTmcId": "string", "bookingTmcId": "string" }, "payloadMetadata": { "piiMaskingStatus": "APPLIED" } }

Responses

OK