Sudden slow down on v1 API

A little help if possible.

We have a magento 2 site running on an 4 core 8gb ram vps. All has been running fine until recently. Normal website browsing remain very fast but there is a strange problem at checkout once a customer choses to pay via stripe.

Magento sends a POST request to the url ending “/rest/default/V1/guest-carts/%22token%22/payment-information” and we are now seeing a TTFB of between 7 and 11 seconds which makes our checkout look like its hanging. Has anyone ever had this issue or can point me in the correct direction to diagnose? All other requested to this endpoint are working fine apart from this one.

The payments go through but I can’t for the life of me diagnose this issue. Any help would be appreciated.

submitted by /u/hey_look_its_jimmy
[link] [comments]