$apiInstance = new \OpenAPI\Client\Api\PaiementsApi();
$payments = $apiInstance->organizationsOrganizationSlugPaymentsGet(
'organizationSlug',
'2026-01-01T00:00:00+00:00',
'2026-12-31T23:59:59+00:00',
null,
1,
20,
null,
['Authorized'],
'Desc',
'Date',
false
);
Description
HelloAsso PHP SDK: The method
organizationsOrganizationSlugPaymentsGetcurrently forces theAcceptheader totext/csv.This prevents retrieving payments in JSON format while using query parameters like
pageIndexandpageSizefor pagination.Expected Behavior
organizationsOrganizationSlugPaymentsGetand get a JSON response.pageIndex,pageSize) should work with JSON output.Current Behavior
Accept: text/csvheader by default.Steps to Reproduce