API ReferenceSign In

1. Customer Creation

Last updated 06/11/2020

Customer objects are made in order to easily link transactions and payment methods to a certain customer. You only need to create a customer object once for each of your users. Other objects may be linked to the customer such as linked tokens and payment methods.

  1. Merchant sends a POST request to Create Customer API with the required parameters. Make sure customer information is accurate because they may be used for processing refunds or chargebacks.
  2. Xendit will respond with a JSON with the specified properties, if successful. Else, an error message is returned. The id returned will be the customer object ID that will be used in other future transactions that are connected to this specific customer.