Delete Form of Payment API Reference
Del |
payment/reservationworkbench/{workbenchID}/formofpayment/{FormOfPayment_Identifier} For {workbenchID} send the workbench identifier returned in ReservationResponse/Identifer/value in the workbench create response. For {FormOfPayment_Identifier} send the id of the form of payment to delete. Base path: Pre-production https://api.pp.travelport.com/11/air/ Production https://api.travelport.com/11/air/ |
Related Content: Booking Guide, Ticketing Guide, Create New Workbench, Create Post-commit Workbench
Send a Delete Form of Payment (FOP) request to delete a form of payment. Supported in the initial booking workflow for both GDS and NDC, where it deletes an FOP added in the same booking workbench. Supported for an existing booking only for GDS, where it can delete either the FOP stored with the booking, or an FOP sent in the same session.
To replace the current FOP with another FOP, use the Update FOP request instead.
Request
Also see Authorization and Common Headers.
Query Parameters
None.
Request Body
No request message payload.
Response
A successful response returns a 204[No Content] message. There is no response message payload.
Example Request
In the endpoint, send the workbench identifier and the id of the existing FOP to delete:
DEL https://api.travelport.com/11/air/payment/reservationworkbench/cfa7a3a6-fefa-47e7-87a7-5c5cbde146cf/formofpayment/formOfPayment_1
No request message payload.
Example Response
A successful response returns a 204[No Content] message. There is no response message payload.