Skip to main content

01. Create customer

Create a Customer in Wonder Gateway, then use custoemr uuid for card binding & transaction functions.

The same uuid is returned for the same customer id.

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: good
    Content-type string required
    Example: application/json
    x-request-id string
    Example: {% mock 'uuid' %}
Request Body
    customer object required

    your side customer unique id

    name string required
    email string
    phone string required
    reference_number string required
    default_payment_method string
    default_payment_token string
Responses

Response Headers

    Schema
      error_code string required
      error_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, Alipay, Wechatpay]

      token string required
      state string required
      verify_url string required
      verify_uuid string required
      credit_card object
      number string required
      exp_month string required
      exp_year string required
      holder_name string required
      brand string required
    Loading...