Introduction
API Reference
- Auth
- Events
- ListRates
- Lists
- Locations
- Organizations
- Payments
- TicketRates
- Tickets
- Webhook Endpoints
Webhooks
- Introduction
- Events
Get all payments
Get all payments
curl --request GET \
--url https://channels-service-alpha.fourvenues.com/payments \
--header 'X-Api-Key: <api-key>'
{
"data": [
{
"_id": "abcdefghi1234567890",
"status": "pending",
"rate_id": "abcdefghi1234567890",
"organization_id": "abcdefghi1234567890",
"event_id": "abcdefghi1234567890",
"resource_type": "ticket",
"resource_ids": [
"abcdefghi1234567890"
],
"total": {
"amount": 20.6,
"fees": 0.6
},
"send_resources": true,
"metadata": {
"user_id": "abcdefghi1234567890",
"internal_id": "abcdefghi1234567890"
},
"currency": "EUR",
"paid_at": "2023-12-31T00:00:00.000Z",
"expires_at": "2024-01-01T00:00:00.000Z"
}
],
"success": true
}
Authorizations
Query Parameters
Filter the payments by organization id.
Filter the payments by event id.
Filter the payments by start date.
Filter the payments by end date.
Limit the number of payments returned.
Offset the payments returned.
Response
Unique identifier of the payment.
"abcdefghi1234567890"
Status of the payment.
"pending"
Unique identifier for the ticket rate.
"abcdefghi1234567890"
Unique identifier for the organization.
"abcdefghi1234567890"
Unique identifier for the organization.
"abcdefghi1234567890"
Resource bought.
ticket
, name-change
, list
, pass
, plan
, booking
"ticket"
Unique identifier for the resources.
Currency used for total.
"EUR"
Date that should be displayed as the date the payment was made.
"2023-12-31T00:00:00.000Z"
Expiration date of for the payment.
"2024-01-01T00:00:00.000Z"
If the resources (tickets, passes, etc) should be sent to the user (via email, sms, whatsapp, etc) by Fourvenues.
true
Metadata passed by the API client to be stored in the payment. Max 1kb.
{
"user_id": "abcdefghi1234567890",
"internal_id": "abcdefghi1234567890"
}
curl --request GET \
--url https://channels-service-alpha.fourvenues.com/payments \
--header 'X-Api-Key: <api-key>'
{
"data": [
{
"_id": "abcdefghi1234567890",
"status": "pending",
"rate_id": "abcdefghi1234567890",
"organization_id": "abcdefghi1234567890",
"event_id": "abcdefghi1234567890",
"resource_type": "ticket",
"resource_ids": [
"abcdefghi1234567890"
],
"total": {
"amount": 20.6,
"fees": 0.6
},
"send_resources": true,
"metadata": {
"user_id": "abcdefghi1234567890",
"internal_id": "abcdefghi1234567890"
},
"currency": "EUR",
"paid_at": "2023-12-31T00:00:00.000Z",
"expires_at": "2024-01-01T00:00:00.000Z"
}
],
"success": true
}