Skip to content

Commit 585fa7a

Browse files
author
Recurly Integrations
authored
Generated Latest Changes for v2021-02-25
1 parent dc41917 commit 585fa7a

File tree

2 files changed

+51
-2
lines changed

2 files changed

+51
-2
lines changed

openapi/api.yaml

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18373,9 +18373,11 @@ components:
1837318373
street1:
1837418374
type: string
1837518375
title: Street 1
18376+
maxLength: 50
1837618377
street2:
1837718378
type: string
1837818379
title: Street 2
18380+
maxLength: 50
1837918381
city:
1838018382
type: string
1838118383
title: City
@@ -23977,8 +23979,10 @@ components:
2397723979
gateway_code:
2397823980
type: string
2397923981
title: Gateway Code
23980-
description: If present, this subscription's transactions will use the payment
23981-
gateway with this code.
23982+
description: If present, this subscription's subsequent transactions will
23983+
use the payment gateway with this code. To select a payment gateway to
23984+
use when creating a Subscription, be sure to set the `account.billing_info.gateway_code`
23985+
as well.
2398223986
maxLength: 13
2398323987
transaction_type:
2398423988
description: An optional type designation for the payment gateway transaction
@@ -24634,6 +24638,22 @@ components:
2463424638
title: VAT Number
2463524639
fraud_info:
2463624640
"$ref": "#/components/schemas/TransactionFraudInfo"
24641+
next_action:
24642+
type: object
24643+
x-class-name: TransactionNextAction
24644+
description: Next action values are used for any required customer follow-up
24645+
action. Currently, this is supported for Ebanx when using Pix Automatico.
24646+
properties:
24647+
type:
24648+
type: string
24649+
title: Next action type
24650+
description: The type of next action required.
24651+
"$ref": "#/components/schemas/NextActionTypeEnum"
24652+
value:
24653+
type: string
24654+
title: Next action value
24655+
description: The value associated with the next action type.
24656+
title: Next action
2463724657
TransactionFraudInfo:
2463824658
type: object
2463924659
title: Fraud information
@@ -27043,9 +27063,11 @@ components:
2704327063
- credit_card
2704427064
- eft
2704527065
- google_pay
27066+
- mercadopago
2704627067
- money_order
2704727068
- other
2704827069
- paypal
27070+
- pix_automatico
2704927071
- roku
2705027072
- sepadirectdebit
2705127073
- wire_transfer
@@ -27183,6 +27205,11 @@ components:
2718327205
- scheduled
2718427206
- success
2718527207
- void
27208+
NextActionTypeEnum:
27209+
type: string
27210+
description: The type of next action required for the transaction.
27211+
enum:
27212+
- qr_code
2718627213
CvvCheckEnum:
2718727214
type: string
2718827215
enum:
@@ -27259,6 +27286,9 @@ components:
2725927286
- boleto
2726027287
- cash_app
2726127288
- upi_autopay
27289+
- pix_automatico
27290+
- mercadopago
27291+
- klarna
2726227292
CardTypeEnum:
2726327293
type: string
2726427294
enum:

recurly/resources.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -816,6 +816,8 @@ class Transaction(Resource):
816816
- Service Extension: Send `service_extension` if you are in a service industry and the customer has increased/extended their service in some way. For example: adding a day onto a car rental agreement.
817817
- Split Shipment: Send `split_shipment` if you sell physical product and need to split up a shipment into multiple transactions when the customer is no longer in session.
818818
- Top Up: Send `top_up` if you process one-time transactions based on a pre-arranged agreement with your customer where there is a pre-arranged account balance that needs maintaining. For example, if the customer has agreed to maintain an account balance of 30.00 and their current balance is 20.00, the MIT amount would be at least 10.00 to meet that 30.00 threshold.
819+
next_action : TransactionNextAction
820+
Next action values are used for any required customer follow-up action. Currently, this is supported for Ebanx when using Pix Automatico.
819821
object : str
820822
Object type
821823
origin : str
@@ -881,6 +883,7 @@ class Transaction(Resource):
881883
"ip_address_country": str,
882884
"ip_address_v4": str,
883885
"merchant_reason_code": str,
886+
"next_action": "TransactionNextAction",
884887
"object": str,
885888
"origin": str,
886889
"original_transaction_id": str,
@@ -988,6 +991,22 @@ class TransactionPaymentGateway(Resource):
988991
}
989992

990993

994+
class TransactionNextAction(Resource):
995+
"""
996+
Attributes
997+
----------
998+
type : str
999+
The type of next action required.
1000+
value : str
1001+
The value associated with the next action type.
1002+
"""
1003+
1004+
schema = {
1005+
"type": str,
1006+
"value": str,
1007+
}
1008+
1009+
9911010
class CouponRedemption(Resource):
9921011
"""
9931012
Attributes

0 commit comments

Comments
 (0)