Deprecated API Reference
This API Reference is being deprecated. Please use the New API Reference.
Activate Device
curl https://finix.sandbox-payments-api.com/devices/DVf2H8sh4LZZC52GTUrwCPPf \
-H "Content-Type: application/json" \
-H 'Finix-Version: 2022-02-01' \
-u USjHFGYvecE4LBitYG8KDE2g:b698f403-d9b7-4157-82d8-162cea8c8cc3 \
-X PUT \
-d '
{
"action": "ACTIVATE",
"activation_code": "C887298"
}'
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 ACTIVATE for to enable device |
activation_code |
string, required | Input the code thats show up on the device screen |
tags |
object, optional | Key value pair for annotating custom metadata (e.g. order numbers) |
{
"id": "DVf2H8sh4LZZC52GTUrwCPPf",
"created_at": "2019-03-01T02:27:20.366Z",
"updated_at": "2022-04-05T18:48:40.383Z",
"configuration_details": {
"allow_debit": true,
"check_for_duplicate_transactions": true,
"prompt_amount_confirmation": false,
"prompt_manual_entry": true,
"prompt_signature": "AMOUNT",
"signature_threshold_amount": 10,
"bypass_device_on_capture": false
},
"description": "John Smith",
"enabled": false,
"idle_message": null,
"merchant": "MUu56ZGx3Xb6U9gAqKfgNisd",
"model": "MX915",
"name": "Johnnys Juice Shop",
"serial_number": "343434343",
"tags": {},
"_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"
}
}
}