🔑Get Your Access Credentials
Our APIs have authentication with the OAuth 2.0 protocol standard
Basic Authentication
Our APIs allow authentication using Basic Auth.
You will receive production and test credentials, giving each environment a client_id and client_secret. In addition to these credentials, you will also receive access to the production and test dashboard.
Every request received that is not in HTTPS will be considered compromised by our system and will fail.
Basic Authentication Instructions for Token Generation
Each account has a Token already generated. You can access your secret key after creating a project/app.
To initiate the creation of a project, simply access the "Projects & Apps" menu in the "INTEGRATIONS" section. As shown in the image below, click on the "Add New Project" button. Upon clicking, a modal will appear for you to provide a name for the project. It's crucial to configure the required parameters accurately.

After creating the Project, click on "Edit Project." You will be presented with a screen similar to the one depicted below. Within this section, you have the ability to modify Project details such as Production Mode (Prod or Dev), Redirection URL, and Production and Development Webhook URLs.

Redirect URL: In this field, you input the URL to which you wish to redirect your customer after they have successfully completed the payment. The URL should adhere to the "http..." format. Note that this is applicable solely to credit card transactions.
API Key List & Access
This block holds significant importance and is of a confidential nature. Kindly refrain from sharing these details with anyone unless absolutely necessary. It serves as a repository for your account access keys and your Project/App configurations.
main API Key: This is your Authorization Bearer Token, a key you will need to provide in every integration you undertake. It is essential for consuming AgilSpotPay's APIs.
App Token: Each Project/App comes with its own App Token, which you should utilize to associate your integration with the specific Project.
Last updated