Pour les agents IA : l’index de la documentation se trouve à https://docs.affirm.com/developers/llms.txt. L’index de chaque projet sur ce site se trouve à https://docs.affirm.com/llms.txt. Ajoutez .md à l’URL de toute page de documentation pour obtenir sa version Markdown.
The name of your discount code is the name of the object that describes the amount and display name for that discount. For example, RETURN5 is the name of the discount code, so it is represented here as the name of the first discount in the discount object.
discount_amountObligatoire
integer
Amount of the discount being applied in USD or CAD cents. This value is not used to calculate the total.