How to pass List of Id of Custom Fields for getting Paginated Issue Fields

I Have created some custom fields in My Jira Now i want to get the details of that custom fields by passing the list of id But the rest call is not allowing to pass or i dont know how to pass array of ids int cloud jira rest call.

/rest/api/3/field/search

Because in Java code sample it is not given How to pass . Suggest how to pass ids to get details…
thanks

Now i am able to pass array of id to this rest call but it is returning extra custom fields whatever i passed in id.
Any Suggestion…