VANITYPASS
White-label APIHotels

Payment Status

Check hotel booking payment status.

Payment Status

Poll the payment status for a hotel booking. Use this endpoint after initiating payment to determine whether the transaction has completed.

[!WARNING] Deprecated: This endpoint is deprecated. Use the unified checkout orchestrator endpoints (/v1/checkout/sessions and /v1/checkout/sessions/{id}) instead.

Get Payment Status

POST /v1/hotel/payment/status

Poll payment status for a hotel booking. Statuses: pending | paid | failed | refunded.

StatusDescription
pendingPayment has been initiated but not yet confirmed.
paidPayment was successful and the booking is confirmed.
failedPayment failed. The booking may be released.
refundedPayment was refunded following a cancellation.
FieldTypeRequiredDescription
booking_idstringyesBooking identifier to check payment status for.
Sandbox-only. Try-it requests target https://cloud.vanitypass.com with X-Environment: Sandbox. No real bookings or charges. Production access: contact us.
POST/v1/hotel/payment/status

Sandbox credentials

Keys never leave your browser — they are sent only to cloud.vanitypass.com with X-Environment: Sandbox.

curl -X POST 'https://cloud.vanitypass.com/v1/hotel/payment/status' \
  -H 'Content-Type: application/json' \
  -H 'X-Environment: Sandbox' \
  -d '{"booking_id":"book_example"}'