Getting Started

Before using the Headless Payment APIs, one or more payment processor connections must be established in the WhenThen webapp. The ID of the connected payment processor connection will be required when calling these APIs.

Follow the steps below to setup a payment processor connection and copy the created ID.

1

Getting Started

Step 1 getting started
  • Start by connecting your Payment Processor(s).

2

Connection List

Step 2 connection list

3

Connect Payment Processor

Step 3 connect payment processor
  • You are prompted with a dialog to enter the Payment Processor API credentials.
  • Depending on the Payment Processor you're connecting, you will either have to enter login credentials via OAuth or API credential to complete the connection.
  • You can read our guide in the modal, or visit the documentation for the Payment Processor you are connecting.

4

Payment Processor Connected

Step 4 payment processor connected
  • Having entered valid credentials the Payment Processor should display as connected.
  • You can now use this Payment Processor to build your payment flow or build an automation.

5

Copy Payment Processor Connection ID

Step 5 copy payment processor connection ID
  • Copy the payment processor connection ID using the copy icon (top right of the image above). This will be required for certain APIs such as Headless Request Payment Processor Token.