Reputation: 3442
Can anyone advise how or what I am missing? The update, create event or ticket, they are all working fine except the refund API.
$eventBriteModel = new zerolfc\eventbrite\HttpClient(TOKEN);
$refundItems = [
['order_id' => $eventbrite_order_id]
];
$eventBriteModel->post('/refund_requests/', [
'from_name' => $attendee_name,
'from_email' => $attendee_email,
'items' => json_encode($refundItems),
'message' => $message,
'reason' => $reason
]);
[status_code] => 403
[error_description] => You do not have permission to access the resource you requested.
[error] => NOT_AUTHORIZED
Upvotes: 0
Views: 337