{"title":"AppliedVoucher - Liquid Object Reference","slug":"applied-voucher-liquid-object-reference","url":"https://support.storeconnect.com/articles/applied-voucher-liquid-object-reference","url_markdown":"https://support.storeconnect.com/articles/applied-voucher-liquid-object-reference.md","subtitle":null,"summary":"The Applied Voucher object contains information about vouchers that have been applied to the Cart.","type":"Developer_Documentation","video_url":"","keywords":"liquid, objects, AppliedVoucher, template, storeconnect","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Description\n\nThe Applied Voucher object contains information about vouchers that have been applied to the Cart.\n\n## Attributes\n\n| Attribute | Type | Description |\n|-----------|------|-------------|\n| `amount` | Number | Returns the amount of this voucher that has been applied to the cart |\n| `balance` | Number | Returns the current balance of this voucher, before any amount has been applied |\n| `code` | String | Returns the code of this voucher |\n| `id` | String | Returns the unique id for this voucher |\n| `state` | String | Returns the current redemption state of this voucher. See [State values](#state-values). |\n\n## State values\n\n| Value | Description |\n|-------|-------------|\n| `applied` | The voucher has been successfully applied to the cart. |\n| `requires_pin` | The voucher has a PIN but none was provided. Prompt the customer to enter their PIN. |\n| `invalid_pin` | A PIN was provided but it did not match the voucher's PIN. Prompt the customer to try again. |\n\n## Available on\n\n- [Cart - Liquid Object Reference](cart-liquid-object-reference) — `all_vouchers`, `applied_vouchers`"}