authorizePaymentSession - Payment Module Reference
This documentation provides a reference to the authorizePaymentSession
method. This belongs to the Payment Module.
This method authorizes a payment session using its associated payment provider. This creates a payment that can later be captured.
Learn more about the payment flow in this guide
Example
Parameters
id
stringRequiredThe payment session's ID.
context
Record<string, unknown>RequiredContext data to pass to the associated payment provider.
Returns
The created payment.
Was this section helpful?