Documentation Index
Fetch the complete documentation index at: https://docs.augustus.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Most updatable Augustus objects have ametadata parameter. You can use this parameter to attach arbitrary key-value data to Augustus objects.
You can specify up to 50 keys, with:
- Key names up to 40 characters long
- Values up to 500 characters long
metadata parameters transfer from the Augustus Checkout Session to the Augustus Order. By default, Augustus doesn’t use Metadata for any processing logic - for example, it’s not used to authorize or decline payments. Your users will only see Metadata if you explicitly show it to them.
Sample Metadata Use Cases
Link IDs
Attach your system’s unique IDs to an Augustus object for easy lookups:- Add your order number to a charge
- Add your user ID to a customer or recipient
- Add a unique receipt number to a transfer
Refund Paper Trails
Store information about:- Why a refund was created
- Who created the refund
- Any associated internal tracking numbers
Recognize Returning Customers
Annotate a Checkout Session object by storing an internal ID for later use. When creating a new Augustus Checkout Session for a payment flow (See payment flow details), specify your system’s internal customer ID in themetadata field.
The example below adds an internalCustomerId with the value customer_abcdefg to the Augustus Checkout Session object:
metadata field will be included in the payload. This allows you to easily match a new Order status to an internal user - for example, to fulfill orders more quickly.