cURL
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 }, "currency": "EUR", "paid_at": "2023-12-31T00:00:00.000Z", "expires_at": "2024-01-01T00:00:00.000Z", "send_resources": true, "metadata": { "user_id": "abcdefghi1234567890", "internal_id": "abcdefghi1234567890" } } ], "success": true }
Get all payments
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.
OK
Show child attributes
Unique identifier of the payment.
"abcdefghi1234567890"
Status of the payment.
"pending"
Unique identifier for the ticket rate.
Unique identifier for the organization.
Resource bought.
ticket
name-change
list
pass
plan
booking
"ticket"
Unique identifier for the resources.
Total payment.
20.6
0.6
{ "amount": 20.6, "fees": 0.6 }
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"}