Authorize Payment Command

Command to authorize a payment and reserve funds without capturing them

Overview

The AuthorizePaymentCommand requests payment authorization from the gateway. This reserves funds but doesn’t capture them yet.

Command Schema

{
"commandId": "uuid",
"commandType": "AuthorizePaymentCommand",
"timestamp": "2025-12-11T10:30:00Z",
"version": "1.0.0",
"data": {
"authorizationId": "string",
"paymentId": "string",
"customerId": "string",
"amount": {
"value": "number",
"currency": "string"
},
"paymentMethodId": "string",
"gateway": "stripe | paypal | adyen"
}
}