Skip to content

Get EC Store Order ID

Description

取得 EC 門市交易單號。

Resource

GET /v1/card/order_id

Authorization

採用 OAuth 2.0 Bearer Token,詳細使用流程請參考 Auth Login

Query Parameters

Name Type Description
ec_store_id string EC 門市編號
transaction_type string 交易類型
ALLOWED VALUES:
  • ALL: 全部
  • TOP_UP: 儲值
  • TOP_UP_REFUND: 儲值退款
  • PAY: 消費付款
  • REFUND: 消費退款
  • AMOUNT_DEPOSIT: 儲值金轉入
  • AMOUNT_WITHDRAWAL: 儲值金轉出
card_no string 儲值卡號

Query Example

GET /v1/card/order_id?ec_store_id=S001&type=TOP_UP&card_no=BBB71587736153023307979

Response Body Parameters

Name Type Description
id string EC 門市交易單號

Response

HTTP-Status-Code: 200

{
    "id": "S001IC25090900010"
}