Refund tickets
Request a refund for a whole order or for chosen tickets.
POST https://cotlet.dev/api/v1/billetto/orders/{order_id}/tickets/refund
Does what Request refund does on the order's details page: the whole order, or only the tickets in ticket_ids. By default the refund leaves out Billetto's booking fee and additional services. With with_fees true you cover the full price the buyer paid and Billetto sends you an invoice for your bookkeeping. Billetto refunds only current events, so a finished event returns an error. The money reaches the buyer's bank within 5 working days or, depending on the bank, up to 21. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| order_id string required | string | Order ID from list_orders. |
| ticket_ids array | array | Ticket IDs from get_order. Omit to refund the whole order. |
| with_fees boolean | boolean | true: you also cover the booking fee and add-ons. Default false. |
Request
curl -X POST https://cotlet.dev/api/v1/billetto/orders/9035127/tickets/refund \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"ticket_ids":["48210331","48210332"],"with_fees":false}' result = client.call("billetto", "refund_tickets", {"order_id":"9035127","ticket_ids":["48210331","48210332"],"with_fees":False}) const result = await cotlet.call('billetto', 'refund_tickets', {"order_id":"9035127","ticket_ids":["48210331","48210332"],"with_fees":false}); cotlet call billetto refund_tickets --data '{"order_id":"9035127","ticket_ids":["48210331","48210332"],"with_fees":false}' Example response
{
"order_id": "9035127",
"status": "refund_requested",
"refunded_tickets": [
"48210331",
"48210332"
],
"with_fees": false,
"refund_amount": 50
}