Getting the right UUID
Use the dashboard URL when you are looking at the terminal or contactless sticker:
https://dashboard.sticky.to/me/stickies/[UUID_IS_HERE]
How to
POST JSON to https://sticky.to/v2/trigger/public--payByThing
with an Authorization
header as Bearer [YOUR_PUBLIC_KEY]
.
{
"total": 120,
"currency": "GBP",
"thingId": "[UUID_IS_HERE]"
}
total
: Integer ($1.00 USD = 100
).
currency
: String (USD
, GBP
, EUR
…).
thingId
: UUID; ID of the terminal or contactless sticker.
userPaymentId
: String (external reference); optional.