The checkout object has a metadata parameter. You can use this parameter to attach key-value data.
Metadata is useful for storing additional, structured information on an object. Affirm reserved keywords metadata for internal usage and tracking. Make sure you use them appropriately.
Do not store any sensitive information (personally identifiable information, etc.) as metadata.