API v1FiatPe Home
FiatPeDocs

Customer

Create and manage customer profiles for your business. Store essential customer information such as name, email, phone number, GSTIN, and custom metadata, and use the generated customer ID across payment and transaction workflows.

Entity

idstring

The unique identifier of the customer.

entitystring

The type of entity represented by this object.

namestring

The full name of the customer.

emailstring

The email address of the customer.

phonestring

The customer's mobile phone number.

gstinstring

The GST Identification Number (GSTIN) of the customer, if applicable.

metadatajson object

Additional key-value information associated with the customer for internal tracking or reconciliation.

allow_existingboolean

Indicates whether an existing customer with the same email and phone number should be returned instead of creating a new customer. Set to `true` to return the existing customer if found, or `false` to return an error if a duplicate customer exists.

created_atinteger

The Unix timestamp indicating when the customer was created.