Skip to main content

Customer Management API

The Customer Management API allows you to manage basic customer information, and integration with the Customer API is a must if you need to support save payment token functionality.

  • Name: Customer nickname.
  • Email: Customer email. Will send invoice to this email.
  • Phone: Customer phone.
  • Reference Number: Your side unique customer ID.
  • Default Payment Method: default selected payment method on Payment SDK / Payment Link.
info

If you want to associate an order with a customer, then you can pass the customer_UUID field when creating the order.

Create a customer​

You can use your system’s unique id as referncce_number to create a customer in Wonder Gateway. And Wonder Gateway will reply to you a UUID, then you can use this UUID to make further request.

Please refer to Create Customer API

Update a customer profile​

For easier integration, the create customer API provides idempotency, where creating a customer with the same reference_number is equivalent to updating the object.

Get customer​

Get customer profile by customer UUID.

Please refer to Get Customer API

Please refer to Get Customer by Ref ID API

Get customer list​

Get customers by search conditions:

  • linked_source_type:
    • User
    • Store: When fill company_name when create customer, the linked_source_type will be Store.

Please refer to Get Customers API

Delete Customer​

deleted a customer.

Please refer to Delete Customer API


Get customer payment token list​

Get all payment(card) tokens for one specific customer with the given UUID and token.

Please refer to Get Customer Payment Tokens Please refer to Get Business Payment Tokens

Delete a customer payment token​

Permanently deletes a customer payment token. Attempts to delete a customer payment token that are no long need.

Please refer to Delete Payment Token

Get a customer wallet link for customer manage payment methods.

Please refer to Get customer wallet link