Post-booking
DEPRECATED — use /v1/flight_refund_commit. Initiate a refund for a booked flight
Call get_booking first. Use booking_ref and the selected booked_item_id for every servicing action. last_name is required for guest lookup; an owning credential may omit it. The deprecated provider, order_id, provider_reference and provider_booking_id are accepted until 2027-04-30 where the request declares them; a request that sends one is answered with Deprecation and Sunset headers. A 409 item_selection_required returns safe items to choose from.
post/v1/refund_commit
Request
- Base URLhttps://api.gojinko.com
- URLhttps://api.gojinko.com/v1/refund_commit
- Auth
- API key in header X-API-Key
- or HTTP bearer
Request body
Example request
{
"booking_ref": "JNK-A0AUR2",
"last_name": "Doe"
}Response
Initiate a refund for a booked flight
Example response
{
"refund_status": "IN_PROGRESS",
"operation": "svc_01J7ZR5Q2KME8V4T",
"refund_amount": {
"value": 41250,
"currency": "USD",
"decimal_places": 2,
"display": "USD 412.50"
},
"refund_reference": "svc_agqsfzamchoagwznss4z3gwobm5tpxx3r4n5tfrngy"
}Changes
No recorded changes to this operation across all 1 revision of this API.