Your EPS account
Sign in to view secure API documentation, update your account details, log support requests and much more.
Your email or password is incorrect. Please try again or reset your password.
If the issue persists please contact your EPS representative.
Reset your password
Please enter your email address below. We will send password reset instructions to the email associated with your EPS account.
Thank you
An email has been sent to your account email address with further instructions on how to reset your password.
要向某一种 EPS 快速预订 API 方法发送测试请求,请在预订请求中包含名为“Test”的其他 HTTP 标头,并使用下表中的相应值。
请在尝试任何测试之前详细查看我们的测试说明,测试标头值列表及其响应如下所示。
重要的测试预订说明
- 无法发送无效的测试标头将导致实时处理预订。
- 务必查看返回的取消政策,以确保不会收取手续费。
- 对于测试预订,请务必使用可退款房价。
- 由于原始行程从未完成过,在未确认的情况下取消某个暂停的测试预订 (hold = true) 将导致我们的预订系统重复使用初始响应返回的行程 ID。请注意此测试场景中出现的可能错误重复项。
- 测试预订不会在我们的预订支持客服的平台上出现。有关测试预订问题,请联系您的 EPS 代表或合作伙伴支持人员。
- 请注意,在测试环境中,某些测试响应会被截断。因此,响应并不总是与预期的响应内容相匹配。
重要的实时测试预订说明
实时测试就是使用真实的信用卡进行的标准实时预订(不含测试标头),只是在确认后要取消预订。您负责选择可接受的候选酒店并取消您自己的测试。我们建议您仅在预启动开发的最终阶段进行实时测试。对于因政策范围内的取消而产生的任何费用或者用于实时测试的不可退款房价,EPS 概不承担相关责任
进行实时测试预订
- 搜索未来至少 60 – 90 天的住宿。
- 选择在政策期限之前不收取任何取消手续费的客房(某些酒店会针对政策范围内和政策范围外的取消收费)
- 确认客房没有错误的可退款标记
- 在预订请求的
rooms
对象中,使用“Test Booking”作为您的住客姓名值。 - 在
billing_contact
对象中,使用与您的信用卡关联的真实姓名、地址和电话。
取消实时测试预订
- 必须在预订后 48 小时之内取消客房。
- 取消费用的退款将于 5 个工作日内处理完成
- 款项将于 30 个工作日内汇至信用卡帐户
注册付款会话
测试标头值 |
HTTP 代码和响应 |
实时 | 测试 |
---|---|---|---|
standard | 201 - Standard Response | ✔ | ✔ |
init_skip | 201 - Standard Response w/oencodedInitConfig | ✘ | ✔ |
init_fail | 201 - Standard Response & Init Fail | ✘ | ✔ |
init_timeout | 201 - Standard Response & Init Timeout | ✘ | ✔ |
internal_server_error | 500 - Internal Server Error | ✔ | ✔ |
service_unavailable | 503 - Service Unavailable | ✔ | ✔ |
创建预订
测试标头值 |
HTTP 代码和响应 |
实时 | 测试 |
---|---|---|---|
complete_payment_session | 201 - Standard PSD2 Response & Success Challenge | ✔ | ✔ |
standard | 201 - Standard Response | ✔ | ✔ |
complete_payment_session_show | 201 - Standard PSD2 Response & Show Challenge | ✘ | ✔ |
complete_payment_session_fail | 201 - Standard PSD2 Response & Fail Challenge | ✘ | ✔ |
complete_payment_session_error | 201 - Standard PSD2 Response & Error Challenge | ✘ | ✔ |
complete_payment_session_timeout | 201 - Standard PSD2 Response & Timeout Challenge | ✘ | ✔ |
cc_declined | 400 - Credit Card Declined Error | ✔ | ✔ |
rooms_unavailable | 410 - Rooms Unavailable Error | ✔ | ✔ |
price_mismatch | 409 - Price Mismatch Error | ✔ | ✔ |
internal_server_error | 500 - Internal Server Error | ✔ | ✔ |
service_unavailable | 503 - Service Unavailable | ✔ | ✔ |
完成付款会话
测试标头值 |
HTTP 代码和响应 |
实时 | 测试 |
---|---|---|---|
standard | 200 - Response | ✔ | ✔ |
payment_declined | 400 - Payment Declined Error | ✘ | ✔ |
price_mismatch | 409 - Price Mismatch Error | ✘ | ✔ |
rooms_unavailable | 410 - Rooms Unavailable Error | ✘ | ✔ |
service_unavailable | 503 - Service Unavailable | ✔ | ✔ |
internal_server_error | 500 - Internal Error | ✔ | ✔ |
检索预订
测试标头值 | HTTP 代码和响应 |
---|---|
standard | 200 - Standard response |
internal_server_error | 500 - Internal Error |
service_unavailable | 503 - Service Unavailable |
取消预订
测试标头值 | HTTP 代码和响应 |
---|---|
standard | 204 - No Content - standard response |
post_stay_cancel | 400 - Invalid response from upstream server error |
internal_server_error | 500 - Internal Error |
service_unavailable | 503 - Service Unavailable |
EPS Home | EPS Portal Login | Expedia Partner Central | Advertise with Expedia | News | Privacy Policy | Cookie Policy
© 2020 Expedia, Inc. All Rights Reserved.