Praxis Wiki logo

Webhooks Customer Sync

Customer Sync is the mechanism that allows the agent to manage the customers, their deposits and payouts within Virtual Terminal.

When the agent attempts to access the virtual terminal for customer, Backoffice will attempt to retrieve the customer details from CRM. In order to have the retrieval working, the CRM will need to implement the API callback that will be available to receive the request from and respond with the customer details.

{danger.fa-exclamation-triangle} IMPORTANT: Please make sure that you have provided the callback URL to technical support representative before you attempt to use Virtual Terminal.


Variable Type Description
merchant_id varchar(50) Merchant API client account identifier
application_key varchar(50) Cashier Application key, normally it is a common name of the website. Linked to a specific base currency.
cid varchar(50) Unique customer id in your system
timestamp int(11) Request time. URL will be active during 1 min after this time
version varchar(3) API version


Variable Type Description
status int API communication status
- 0 if the request was successful
- Negative integer if internal server/network error occurs
- Positive integer if application/logical error occurs
description varchar(256) Accurate description of the result. Return the actual error for any exception as it helps to diagnose issues in production
customer_data <Object> ? Customer object. Appears as null in case of authentication/validation error.
manual_validation_url varchar(256) ? URL to which the manual deposit validation request will be sent. Please refer to Validation for more details.
manual_notification_url varchar(256) ? URL to which the manual deposit status notification will be sent. Please refer to Notification for more details.
balance int(20) Customer's current available balance.
Please note: for certain currencies (see full list here) there is a fraction other than 100 cents per unit, this is important if you multiply by 100 to send the amount in cents
version varchar(3) API version
timestamp int(11) Response time (unix timestamp, seconds)


The full signature generation algorithm can be found in the Authentication section.

Request signature parameters

  1. merchant_id
  2. application_key
  3. timestamp
  4. cid

Response signature parameters

  1. status
  2. timestamp
  3. manual_validation_url
  4. manual_notification_url
  5. balance



curl -X POST \ \
-H 'Content-Type: application/json' \
-d '{
    "application_key":"Praxis TEST USD",

Response (OK)

        "country": "GB",
        "first_name": "John",
        "last_name": "Johnson",
        "dob": "12\/31\/1980",
        "email": "[email protected]",
        "phone": "44201112222",
        "zip": "WC2N 5DU",
        "state": "JS",
        "city": "London",
        "address": "Random st., 12\/3",
        "profile": 1
    "balance": 0,

Response (ERR)

    "description":"Customer not found",