---
# System prepended metadata

title: Payment RESTful API format
tags: [v2]

---

---
title: Payment RESTful API format
tags: v2
---

# Payment RESTful API format


|Method | API                                                             | 預計更改後 API                                                | 備註    |
|------ | --------------------------------------------------------------- | ---------------------------------------------------------- | --- |
|POST   | `/api/v2/payment/:payment_id/tappay/checkout/pay-by-prime`      | `/api/v2/payments/:payment_id/actions/pay-by-prime` |     |
|POST   | `/api/v2/payment/tappay/orders/:order_id/checkout/pay-by-prime` | `/api/v2/orders/:order_id/actions/pay-by-prime`  | 這以後應該要廢棄，這裡使用的 order_id 是以前流水號的 order_Id，以後應用新的 Object_id 的 order_id 取代 |
|POST   | `/api/v2/payment/tappay/orders/:order_id/checkout/pay-by-token` | `/api/v2/orders/:order_id/actions/pay-by-token`  | 這以後應該要廢棄，這裡使用的 order_id 是以前流水號的 order_Id，以後應用新的 Object_id 的 order_id 取代 |