v1
latestOpenAPI 3.0.02026-07-26318168886.7 KBPayments
Get Payment
To get payment method information by inputing payment method ID<br>輸入付款方式ID取得該付款方式資訊
get/payments/{id}
Path parameters
idstring required
Payment Method ID<br>付款方式ID
Query parameters
excludes[]string[]
Could exclude certain parameters in the response<br>結果要排除哪些參數
[ "id" ]
fields[]string[]
Could only show certain parameters in the response<br>結果只顯示哪些參數
[ "id" ]
Response
OK
Example response
{
"id": "58d25b9d01cda3475300002d",
"status": "active",
"fee_percent": 10,
"fee_multiplier": 0.1,
"instructions_translations": {
"en": "pay cash",
"zh-hant": "現金付款"
},
"name_translations": {
"en": "Cash",
"zh-hant": "現金"
},
"config_data": {
"shopline_payment_payment": "credit",
"installments": [
"3",
"6"
],
"payment_subtype": "credit"
},
"type": "paypal",
"excluded_delivery_option_ids": [
"5a7ab4a7e38809548f000009",
"5a7ab407e38809548f000001"
],
"binding_delivery_options": [
"tw_711_pay"
],
"is_sl_payment_available": true,
"show_description_on_checkout": true
}