Deactivate Device

attention

This API is available for Finix Core customers only. If you have additional questions, contact Support.

Copy
Copied
curl https://finix.sandbox-payments-api.com/devices/DVf2H8sh4LZZC52GTUrwCPPf \
     -H "Content-Type: application/vnd.json+api" \
     -u  USjHFGYvecE4LBitYG8KDE2g:b698f403-d9b7-4157-82d8-162cea8c8cc3 \
     -X PUT \
     -d '
       {
           "action": "DEACTIVATE"
       }'

HTTP Request

PUT https://finix.sandbox-payments-api.com/devices/:DEVICE_ID

URL Parameters

Field Type Description
:DEVICE_ID string, required ID of Device

Request Arguments

Field Type Description
action string, required The action parameter must include DEACTIVATE to deactivate the device
  {
    "id" : "DVf2H8sh4LZZC52GTUrwCPPf",
    "merchant" : "MUu56ZGx3Xb6U9gAqKfgNisd",
    "name" : "Finix Tripos #1",
    "model" : "MX915",
    "description" : "Mike Jones",
    "serial_number" : null,
    "idle_message" : null,
    "enabled" : false,
    "tags" : { },
    "created_at" : "2019-03-01T02:27:20.366",
    "updated_at" : "2019-03-11T23:30:05.816",
    "configuration_details" : null,
    "_links" : {
      "self" : {
        "href" : "https://finix.sandbox-payments-api.com/devices/DVf2H8sh4LZZC52GTUrwCPPf"
      },
      "merchant" : {
        "href" : "https://finix.sandbox-payments-api.com/merchants/MUu56ZGx3Xb6U9gAqKfgNisd"
      },
      "transfers" : {
        "href" : "https://finix.sandbox-payments-api.com/transfers"
      },
      "authorizations" : {
        "href" : "https://finix.sandbox-payments-api.com/authorizations"
      }
    }
  }