Create a charge in 5 minutes
United States
Canada
Prerequisites
You need the following:
- Clover sandbox app
- PAKMS key
Procedure
To create a charge:
- [Create a sandbox app] (doc:creating-a-sandbox-app).
- Create a web app with the correct permissions.
- [Install the test app on your test merchant] (doc:merchant-interaction#installing-your-test-app).
- 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.
- 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). - Use the Clover iframe and the PAKMS key to get a card token.
- Create a charge request with the card token.
NOTE
For each payment, you need to generate a new card token.
Updated 3 months ago