The Customers API allows you to issue and manage payment aliases for both individual and business users. Once created, each customer is uniquely identified by an alias within your namespace and becomes eligible to send and receive payments on the Paylias network provided they are enabled. Customers can be created directly via API and managed over time using the Update Customer and Delete Customer endpoints. While the assigned alias is permanent and cannot be changed, you can update other attributes such as the customer’s first name, middle name, nickname, and their active status (enabled or disabled).Documentation Index
Fetch the complete documentation index at: https://apidocs.paylias.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Creating a Customer
You can register a new customer by calling the Create Customer endpoint. This is the canonical way to issue a new alias within your namespace and associate it with an individual or business. By default, customers are created in a DISABLED state until explicitly enabled.| Property | Individual | Business |
|---|---|---|
type | Y Required | Y Required |
payment_address | Y Required | Y Required |
phone_number | Y Required | O Optional |
email | Y Required | Y Required |
status | Y Required | Y Required |
first_name | Y Required | N/A |
middle_name | O Optional | N/A |
last_name | Y Required | N/A |
business_legal_name | N/A | Y Required |
business_trade_name | N/A | Y Required |
business_website | N/A | Y Required |
business_description | N/A | O Optional |
business_industry | N/A | Y Required |
Updating a Customer
To update a customer’s details such as their name, nickname, or active status use the Update Customer endpoint. This is a partial update operation; only the fields included in the request body will be updated.Update a customer
payment_address) is immutable and cannot be changed once assigned. While the Update Customer endpoint is fairly flexible and allows easy updates to properties, we advise to use this endpoint with care. Switching a customer from an individual to business or vice versa frequently can be seen as a sign of fraud on the network. Similarly, frequent switching of the cusomter’s business_industry code can also be flagged by network partipants.
Deleting a Customer
If a customer no longer wishes to use Paylias or needs to be deactivated, you can perform a soft delete by calling the Delete Customer endpoint.Archive a customer