# Payment Method

Once the [Stripe integration](https://www.feathery.io/integrations/stripe) is activated and set up, the Payment Method field will become available to use for capturing payment information as part of a payment flow.  Presently, only credit cards are supported. &#x20;

This payment method field may be dragged anywhere onto your form and is the only way to enter payment/card information in your form to be passed securely to Stripe. The payment method field collects the card number, CVC, expiration month/year and postal code. It supports standard styling.

Once your end user fills the field and submits the step, the payment method will be automatically saved into the customer record in Stripe.

<figure><img src="/files/Q6OriU5zxcybB4qHhBOO" alt=""><figcaption><p>Payment Method in the Feathery designer</p></figcaption></figure>

### For Developers <a href="#example" id="example"></a>

The Feathery SDK and API reference payment method fields with `type` equal to `payment_method`. The submitted value is `json`.  The value of this field is read-only and not settable via the SDK.

Example value:

```
{
    card_data: {
        brand: "discover",
        last4: "1117",
        country: "US",
        exp_year: 2029
        exp_month: 9
    },
    stripe_payment_method_id: "pm_aD45hG60f3twY"
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.feathery.io/platform/build-forms/elements/fields/payment-method.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
