Skip to main content

Put Customer

Path Parameters
    id string required
    Example: {{uuid}}
Header Parameters
    Nonce string required

    random 16 bytes alphanumerics

    Credential string required

    Please follow the OpenAPI authentication section

    Example: d900da8b-6e16-4a85-8a66-05d29ac53f24/20240501120123/Wonder-RSA-SHA256
    Signature string required

    Please follow the OpenAPI authentication section

    Example: lM42cgyuLS98Dieydc8K2OD3KwYkOXibpV9pFvr/R0i/830M/FPKUKbav2UBBN3M3EdPk/PpvKQlvBNT+NbEg20CKuiDTZWDc3r7KiA1pdZsui/57XCVhC2s01W8jEM+G5lS362+p8+E0K6UKQDrJMyVpbDT31XSkSJIxae+uDi2nJr4DnIkemeU2LlNDRPPGe9NeX7z3B3N3LwIiQgKMyauPqAjro0UrZykQM9pv4UySRSU2cT8EcjQmyKxbzyuR2A47PyeodJvotlIthdfCHIxG52D06tpRJlRVbUdvxSg14bFiPbr3FwCvruZlbR15gOanJCqE4wp4fC8qEXXsg==
    Content-type string required
    Example: application/json
    x-request-id string
    Example: d900da8b-6e16-4a85-8a66-05d29ac53f24
    x-i18n-lang string

    from zh-HK, zh-CN, or en

Request Body
    default_payment_method string

    Possible values: [Credit Card, Alipay, Wechat Pay, Google Pay, FPS, Octopus Business, Union Pay, Payment Token]

    允许修改为空

    default_payment_token string

    允许修改为空

    name string

    为空,则不修改

    email string

    为空,则不修改

    phone string

    为空,则不修改

Responses

Response Headers

    Schema
      code number required
      message string required
      data object required
      customer object required
      name string
      email string
      phone string
      reference_number string required
      default_payment_method string
      uuid string required
      default_payment_token object
      token_type string required

      Possible values: [CreditCard, WechatPayAutoDebit, AlipayAutoDebit]

      token string required
      state string required
      verify_url string nullable
      verify_uuid string required
      default boolean required

      默认卡

      credit_card object
      number string
      exp_month string
      exp_year string
      holder_name string
      brand string
      billing_currency string
    Loading...