API Keys

Let's begin by generating an API key that you'll use to follow along the guide. Don't worry — this will only take a couple of minutes.

Creating keysCopied!

link icon Sign in to OpenPay
  1. Click the Developer Icon on the right of the top navigation bar and select API Keys

  2. Click Create API key

  3. Name your API key something creative and assign an appropriate role.

    1. Hint: If you want to create objects using the API, you'll probably want to select Developer here.

  4. Once your keys have been created, note down your Secret Key and Publishable Key.

Every endpoint in our API reference lets you make a test API call right from your browser. All you need to do is plug in your secret key and you should be good to go!

Your publishable key can be safely embedded wherever your customers avail your services. For example, you can embed your publishable key somewhere on your website or your app where your customers go to make payments.

Your secret key, as the name suggests, is meant to be kept secret. This key allows you to make changes that the publishable key doesn't grant access to, especially dangerous ones such as deleting customers and refunding payments.

Anyone with access to your secret key can make changes to your account on your behalf, so make sure to keep this key safe and secret! 🤫

Supported SDKsCopied!

Submit a request to our team (support@getopenpay.com) if there's an SDK you would like to see.