Dashboard

Get Your API Keys

5min

Overview

Moyasar provides unique API keys to clients to authenticate API requests. Each account has two pairs of keys - one for testing and one for live transactions.



API Keys

Moyasar Dashboard API Key settings
Settings - API Keys


Term

Description

publishable key

The publishable key allows for only one operation - creating a payment and thus can be attached to public web forms, such as an HTML hidden field.

secret key

The secret key provides access to all operations in the documentation and is a powerful tool that must be kept confidential.

Live API Keys

Live API keys are used to accept real payments. (these will appear once you activate your account).

Test API Keys

Test API keys allow you to test your integration with moyasar without risking the usage of real money.



Regenerate API Keys

You can regenerate your API keys by clicking on the Regenerate button next to the key you want to regenerate.