capabilities.work

Create Checkout Session and Poll Result

A 2-step recipe with Adyen. We can help you get access.

Recipe · 2 steps

Create Checkout Session and Poll Result

with Adyen · Payment Initiation Management

Create a payment session and poll its status until it completes.

  1. Create a Checkout payment session that the front end uses to render the available payment methods and collect the payment.
  2. Read the status of the payment session using the returned session id to determine whether the shopper has completed the payment.
What you'll need to have ready
  • merchantAccount: The merchant account identifier that processes the session.
  • amount: The amount object with currency and value (minor units).
  • reference: Your unique reference for the payment.
  • returnUrl: The URL the shopper is returned to after the payment.
  • countryCode: The shopper country code (e.g. NL).
For your developer

Arazzo workflow adyen:create-checkout-session-and-poll, 2 operations: post-sessions → get-sessions-sessionId. Specs on APIs.io.