> ## Documentation Index
> Fetch the complete documentation index at: https://docs.yabetoopay.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> Use Yabetoo API to accept payments in your application

Yabetoo works on a two-step payment model. This means that, to process a payment, you must first create a payment intent and then confirm this intent to capture the amount.

This approach offers greater flexibility, allowing you to check available funds, for example, or to obtain a user's authorization before finalizing a transaction. Here's how it works, step by step

<CardGroup cols={2}>
  <Card title="Create a Payment Intent" icon="pencil" href="/payments/api/create">
    Follow the steps below to create a payment intent
  </Card>

  <Card title="Confirm a Payment Intent" icon="check" href="/payments/api/confirm">
    Follow the steps below to confirm a payment intent
  </Card>
</CardGroup>
