# Authorize Payment Block

Use the Authorize Payment block to earn money from your AI agents. The Authorize Payment block allows a user to authorize to pay you to use your AI agent. The user is presented with this block each time they run your AI agent. The user must have a MindStudio account.

Use immediately following a [User Input](https://university.mindstudio.ai/docs/building-ai-agents/blocks-reference/user-input-block) block, and before your workflow begins any tasks.

See the [Earnings](https://app.mindstudio.ai/workspace/earnings) page to view pending transactions. Collect payouts using Stripe Connect.

## Configuration

### Amount&#x20;

Specify the per-unit amount the user must authorize payment. The user will be charged the full amount when a [Capture Payment](https://university.mindstudio.ai/docs/building-ai-agents/blocks-reference/capture-payment-block) block captures payment.

### Quantity

Specify the number of units to authorize. By default is **1**.

{% hint style="info" %}
This setting may include variables.
{% endhint %}

### Statement Description

Describe the charge for the user.

### On Reject

Select the block to route to if the user rejects the payment authorization.

<div data-full-width="true"><figure><img src="https://3216313986-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpGwRPnWO6pBvzbcecqLI%2Fuploads%2FCajJNrr9JBHwAduZCPHC%2FScreenshot%202026-03-06%20at%2011.08.49%E2%80%AFAM.png?alt=media&#x26;token=80132f43-3739-4ac8-9485-bad41c6f1981" alt=""><figcaption></figcaption></figure></div>
