---
updatedAt: 2026-02-11T18:53:18.000Z
agentTools:
  projectIndex: https://canopy-api.readme.io/llms.txt
---

# Authorization Flows

<Image align="center" src="https://files.readme.io/298d7a6c95a5436fbdea0a937a86d4fe9c1bf007cd35c46940ddf9abf25c2458-heading_18.png" />

When a cardholder initiates a charge, the authorization process ensures sufficient credit is available, records the transaction, and manages settlement. Canopy facilitates this process by providing APIs to check credit availability, authorize charges, and update settlement statuses.

## Step-by-Step Authorization Process

### 1. Checking Available Credit

Before authorizing a charge, the issuer processor must verify that the borrower has sufficient available credit. This ensures the transaction does not exceed the assigned credit limit.

To check the available credit on the borrower’s financial product (e.g., credit card, charge card, or operational line of credit), call:

:telephone\_receiver: [API: GET available\_credit](https://canopy-api.readme.io/reference/lineofcreditcbv_get_available_credit_revolving_v1_accounts__account_id__line_of_credit__line_of_credit_id__available_credit_get)

The response includes the current available credit after accounting for any pending transactions. If `available_credit` in the response is greater than or equal to the authorization amount and all other issuer-specific checks pass, the charge can proceed.

### 2. Recording the Authorized Charge

Once credit availability is confirmed, the issuer processor records the draw by calling Canopy’s API. This step registers the transaction in the system as an authorized charge.

:telephone\_receiver: [API: POST create\_draw](https://canopy-api.readme.io/reference/drawcbv_create_draw_revolving_v1_accounts__account_id__line_of_credit__line_of_credit_id__draw_post)

Sample request body:

```Text json
{
  "amount_cents": 10000,
  "draw_type": "SIMPLE_CHARGE",
  "settlement_status": "AUTHORIZED"
}
```

> ⚠️
>
> Canopy supports multiple draw types.
>
> For card-based transactions, we recommend using `SIMPLE_CHARGE`.\
> The `settlement_status` of the charge at this stage is `AUTHORIZED`

> 🔍
>
> Reference: See the [draw types table](https://canopy-api.readme.io/reference/draws) for all available draw options.

### 3. Updating Settlement Status

After the transaction is settled, the issuer processor must update the `settlement_status` in Canopy. This final step ensures the transaction is correctly reflected in the account balance.

:telephone\_receiver: [API: PATCH settle\_transaction](https://canopy-api.readme.io/reference/transactioncbv_settle_transaction_revolving_v1_accounts__account_id__line_of_credit__line_of_credit_id__transactions__transaction_id__settle_patch)

The `settlement_status` of the charge is updated to `SETTLED` after the transaction clears. This step finalizes the charge and ensures proper balance updates within Canopy.