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.
| Method | Maps to | Side effect | Scopes |
|---|---|---|---|
createTransactionRequestAuthorize, 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 |
getTransactionDetailsRequestRetrieve a transaction by transId. RPC: compat.authorizenet.getTransactionDetailsRequestREST: POST /compat/authorizenet/xml | transaction.get | read_only | transactions:readcompat:use |
createCustomerProfileRequestCreate 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.
| Method | Maps to | Side effect | Scopes |
|---|---|---|---|
createPaymentAuthorize (and optionally capture) a card payment. REST: POST /compat/cybersource/pts/v2/payments | payment.authorizepayment.capture | money_movement | payments:authorizecompat:use |
capturePaymentCapture a previously authorized payment. REST: POST /compat/cybersource/pts/v2/payments/{id}/captures | payment.capture | money_movement | payments:capturecompat:use |
reversePaymentReverse / void an authorization. REST: POST /compat/cybersource/pts/v2/payments/{id}/reversals | payment.void | money_movement | payments:authorizecompat:use |
refundPaymentRefund a captured payment. REST: POST /compat/cybersource/pts/v2/payments/{id}/refunds | payment.refund | money_movement | refunds:createcompat:use |