# Payment Request Button

![organizing info](https://3333962744-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbnBffrSN2FHLC5cM89AM%2Fuploads%2Fgit-blob-0651ba7684ff60cf93a148f326146ca1db75f7ca%2Fpayment-request-button-web-control-v183-0.png?alt=media)

The Payment Request Button Web Control requests payments from users. It is tied to the browser's implementation of payment options, so it may not work in all browsers.

## Properties

### General

#### Connected Account

Expects type `string` (_API key_)

Private key of the [Stripe Integration](../building-apps/payments/creating-a-stripe-integration) connected to the account to process the payment.

#### Api Key

Expects type `string` (_API key_)

The Publishable API key from the Stripe Account.

![](https://3333962744-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbnBffrSN2FHLC5cM89AM%2Fuploads%2Fgit-blob-17bcca3517cbe6988161a1aceea6a36cbe04dbc4%2Fpayment-request-button-web-control-v183-1.png?alt=media)

#### Currency

Expects type `currency`.

The [Currency](../variable-data-types/the-currency-variable-data-type) amount to collect.&#x20;

#### Description

Expects type `text`.

The memo line to be recorded if the payment is successful on the payment processor.

### Accessibility

#### Aria Label

Expects type `text`.

Defines a value to the aria-label of the control for accessibility. For more information see [here](https://www.w3.org/TR/WCAG20-TECHS/ARIA14.html).

### State

#### Is Visible

Expects type `boolean`.

If `TRUE` the control will be visible. If `FALSE` the control will not be displayed. If the field is empty, the control will be visible.

#### Is Disabled

Expects type `boolean`.

If `TRUE` the control will be disabled and the user will not be able to interact with it. If `FALSE` the button will be enabled. If the field is empty, the control will be enabled.

## Style

Check [Common style properties of web controls](https://github.com/airkit/airkit-docs/blob/master/docs/v18-3/web-control-styling-properties.md) for further details on how to style this control.

## Actions

#### Submit Successful

Action chain triggered if the payment is successfully submitted through the payment processor.

#### Submit Failed

Action chain triggered if the payment is unsuccessful when attempted.

## Example

Add a Payment Request Button to a Web Flow. Select a Stripe Datasource from the dropdown and paste in a publishable key. Set the amount to be collected and the Description.

![organizing info](https://3333962744-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbnBffrSN2FHLC5cM89AM%2Fuploads%2Fgit-blob-0651ba7684ff60cf93a148f326146ca1db75f7ca%2Fpayment-request-button-web-control-v183-0.png?alt=media)
