With AS2 Gateway REST API, you can programmatically send AS2 messages, check and retrieve received messages, and so forth.
This is a very convenient AS2 integration mechanism for any trading system that is capable of making HTTP calls.
The current version of the AS2 Gateway API is v1.
API details and specification are available as online documentation
as well as a downloadable PDF reference.