update some user meta when a payment has been made

Im looking for a way to update some user meta when a payment has been made, we are using Stripe.

Can you tell me what the payment callback method is please and how I would implement this.

Thx