AddAttachment can be used to store and associate data (i.e. images and documents) to a prior transaction.
The referenced original transaction must have been approved and must be one of the following:
- CreditAuth
- CreditOfflineAuth
- CreditSale
- CreditOfflineSale
- CreditReturn
- DebitSale
- GiftCardSale
- GiftCardAddValue
- PrePaidAddValue
- CheckSale
- OverrideFraudDecline
This must be done within three months of the original transaction.
For Document attachment types:
- Up to five document attachments are allowed to be associated with a single transaction
- Document attachments can be submitted on one or more requests
- To replace a document attachment, a new document attachment with the same name can be provided
For other attachment types:
- Only one of each attachment type can be associated with a single transaction
- Only one of each attachment type can be submitted per request
- If a request includes an attachment type that is already associated with a given transaction, it will result in the attachment being replaced