Skip to Content
Nfc tags

Report NFC Physical Check

Acceso

Miembro de la organización con al menos uno de estos permisos:

  • nfc-tags:read
  • nfc-tags:pos:charge
  • nfc-tags:pos:top-up
  • nfc-tags:pos:provision
  • nfc-tags:write

Una clave API con scopes también necesita el permiso entre sus scopes.

POST
/orgs/{organizationId}/nfc-tags/physical-check

Records the balance observed on the tag and the outcome of any corrective write.

Authorization

ApiKeyAuth
headerx-api-key<token>

API key for authentication

Path Parameters

organizationId*string

The ID or slug of the organization

Request Body

application/json
  1. body
checkId*string
Length1 <= length <= 100
tag*string
Match^[A-Z0-9]+$
Length1 <= length
physicalBalance*number
Range-1000000 < value < 1000000
physicalBalanceBefore?number
Range-1000000 < value < 1000000
outcome*string
Value in"in_sync""written""write_failed"
occurredAt?string
Formatdate-time
installationId?string
Length1 <= length <= 200

Response Body

OK

application/json
  1. response
balance*number
physicalBalance*number|null
physicalCheckedAt*|null
Example Request
curl -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"}