Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 15 additions & 4 deletions openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18838,7 +18838,7 @@ components:
"$ref": "#/components/schemas/PaymentGatewayReferences"
properties:
token:
type: strings
type: string
maxLength: 50
reference_type:
type: string
Expand Down Expand Up @@ -25314,7 +25314,8 @@ components:
description: Represents the account code for the external account.
external_connection_type:
type: string
description: Represents the connection type. `AppleAppStore` or `GooglePlayStore`
description: Represents the connection type. One of the connection types
of your enabled App Connectors
created_at:
type: string
format: date-time
Expand Down Expand Up @@ -25864,8 +25865,10 @@ components:
cc_bin_country:
type: string
description: The 2-letter ISO 3166-1 alpha-2 country code associated with
the credit card BIN, if known by Recurly. Available on the BillingInfo
object only. Available when the BIN country lookup feature is enabled.
the card's issuer, if known.
funding_source:
"$ref": "#/components/schemas/CardFundingSourceEnum"
description: The funding source of the card, if known.
gateway_code:
type: string
description: An identifier for a specific payment gateway.
Expand Down Expand Up @@ -27018,6 +27021,14 @@ components:
- Dankort
- MasterCard
- Visa
CardFundingSourceEnum:
type: string
enum:
- credit
- debit
- charge
- prepaid
- deferred_debit
AccountTypeEnum:
type: string
enum:
Expand Down
7 changes: 5 additions & 2 deletions recurly/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ class ExternalAccount(Resource):
external_account_code : str
Represents the account code for the external account.
external_connection_type : str
Represents the connection type. `AppleAppStore` or `GooglePlayStore`
Represents the connection type. One of the connection types of your enabled App Connectors
id : str
UUID of the external_account .
object : str
Expand Down Expand Up @@ -382,13 +382,15 @@ class PaymentMethod(Resource):
card_type : str
Visa, MasterCard, American Express, Discover, JCB, etc.
cc_bin_country : str
The 2-letter ISO 3166-1 alpha-2 country code associated with the credit card BIN, if known by Recurly. Available on the BillingInfo object only. Available when the BIN country lookup feature is enabled.
The 2-letter ISO 3166-1 alpha-2 country code associated with the card's issuer, if known.
exp_month : int
Expiration month.
exp_year : int
Expiration year.
first_six : str
Credit card number's first six digits.
funding_source : str
The funding source of the card, if known.
gateway_attributes : GatewayAttributes
Gateway specific attributes associated with this PaymentMethod
gateway_code : str
Expand Down Expand Up @@ -419,6 +421,7 @@ class PaymentMethod(Resource):
"exp_month": int,
"exp_year": int,
"first_six": str,
"funding_source": str,
"gateway_attributes": "GatewayAttributes",
"gateway_code": str,
"gateway_token": str,
Expand Down
Loading