Skip to content
Download OpenAPI description
Languages
Servers
Sandbox URL

https://api-ext-sboxmeta.partners.spotnana.com/

Spotnana mock server

https://developer.spotnana.com/_mock/openapi/paymentsapi/

Payments

APIs related to Cards, Payments and Fees.

Operations

Request

List service charges for a given entity

Security
Bearer
Path
entityTypestring(ServiceChargeEntityType)required
Enum"TRIP""USER"
Example: TRIP
entityIdstringrequired

Entity ID for service charge e.g. trip ID for entityType = TRIP

Example: 1234567890
typestring(ServiceChargeType)required
Value"TMC_CHARGE"
Example: TMC_CHARGE
Bodyapplication/jsonrequired
serviceTypestring(ServiceType)
Enum"ITINERARY_BOOKING""AGENT_CONTACT"
curl -i -X POST \
  https://api-ext-sboxmeta.partners.spotnana.com/v2/service-charge/TRIP/1234567890/types/TMC_CHARGE/list \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "serviceType": "ITINERARY_BOOKING"
  }'

Responses

OK

Bodyapplication/json
serviceChargesArray of objects(ServiceChargeRecord)

List of service charges.

Response
application/json
{ "serviceCharges": [ {} ] }
Operations