Secure Payments API GET Customers

General

Getting customers is one of the customer options available through the Secure Payments (formerly PCI Wallet) API.

GET /customers

Return all customers:

curl -X GET --header 'Accept: application/json' --header 'authorization: YOUR AUTH' --header 'secret: YOUR SECRET'
'https://pciwallet.simnang.com/api/customers'

Response:

[
{
"primary_zipcode": "",
"birthdate": "01/01/1971",
"email": "sample-email@gmail.com",
"first_name": "Sally",
"mail_address1": "",
"generation_code": "iv",
"updated": "2017-6-13 22:49:42",
"primary_address1": "",
"ssn": "123456789",
"created": "2017-6-14 22:49:42",
"middle_name": "Q.",
"company_name": "Sample Co. LLC",
"mail_zipcode": "",
"mail_state": "",
"primary_address2": "",
"primary_city": "",
"mail_city": "",
"mail_country": "",
"contact_name": "Sample Customer",
"id": 11,
"mail_address2": "",
"last_name": "Sample",
"gender": "female",
"driver_license": "12-82349820",
"primary_state": "",
"primary_country": "",
"credit_limit": 0
},
{
"primary_zipcode": "",
"birthdate": "01/01/1970",
"email": "sample@gmail.com",
"first_name": "Sample",
"mail_address1": "",
"generation_code": "iv",
"updated": "2017-6-14 22:49:42",
"primary_address1": "",
"ssn": "123456789",
"created": "2017-6-14 22:49:42",
"middle_name": "Q.",
"company_name": "Sample Co. LLC",
"mail_zipcode": "",
"mail_state": "",
"primary_address2": "",
"primary_city": "",
"mail_city": "",
"mail_country": "",
"contact_name": "Sample Customer",
"id": 11,
"mail_address2": "",
"last_name": "Customer",
"gender": "male",
"driver_license": "12-123123123",
"primary_state": "",
"primary_country": "",
"credit_limit": 0
}]


How did we do?


Powered by HelpDocs (opens in a new tab)