Praxis Wiki logo

API Methods UpdateCustomer Recommended

This method is invoked when a customer’s information is changed in the Cashier or Backoffice to allow your Platform to update the corresponding customer record. This can be invoked as part of a deposit transaction depending on the deposit method. The Cashier is ‘Pushing’ the customer information to your Platform.


Variable Type Description
PIN varchar(50) Required. Unique customer id in your system
SiteID int Optional: only used if you need to identify a brand or company to which this customer belongs.
FrontEndName varchar(256) Required. Cashier front end name, normally common name of the website. Linked to a specific base currency.
EditedBy varchar(50) Recommended. If you need to distinguish the profile has been updated by the customer via the Cashier or by a customer service representative via the Cashier’s Backoffice.
CustName varchar(50) Full customer name, can be split in two fields first and last name
Street varchar(100) Street address of the customer
City varchar(50) City of the customer
Province varchar(2) State/Province where the customer resides. Only for US, CA and AU. 2 characters ISO format. Otherwise leave blank.
PCode varchar(12) Postal Code of the customer. Only required for US and CA. Can provide values for other countries. Limited to 12 alphanumeric characters only.
Country varchar(2) ISO 3166-1 alpha-2 (US, MT, IT, GB, DE, etc)
Phone varchar(20) Numeric only, includes country area code. Should not be a dummy sequence like 123456 or 111111, should be at least 6 digits long.
Email varchar50) Customer’s email
DOB date Date of birth of the customer. MM/DD/YYYY format accepted.
Gender char(1) M or F (male or female)
Profile int(1) Profile level of the customer (0 to 5)
IP_Address char(15) IP Address of the customer
CreatedBy varchar(50) Usually INTERNET, or the Backoffice username.


Variable Type Description
Status int Required.
- 0 if the request was successful
- Negative integer if internal server/network error occurs
- Positive integer if application/logical error occurs
Description varchar(256) Required. Accurate description of the result. Return the actual error for any exception as it helps to diagnose issues in production



curl -X POST \ \
-H 'Content-Type: application/json' \
-d '{"SiteID":34,
    "FrontEndName":"TEST EUR",
    "CustName":"Test Test", 
    "Email":"[email protected]", 
    "Street":"123 Blue street", 

Response (OK)

{"Status":0, "Description":"Customer updating accepted"}

Response (ERR)

{"Status":1, "Description":"User not found"}

You are currently viewing version 2.24b Latest API version here