Export Customer Profiles

This request will allow you to export customers that are stored in your PayTrace customer database/vault. Submitting optional attributes will allow you to narrow down to the specific customers you are looking for.

This Response will return an array of customer profile objects.

Request

Response

POST: /v1/customer/export

REQUEST:

null

Field types: R – Required, O – Optional, C - Conditional

RESPONSE:

{
  "success": true,
  "response_code": 1,
  "status_message": "Your request has been successfully completed.",
  "customers": [
    {
      "customer_id": "customer456",
      "credit_card": {
        "masked_number": "************1111",
        "expiration_month": 12,
        "expiration_year": 20
      },
      "shipping_address": {
        "name": "",
        "street_address": "",
        "street_address2": "",
        "city": "",
        "county": "",
        "state": "",
        "zip": "",
        "country": "US"
      },
      "billing_address": {
        "name": "Steve Smith",
        "street_address": "8320 E. West St.",
        "street_address2": "",
        "city": "Spokane",
        "state": "WA",
        "zip": "85284",
        "country": "US"
      },
      "email": "",
      "phone": "",
      "fax": "",
      "created": {
        "at": "4/10/2015 12:39:57 AM",
        "by": "sandbox123",
        "from_ip": "64.106.154.96"
      },
      "discretionary_data": {
        "Custom Discretionary Field 1": "",
        "Custom Discretionary Field 2": "",
        "Custom Discretionary Field 3": "",
        "Custom Discretionary Field 4": "",
        "Custom Discretionary Field 5": "",
        "Custom Discretionary Field 6": ""
      }
    },
    {
      "customer_id": "customer789",
      "credit_card": {
        "masked_number": "************1111",
        "expiration_month": 3,
        "expiration_year": 16
      },
      "shipping_address": {
        "name": "",
        "street_address": "",
        "street_address2": "",
        "city": "",
        "county": "",
        "state": "",
        "zip": "85284",
        "country": "US"
      },
      "billing_address": {
        "name": "Steve Smith",
        "street_address": "8320 E. West St.",
        "street_address2": "",
        "city": "Spokane",
        "state": "WA",
        "zip": "85284",
        "country": "US"
      },
      "email": "steve@domain.com",
      "phone": "",
      "fax": "",
      "created": {
        "at": "4/13/2015 5:46:50 PM",
        "by": "sandbox123",
        "from_ip": "64.106.154.96"
      },
      "discretionary_data": {
        "Custom Discretionary Field 1": "",
        "Custom Discretionary Field 2": "",
        "Custom Discretionary Field 3": "",
        "Custom Discretionary Field 4": "",
        "Custom Discretionary Field 5": "",
        "Custom Discretionary Field 6": ""
      }
    }
  ]
}