Skip to main content
POST
/
tickets
/
refund
/
{ticketId}
cURL
curl --request POST \
  --url https://api-alpha.fourvenues.com/integrations/tickets/refund/{ticketId} \
  --header 'Content-Type: application/json' \
  --header 'integration_id: <api-key>' \
  --header 'secret: <api-key>' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "amount": 2
}'
{
  "success": true
}

Authorizations

integration_id
string
header
required

Identifier of the integration (Auth v1)

secret
string
header
required

Secret of the organization (Auth v1)

x-api-key
string
header
required

API key (Auth v2)

Path Parameters

ticketId
string
required

Body

application/json
amount
number
required

Amount to be refunded

Example:

2

Response

Tickets successfully created.

success
boolean
Example:

true