To use the Refunds resource, you need:
A client ID or API key. You must specify either an API Key or a token.
A customer's ID. You must specify either an API Key or a token.
A Global Commerce admin username and password. The password should be base-64 encoded when authenticating. The Global Commerce username requires the following roles (permissions):
Customer Service Representative
Customer Service Supervisor
Customer Service Director