Is there a log of all the API calls triggered?

Hi I’m getting this response: {
“errors”: [
{
“category”: “INVALID_REQUEST_ERROR”,
“code”: “INVALID_VALUE”,
“detail”: “This merchant can only process payments in GBP, but amount was provided in USD.”,
“field”: “amount_money.currency”
}
]
}

using:
async function createPayment(token) {
const body = JSON.stringify({
locationId,
sourceId: token,
amount: 200,
currencyCode: ‘GBP’,
});

        const paymentResponse = await fetch('/payment', {
            method: 'POST',
            headers: {
                'Content-Type': 'application/json',
            },
            body,
        });

        if (paymentResponse.ok) {
            return paymentResponse.json();
        }

        const errorBody = await paymentResponse.text();
        throw new Error(errorBody);
    }

Could you guide me in the right direction. Many thanks.