diff --git a/README.md b/README.md index 819025b2a..359aee055 100644 --- a/README.md +++ b/README.md @@ -198,7 +198,7 @@ Create a the request object. For example, for a request to the `/payments` endpo Use the API object's method to make the request. For example, to make a request to the `/payments` endpoint using the `CheckoutAPI` object: -``` +``` javascript checkoutApi.PaymentsApi.payments(paymentRequest) .then(paymentResponse => console.log(paymentResponse.pspReference)) .catch(error => console.log(error));