AApt Commerce
Sign inGet started
Show for

Reference

Compat methods

Legacy provider shapes (Authorize.net, Cybersource) translated into normalized commands. Isolated from the public REST model.

Generated from worker/src/api/compat/*/manifest.json. Re-run npm run docs:generate after registry edits.

Authorize.net

Drop-in support for Authorize.net XML/JSON request shapes, translated into APT normalized commands per ADR-007.

Isolation: Compatibility logic must not appear in REST v1 handlers and must not add fields to the v1 public model.

MethodMaps toSide effectScopes
createTransactionRequest

Authorize, capture, void, or refund — selected by transactionType.

RPC: compat.authorizenet.createTransactionRequestREST: POST /compat/authorizenet/xml
payment.authorizepayment.capturepayment.voidpayment.refund
money_movement
payments:authorizecompat:use
getTransactionDetailsRequest

Retrieve a transaction by transId.

RPC: compat.authorizenet.getTransactionDetailsRequestREST: POST /compat/authorizenet/xml
transaction.get
read_only
transactions:readcompat:use
createCustomerProfileRequest

Create a customer profile and optional payment profiles.

RPC: compat.authorizenet.createCustomerProfileRequestREST: POST /compat/authorizenet/xml
customer.createtoken.create
write_safe
customers:writecompat:use

Cybersource

Drop-in support for Cybersource REST request shapes, translated into APT normalized commands per ADR-007.

Isolation: Compatibility logic must not appear in REST v1 handlers and must not add fields to the v1 public model.

MethodMaps toSide effectScopes
createPayment

Authorize (and optionally capture) a card payment.

REST: POST /compat/cybersource/pts/v2/payments
payment.authorizepayment.capture
money_movement
payments:authorizecompat:use
capturePayment

Capture a previously authorized payment.

REST: POST /compat/cybersource/pts/v2/payments/{id}/captures
payment.capture
money_movement
payments:capturecompat:use
reversePayment

Reverse / void an authorization.

REST: POST /compat/cybersource/pts/v2/payments/{id}/reversals
payment.void
money_movement
payments:authorizecompat:use
refundPayment

Refund a captured payment.

REST: POST /compat/cybersource/pts/v2/payments/{id}/refunds
payment.refund
money_movement
refunds:createcompat:use