Wonder
post/svc/payment/api/v1/openapi/customers

Create a customer

Create a customer of you business. Use it to Payment Token or Recurring Payment, track payments from Payment Link.

  • Notice: the API will be update customer profile if the refernece_number already exists.

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

required
object

your side customer unique id

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

reference_numberrequired
string

Your side unique number

Example: <Your side the customer unique id>

Responses

code
number
required
object
required
object
message
string