Skip to main content

PaymentIntent Checkout

執行 - 付款意圖

付款類型

  1. CreditCard - 信用卡付款
  2. ATM - ATM付款
  3. CreditCardInstallment - 信用卡分期付款

須完成付款意圖(PaymentIntent)建立後,才能進行付款意圖執行

Path Parameters
    id string required

    PaymentIntent 編號

Request Body
    paymentNo string nullable

    如需要自訂付款編號,請傳入此參數不帶入則由系統自動產生

    usePayNowSdk boolean
    key string required

    Possible values: non-empty

    公鑰

    secret string required

    Possible values: non-empty

    PaymentIntent secret

    paymentMethodType string required

    Possible values: non-empty

    付款方式

    CreditCard

    CreditCardInstallment

    ATM

    ConvenienceStore

    paymentMethodData object nullable

    付款資料

    ConvenienceStore

    codeType: fami_port, ibon

    sessionId string nullable
    otpFlag boolean

    是否要走 3DS, OTP 流程

Responses

Success


Schema
    status int32

    狀態碼

    type string nullable

    狀態

    message string nullable

    訊息

    result object
    id string nullable
    secret string nullable
    module string nullable
    allowPaymentMethodTypes string[] nullable
    amount double

    金額

    currency string nullable

    幣別

    description string nullable

    說明

    status string nullable

    狀態

    createdAt string nullable

    建立時間 ISO 8601

    payment object
    paymentNo string nullable

    付款單號

    paymentToken string nullable

    付款 Token

    amount double

    付款金額

    currency string nullable

    付款幣別

    paymentMethod string nullable

    付款方式

    payerName string nullable

    付款人姓名

    payerEmail string nullable

    付款人 Email

    description string nullable

    付款描述

    transactionNo string nullable

    交易編號

    status string nullable

    訂單狀態, 1:草稿 2:交易成功 3:交易失敗 4:交易待付款 5:交易進行中 6:已過期

    createdAt string nullable

    付款建立時間

    paidAt string nullable

    付款完成時間

    redirectUrl string nullable
    source string nullable
    products object[] nullable
  • Array [
  • name string nullable
    description string nullable
    price double
    currency string nullable
    quantity int32
  • ]
  • meta nullable
    meta object nullable
    requestId string nullable

    請求 ID

Loading...