All requests to eWAY’s Rapid API need to be authenticated using basic authentication. This uses the eWAY API Key and Password in the username and password fields respectively.
This authentication is sent in the HTTP header, most frameworks and libraries provide a way to set these. The eWAY SDKs accept the API key & password along with the endpoint (
sandbox
or production
) when they are initialised.Creating an eWAY Sandbox API key
1. You will need an eWAY Partner Account – if you don’t have an account, sign up for free!2. Navigate to the Sandbox using the link below for your country
- Sandbox Australia
- Sandbox New Zealand
4. Your Rapid API Key will be displayed in the API Key field
5. Click Generate Password to create a password for the key. A password can only be viewed once after it has been generated – if you forget it a new one can be generated by clicking Generate Password again (the old one will no longer work).
Comments
Post a Comment