Get Merchant

Function

To get information of merchant by merchant id
以商户id獲取商户資料

URL

GET API_DOMAIN/v1/merchants/:merchant_id

Request Parameters

ParameterTypeDescriptionExample
merchant_idStringMerchant ID
商户ID
5e8c5b7a2c389a006ad21050

Response Fields

FieldTypeDescriptionExample
idStringMerchant ID
商户ID
5e8c5b7a2c389a006ad21050
base_country_codeStringCountry/Region code
國家/地區代碼
TW
base_currency_codeStringCurrency code
貨幣代碼
TWD
nameStringShop Name
商店名稱
vicky's store 志龍
emailStringShop Email
商店電郵
[email protected]
handleStringShop code
商店代碼
example
brand_home_urlStringShop code
商店鏈結
https://example.shoplineapp.com
custom_domainStringShop custom domain
商店自訂網域
www.example.com
current_plan_keyStringShop plan key
商店計劃代碼
premium_3year
default_language_codeStringDefault language code
默認語言代碼
en
staff_idStringStaff ID
店長 ID
(只會有一個,也就是建立這個 merchant 的帳號)
5b55ae85b818790005cc40c1
rollout_keysString[]Supported function keys
支援的功能代碼
  • [
    "admin_v2",
    "studio_livestream",
    "channel_customer_authentication"
    ]_
supported_languagesString[]Supported languages
支援的語言
  • [
    "en",
    "zh-hant",
    "ja",
    "id",
    "ms",
    "zh-cn",
    "fr",
    "de",
    "th",
    "vi"
    ]_
logo_mediaHashShop's logo
店鋪logo
brand_home_urlStringStorefront url
店鋪地址
https://sampleshop.shoplineapp.com/
tagsString[]tags
商店種類
["automotive", "book", "cosmetic", "electronics", "food", "life", "maternal", "other", "pet", "retail", "service", "sport"]
emailsHashOther emails
其他電郵
  • {
    "order": "",
    "message": "",
    "comment": ",
    "lowinventory": "",
    "billing": [
    ""
    ],
    "shopline_payment": ""
    }
product_linesHashMerchant subscription
商戶訂閱
  • {
    "preorder": \[],
    "paid": [  
        {  
            "name": "ec",  
            "payment_gateway": "shopline_payment",  
            "start_at": "2021-09-16T07:55:44.000Z",  
            "end_at": "2022-09-16T07:55:44.000Z",  
            "status": "active"  
        }  
    ],
    "trial": \[]
}_
kyc_statusString

KYC status
KYC審核狀態

one in
not_yet_applied
basic_account_pending
basic_account_verified
basic_account_rejected
basic_account_reviewed
advanced_account_pending
advanced_account_verified
advanced_account_rejected
advanced_account_failed

not_yet_applied
sl_payment_merchant_idStringsl_payment_merchant_id
支付中台merchant id
1450485732895493326
sl_payment_mccStringsl_payment_mcc
渠道分配的mcc
123
sl_payment_billing_descriptor_nameStringStore's billing descriptor
商店交易名稱
SL*BCHK

Response Example


Did this page help you?