On This Page
pilot
Step 1: Create a device
This section describes how to create a device.
Endpoint
Test:
POST
https://apitest.visaacceptance.com
/tms/v2/devicesProduction:
POST
https://api.visaacceptance.com
/tms/v2/devicesRequired Fields for Creating a Device
- clientDeviceID
- clientDeviceName
- category
- operatingSytem.type
- certificates[].buildId
- certificates[].format
- certificates[].value
Optional Fields for Creating a Device
- manufacturer
- brand
- model
- operatingSytem.version
- operatingSytem.buildId
REST Example: Creating a Device
Request
{ "clientDeviceID": "<CLIENT_DEVICE_ID>", "clientDeviceName": "U0lUIERldmljZSBqV0JW", "category": "PHONE", "manufacturer": "Apple", "brand": "iPhone", "model": "iPhone 15 Pro Max", "operatingSystem": { "type": "IOS", "version": "26.1", "buildId": "23B5044I" }, "certificates": [ { "usage": "SIGNATURE", "format": "X509_PEM", "value": "<DEVICE_CERTIFICATE>" }, { "usage": "ENCRYPTION", "format": "X509_PEM", "value": "<DEVICE_CERTIFICATE>" } ] }
Response to a Successful Request
HTTP 204 No Content
status.Response to a Successful Request
{ "errors": [ { "type": "forbidden", "message": "Request not permitted" } ] }