Created
October 23, 2022 15:44
-
-
Save philiplambok/43f91b67a3e4195bd127284ef9e44588 to your computer and use it in GitHub Desktop.
Learn Open API 3.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: 3.0.0 | |
info: | |
version: 1.0.0 | |
title: P & T Kitchen | |
description: The payment gateway that you don't hate. | |
servers: | |
- url: https://api.kitchen.com/api/v1 | |
- url: https://staging-api.kitchen.com/api/v1 | |
paths: | |
/balances: | |
get: | |
description: Fetch the current balances | |
responses: | |
'200': | |
description: Successful response. | |
content: | |
application/json: | |
schema: | |
type: object | |
properties: | |
amount: | |
type: integer | |
description: The current balance | |
/bank_transfers: | |
post: | |
description: Send money to spesific bank. | |
responses: | |
'201': | |
description: Successful response. | |
security: | |
- ApiKeyAuth: [] | |
components: | |
securitySchemes: | |
ApiKeyAuth: | |
type: apikey | |
in: header | |
name: 'Authorization' |
Author
philiplambok
commented
Oct 24, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment