One-Time Payments

Process a single payment transaction.

Coming Soon: This quickstart is under development. Check back soon for the complete guide.

Overview

This guide will walk you through:

  1. Creating an API key for one-time payments

  2. Creating a client session

  3. Initializing the payment iframe

  4. Processing the transaction

  5. Handling the payment result

In the Meantime

For one-time payments, you can create a subscription plan with type: "ONE_TIME":

curl -X POST https://api.sandbox.flintn.com/v1/subscription-plans \
  -H "X-Api-Key: pk_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "ONE_TIME",
    "name": "Product Purchase",
    "currency": "USD",
    "full_price_amount": 99.99,
    "status": "ACTIVE"
  }'

Then follow the same flow as the Subscription Payments Quickstart, starting from Step 4.

Last updated