Authorizenet API Authentication
To authorize with the Authorizenet API, use these utility functions to provide data to each API call.
-
terminusgps.authorizenet.auth.get_merchant_auth() → merchantAuthenticationType[source]
Generates and returns a merchantAuthenticationType
object.
This object is generated using MERCHANT_AUTH_LOGIN_ID
and MERCHANT_AUTH_TRANSACTION_KEY
.
- Returns:
A merchant authentication object.
- Return type:
merchantAuthenticationType
-
terminusgps.authorizenet.auth.get_environment() → str[source]
Gets the current application environment for Authorizenet API calls.
This string is generated using DEBUG
.
- Returns:
The current Authorizenet API environment.
- Return type:
str
-
terminusgps.authorizenet.auth.get_validation_mode() → str[source]
Gets the current application validation mode for Authorizenet API calls.
This string is generated using DEBUG
.
- Returns:
The current Authorizenet API validation mode.
- Return type:
str