Money 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 |
|---|---|---|
| amount | string required | The amount is a string representation of a decimal number, rounded to 2 decimal places. |
| currency | string required | The currency in ISO 4217 format. Supported values include “AUD”, “NZD” and “USD”. However, the value provided must correspond to the currency of the Merchant account making the request. |
Example Money object
Australia
{"amount": "29.99","currency": "AUD"}
New Zealand
{"amount": "29.99","currency": "NZD"}
United States of America
{"amount": "29.99","currency": "USD"}