Eventbrite API退款请求返回403错误

时间:2017-10-19 09:18:02

标签: php api eventbrite

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

0 个答案:

没有答案