Discount Object
This page is for Afterpay Online Developer, version v1.
For other versions, use one of these documentation indexes:
- Main (default): https://developers.afterpay.com/afterpay-online-developer/main/llms.txt
- v1: https://developers.afterpay.com/afterpay-online-developer/v-1/llms.txt
- Chinese: https://developers.afterpay.com/afterpay-online-developer/chinese/llms.txt
Attributes
| Attribute | Type | Description |
|---|---|---|
displayName | string required | A display name for the discount. Limited to 128 characters. |
amount | Money required | The discount amount. |
Australia
{"displayName": "New Customer Coupon","amount": {"amount": "29.99","currency": "AUD"}}
New Zealand
{"displayName": "New Customer Coupon","amount": {"amount": "29.99","currency": "NZD"}}
United States of America
{"displayName": "New Customer Coupon","amount": {"amount": "29.99","currency": "USD"}}