{"title":"Embedded Save Payment Method Form - Liquid Form Reference","slug":"embedded-save-payment-method-form-reference","url":"https://support.storeconnect.com/articles/embedded-save-payment-method-form-reference","url_markdown":"https://support.storeconnect.com/articles/embedded-save-payment-method-form-reference.md","subtitle":null,"summary":"The `embedded-save-payment-method` Liquid form is the embedded (iframe) variant of the add-payment-method form, used by the save-card iframe.","type":"Developer_Documentation","video_url":"","keywords":"liquid, forms, embedded-save-payment-method, payments, saved cards, iframe, storeconnect","last_modified":"2026-07-30T00:28:16+0000","body_markdown":"## Usage\n\n\n```liquid\n\n{% form \"embedded-save-payment-method\" %}\n  {% render \"checkout/payment_information/select_and_payment\", only_recurring_payments: true %}\n{% endform %}\n```\n\n\nThe `embedded-save-payment-method` form is the embedded variant of [Add Payment Method](add-payment-method-form-reference), intended for the save-card iframe. It renders the same hosted card form, but posts to the token-authorized embedded save-card endpoint instead of the storefront account path. It takes its contact from the save-card session rather than a logged-in customer, so it works inside an iframe where there is no active session.\n\n| Property | Value |\n|----------|-------|\n| **Form Name** | `embedded-save-payment-method` |\n| **Category** | Payments |\n\n## Form Object\n\nInside the form block, you can access the `form` object which provides:\n\n- `form.errors` — Any validation errors after submission"}