---
title: "Payment Intents"
description: "A payment intent is a CONTAINER of attempts at a gateway, for one of two purposes."
canonical_url: "https://twominutebilling.com/help/developers/api-reference/payment-intents"
---
# Payment Intents

> A payment intent is a CONTAINER of attempts at a gateway, for one of two purposes.

A payment intent is a CONTAINER of attempts at a gateway, for one of two purposes. `payment` authorizes a priced charge that is later captured INTO an invoice; `setup` is a ZERO-amount authorization whose product is a vaulted instrument (Stripe `seti_…`) and which moves no money. Each try at the gateway is a `payment_attempt`: a buyer who fails 3DS twice before succeeding leaves three attempts, and none of the earlier ones are overwritten.

## Endpoints

<table>
<thead>
  <tr>
    <th>
      Method
    </th>
    
    <th>
      Endpoint
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        GET
      </code>
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/developers/api-reference/payment-intents/list-payment-intents">
        <code>
          /v1/businesses/{biz}/payment_intents
        </code>
      </a>
    </td>
    
    <td>
      List payment intents
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        POST
      </code>
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/developers/api-reference/payment-intents/create-a-payment-intent">
        <code>
          /v1/businesses/{biz}/payment_intents
        </code>
      </a>
    </td>
    
    <td>
      Create a payment intent
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        GET
      </code>
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/developers/api-reference/payment-intents/get-a-payment-intent">
        <code>
          /v1/businesses/{biz}/payment_intents/{pi}
        </code>
      </a>
    </td>
    
    <td>
      Get a payment intent
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        GET
      </code>
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/developers/api-reference/payment-intents/list-an-intent-s-attempts">
        <code>
          /v1/businesses/{biz}/payment_intents/{pi}/attempts
        </code>
      </a>
    </td>
    
    <td>
      List an intent’s attempts
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        POST
      </code>
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/developers/api-reference/payment-intents/authorize-a-payment-intent-by-hand">
        <code>
          /v1/businesses/{biz}/payment_intents/{pi}/authorize
        </code>
      </a>
    </td>
    
    <td>
      Authorize a payment intent by hand
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        POST
      </code>
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/developers/api-reference/payment-intents/consume-an-authorized-intent">
        <code>
          /v1/businesses/{biz}/payment_intents/{pi}/consume
        </code>
      </a>
    </td>
    
    <td>
      Consume an authorized intent
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        POST
      </code>
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/developers/api-reference/payment-intents/retry-an-intent">
        <code>
          /v1/businesses/{biz}/payment_intents/{pi}/retry
        </code>
      </a>
    </td>
    
    <td>
      Retry an intent
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        POST
      </code>
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/developers/api-reference/payment-intents/void">
        <code>
          /v1/businesses/{biz}/payment_intents/{pi}/void
        </code>
      </a>
    </td>
    
    <td>
      Void (release) an authorized, unconsumed intent
    </td>
  </tr>
</tbody>
</table>


## Sitemap

See the full [sitemap](https://twominutebilling.com/sitemap.md) for all pages.
