Fetch a list dealer devices
ApiScope: payment.dealerdevices.read
API Scope Level: DealerScope
Path Parameters
dealerUuid string required
Responses
- 200
OK
*/*
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
dealerDevices object[]
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string",
"errorDescription": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string",
"warningDescription": "string"
}
],
"dealerDevices": [
{
"id": 0,
"uuid": "string",
"deviceID": "string",
"deviceType": "string",
"gateway": "string",
"lastFourDigit": "string",
"paymentDealer": {
"dealerUuid": "string",
"name": "string"
},
"dealerDeviceAttributes": [
{
"id": 0,
"attributeName": "string",
"attributeValue": "string",
"dealerDeviceID": 0
}
]
}
]
}
GET /v4/dealers/:dealerUuid/devices
Authorization
name: basicAuthtype: httpscheme: basic
Request
Request
curl / cURL
curl -L -X GET '/payment/v4/dealers/:dealerUuid/devices' \
-H 'Accept: */*'
python / requests
curl -L -X GET '/payment/v4/dealers/:dealerUuid/devices' \
-H 'Accept: */*'
go / native
curl -L -X GET '/payment/v4/dealers/:dealerUuid/devices' \
-H 'Accept: */*'
nodejs / axios
curl -L -X GET '/payment/v4/dealers/:dealerUuid/devices' \
-H 'Accept: */*'
ruby / Net::HTTP
curl -L -X GET '/payment/v4/dealers/:dealerUuid/devices' \
-H 'Accept: */*'
csharp / RestSharp
curl -L -X GET '/payment/v4/dealers/:dealerUuid/devices' \
-H 'Accept: */*'
php / cURL
curl -L -X GET '/payment/v4/dealers/:dealerUuid/devices' \
-H 'Accept: */*'
java / OkHttp
curl -L -X GET '/payment/v4/dealers/:dealerUuid/devices' \
-H 'Accept: */*'
powershell / RestMethod
curl -L -X GET '/payment/v4/dealers/:dealerUuid/devices' \
-H 'Accept: */*'