- Creates or updates a device by ID
Retrieves devices
Retrieves a device by ID
Generates a tap-to-pay token by device by ID
Activates tap-to-pay functionality by device ID
Creates or updates a devi...
POST {{baseURL}}/pay-api/v1/devices
This endpoint creates or updates a device by ID.
See Also:
To retrieve devices, see GET /pay-api/v1/devices.
To generate a tap-to-pay token for a device, see POST /pay-api/v1/devices/tap-to-pay/jwt.
To retrieve a device by ID, see GET /pay-api/v1/devices/{deviceId}.
To activate tap-to-pay for a device, see POST /pay-api/v1/devices/{deviceId}/tap-to-pay/activate.
Security
Bearer
- Mock serverhttps://developer.flute.com/_mock/api-reference/pay-api/v1/devices
- Sandbox environmenthttps://sandbox.api.flute.com/pay-api/v1/devices
- Production environmenthttps://api.flute.com/pay-api/v1/devices
curl -i -X POST \
https://developer.flute.com/_mock/api-reference/pay-api/v1/devices \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"deviceId": "7aafd09f-b3e6-43fb-b815-5db3bf7f1452",
"deviceName": "iPhone12,1"
}'Response
{ "deviceId": "7aafd09f-b3e6-43fb-b815-5db3bf7f1452" }