Nfc tags
Report NFC Physical Check
Access
Member of the organization with at least one of these permissions:
nfc-tags:readnfc-tags:pos:chargenfc-tags:pos:top-upnfc-tags:pos:provisionnfc-tags:write
An API key with scopes also needs the permission among its scopes.
POST
Records the balance observed on the tag and the outcome of any corrective write.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
application/json- body
checkId*stringLength
1 <= length <= 100tag*stringMatch
^[A-Z0-9]+$Length
1 <= lengthphysicalBalance*numberRange
-1000000 < value < 1000000physicalBalanceBefore?numberRange
-1000000 < value < 1000000outcome*stringValue in
"in_sync""written""write_failed"occurredAt?stringFormat
date-timeinstallationId?stringLength
1 <= length <= 200OK
application/json- response
balance*numberphysicalBalance*number|nullphysicalCheckedAt*|nullcurl -X POST 'https://api.tillor.eu/orgs//nfc-tags/physical-check' \ -H 'Content-Type: application/json' \ -d '{ "checkId": "string", "tag": "string", "physicalBalance": -999999, "outcome": "in_sync"}'Example Response
{ "balance": 0, "physicalBalance": 0, "physicalCheckedAt": "2019-08-24T14:15:22Z"}