Get Customer

This process will get the merchant's customer list

GET /api/customer/lookup

Query Parameters

Name
Type
Description

email

String

Customer email

ref

String

Customer reference

customer_id

String

Customer shortid

pay_id

String

Customer PayID

status

String

Customer status (creating, pending, active or inactive) Example: active

Headers

Name
Type
Description

X-ApiKey*

String

Merchant API key provide by DCX

X-ApiSecret*

String

Merchant API secret provide by DCX

{
    "status": "ok",
    "row_count": 2,
    "customers": [
        {
            "customer_id": "0ozEt109xU",
            "email": "[email protected]",
            "pay_id": "[email protected]",
            "app_url": "http://cryptovoucher-sandbox.txengine.net/customer/0ozEt109xU",
            "ref": "635986",
            "status": "active"
        },
        {
            "customer_id": "AzoQ1t83xM",
            "email": "[email protected]",
            "pay_id": "[email protected]",
            "app_url": "http://cryptovoucher-sandbox.txengine.net/customer/AzoQ1t83xM",
            "ref": "368254",
            "status": "active"
        }
    ]
}

Last updated