POST api/CyberSourcePaymentIntegration/CallBack?apiKey={apiKey}&reservationID={reservationID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
apiKey | string |
Required |
|
reservationID | string |
Required |
Body Parameters
None.
Response Information
Resource Description
RentalReservationDetailName | Description | Type | Additional information |
---|---|---|---|
VehicleModel | VehicleModel |
None. |
|
InDetail | InOutDetail |
None. |
|
OutDetail | InOutDetail |
None. |
|
Driver | Renter |
None. |
|
Identity | Identity |
None. |
|
ContactInfo | ContactInfo |
None. |
|
RentalIn | RentalIn |
None. |
|
RentalRateDetail | Collection of RateDetail |
None. |
|
ModifyRateDetail | Collection of RateDetail |
None. |
|
UpgradeText | string |
None. |
|
InsuranceText | string |
None. |
|
ReservationStatus | ReservationStatus |
None. |
|
Remark | string |
None. |
|
Renter | Renter |
None. |
|
TotalAmount | decimal number |
None. |
|
TotalTax | decimal number |
None. |
|
SubTotal | decimal number |
None. |
|
RentalType | RentalType |
None. |
|
CustomerFeedback | Feedback |
None. |
|
AirlinesName | string |
None. |
|
PaynowDiscount | decimal number |
None. |
|
OnlinePaymentDetail | OnlinePaymentDetail |
None. |
|
BookingSource | BookingSource |
None. |
|
BookingIncluded | Collection of BookingIncluded |
None. |
|
ModificationCharge | ModificationCharge |
None. |
|
CancellationCharge | CancellationCharge |
None. |
|
IsAllowCancellation | boolean |
None. |
|
IsAllowModification | boolean |
None. |
|
IPLocation | IPLocation |
None. |
Response Formats
application/json, text/json
Sample:
{ "VehicleModel": { "VehicleModelID": "f134d724-a7ff-4f5a-8d84-235c49b79c12", "Name": "sample string 2", "Code": "sample string 3", "Description": "sample string 4", "TariffGroup": { "TariffGroupID": "325bb656-9d99-45c4-b04f-1dcec2ec5f70", "Name": "sample string 2", "IsOnFreeSale": true }, "VehicleClassification": { "VehicleClassificationID": "aaf4e5d6-75b4-4939-b0bf-a4d910f95977", "Name": "sample string 2", "Description": "sample string 3", "SequenceNo": 4, "Attachment": { "AttachmentID": "6ea396b7-863c-4193-9bed-b272c04553d9", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "Icon": { "AttachmentID": "6ea396b7-863c-4193-9bed-b272c04553d9", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "ShortDetails": "sample string 5" }, "Passengers": "sample string 8", "Luggages": "sample string 9", "Doors": "sample string 10", "AutoTransmission": true, "Airbag": true, "ABS": true, "AC": true, "CruseControl": true, "Engine": "sample string 17", "VehicleMake": { "VehicleMakeID": "78e04827-b15a-4805-95bc-9b94a480f87e", "Name": "sample string 2" }, "Features": [ { "Name": "sample string 3", "Value": "sample string 4" }, { "Name": "sample string 3", "Value": "sample string 4" } ], "IsSoldOut": true, "IsCallToBook": true, "IsBestSeller": true, "VehicleImages": { "FrontImageAttachment": { "AttachmentID": "6ea396b7-863c-4193-9bed-b272c04553d9", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "BackImageAttachment": { "AttachmentID": "6ea396b7-863c-4193-9bed-b272c04553d9", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "LeftImageAttachment": { "AttachmentID": "6ea396b7-863c-4193-9bed-b272c04553d9", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "RightImageAttachment": { "AttachmentID": "6ea396b7-863c-4193-9bed-b272c04553d9", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" } }, "SuggestedUpgradeModelIDs": [ "af7080d4-2c28-4087-ba06-0cc3a0f86f64", "0d29f586-2ed8-4bb3-8a9a-d00333edb479" ], "FavouriteNote": "sample string 26", "IsRestrictBooking": true, "PaymentMode": 0, "ModelYear": "sample string 28" }, "InDetail": { "Timestamp": "2023-12-10T13:34:25.5815788+04:00", "BranchID": "d8a0f750-a32e-41b5-85ed-4094cbd0d893", "Name": "sample string 5", "BranchDescription": "sample string 6", "BranchMessage": "sample string 7", "Address": "sample string 8", "StateName": "sample string 9", "DeliveryPickupAddress": "sample string 10", "DeliveryPickupStateName": "sample string 11", "ContactNo": "sample string 12", "Email": "sample string 13", "Attachment": { "AttachmentID": "6ea396b7-863c-4193-9bed-b272c04553d9", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" } }, "OutDetail": { "Timestamp": "2023-12-10T13:34:25.5815788+04:00", "BranchID": "d8a0f750-a32e-41b5-85ed-4094cbd0d893", "Name": "sample string 5", "BranchDescription": "sample string 6", "BranchMessage": "sample string 7", "Address": "sample string 8", "StateName": "sample string 9", "DeliveryPickupAddress": "sample string 10", "DeliveryPickupStateName": "sample string 11", "ContactNo": "sample string 12", "Email": "sample string 13", "Attachment": { "AttachmentID": "6ea396b7-863c-4193-9bed-b272c04553d9", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" } }, "Driver": { "Identity": { "Id": "837e583a-1301-49e0-85f2-f019bda361bd", "Code": "sample string 2" }, "TitleType": 0, "FirstName": "sample string 2", "LastName": "sample string 3", "ContactNo": "sample string 4", "EmailId": "sample string 5", "BirthDate": "2023-12-10T13:34:25.5815788+04:00", "Address": "sample string 7", "CountryState": { "StateCode": "sample string 2", "StateName": "sample string 3", "CountryCode": "sample string 4", "CountryName": "sample string 5", "NationalityCode": "sample string 6", "NationalityName": "sample string 7" }, "DrivingLicense": { "LicenseNo": "sample string 1", "IssuedBy": "sample string 2", "IssuedOn": "2023-12-10T13:34:25.5815788+04:00", "ExpiresOn": "2023-12-10T13:34:25.5815788+04:00" }, "Passport": { "PassportNo": "sample string 1", "IssuedOn": "2023-12-10T13:34:25.5815788+04:00", "ExpiresOn": "2023-12-10T13:34:25.5815788+04:00", "IssuedCountryCode": "sample string 5", "IssuedCountryName": "sample string 6" }, "Balance": 9.0, "CreditCardDetail": [ { "CreditCardType": "sample string 3", "CreditCardNo": "sample string 4", "ExpiryOn": "2023-12-10T13:34:25.612828+04:00", "IssuedByBank": "sample string 7" }, { "CreditCardType": "sample string 3", "CreditCardNo": "sample string 4", "ExpiryOn": "2023-12-10T13:34:25.612828+04:00", "IssuedByBank": "sample string 7" } ], "AdditionalDocument": { "DocumentNo": "sample string 1", "IssuedBy": "sample string 2", "IssuedOn": "2023-12-10T13:34:25.612828+04:00", "ExpiresOn": "2023-12-10T13:34:25.612828+04:00" } }, "Identity": { "Id": "837e583a-1301-49e0-85f2-f019bda361bd", "Code": "sample string 2" }, "ContactInfo": { "CustomerType": 0, "TitleType": 0, "Name": "sample string 1", "Address": "sample string 2", "Email": "sample string 3", "ContactNo": "sample string 4", "CountryState": { "StateCode": "sample string 2", "StateName": "sample string 3", "CountryCode": "sample string 4", "CountryName": "sample string 5", "NationalityCode": "sample string 6", "NationalityName": "sample string 7" }, "Id": "745828e2-0b98-4aad-88ea-b3811a7f250a", "Code": "sample string 9" }, "RentalIn": { "RentalDays": 1, "RentalType": 0, "VehicleModelID": "779d82eb-7b5e-46db-93ca-81a10c3669d5", "SubscriptionMonth": 3, "ModelYear": 4, "SubscriptionKm": 5, "RentalTariffID": "0f3c02e5-9516-47af-a1ab-1709155837b9", "RentalTariffName": "sample string 7", "CheckOutOn": "2023-12-10T13:34:25.5815788+04:00", "CheckInOn": "2023-12-10T13:34:25.5815788+04:00", "CheckOutBranchID": "f3e43cd7-45c0-411d-829a-ccdfa17dded2", "CheckInBranchID": "73ea1656-a9dc-4268-8c96-c2457a4afb1e", "DeliveryDetails": { "Address": "sample string 4", "AddressJson": "sample string 5", "StateName": "sample string 8" }, "PickupDetails": { "Address": "sample string 4", "AddressJson": "sample string 5", "StateName": "sample string 8" }, "DebtorID": "333f97bd-5fb9-4770-86d9-dcb9ca001637", "RentalDiscountOffered": 14.1, "AdditionalDrivers": 15, "IsPAISelected": true, "IsCDWSelected": true, "IsSCDWSelected": true, "AncillaryIn": [ { "AncillaryID": "e50f9ea9-eaa8-4b4e-bd4b-39ae204399dc", "Qty": 2, "AncillaryItemIDs": [ "86844ae0-3add-4850-85f7-657c30749a76", "577ce5ba-5f60-4c71-bab1-f803564fe83b" ] }, { "AncillaryID": "e50f9ea9-eaa8-4b4e-bd4b-39ae204399dc", "Qty": 2, "AncillaryItemIDs": [ "86844ae0-3add-4850-85f7-657c30749a76", "577ce5ba-5f60-4c71-bab1-f803564fe83b" ] } ], "RemovedLedgerID": "ce6488ff-3897-414f-afd2-6dd5fd9636f1", "PromoCode": "sample string 20", "SpecialOfferID": "16aa0ba5-b3c3-4892-b6d8-abbf9ed8e60f", "SpecialOfferName": "sample string 22", "CheckOutKm": 23, "CheckInKm": 24, "CheckInFuel": 25, "CheckOutFuel": 26, "VehicleID": "9204cccb-2538-431b-a6a4-058a0fd089a4", "AllowedKm": 28, "AllowedKmPerRental": 29, "TransactionID": "7e8d3f2e-640f-45d8-9cae-47a4b98f2742", "TransactionType": 0, "RentalRate": 31.1, "ModelWiseChargeID": "74be4186-ba9b-475a-9fc9-af8a5d9615a8", "VehicleVariantID": "9ae1200d-d471-4687-955b-f75e9ae4c472", "CancelledOn": "2023-12-10T13:34:25.5815788+04:00", "DayUnitID": 35, "PaymentStatus": 0, "UpgradeTariffGroupID": "574467ce-c324-4d00-8a1a-fc4daec5fdba", "UpgradeModelID": "4a1da585-2722-40b1-89b8-c95694af3c71", "UpgradeType": 0, "ModifiedReservationID": "beed3e29-3e33-47f3-9b55-44a4d9193b6f", "ContactID": "9e936c95-61f9-4746-b1c9-e044184478e2", "IsMonthlyBooking": true, "IPLocation": { "IPAddress": "sample string 2" } }, "RentalRateDetail": [ { "RentalRateDetailID": "59584718-8846-45af-b82f-b5704e069ff2", "ItemID": "c2f9316c-22eb-4c4e-b021-2d2b80f79e64", "Item": "sample string 3", "Description": "sample string 4", "Days": 5, "Qty": 6, "Rate": 7.1, "DiscRate": 8.1, "TaxAmt": 9.1, "FreeDays": 10, "SequenceNo": 11, "RateChargeType": 0, "RateOffered": 12.1, "OnlinePayDiscPer": 13.1, "DiscTotal": -30.0, "SubTotal": 243.0, "TotalWithOutDisc": 222.1, "TotalAmt": 252.1, "CanBeDeleted": true }, { "RentalRateDetailID": "59584718-8846-45af-b82f-b5704e069ff2", "ItemID": "c2f9316c-22eb-4c4e-b021-2d2b80f79e64", "Item": "sample string 3", "Description": "sample string 4", "Days": 5, "Qty": 6, "Rate": 7.1, "DiscRate": 8.1, "TaxAmt": 9.1, "FreeDays": 10, "SequenceNo": 11, "RateChargeType": 0, "RateOffered": 12.1, "OnlinePayDiscPer": 13.1, "DiscTotal": -30.0, "SubTotal": 243.0, "TotalWithOutDisc": 222.1, "TotalAmt": 252.1, "CanBeDeleted": true } ], "ModifyRateDetail": [ { "RentalRateDetailID": "59584718-8846-45af-b82f-b5704e069ff2", "ItemID": "c2f9316c-22eb-4c4e-b021-2d2b80f79e64", "Item": "sample string 3", "Description": "sample string 4", "Days": 5, "Qty": 6, "Rate": 7.1, "DiscRate": 8.1, "TaxAmt": 9.1, "FreeDays": 10, "SequenceNo": 11, "RateChargeType": 0, "RateOffered": 12.1, "OnlinePayDiscPer": 13.1, "DiscTotal": -30.0, "SubTotal": 243.0, "TotalWithOutDisc": 222.1, "TotalAmt": 252.1, "CanBeDeleted": true }, { "RentalRateDetailID": "59584718-8846-45af-b82f-b5704e069ff2", "ItemID": "c2f9316c-22eb-4c4e-b021-2d2b80f79e64", "Item": "sample string 3", "Description": "sample string 4", "Days": 5, "Qty": 6, "Rate": 7.1, "DiscRate": 8.1, "TaxAmt": 9.1, "FreeDays": 10, "SequenceNo": 11, "RateChargeType": 0, "RateOffered": 12.1, "OnlinePayDiscPer": 13.1, "DiscTotal": -30.0, "SubTotal": 243.0, "TotalWithOutDisc": 222.1, "TotalAmt": 252.1, "CanBeDeleted": true } ], "UpgradeText": "sample string 7", "InsuranceText": "sample string 8", "ReservationStatus": 0, "Remark": "sample string 9", "Renter": { "Identity": { "Id": "837e583a-1301-49e0-85f2-f019bda361bd", "Code": "sample string 2" }, "TitleType": 0, "FirstName": "sample string 2", "LastName": "sample string 3", "ContactNo": "sample string 4", "EmailId": "sample string 5", "BirthDate": "2023-12-10T13:34:25.5815788+04:00", "Address": "sample string 7", "CountryState": { "StateCode": "sample string 2", "StateName": "sample string 3", "CountryCode": "sample string 4", "CountryName": "sample string 5", "NationalityCode": "sample string 6", "NationalityName": "sample string 7" }, "DrivingLicense": { "LicenseNo": "sample string 1", "IssuedBy": "sample string 2", "IssuedOn": "2023-12-10T13:34:25.5815788+04:00", "ExpiresOn": "2023-12-10T13:34:25.5815788+04:00" }, "Passport": { "PassportNo": "sample string 1", "IssuedOn": "2023-12-10T13:34:25.5815788+04:00", "ExpiresOn": "2023-12-10T13:34:25.5815788+04:00", "IssuedCountryCode": "sample string 5", "IssuedCountryName": "sample string 6" }, "Balance": 9.0, "CreditCardDetail": [ { "CreditCardType": "sample string 3", "CreditCardNo": "sample string 4", "ExpiryOn": "2023-12-10T13:34:25.612828+04:00", "IssuedByBank": "sample string 7" }, { "CreditCardType": "sample string 3", "CreditCardNo": "sample string 4", "ExpiryOn": "2023-12-10T13:34:25.612828+04:00", "IssuedByBank": "sample string 7" } ], "AdditionalDocument": { "DocumentNo": "sample string 1", "IssuedBy": "sample string 2", "IssuedOn": "2023-12-10T13:34:25.612828+04:00", "ExpiresOn": "2023-12-10T13:34:25.612828+04:00" } }, "TotalAmount": 12.1, "TotalTax": 13.1, "SubTotal": -1.0, "RentalType": 0, "CustomerFeedback": { "TransactionID": "f6dfdf85-ccc3-43af-9bb4-38adaec730b9", "TransactionType": 0, "TransactionNo": "sample string 3", "Rating": 6, "Remark": "sample string 7", "FeatureType": [ 1, 2 ] }, "AirlinesName": "sample string 16", "PaynowDiscount": 18.1, "OnlinePaymentDetail": { "OrderRefNo": "sample string 3", "OnlinePayRefNo": "sample string 5", "OnlinePayStatus": 0, "PaymentMessage": "sample string 7" }, "BookingSource": 0, "BookingIncluded": [ { "BookingIncludedID": "84577ac8-e41b-4dba-a58a-6f3e23eb6d42", "BookingIncludedType": 0, "ShortText": "sample string 2", "LongText": "sample string 3", "TempCRUD": { "TempId": 1, "IsNew": true, "IsDeleted": true, "IsUpdated": true, "IsActive": true } }, { "BookingIncludedID": "84577ac8-e41b-4dba-a58a-6f3e23eb6d42", "BookingIncludedType": 0, "ShortText": "sample string 2", "LongText": "sample string 3", "TempCRUD": { "TempId": 1, "IsNew": true, "IsDeleted": true, "IsUpdated": true, "IsActive": true } } ], "ModificationCharge": { "AmountPaid": 1.1, "AmountToRefund": 2.1, "AmountToPay": 3.1 }, "CancellationCharge": { "AmountCancellationCharge": 1.1, "AmountToRefund": 2.1, "AmountToPay": 3.1, "AmountPaid": 4.1 }, "IsAllowCancellation": true, "IsAllowModification": true, "IPLocation": { "IPAddress": "sample string 2" } }