Wonder
put/svc/payment/api/v1/openapi/customers/{id}

Edit a customer

Edit a customer's profile. The reference_number can not update.

Path parameters

idrequired
string

Example: {{uuid}}

Header parameters

X-Skip-Signature
string

Example: TRUE

Signature
string

Example: good

Credential
string

Example: {{credential}}

x-request-id
string

Example: {{$string.uuid}}

x-i18n-lang
string

Example: zh-CN

Content-typerequired
string

Example: application/json

Request body · application/json

namerequired
string

The customer's name

Example: <Your Customer's name>

email
string

The customer's email

Example: abc@def.com

dial_code
string

The customer's mobile phone country code

Example: +852

phonerequired
string

Example: 12345678

company_name
string

The customer's company name

Example: Universal Group Limited

default_payment_method
enum<string>

Credit CardAlipayWechat Pay

Example: Credit Card

default_payment_token
string<uuid>

Set a default payment token of this customer

Example: 1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed

Responses

coderequired
number
required
object
required
object
messagerequired
string