Skip to content

Commit

Permalink
Update OpenAPI docs to v1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
circle-github-action-bot committed Nov 28, 2022
1 parent 9a00482 commit d17ce82
Show file tree
Hide file tree
Showing 14 changed files with 175 additions and 343 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [1.2.1](https://github.com/circlefin/openapi-internal/compare/v1.2.0...v1.2.1) (2022-11-28)


### Fixes

* remove identities from crypto refund creation request

## [1.2.0](https://github.com/circlefin/openapi-internal/compare/v1.1.1...v1.2.0) (2022-11-28)


Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.0
1.2.1
2 changes: 1 addition & 1 deletion openapi/json/account.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}
],
"info": {
"version": "1.2.0",
"version": "1.2.1",
"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
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": "1.2.0",
"version": "1.2.1",
"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
166 changes: 80 additions & 86 deletions openapi/json/circle-apis.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}
],
"info": {
"version": "1.2.0",
"version": "1.2.1",
"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 @@ -10204,85 +10204,6 @@
}
}
},
"IdentityAddress": {
"type": "object",
"required": [
"line1",
"city",
"district",
"postalCode",
"country"
],
"properties": {
"line1": {
"type": "string",
"description": "Line one of the street address.",
"maxLength": 1024,
"example": "100 Money Street"
},
"line2": {
"type": "string",
"description": "Line two of the street address.",
"maxLength": 1024,
"example": "Suite 1"
},
"city": {
"type": "string",
"description": "City portion of the address.",
"maxLength": 1024,
"example": "Boston"
},
"district": {
"description": "State / County / Province / Region portion of the address. If the country is US or Canada, then district is required and should use the two-letter code for the subdivision.",
"type": "string",
"maxLength": 16,
"example": "MA"
},
"postalCode": {
"type": "string",
"description": "Postal / ZIP code of the address.",
"maxLength": 16,
"example": "01234"
},
"country": {
"type": "string",
"description": "Country portion of the address. Formatted as a two-letter country code specified in ISO 3166-1 alpha-2.",
"maxLength": 2,
"example": "US"
}
}
},
"Identity": {
"type": "object",
"description": "The identity of the originator. Identities are required when:\n * `destination.type: \"blockchain\"`\n * `destination.chain: \"ETH\"`\n * `amount.amount` >= $3,000 in value\n",
"required": [
"type",
"name",
"addresses"
],
"properties": {
"type": {
"type": "string",
"description": "The type of identity for the originator.\n* `individual` - A uniquely distinguishable individual.\n* `business` - Any entity other than a natural person that can establish a permanent customer relationship with an affected entity or otherwise own property. This can include companies, foundations, anstalt, partnerships, associations and other relevantly similar entities.\n",
"enum": [
"individual",
"business"
]
},
"name": {
"type": "string",
"description": "Full name of the identity.",
"example": "Satoshi Nakamoto",
"maxLength": 1024
},
"addresses": {
"type": "array",
"items": {
"$ref": "#/components/schemas/IdentityAddress"
}
}
}
},
"CryptoRefundCreationRequest": {
"type": "object",
"required": [
Expand Down Expand Up @@ -10337,12 +10258,6 @@
]
}
}
},
"identities": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Identity"
}
}
}
},
Expand Down Expand Up @@ -11928,6 +11843,85 @@
}
}
},
"IdentityAddress": {
"type": "object",
"required": [
"line1",
"city",
"district",
"postalCode",
"country"
],
"properties": {
"line1": {
"type": "string",
"description": "Line one of the street address.",
"maxLength": 1024,
"example": "100 Money Street"
},
"line2": {
"type": "string",
"description": "Line two of the street address.",
"maxLength": 1024,
"example": "Suite 1"
},
"city": {
"type": "string",
"description": "City portion of the address.",
"maxLength": 1024,
"example": "Boston"
},
"district": {
"description": "State / County / Province / Region portion of the address. If the country is US or Canada, then district is required and should use the two-letter code for the subdivision.",
"type": "string",
"maxLength": 16,
"example": "MA"
},
"postalCode": {
"type": "string",
"description": "Postal / ZIP code of the address.",
"maxLength": 16,
"example": "01234"
},
"country": {
"type": "string",
"description": "Country portion of the address. Formatted as a two-letter country code specified in ISO 3166-1 alpha-2.",
"maxLength": 2,
"example": "US"
}
}
},
"Identity": {
"type": "object",
"description": "The identity of the originator. Identities are required when:\n * `destination.type: \"blockchain\"`\n * `destination.chain: \"ETH\"`\n * `amount.amount` >= $3,000 in value\n",
"required": [
"type",
"name",
"addresses"
],
"properties": {
"type": {
"type": "string",
"description": "The type of identity for the originator.\n* `individual` - A uniquely distinguishable individual.\n* `business` - Any entity other than a natural person that can establish a permanent customer relationship with an affected entity or otherwise own property. This can include companies, foundations, anstalt, partnerships, associations and other relevantly similar entities.\n",
"enum": [
"individual",
"business"
]
},
"name": {
"type": "string",
"description": "Full name of the identity.",
"example": "Satoshi Nakamoto",
"maxLength": 1024
},
"addresses": {
"type": "array",
"items": {
"$ref": "#/components/schemas/IdentityAddress"
}
}
}
},
"TransferSourceWalletLocation": {
"description": "A source wallet location.",
"type": "object",
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": "1.2.0",
"version": "1.2.1",
"title": "API Overview",
"description": "Common endpoints shared across all Circle APIs."
},
Expand Down
87 changes: 1 addition & 86 deletions openapi/json/payments.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}
],
"info": {
"version": "1.2.0",
"version": "1.2.1",
"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, bank accounts (wires and ACH), etc., 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 Expand Up @@ -5331,85 +5331,6 @@
}
}
},
"IdentityAddress": {
"type": "object",
"required": [
"line1",
"city",
"district",
"postalCode",
"country"
],
"properties": {
"line1": {
"type": "string",
"description": "Line one of the street address.",
"maxLength": 1024,
"example": "100 Money Street"
},
"line2": {
"type": "string",
"description": "Line two of the street address.",
"maxLength": 1024,
"example": "Suite 1"
},
"city": {
"type": "string",
"description": "City portion of the address.",
"maxLength": 1024,
"example": "Boston"
},
"district": {
"description": "State / County / Province / Region portion of the address. If the country is US or Canada, then district is required and should use the two-letter code for the subdivision.",
"type": "string",
"maxLength": 16,
"example": "MA"
},
"postalCode": {
"type": "string",
"description": "Postal / ZIP code of the address.",
"maxLength": 16,
"example": "01234"
},
"country": {
"type": "string",
"description": "Country portion of the address. Formatted as a two-letter country code specified in ISO 3166-1 alpha-2.",
"maxLength": 2,
"example": "US"
}
}
},
"Identity": {
"type": "object",
"description": "The identity of the originator. Identities are required when:\n * `destination.type: \"blockchain\"`\n * `destination.chain: \"ETH\"`\n * `amount.amount` >= $3,000 in value\n",
"required": [
"type",
"name",
"addresses"
],
"properties": {
"type": {
"type": "string",
"description": "The type of identity for the originator.\n* `individual` - A uniquely distinguishable individual.\n* `business` - Any entity other than a natural person that can establish a permanent customer relationship with an affected entity or otherwise own property. This can include companies, foundations, anstalt, partnerships, associations and other relevantly similar entities.\n",
"enum": [
"individual",
"business"
]
},
"name": {
"type": "string",
"description": "Full name of the identity.",
"example": "Satoshi Nakamoto",
"maxLength": 1024
},
"addresses": {
"type": "array",
"items": {
"$ref": "#/components/schemas/IdentityAddress"
}
}
}
},
"CryptoRefundCreationRequest": {
"type": "object",
"required": [
Expand Down Expand Up @@ -5464,12 +5385,6 @@
]
}
}
},
"identities": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Identity"
}
}
}
},
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": "1.2.0",
"version": "1.2.1",
"title": "Payouts API",
"description": "The Circle Payouts API allows you to programmatically make fast, global payouts to your customers, vendors, and suppliers. Use traditional methods like bank wires and ACH, or make payouts on supported blockchains."
},
Expand Down
2 changes: 1 addition & 1 deletion 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: 1.2.0
version: 1.2.1
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
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: 1.2.0
version: 1.2.1
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
Loading

0 comments on commit d17ce82

Please sign in to comment.