Class ByProjectKeyPaymentMethodsKeyByKeyHead

All Implemented Interfaces:
Deprecatable200Trait<ByProjectKeyPaymentMethodsKeyByKeyHead>, ErrorableTrait<ByProjectKeyPaymentMethodsKeyByKeyHead>, ClientRequestCommand<JsonNode>, CreateHttpRequestCommand, HttpRequestCommand<JsonNode>, RequestCommand<JsonNode>

Checks if a PaymentMethod exists with the provided key. Returns a 200 status if the PaymentMethod exists, or a 404 status otherwise.



   CompletableFuture<ApiHttpResponse<com.fasterxml.jackson.databind.JsonNode>> result = apiRoot
            .withProjectKey("{projectKey}")
            .paymentMethods()
            .withKey("{key}")
            .head()
            .execute()