Browse docs

Open sidebar or top links.

Documentation

Payments

Create, confirm, and manage payments with one clean flow.

DocumentationPaymentsGETServer key

Method

GET

Endpoint

/v1/payments

Notes

Payments API

Hosted checkout

Flexible payment flow

Clear success path

Quick steps

  1. 1Choose the payment product that matches your integration style.
  2. 2Create the payment object and pass the right line items or amount.
  3. 3Handle confirmation, success, and error states in your app.

Payments lifecycle

Keep the lifecycle short: create, confirm, settle, and reconcile.

  • Create the payment object first.
  • Confirm only when the user is ready.
  • Handle success and failure states explicitly.

Keep it simple

Use a small set of APIs first, then add advanced routing later.

Example
await kopo.payments.create({
  amount: 2500,
  currency: 'usd',
});

Operational notes

Make sure refunds, disputes, and retries each have a clear owner in your team.

Previous

Common use cases

See the most common implementation patterns.

Next

Overview

A quick tour of the payment products.