Action: mt_after_insert_payment

do_action( 'mt_after_insert_payment', $purchase_id, $post )

Action immediately after new payment post is created.

Parameters:
Name Type Description
$purchase_id int

Payment post ID.

$post array

Array of data passed to function.

Source: