付款交易查詢
介面路徑
| 請求方式 | API 路徑 |
|---|---|
| POST | {DOMAIN_NAME} /api/v1/trade/payment/get |
請求電文
Http.header 參數
Content-TypeString必填
固定值:application/json
platformIdString選填
SLP 平台 ID,平台特店必填
merchantIdString必填
直連特店串接:SLP 分配的特店 ID;平台特店串接:SLP 分配的子特店 ID
apiKeyString必填
API 介面金鑰
requestIdString(32)必填
請求流水號,每個 HTTP 請求唯一
idempotentKeyString(32)選填
冪等 KEY
Http.body 電文
tradeOrderIdString(32)必填
SLP 付款交易訂單編號
回應電文
處理結果 http.statusCode
* 500 /429 /400:處理異常
* 200:處理成功
referenceOrderIdString(32)必填
特店訂單號
tradeOrderIdString(32)必填
SLP 付款交易訂單編號
sessionIdString(32)選填
SLP 結帳交易訂單編號
statusString(32)必填參考
付款狀態
subStatusString(32)必填參考
子付款狀態,採用手動請款時需要關注此參數;
paymentMsgPaymentError選填
付款失敗原因
actionTypeString(16)選填參考
指示下一步動作,對應 nextAction 欄位處理方式
nextActionNextAction選填
指示下一步動作,特店可忽略,傳送給 SDK 即可
orderObject必填
SLP 訂單資訊
merchantIdString(32)必填
特店 ID
amountCurrencyAmount必填
订单金額
valueNumber(14)必填
金額,台幣傳金額*100,譬如1元傳入100
currencyString必填
幣種,目前僅支援 TWD
referenceOrderIdString(32)必填
特店訂單號
createTimeString(32)必填
訂單建立時間
customerCustomer必填
顧客資訊
referenceCustomerIdString(32)必填
顧客唯一標識,需為唯一值
customerIdString(32)必填
SLP 會員 ID,在 purchaseScene 為純綁卡/綁卡及付款/定期扣款時,會建立 SLP 會員
paymentObject必填
訂單付款資訊
paymentMethodString(16)必填參考
付款方式
subPaymentMethodString(16)選填
子付款方式
autoConfirmBoolean選填
自動確認,默認為 false
autoCaptureBoolean選填
自動請款,默認為 true
paymentBehaviorString(32)必填參考
付款場景
paymentSuccessTimeString(32)選填
付款成功时间
autoSettleBoolean選填
自動結算
isSettleBoolean必填
已結算,默認為 false
paidAmountCurrencyAmount必填
實際付款金額,採用手動請款時需要關注此參數
valueNumber(14)必填
金額,台幣傳金額*100,譬如1元傳入100
currencyString必填
幣種,目前僅支援 TWD
channelDealIdString選填
第三方平台流水號,街口支付和 LINE Pay 特店對帳使用
paymentCustomerIdString(32)選填
SHOPLINE Payments 付款會員 ID,快捷付款、定期扣款場景必填
creditCardObject選填
信用卡付款資訊
typeString必填參考
卡類型
binString必填
卡號前六位
last4String必填
卡號後四位
categoryString選填
卡類別
issuerString選填
發卡行
issuerCountryString選填
發卡國家
brandString選填
卡組織
virtualAccountObject選填
虛擬帳號付款資訊
dueDateString必填
轉帳截止日期
dueDateDescString必填
轉帳截止日期說明
recipientAccountNumString必填
轉帳虛擬帳號
recipientBankCodeString必填
轉帳虛擬帳號銀行代碼
paymentAccountNumString選填
付款人轉出帳號
paymentBankCodeString選填
付款人轉出帳號銀行代碼
paymentInstrumentPaymentInstrument選填
付款工具資訊
paymentInstrumentIdString選填
付款工具 ID
savePaymentInstrumentString選填
是否要儲存付款工具 ID
paymentMethodOptionsPaymentMethodOptions選填
付款方式可選資訊
installmentsInstallments選填
支援分期的付款方式的分期資訊
countString選填
分期期數
installDownPayString(12)選填
首期金額,台幣金額*100,譬如1元為100
installPayString(12)選填
每期金額,台幣金額*100,譬如1元為100
additionalDataMap選填
附加資訊