API is a technology that facilitates information or data exchange between two or more software applications. The API is a virtual interface between two software functions that work together, e.g., between a word processor and a spreadsheet. An API defines how programmers use certain functions of computer. The API is available for window systems, file systems, database systems and network systems.
Using ESPAY's API, developers can access the ESPAY functionality. There are several API methods that can be used in a variety of ways, including receiving payments, creating invoices, sending funds, and managing accounts.
ESPAY authenticates API commands using the API key located in your account. If you do not include the key or use the wrong key and the key to be used is deleted when the API command is executed, ESPAY returns an error response.
ESPAY has provided a separate key for each account that can be used for testing and processing live transactions. All API commands can be run in test mode or in live mode.
There are two types of API keys: secret and public.
The secret API key must be kept secret and stored only on your server. With this key, you can execute all API commands without restrictions.
After registering for the account, you will receive three API keys: a secret key in trial mode and two public keys in trial mode and in live mode. You can make changes as needed, add or delete keys.
Note: Use the test mode API key only to develop and test the integration. This will help prevent inadvertent creation or modification of live transactions.