Skip to content

Get Stored Value Card Transaction Type

Description

取得儲值卡交易類型。

Resource

GET /v1/card/transaction_type

Authorization

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

Request Example

GET /v1/card/transaction_type

Response Body Parameters

Name Type Description
transaction_type Transaction Type[] 儲值卡交易類型

Response Body Parameters - Transaction Type

Name Type Description
type string 交易類型
name string 交易類型名稱

Response

HTTP-Status-Code: 200

{
    "transaction_type": [
        {
            "type": "ALL",
            "name": "全部"
        },
        {
            "type": "TOP_UP",
            "name": "儲值"
        },
        {
            "type": "TOP_UP_REFUND",
            "name": "儲值退款"
        },
        {
            "type": "PAY",
            "name": "消費付款"
        },
        {
            "type": "REFUND",
            "name": "消費退款"
        },
        {
            "type": "AMOUNT_DEPOSIT",
            "name": "儲值金轉入"
        },
        {
            "type": "AMOUNT_WITHDRAWAL",
            "name": "儲值金轉出"
        }
    ]
}