Cookie Consent by Free Privacy Policy Generator Update cookies preferences

Postman Collection

The following steps outline the steps to install Postman, configure your sandbox credentials and start testing the Clearpay API.

What is Postman?

Postman is a free-to-download tool for making HTTP requests.

Download Postman

  1. Visit www.getpostman.com and download the version of Postman required for your platform.

  2. Install Postman.

Import the Clearpay Collection

  1. Open Postman.

  2. Click Import.

  3. Import the Clearpay Postman Collection for your region.

https://static-us.afterpay.com/api/sandbox/Clearpay_Online_API_v2.postman_collection.json

Create a Postman Test Environment

To access and utilize environment variables, you will need to configure a new Postman environment.

  1. Click on the gear icon in the top-right corner.
  1. Click Add on the MANAGE ENVIRONMENTS modal that appears.

  1. Name the environment.

  1. Click Add to save the environment, then close the window.

  2. Use this environment by selecting Clearpay Online UK V2 from the dropdown list.


Add Your Merchant ID and Secret Key

  1. Click on the 3 dots ... next to the collection name and click Edit.
  1. Click the Authorization Tab.

  2. Enter your Merchant ID in the Username field.

  3. Enter your Secret Key in the Password field.

  4. Click Update.