Retrieve a transaction
Get detailed information about a specific transaction by providing its unique identifier.
Please note: To access your transaction data, you must include an x-token in the header of your request. This token is used to identify and authenticate your account, ensuring that all transaction information is securely retrieved and belongs only to you. Failure to include the X-Token may result in unauthorized access to transaction data.
Get transaction
GET https://api.evently.live/v1/users/txn/{transaction_id}
Query Parameters
user
object
Contains information about the user who made the booking.
wallet.address
string
The address of the user's wallet.
wallet
object
Contains information about the user's wallet.
user.avatar
string
The URL of the user's avatar image.
user.full_name
string
The full name of the user.
user.id
string
The unique identifier of the user.
user.email
string
The email address of the user.
booking
object
Contains information about the booking.
booking.event_id
integer
The ID of the event
booking.user_id
integer
The ID of the user who made the booking.
booking.time
string
The time of the event in the format 'HH:MM:SS'.
booking.date
string
The date of the event in the format 'YYYY-MM-DD'.
booking.place
string
The place where the event will take place.
booking.name
string
The name of the event
booking.area
string
The area where the event will take place.
records
object
An array of objects containing information about each record of the booking.
event
object
Contains information about the event.
records.booking_id
integer
The ID of the booking.
records.createdAt
string
The date and time when the record was created in the format 'YYYY-MM-DDTHH:MM:SS.000Z'.
records.wallet
string
The address of the wallet that made the transaction.
records.price
integer
The price of the record.
records.hash
string
The hash of the record.
records.id
string
The unique identifier of the record.
event.image
string
The URL of the event's image.
event.id
string
The unique identifier of the event.
Headers
x-token*
String
Token required for secure access to transaction data
Example:
https://api.evently.live/v1/users/txn/10fa5796-1b78-4e57-b28f-371317268272Returns
[
{
"image": "https://res.cloudinary.com/evently/image/upload/v1673635061/eeeeee_mfaywh.jpg",
"id": "10fa5796-1b78-4657-b28f-371317268272",
"hash": "0x0c10731507433fc7fa29byad276bb701f2e5dd9cdccd9c110df3f2f80058b700",
"client": "Juan Perez",
"date": "2023-04-14",
{
"user": {
"id": "865bc96a-3e2c-4495-9860-7ab0a8c95ab4",
"full_name": "Joan Gimenez",
"email": "[email protected]",
"avatar": "https://res.cloudinary.com/jonmenez/image/upload/v1660574559/Diiner/Ellipse_3_x5t9j0.png",
"wallet": {
"address": "0x2F6A5A99c51b69010fb3935f1E1B673Bee925c0B"
}
},
"booking": {
"pk": 463,
"area": "Vip",
"name": "NICO DE TRACY - CRONICO",
"place": "Palermo",
"date": "2023-03-09",
"time": "20:15:00",
"user_id": 5,
"event_id": 8
},
"records": [
{
"pk": 4,
"id": "f0ead7df-7efb-4ddc-b778-4e76805b291b",
"token_id": 140,
"hash": "0xc900f323ac1d1fc6071d87c7bcde870d451bd8d84e591aab7ecfb6eba922ee41",
"price": 18000,
"wallet": "0x2F6A5A99c51b69010fb3935f1E1B673Bee925c0B",
"createdAt": "2023-02-27T21:20:21.000Z",
"booking_id": 463
},
{
"pk": 3,
"id": "e5b83997-3193-4f47-9005-e8a27fab23e2",
"token_id": 140,
"hash": "0x4dd58ae3db7b085b1e0cbb274a3ee385ce37bc1fdaa8bc5a3fccf3b88d4d12dc",
"price": 18000,
"wallet": "0xC9f1eaB8729a0F7803b4310Eac3c0c1824CaE222",
"createdAt": "2023-02-27T21:17:45.000Z",
"booking_id": 463
},
],
"event": {
"id": "890c7386-1de2-4fac-a4b9-2dc86beddf94",
"image": "https://images.evently.com/nico-de-tracy-cronico-142077-142077-img.jpg"
}
}Last updated