Create a charge in 5 minutes

United States
Canada

Prerequisites
You need the following:

  • Clover sandbox app
  • PAKMS key

Procedure
To create a charge:

  1. [Create a sandbox app] (doc:creating-a-sandbox-app).
  2. Create a web app with the correct permissions.
  3. [Install the test app on your test merchant] (doc:merchant-interaction#installing-your-test-app).
  4. Obtain an OAuth token. If you do not have a server set-up yet, you can use the query parameters in the redirect (plus your app secret) to obtain a token.
  5. With the OAuth token (access token), make a GET /pakms/apikey request to [obtain your PAKMS] (doc:ecommerce-generating-a-card-token#generating-a-pakms-key).
  6. Use the Clover iframe and the PAKMS key to get a card token.
  7. Create a charge request with the card token.

📘

NOTE

For each payment, you need to generate a new card token.