任何人都可以建议我如何或缺少什么? 更新,创建活动或故障单,除退款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