Fetch a customer

Changed on
get/customers/{id}

Request

  • Base URL
    https://gateway.pmnts-sandbox.io/v1.0
  • URL
    https://gateway.pmnts-sandbox.io/v1.0/customers/{id}
  • Auth
    HTTP basic

Path parameters

idstring required

ID or Reference

Response

200

successfulboolean
testboolean

Example response

{
  "successful": true,
  "response": {
    "id": "071-C-JE34F66V",
    "email": "jim@citizen.com",
    "reference": "CUST-98198",
    "first_name": "Jim",
    "last_name": "Smith",
    "created_at": "2017-12-04T21:51:11+11:00",
    "address": {
      "address": "1 Citizen Road",
      "city": "Sydney",
      "state": "NSW",
      "postcode": "2000",
      "country": "Australia"
    },
    "card_token": "fke89s3v",
    "card_number": "400555XXXXXX0001"
  },
  "test": true
}

Changes