{"title":"PaymentProvider - Liquid Object Reference","slug":"payment-provider-liquid-object-reference","url":"https://support.storeconnect.com/articles/payment-provider-liquid-object-reference","url_markdown":"https://support.storeconnect.com/articles/payment-provider-liquid-object-reference.md","subtitle":null,"summary":"The PaymentProvider object represents a source that can be used to collect Payments. Can be a 3rd party provider or a Pay Later provider.","type":"Developer_Documentation","video_url":"","keywords":"liquid, objects, PaymentProvider, template, storeconnect","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Description\n\nThe PaymentProvider object represents a source that can be used to collect Payments. Can be a 3rd party provider or a Pay Later provider.\n\n:::note\nThis object supports custom data via the `data` attribute.\n:::\n\n## Attributes\n\n| Attribute | Type | Description |\n|-----------|------|-------------|\n| `active?` | Boolean | Returns true if this PaymentProvider is active |\n| `code` | String | Returns the code of this PaymentProvider |\n| `description_content` | String | Returns a description for this PaymentProvider |\n| `id` | String | Returns a unique id for this PaymentProvider |\n| `name` | String | Returns the name of this PaymentProvider |\n| `payment_instructions_content` | String | Returns the value of the Payment Instructions attribute as rich text |\n| `position` | Number | Returns the position of this PaymentProvider |\n| `supports_express_checkout?` | Boolean | Returns true if this PaymentProvider supports express checkout and it is enabled in api_options |\n| `supports_recurring_payments?` | Boolean | Returns true if this PaymentProvider supports recurring payments |\n| `valid_payment_method?` | Boolean | Returns true if the current OrderSource has a valid payment method for this PaymentProvider |\n| `validation_errors` | List[String] | Returns an array of validation errors for this Cart/Order/Customer if they choose this PaymentProvider |\n\n## Available on\n\n- [Cart - Liquid Object Reference](cart-liquid-object-reference) — `payment_provider`\n- [Payment - Liquid Object Reference](payment-liquid-object-reference) — `payment_provider`\n- [Store - Liquid Object Reference](store-liquid-object-reference) — `payment_providers`\n- [Subscription - Liquid Object Reference](subscription-liquid-object-reference) — `payment_provider`"}