Skip to content
Closed
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
34 changes: 32 additions & 2 deletions openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18373,9 +18373,11 @@ components:
street1:
type: string
title: Street 1
maxLength: 50
street2:
type: string
title: Street 2
maxLength: 50
city:
type: string
title: City
Expand Down Expand Up @@ -23977,8 +23979,10 @@ components:
gateway_code:
type: string
title: Gateway Code
description: If present, this subscription's transactions will use the payment
gateway with this code.
description: If present, this subscription's subsequent transactions will
use the payment gateway with this code. To select a payment gateway to
use when creating a Subscription, be sure to set the `account.billing_info.gateway_code`
as well.
maxLength: 13
transaction_type:
description: An optional type designation for the payment gateway transaction
Expand Down Expand Up @@ -24634,6 +24638,22 @@ components:
title: VAT Number
fraud_info:
"$ref": "#/components/schemas/TransactionFraudInfo"
next_action:
type: object
x-class-name: TransactionNextAction
description: Next action values are used for any required customer follow-up
action. Currently, this is supported for Ebanx when using Pix Automatico.
properties:
type:
type: string
title: Next action type
description: The type of next action required.
"$ref": "#/components/schemas/NextActionTypeEnum"
value:
type: string
title: Next action value
description: The value associated with the next action type.
title: Next action
TransactionFraudInfo:
type: object
title: Fraud information
Expand Down Expand Up @@ -27043,9 +27063,11 @@ components:
- credit_card
- eft
- google_pay
- mercadopago
- money_order
- other
- paypal
- pix_automatico
- roku
- sepadirectdebit
- wire_transfer
Expand Down Expand Up @@ -27183,6 +27205,11 @@ components:
- scheduled
- success
- void
NextActionTypeEnum:
type: string
description: The type of next action required for the transaction.
enum:
- qr_code
CvvCheckEnum:
type: string
enum:
Expand Down Expand Up @@ -27259,6 +27286,9 @@ components:
- boleto
- cash_app
- upi_autopay
- pix_automatico
- mercadopago
- klarna
CardTypeEnum:
type: string
enum:
Expand Down
19 changes: 19 additions & 0 deletions recurly/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -816,6 +816,8 @@ class Transaction(Resource):
- 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.
- 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.
- 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.
next_action : TransactionNextAction
Next action values are used for any required customer follow-up action. Currently, this is supported for Ebanx when using Pix Automatico.
object : str
Object type
origin : str
Expand Down Expand Up @@ -881,6 +883,7 @@ class Transaction(Resource):
"ip_address_country": str,
"ip_address_v4": str,
"merchant_reason_code": str,
"next_action": "TransactionNextAction",
"object": str,
"origin": str,
"original_transaction_id": str,
Expand Down Expand Up @@ -988,6 +991,22 @@ class TransactionPaymentGateway(Resource):
}


class TransactionNextAction(Resource):
"""
Attributes
----------
type : str
The type of next action required.
value : str
The value associated with the next action type.
"""

schema = {
"type": str,
"value": str,
}


class CouponRedemption(Resource):
"""
Attributes
Expand Down
Loading