Introduction
API Reference
- Events
- Bookings
- Channels
- Lists
- Passes
- Subscriptions
- Tickets
- Users
- Payments
- Refunds
- Wallet Movement
Get refunds
Get all the refunds given a event or a date range. (Only using Fourvenues payments gateway).
curl --request GET \
--url https://api-alpha.fourvenues.com/integrations/refunds/ \
--header 'integration_id: <api-key>' \
--header 'secret: <api-key>' \
--header 'x-api-key: <api-key>'
{
"success": true,
"data": [
{
"venue_id": "fJ0vphh0acfytM4yWdAAXZcNPwDRDFpq",
"venue_slug": "pacha",
"type_id": "TCDu2yVBgwCHbBfHZH56HVdzn2vYcjcn",
"type_slug": "general-admission",
"event_id": "xhL6F5eYyeLvc40E2MKmnBQZYf2nU7zT",
"event_slug": "saturday-night-26-09-2022",
"event_date": "2022-09-26",
"channel_id": "6RKUYneVbpbx6g4uBh8QgAe9xrrZq2mb",
"channel_slug": "my-channel",
"user_id": "ueC9A79zeLHMaNSY1hLw94zLu3knNhHT",
"artists": [
"David Guetta",
"Martin Garrix"
],
"day": 26,
"month": 9,
"year": 2022,
"at": "2022-09-15T23:00:00.000Z",
"resource_type": "tickets",
"n_resources": 2,
"resources_ids": [
"ANShQaGXdrYpiDVNAqdzX2u7u6yQBKvf",
"GYnAwwrBX7ATNWX9tiXQbHZ4720uUjKQ"
],
"total_amount": 20,
"refunded": 0,
"sale_type": "online",
"corrective_invoice_reference": "EV24T-COR-H58Z-0000002"
}
]
}
Authorizations
Identifier of the integration (Auth v1)
Secret of the organization (Auth v1)
API key (Auth v2)
Query Parameters
Event identifier.
Start date for the range.
End date for the range.
Limit of results.
Offset of results.
Response
true
Array of Refunds
Venue identifier.
"fJ0vphh0acfytM4yWdAAXZcNPwDRDFpq"
Venue slug.
"pacha"
Type identifier.
"TCDu2yVBgwCHbBfHZH56HVdzn2vYcjcn"
Type slug.
"general-admission"
Event identifier.
"xhL6F5eYyeLvc40E2MKmnBQZYf2nU7zT"
Event slug.
"saturday-night-26-09-2022"
Event date.
"2022-09-26"
Channel identifier.
"6RKUYneVbpbx6g4uBh8QgAe9xrrZq2mb"
Channel slug.
"my-channel"
User identifier.
"ueC9A79zeLHMaNSY1hLw94zLu3knNhHT"
Artists of the event.
["David Guetta", "Martin Garrix"]
Day of the refund.
26
Month of the refund.
9
Year of the refund.
2022
Date of the refund.
"2022-09-15T23:00:00.000Z"
Resource type.
"tickets"
Number of resources.
2
Resources identifiers.
[
"ANShQaGXdrYpiDVNAqdzX2u7u6yQBKvf",
"GYnAwwrBX7ATNWX9tiXQbHZ4720uUjKQ"
]
Total amount.
20
Refunded amount.
0
Sale type.
"online"
Corrective invoice reference.
"EV24T-COR-H58Z-0000002"
curl --request GET \
--url https://api-alpha.fourvenues.com/integrations/refunds/ \
--header 'integration_id: <api-key>' \
--header 'secret: <api-key>' \
--header 'x-api-key: <api-key>'
{
"success": true,
"data": [
{
"venue_id": "fJ0vphh0acfytM4yWdAAXZcNPwDRDFpq",
"venue_slug": "pacha",
"type_id": "TCDu2yVBgwCHbBfHZH56HVdzn2vYcjcn",
"type_slug": "general-admission",
"event_id": "xhL6F5eYyeLvc40E2MKmnBQZYf2nU7zT",
"event_slug": "saturday-night-26-09-2022",
"event_date": "2022-09-26",
"channel_id": "6RKUYneVbpbx6g4uBh8QgAe9xrrZq2mb",
"channel_slug": "my-channel",
"user_id": "ueC9A79zeLHMaNSY1hLw94zLu3knNhHT",
"artists": [
"David Guetta",
"Martin Garrix"
],
"day": 26,
"month": 9,
"year": 2022,
"at": "2022-09-15T23:00:00.000Z",
"resource_type": "tickets",
"n_resources": 2,
"resources_ids": [
"ANShQaGXdrYpiDVNAqdzX2u7u6yQBKvf",
"GYnAwwrBX7ATNWX9tiXQbHZ4720uUjKQ"
],
"total_amount": 20,
"refunded": 0,
"sale_type": "online",
"corrective_invoice_reference": "EV24T-COR-H58Z-0000002"
}
]
}