WordPress at a glance
action is not described

woocommerce_rest_checkout_process_payment_with_context action-hook . WC 1.0

Process payment with context.

Usage

add_action( 'woocommerce_rest_checkout_process_payment_with_context', 'action_function_name_5417', 10, 2 );
function action_function_name_5417( $context, $result ){
	// action...
}
$context(PaymentContext)
Holds context for the payment, including order ID and payment method.
$result(PaymentResult)
Result object for the transaction.

Where the hook is called

Checkout::process_payment()
woocommerce_rest_checkout_process_payment_with_context
woocommerce/packages/woocommerce-blocks/src/StoreApi/Routes/Checkout.php 486
do_action_ref_array( 'woocommerce_rest_checkout_process_payment_with_context', [ $context, &$result ] );

Where in WP core the hook is used WooCommerce

woocommerce/packages/woocommerce-blocks/src/Payments/Api.php 54
add_action( 'woocommerce_rest_checkout_process_payment_with_context', array( $this, 'process_legacy_payment' ), 999, 2 );
woocommerce/packages/woocommerce-blocks/src/Payments/Integrations/Stripe.php 43
add_action( 'woocommerce_rest_checkout_process_payment_with_context', [ $this, 'add_payment_request_order_meta' ], 8, 2 );
woocommerce/packages/woocommerce-blocks/src/Payments/Integrations/Stripe.php 44
add_action( 'woocommerce_rest_checkout_process_payment_with_context', [ $this, 'add_stripe_intents' ], 9999, 2 );