Immutable eWay API credentials for a single organisation or website: the API key, its password, and whether to use eWay's sandbox environment. Built by EwayService from the eWayApiIKey, eWayApiKeyPassword and eWayTest settings configured against an organisation or a website branch, and passed to EWayTransport for every request against the eWay Direct Payment API.
Properties
| Property | Returns | Description |
|---|---|---|
| password | String | The password associated with the eWay API key. |
| sandbox | boolean | Whether requests should be sent to eWay's sandbox endpoint instead of the live payment gateway. |
| user | String | The eWay API key used to authenticate requests, issued by eWay for the merchant account. |
Methods
getUser()
Returns: String
The eWay API key used to authenticate requests, issued by eWay for the merchant account.
getPassword()
Returns: String
The password associated with the eWay API key.
isSandbox()
Returns: boolean
Whether requests should be sent to eWay's sandbox endpoint instead of the live payment gateway.
To get full access to the Kademi Hub existing customers can login here, or new customers can register here.