1. PaymentMethod
Merchant Connect API
HASE
  • latest
  • HASE
  • Integration Guide
    • EC Payment
      • Merchant API
        • Overview
        • Payment
        • Payment Methods
        • After Payment
          • Capture
          • Cancel
          • Refund
          • Cancel or Refund
          • Accept Notification
        • Features
          • Account Status Inquiry (ASI)
          • COF
          • Recurring
          • Instalment
          • Authentication
            • 3D Secure
            • Authorization only
          • Tokenization
            • Gateway Tokenization
            • Create a gateway token
            • Network Tokenization
            • Pay with gateway token
            • Manage token
    • In-store Payment
      • Merchant API
        • Payment
          • CPM
          • MPM
          • MPM static QR code
        • After Payment
          • Capture
          • Cancel
          • Refund
          • Cancel or Refund
          • Accept Notification
  • API Explorer
    • API Rules
    • PaymentMethod
      • PaymentMethod
        POST
      • PaymentMethod
        PUT
      • PaymentMethod
        GET
      • PaymentMethod
        DELETE
    • Payment
      • Payment
      • Payment
      • Payment
    • Capture
      • Capture
      • Capture
    • Cancel
      • Cancel
      • Cancel
    • Refund
      • Refund
      • Refund
    • Cryptogram
      • Cryptogram
      • Cryptogram
    • Cancel or Refund
      • Cancel or Refund
      • Cancel or Refund
    • Notification
      • Notification for PaymentMethod
      • Notification for Payment
      • Notification for Capture
      • Notification for Cancel
      • Notification for Refund
      • Notification for MPM Static QR Code
      • Notification for Token Status Update
      • Notification for Cryptogram
    • Appendix
      • Result Code
      • Payment Brands
      • Payment Method Variant
      • Currency list
      • Country and region list
    • HealthCheck
      • HealthCheck
    • TransactionHistoryInquiry
      • TransactionHistoryInquiry
    • Instalment
      • Instalment Plan Inquiry
HASE
  • latest
  • HASE
  1. PaymentMethod

PaymentMethod

PUT
/g2/v1/payment/mer/{sid}/paymentMethod

Request

Path Params

Query Params

Header Params

Body Params application/json

Example
{
    "action": {
        "type": "threeDSRedirect"
    },
    "paymentMethod": {
        "card": {
            "encryptedCardInfo": "string",
            "cardInfo": {
                "cardNumber": "string",
                "expiryDate": "stri",
                "cvc": "stri",
                "holderName": "string"
            },
            "tokenValidDays": "1~365",
            "vaultID": "string"
        },
        "e-wallet": {
            "vaultID": "string",
            "contractID": "string",
            "authCode": "string"
        },
        "googlePay": {
            "vaultID": "string"
        },
        "merchantToken": {
            "value": "string"
        }
    },
    "authentication": {
        "type": "threeDSPage",
        "FIDO": {
            "eci": "st"
        },
        "threeDS": {
            "redirectData": {
                "cres": "string",
                "threeDSCompInd": "Y",
                "threeDSFinished": "Y"
            }
        }
    },
    "userInfo": {
        "reference": "string"
    },
    "metadata": "string"
}

Responses

🟢200成功
application/json
Headers

Bodyapplication/json

Example
{
    "result": {
        "code": "string",
        "message": "string",
        "pspResponseCode": "string",
        "pspMessage": "string"
    },
    "action": {
        "type": "threeDSRedirect",
        "threeDSData": {
            "url": "string",
            "method": "GET",
            "parameter": {
                "creq": "string"
            }
        }
    },
    "paymentMethod": {
        "status": "Verifying",
        "failureCode": "string",
        "failureReason": "string",
        "merchantTransInfo": {
            "merchantTransID": "string",
            "merchantOrderReference": "string",
            "merchantTransTime": "2019-08-24T14:15:22.123Z"
        },
        "accountUpdateIndicator": "Y",
        "paymentAccountReference": "string",
        "card": {
            "first6No": "string",
            "last4No": "stri",
            "paymentBrand": "string",
            "fundingType": "credit",
            "holderName": "string",
            "issuingBank": "string",
            "issuingCountry": "str",
            "issuerCountry": "str",
            "isCommercial": true
        },
        "e-wallet": {
            "paymentBrand": "Alipay",
            "planID": "string",
            "contractID": "string",
            "subOpenID": "string"
        },
        "token": {
            "value": "string",
            "expiryDate": "2019-08-24T14:15:22.123Z",
            "userReference": "string",
            "vaultID": "string",
            "fingerprint": "string",
            "createTime": "2019-08-24T14:15:22.123Z",
            "updateTime": "2019-08-24T14:15:22.123Z",
            "status": "disabled",
            "first6No": "string",
            "last4No": "stri"
        },
        "merchantToken": {
            "value": "string"
        },
        "recurringReference": "string"
    },
    "authentication": {
        "type": "threeDSPage",
        "threeDS": {
            "mpiData": {
                "status": "Y",
                "transStatusReason": "st",
                "cardholderInfo": "string",
                "cavv": "string",
                "eci": "st",
                "dsTransID": "string",
                "threeDSVersion": "string"
            },
            "isFrictionless": "Y"
        }
    },
    "metadata": "string"
}
Previous
PaymentMethod
Next
PaymentMethod
Built with