What’s the difference between server key and client key?

Server Key and Client Key (Access Keys) are used to identify your Midtrans account. You need to put these keys on your config file.

Client key is used to generate credit card tokens, specifically for Core API implementation. While Server Key is used for all other API calls on the server-side.

To find Server Key and Client key can be read here.