Skip to content

Get Payment Ways

Description

取得付款方式列表

Resource

GET /manager/v1/order/payment_ways

Authorization

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

Request Example

GET /manager/v1/order/payment_ways

Response Body Parameters

Name Type Description
payment_ways Payment Ways 付款方式列表

Response Body Parameters - Payment Ways

Name Type Description
id string 付款方式代碼
name string 付款方式名稱

Response Body Example

Status-Code: 200

{
  "payment_ways": [
    {
      "id": "01        ",
      "name": "現金"
    },
    {
      "id": "07        ",
      "name": "CARD"
    },
    {
      "id": "10        ",
      "name": "取餐櫃信用卡"
    },
    ...
  ]
}