Create transactions
Create a transaction list.
As a reminder, a transaction is a tip. This API allows you to send a tip as a single transaction or as a list.
If an error is detected in the tip list, the entire request is rejected.
Special case: if in the list you try to use a correlational UUID already in use, Tipsi will ignore the transaction and not notify an error.
Header Parameters
- Authorization string requiredExample: Bearer <TOKEN>
- application/json
Request Body array
- Array [
- tips integer required
Amount of the tips (An amount of money in the smallest sub-division of the currency, e.g. 12.60 EUR would be represented as 1260)
- user_uuid uuid
User identifier related to the tips in UUID v4 format (Optional if you're in COLLECTIVE team)
- terminal_name string required
The terminal name, this can be useful if you want to identify your equipment
- team_uuid uuid required
Team identifier in UUID v4 format related to the tips
- correlation_uuid uuid required
The correlation identifier in UUID v4 format created by your system which allows you to insure integrity/unicity of the tips
- ]
- 200
- 400
- 401
- 404
OK
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- uuid uuid
Transaction identifier in UUID v4 format created by Tipsi
- tips integer
Amount of the tips (An amount of money in the smallest sub-division of the currency, e.g. 12.60 EUR would be represented as 1260)
- user_uuid uuid
User identifier related to the tips in UUID v4 format (Optional if you're in COLLECTIVE team)
- terminal_name string
The terminal name, this can be useful if you want to identify your equipment
- team_uuid uuid
Team identifier in UUID v4 format related to the tips
- correlation_uuid uuid
The correlation identifier in UUID v4 format created by your system which allows you to insure integrity/unicity of the tips
- ]
[
{
"uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"tips": 1200,
"user_uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"terminal_name": "PAXA920-TEST-001",
"team_uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"correlation_uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
]
The query is incorrect
Not Authorized
User or Team identifier not found