Get Customer
This process will get the merchant's customer list.
Request query prarameter definitions
customer_id : Customer short ID.
email : Customer email.
pay_id : Customer PayID.
ref : Customer reference.
status : Customer status (creating, pending, active, inactive or failed) example:
active
GET query prarameter
http://cryptovoucher-sandbox.txengine.net/api/customer/lookup?customer_id=<customer_id>&email=<customer_email>&pay_id=<customer_pay_id>&ref=<customer_ref>&active=<customer_status>Response body
{
"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