Authentication

You'll need to authenticate your requests to access any of the endpoints in the Embed API.
In this guide, we'll look at how authentication works.

Step 1: Get your API key

  • Login into the Dashboard
  • Go to Developers -> API keys from the side menu
  • Create an API key
  • Copy the API key and secret

Step 2: Authenticate your requests

With basic authentication, you use your username and password to authenticate your HTTP requests. Here's how to authenticate using cURL:

cURL

curl https://apisbx.fungpayments.com/v2/credential/getApiKeyList \ -u {apiKey}:
{apiSecret}