forked from loafle/openapi-generator-original
* Revert "v7.5.0 release" This reverts commit 1eafe2aebf33b13bee0ead66d62a6436e7db059d. * update master to v7.6.0 snapshot * update readme * update samples
Checkout Basic - Jetbrains API Client
General API description
Checkout Basic
- API basepath : https://checkout-test.adyen.com/v71
- Version : 1.0.0
Documentation for API Endpoints
All URIs are relative to https://checkout-test.adyen.com/v71, but will link to the .http
file that contains the endpoint definition.
There may be multiple requests for a single endpoint, one for each example described in the OpenAPI specification.
Class | Method | HTTP request | Description |
---|---|---|---|
PaymentsApi | getPaymentMethodById | GET /paymentMethods/{id} | Get payment method by id |
PaymentsApi | getPaymentMethods | GET /paymentMethods | Get payment methods |
PaymentsApi | postMakePayment | POST /payments | Make a payment |
Usage
Prerequisites
You need IntelliJ to be able to run those queries. More information can be found here. You may have some luck running queries using the Code REST Client as well, but your mileage may vary.
Variables and Environment files
- Generally speaking, you want queries to be specific using custom variables. All variables in the
.http
files have the `` format. - You can create public or private environment files to dynamically replace the variables at runtime.
Note: don't commit private environment files! They typically will contain sensitive information like API Keys.
Customizations
If you have control over the generation of the files here, there are two main things you can do
- Select elements to replace as variables during generation. The process is case-sensitive. For example, API_KEY ->
- For this, run the generation with the
bodyVariables
property, followed by a "-" separated list of variables - Example:
--additional-properties bodyVariables=YOUR_MERCHANT_ACCOUNT-YOUR_COMPANY_ACCOUNT-YOUR_BALANCE_PLATFORM
- For this, run the generation with the
- Add custom headers to all requests. This can be useful for example if your specifications are missing security schemes.
- For this, run the generation with the
customHeaders
property, followed by a "&" separated list of variables - Example :
--additional-properties=customHeaders="Cookie:X-API-KEY="&"Accept-Encoding=gzip"
- For this, run the generation with the
This client was generated by the jetbrains-http-client generator of OpenAPI Generator