Skip to content

Commit

Permalink
Update OpenAPI docs to v2.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
circle-github-action-bot committed Mar 28, 2024
1 parent c8360fe commit bd686d8
Show file tree
Hide file tree
Showing 14 changed files with 76 additions and 23 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [2.9.0](https://github.com/circlefin/openapi-internal/compare/v2.8.0...v2.9.0) (2024-03-28)


### New Features

* add status property to GET /recipient API endpoint

## [2.8.0](https://github.com/circlefin/openapi-internal/compare/v2.7.1...v2.8.0) (2024-03-11)


Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.8.0
2.9.0
19 changes: 15 additions & 4 deletions openapi/json/account.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}
],
"info": {
"version": "2.8.0",
"version": "2.9.0",
"title": "Core Functionality",
"description": "All of Circle's APIs share a common set of core functionality that lets you manage your Circle Account in a programmatic way.\n\nWith a Circle Account your business can deposit traditional money from 80+ countries and seamlessly convert them into \"digital currency dollars\": USDC. You can then use USDC for everyday payments and treasury flows.\n"
},
Expand Down Expand Up @@ -1546,7 +1546,8 @@
"addressTag": "123456789",
"chain": "ALGO",
"currency": "USD",
"description": "My USDC address at a cryptocurrency exchange"
"description": "My USDC address at a cryptocurrency exchange",
"status": "active"
}
}
}
Expand Down Expand Up @@ -1586,7 +1587,7 @@
}
],
"summary": "List all recipient addresses",
"description": "Returns a list of recipient addresses that have each been verified and are eligible for transfers. Any recipient addresses pending verification are not included in the response.\n",
"description": "Returns a list of recipient addresses that have each been verified and are eligible for transfers. Any recipient addresses pending administrator verification are not included in the response.\n",
"operationId": "listBusinessRecipientAddresses",
"tags": [
"Addresses"
Expand Down Expand Up @@ -1622,7 +1623,8 @@
"addressTag": "123456789",
"chain": "ALGO",
"currency": "USD",
"description": "My USDC address at a cryptocurrency exchange"
"description": "My USDC address at a cryptocurrency exchange",
"status": "active"
}
]
}
Expand Down Expand Up @@ -1650,6 +1652,7 @@
}
],
"summary": "Delete a recipient address",
"description": "Deletes an external blockchain address. The recipient address must be in an 'active' or 'pending' state in order to be deleted successfully.\n",
"operationId": "deleteBusinessRecipientAddress",
"tags": [
"Addresses"
Expand Down Expand Up @@ -3150,6 +3153,14 @@
},
"description": {
"$ref": "#/components/schemas/AddressDescription"
},
"status": {
"type": "string",
"enum": [
"active",
"pending_verification",
"verification_succeeded"
]
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion openapi/json/accounts.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}
],
"info": {
"version": "2.8.0",
"version": "2.9.0",
"title": "Accounts API",
"description": "The Accounts API allows you to easily create and host digital wallets for your customers, and manage transfers of funds across accounts- whether they are within the Circle platform, or in / out of the platform via on-chain USDC, EUROC, BTC, and ETH connectivity."
},
Expand Down
19 changes: 15 additions & 4 deletions openapi/json/circle-apis.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}
],
"info": {
"version": "2.8.0",
"version": "2.9.0",
"title": "All Circle APIs",
"description": "Circle's General, Core Functionality, Payments, Payouts, Accounts, and Crypto Payments APIs bundled into one OpenAPI Specification."
},
Expand Down Expand Up @@ -1783,7 +1783,8 @@
"addressTag": "123456789",
"chain": "ALGO",
"currency": "USD",
"description": "My USDC address at a cryptocurrency exchange"
"description": "My USDC address at a cryptocurrency exchange",
"status": "active"
}
}
}
Expand Down Expand Up @@ -1823,7 +1824,7 @@
}
],
"summary": "List all recipient addresses",
"description": "Returns a list of recipient addresses that have each been verified and are eligible for transfers. Any recipient addresses pending verification are not included in the response.\n",
"description": "Returns a list of recipient addresses that have each been verified and are eligible for transfers. Any recipient addresses pending administrator verification are not included in the response.\n",
"operationId": "listBusinessRecipientAddresses",
"tags": [
"Addresses"
Expand Down Expand Up @@ -1859,7 +1860,8 @@
"addressTag": "123456789",
"chain": "ALGO",
"currency": "USD",
"description": "My USDC address at a cryptocurrency exchange"
"description": "My USDC address at a cryptocurrency exchange",
"status": "active"
}
]
}
Expand Down Expand Up @@ -1887,6 +1889,7 @@
}
],
"summary": "Delete a recipient address",
"description": "Deletes an external blockchain address. The recipient address must be in an 'active' or 'pending' state in order to be deleted successfully.\n",
"operationId": "deleteBusinessRecipientAddress",
"tags": [
"Addresses"
Expand Down Expand Up @@ -8744,6 +8747,14 @@
},
"description": {
"$ref": "#/components/schemas/AddressDescription"
},
"status": {
"type": "string",
"enum": [
"active",
"pending_verification",
"verification_succeeded"
]
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion openapi/json/general.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}
],
"info": {
"version": "2.8.0",
"version": "2.9.0",
"title": "API Overview",
"description": "Common endpoints shared across all Circle APIs."
},
Expand Down
2 changes: 1 addition & 1 deletion openapi/json/payments.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}
],
"info": {
"version": "2.8.0",
"version": "2.9.0",
"title": "Payments API",
"description": "The Circle Payments API allows you to take payments from your end users via traditional methods such as debit & credit cards and receive settlement in USDC.\n\nThe Circle Payments API has been designed with any business or internet commerce in mind, not just crypto applications, and it's based on Circle's extensive experience processing millions of card payments since 2014.\n"
},
Expand Down
2 changes: 1 addition & 1 deletion openapi/json/payouts.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}
],
"info": {
"version": "2.8.0",
"version": "2.9.0",
"title": "Payouts API",
"description": "The Circle Payouts API allows you to programmatically make fast, global payouts to your customers, vendors, and suppliers. Make payouts on supported blockchains."
},
Expand Down
18 changes: 15 additions & 3 deletions openapi/yaml/account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ openapi: 3.0.2
servers:
- url: https://api-sandbox.circle.com
info:
version: 2.8.0
version: 2.9.0
title: Core Functionality
description: 'All of Circle''s APIs share a common set of core functionality that
lets you manage your Circle Account in a programmatic way.
Expand Down Expand Up @@ -1013,6 +1013,7 @@ paths:
chain: ALGO
currency: USD
description: My USDC address at a cryptocurrency exchange
status: active
'400':
$ref: '#/components/responses/BadRequest'
'401':
Expand All @@ -1028,8 +1029,8 @@ paths:
- $ref: '#/components/parameters/PageSize'
summary: List all recipient addresses
description: 'Returns a list of recipient addresses that have each been verified
and are eligible for transfers. Any recipient addresses pending verification
are not included in the response.
and are eligible for transfers. Any recipient addresses pending administrator
verification are not included in the response.
'
operationId: listBusinessRecipientAddresses
Expand Down Expand Up @@ -1060,6 +1061,7 @@ paths:
chain: ALGO
currency: USD
description: My USDC address at a cryptocurrency exchange
status: active
'401':
$ref: '#/components/responses/NotAuthorized'
/v1/businessAccount/wallets/addresses/recipient/{id}:
Expand All @@ -1069,6 +1071,10 @@ paths:
parameters:
- $ref: '#/components/parameters/IdPath'
summary: Delete a recipient address
description: 'Deletes an external blockchain address. The recipient address
must be in an ''active'' or ''pending'' state in order to be deleted successfully.
'
operationId: deleteBusinessRecipientAddress
tags:
- Addresses
Expand Down Expand Up @@ -2250,6 +2256,12 @@ components:
$ref: '#/components/schemas/Currency'
description:
$ref: '#/components/schemas/AddressDescription'
status:
type: string
enum:
- active
- pending_verification
- verification_succeeded
BusinessRecipientAddressCreationRequest:
type: object
description: Adds a recipient address. The currency parameter will default to
Expand Down
2 changes: 1 addition & 1 deletion openapi/yaml/accounts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ openapi: 3.0.2
servers:
- url: https://api-sandbox.circle.com
info:
version: 2.8.0
version: 2.9.0
title: Accounts API
description: The Accounts API allows you to easily create and host digital wallets
for your customers, and manage transfers of funds across accounts- whether they
Expand Down
18 changes: 15 additions & 3 deletions openapi/yaml/circle-apis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ openapi: 3.0.2
servers:
- url: https://api-sandbox.circle.com
info:
version: 2.8.0
version: 2.9.0
title: All Circle APIs
description: Circle's General, Core Functionality, Payments, Payouts, Accounts,
and Crypto Payments APIs bundled into one OpenAPI Specification.
Expand Down Expand Up @@ -1146,6 +1146,7 @@ paths:
chain: ALGO
currency: USD
description: My USDC address at a cryptocurrency exchange
status: active
'400':
$ref: '#/components/responses/BadRequest'
'401':
Expand All @@ -1161,8 +1162,8 @@ paths:
- $ref: '#/components/parameters/PageSize'
summary: List all recipient addresses
description: 'Returns a list of recipient addresses that have each been verified
and are eligible for transfers. Any recipient addresses pending verification
are not included in the response.
and are eligible for transfers. Any recipient addresses pending administrator
verification are not included in the response.
'
operationId: listBusinessRecipientAddresses
Expand Down Expand Up @@ -1193,6 +1194,7 @@ paths:
chain: ALGO
currency: USD
description: My USDC address at a cryptocurrency exchange
status: active
'401':
$ref: '#/components/responses/NotAuthorized'
/v1/businessAccount/wallets/addresses/recipient/{id}:
Expand All @@ -1202,6 +1204,10 @@ paths:
parameters:
- $ref: '#/components/parameters/IdPath'
summary: Delete a recipient address
description: 'Deletes an external blockchain address. The recipient address
must be in an ''active'' or ''pending'' state in order to be deleted successfully.
'
operationId: deleteBusinessRecipientAddress
tags:
- Addresses
Expand Down Expand Up @@ -5969,6 +5975,12 @@ components:
$ref: '#/components/schemas/Currency'
description:
$ref: '#/components/schemas/AddressDescription'
status:
type: string
enum:
- active
- pending_verification
- verification_succeeded
BusinessRecipientAddressCreationRequest:
type: object
description: Adds a recipient address. The currency parameter will default to
Expand Down
2 changes: 1 addition & 1 deletion openapi/yaml/general.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ openapi: 3.0.2
servers:
- url: https://api-sandbox.circle.com
info:
version: 2.8.0
version: 2.9.0
title: API Overview
description: Common endpoints shared across all Circle APIs.
tags:
Expand Down
2 changes: 1 addition & 1 deletion openapi/yaml/payments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ openapi: 3.0.2
servers:
- url: https://api-sandbox.circle.com
info:
version: 2.8.0
version: 2.9.0
title: Payments API
description: 'The Circle Payments API allows you to take payments from your end
users via traditional methods such as debit & credit cards and receive settlement
Expand Down
2 changes: 1 addition & 1 deletion openapi/yaml/payouts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ openapi: 3.0.2
servers:
- url: https://api-sandbox.circle.com
info:
version: 2.8.0
version: 2.9.0
title: Payouts API
description: The Circle Payouts API allows you to programmatically make fast, global
payouts to your customers, vendors, and suppliers. Make payouts on supported blockchains.
Expand Down

0 comments on commit bd686d8

Please sign in to comment.