Skip to main content
POST
Generate an e/c pair for a test chip

Authorizations

Authorization
string
header
required

Use Authorization: Bearer end_sk_* for partner API keys (e.g. end_sk_AbCd_example_api_key).

Body

application/json
chip_id
string
required

Identifier of the test chip to generate a tap for.

Pattern: ^[0-9A-Fa-f]{10}$
Example:

"ABCDEF0123"

count
integer

Optional counter value. Defaults to the next emulated chip counter and reserves it, so each tap returns a new e-value. Explicit counts must be greater than the chip's current highestObservedCount.

Required range: x >= 0
Example:

5

Response

Generated e/c pair and count.

chip_id
string
required
Example:

"ABCDEF0123"

e
string
required
Example:

"C78566198547116F3A715DC1C62AF96F"

c
string
required

Tap verification code from the simulated tap. Send it back alongside e when verifying the chip.

Example:

"ABA8AF6C69A76F0F"

count
integer
required
Required range: x >= 0
Example:

5