List all payment device types

List all payment device types

GET api/payment_device_types

Lists all payment device types for your organization.

Request syntax

get api/payment_device_types

Request parameters

The request accepts no parameters.

Response syntax

[
    {
        "id": integer,
        "name": "string",
        "model_number": "string",
        "port": integer,
        "vendor": "string",
        "firmware_version": "string",
        "p2pe_payment_applications": "string",
        "p2pe_non_payment_applications": "string",
        "hardware_version": "string",
        "pts_certification_id": "string",
        "certification_expiration": "string",
        "encryption_type": "string",
        "product_type": "string",
        "owner_name": "string",
        "created_at": "timestamp",
        "updated_at": "timestamp"
    }
]

Response parameters

If the action is successful, an HTTP 200 response is returned. The following data is returned in JSON format as an array, with one object for each payment device type.

FieldTypeDescription
idIntegerThe payment device type ID. Use this value as the payment_device_type_id when creating or updating a payment device.
nameStringThe name of the payment device type.
model_numberStringThe model number of the payment device type.
portIntegerThe port used by payment devices of this type.
vendorStringThe vendor of the payment device type, for example VERIFONE or Ingenico.
firmware_versionStringThe firmware version of the payment device type.
p2pe_payment_applicationsStringThe P2PE payment applications for the payment device type.
p2pe_non_payment_applicationsStringThe P2PE non-payment applications for the payment device type.
hardware_versionStringThe hardware version of the payment device type.
pts_certification_idStringThe PCI PTS certification ID of the payment device type.
certification_expirationStringThe date the PCI PTS certification expires, in the format MM/DD/YYYY.
encryption_typeStringThe encryption type used by the payment device type, for example 3DES DUKPT or VSP.
product_typeStringThe product type of the payment device type, for example EPP or PED.
owner_nameStringThe display name generated for the payment device type, in the format Type: <name> - <model_number>.
created_atTimestampThe timestamp of when the payment device type was created.
updated_atTimestampThe timestamp of when the payment device type was last updated. Upon initial creation, the created_at and updated_at values will be the same.

Errors

The following are errors returned by this API. For a complete list of common errors, see Common errors.

CodeMessageCause
---

Examples

Example: List all payment device types

This example lists all payment device types. The response has been shortened.

ruby api.rb <customer_code> get api/payment_device_types

Response

[
  {
    "id": 144,
    "name": "E280FP",
    "model_number": "E280FP",
    "port": 12345,
    "vendor": "VERIFONE",
    "firmware_version": "",
    "p2pe_payment_applications": "",
    "p2pe_non_payment_applications": "",
    "hardware_version": "",
    "pts_certification_id": null,
    "certification_expiration": null,
    "encryption_type": "VSP",
    "product_type": "EPP",
    "owner_name": "Type: VERIFONE - E280FP",
    "created_at": "2024-04-24T21:13:29.203Z",
    "updated_at": "2024-04-24T21:13:29.203Z"
  },
  {
    "id": 147,
    "name": "VERIFONE_Mx915",
    "model_number": "VERIFONE_Mx915",
    "port": 9001,
    "vendor": "VERIFONE",
    "firmware_version": "",
    "p2pe_payment_applications": "",
    "p2pe_non_payment_applications": "",
    "hardware_version": "",
    "pts_certification_id": null,
    "certification_expiration": null,
    "encryption_type": "3DES DUKPT",
    "product_type": "EPP",
    "owner_name": "Type: VERIFONE - VERIFONE_Mx915",
    "created_at": "2024-04-24T21:14:45.819Z",
    "updated_at": "2024-04-24T21:14:45.819Z"
  }
]