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
24 changes: 19 additions & 5 deletions openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18204,9 +18204,10 @@ components:
properties:
account_reference:
type: string
description: Used by Adyen gateways. The Shopper Reference value used
when the external token was created. Must be used in conjunction with
gateway_token and gateway_code.
description: Used by Adyen and Braintree gateways. For Adyen the Shopper
Reference value used when the external token was created. Must be
used in conjunction with gateway_token and gateway_code. For Braintree
the PayPal PayerID is populated in the response.
maxLength: 264
amazon_billing_agreement_id:
type: string
Expand Down Expand Up @@ -21712,6 +21713,12 @@ components:
format: date-time
description: When the subscription was converted from a gift card.
title: Converted at
action_result:
type: object
description: Action result params to be used in Recurly-JS to complete a
payment when using asynchronous payment methods, e.g., Boleto, iDEAL and
Sofort.
title: Action result
SubscriptionAddOn:
type: object
title: Subscription Add-on
Expand Down Expand Up @@ -23027,6 +23034,12 @@ components:
format: date-time
title: Collected at, or if not collected yet, the time the transaction was
created.
action_result:
type: object
description: Action result params to be used in Recurly-JS to complete a
payment when using asynchronous payment methods, e.g., Boleto, iDEAL and
Sofort.
title: Action result
ExternalTransaction:
type: object
properties:
Expand Down Expand Up @@ -24149,8 +24162,9 @@ components:
properties:
account_reference:
type: string
description: Used by Adyen gateways. The Shopper Reference value used
when the external token was created.
description: Used by Adyen and Braintree gateways. For Adyen the Shopper
Reference value used when the external token was created. For Braintree
the PayPal PayerID is populated in the response.
maxLength: 264
billing_agreement_id:
type: string
Expand Down
8 changes: 7 additions & 1 deletion recurly/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ class GatewayAttributes(Resource):
Attributes
----------
account_reference : str
Used by Adyen gateways. The Shopper Reference value used when the external token was created.
Used by Adyen and Braintree gateways. For Adyen the Shopper Reference value used when the external token was created. For Braintree the PayPal PayerID is populated in the response.
"""

schema = {
Expand Down Expand Up @@ -671,6 +671,8 @@ class Transaction(Resource):
----------
account : AccountMini
Account mini details
action_result : dict
Action result params to be used in Recurly-JS to complete a payment when using asynchronous payment methods, e.g., Boleto, iDEAL and Sofort.
amount : float
Total transaction amount sent to the payment gateway.
avs_check : str
Expand Down Expand Up @@ -754,6 +756,7 @@ class Transaction(Resource):

schema = {
"account": "AccountMini",
"action_result": dict,
"amount": float,
"avs_check": str,
"backup_payment_method_used": bool,
Expand Down Expand Up @@ -1844,6 +1847,8 @@ class Subscription(Resource):
----------
account : AccountMini
Account mini details
action_result : dict
Action result params to be used in Recurly-JS to complete a payment when using asynchronous payment methods, e.g., Boleto, iDEAL and Sofort.
activated_at : datetime
Activated at
active_invoice_id : str
Expand Down Expand Up @@ -1966,6 +1971,7 @@ class Subscription(Resource):

schema = {
"account": "AccountMini",
"action_result": dict,
"activated_at": datetime,
"active_invoice_id": str,
"add_ons": ["SubscriptionAddOn"],
Expand Down