Skip to content

Commit

Permalink
Update OpenAPI docs to v2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
circle-github-action-bot committed Jul 17, 2023
1 parent 944a63a commit 804f7b0
Show file tree
Hide file tree
Showing 14 changed files with 250 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.1.0](https://github.com/circlefin/openapi-internal/compare/v2.0.1...v2.1.0) (2023-07-17)


### New Features

* [BANK-713] Add billing details to Update a card page

## [2.0.1](https://github.com/circlefin/openapi-internal/compare/v2.0.0...v2.0.1) (2023-07-10)


Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.1
2.1.0
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": "2.0.1",
"version": "2.1.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
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.0.1",
"version": "2.1.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
68 changes: 64 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.0.1",
"version": "2.1.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 @@ -7833,13 +7833,70 @@
}
}
},
"UpdateBillingDetails": {
"type": "object",
"properties": {
"firstName": {
"type": "string",
"description": "First name of the card or bank account holder.",
"maxLength": 1024,
"example": "Satoshi"
},
"lastName": {
"type": "string",
"description": "Last name of the card or bank account holder.",
"maxLength": 1024,
"example": "Nakamoto"
},
"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"
},
"phone": {
"$ref": "#/components/schemas/PhoneNumber"
},
"email": {
"$ref": "#/components/schemas/Email"
}
}
},
"CardUpdate": {
"type": "object",
"required": [
"keyId",
"encryptedData",
"expMonth",
"expYear"
"encryptedData"
],
"properties": {
"keyId": {
Expand All @@ -7856,6 +7913,9 @@
},
"expYear": {
"$ref": "#/components/schemas/CardExpYear"
},
"billingDetails": {
"$ref": "#/components/schemas/UpdateBillingDetails"
}
}
},
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.0.1",
"version": "2.1.0",
"title": "API Overview",
"description": "Common endpoints shared across all Circle APIs."
},
Expand Down
68 changes: 64 additions & 4 deletions openapi/json/payments.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}
],
"info": {
"version": "2.0.1",
"version": "2.1.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 Expand Up @@ -5957,13 +5957,70 @@
}
}
},
"UpdateBillingDetails": {
"type": "object",
"properties": {
"firstName": {
"type": "string",
"description": "First name of the card or bank account holder.",
"maxLength": 1024,
"example": "Satoshi"
},
"lastName": {
"type": "string",
"description": "Last name of the card or bank account holder.",
"maxLength": 1024,
"example": "Nakamoto"
},
"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"
},
"phone": {
"$ref": "#/components/schemas/PhoneNumber"
},
"email": {
"$ref": "#/components/schemas/Email"
}
}
},
"CardUpdate": {
"type": "object",
"required": [
"keyId",
"encryptedData",
"expMonth",
"expYear"
"encryptedData"
],
"properties": {
"keyId": {
Expand All @@ -5980,6 +6037,9 @@
},
"expYear": {
"$ref": "#/components/schemas/CardExpYear"
},
"billingDetails": {
"$ref": "#/components/schemas/UpdateBillingDetails"
}
}
},
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.0.1",
"version": "2.1.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
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: 2.0.1
version: 2.1.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
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.0.1
version: 2.1.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
56 changes: 53 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.0.1
version: 2.1.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 @@ -5237,13 +5237,61 @@ components:
$ref: '#/components/schemas/UtcTimestamp'
updateDate:
$ref: '#/components/schemas/UtcTimestamp'
UpdateBillingDetails:
type: object
properties:
firstName:
type: string
description: First name of the card or bank account holder.
maxLength: 1024
example: Satoshi
lastName:
type: string
description: Last name of the card or bank account holder.
maxLength: 1024
example: Nakamoto
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
phone:
$ref: '#/components/schemas/PhoneNumber'
email:
$ref: '#/components/schemas/Email'
CardUpdate:
type: object
required:
- keyId
- encryptedData
- expMonth
- expYear
properties:
keyId:
$ref: '#/components/schemas/IdKey'
Expand All @@ -5261,6 +5309,8 @@ components:
$ref: '#/components/schemas/CardExpMonth'
expYear:
$ref: '#/components/schemas/CardExpYear'
billingDetails:
$ref: '#/components/schemas/UpdateBillingDetails'
ApplePayTokenEcHeader:
type: object
required:
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.0.1
version: 2.1.0
title: API Overview
description: Common endpoints shared across all Circle APIs.
tags:
Expand Down
Loading

0 comments on commit 804f7b0

Please sign in to comment.