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
Deletes are final. Once a customer is deleted, their alias is sent back to the pool of available aliases under your namespace. Deleted customers cannot be restored.