Nfc tags
Register NFC tag after POS Ultralight C provision
Acesso
Membro da organização com esta permissão:
nfc-tags:write
Uma chave de API com scopes também precisa da permissão nos seus scopes.
POST
Upserts the tag by UID, stores Ultralight C provision metadata, and returns the tag plus a shortened personal URL for NDEF writing.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
application/json- body
uid*stringMatch
^[A-Z0-9]+$Length
1 <= lengthcardKeyHex*stringMatch
^[0-9a-fA-F]+$Length
32 <= length <= 32provisionSource*stringValue in
"nxp_factory""card_key"provisionOutcome*stringValue in
"provisioned""already_provisioned"installationId?stringLength
1 <= lengthOK
application/json- response
tag*personalUrl*stringFormat
uricurl -X POST 'https://api.tillor.eu/orgs//nfc-tags/register-provision' \ -H 'Content-Type: application/json' \ -d '{ "uid": "string", "cardKeyHex": "stringstringstringstringstringst", "provisionSource": "nxp_factory", "provisionOutcome": "provisioned"}'Example Response
{ "tag": { "id": "string", "uid": "string", "balance": 0, "customerId": "string", "blockedAt": "2019-08-24T14:15:22Z", "metadata": null, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "property1": null, "property2": null }, "personalUrl": "http://example.com"}Get NFC Card Key POST
Returns the diversified Ultralight C key for one card UID under the organization's current master, plus the keys a card may still carry (NXP factory key, card keys under older masters) so a provisioning session can re-key it.
Reserve NFC Tap (POS) POST
Reserve an NFC POS tap. amount is required in euros (negative = charge, positive = top-up). Requires nfc-tags:pos:charge or nfc-tags:pos:top-up matching the sign.