@@ -2793,6 +2793,97 @@ paths:
27932793 schema:
27942794 "$ref": "#/components/schemas/Error"
27952795 x-code-samples: []
2796+ "/accounts/{account_id}/billing_infos/{billing_info_id}/verify":
2797+ post:
2798+ tags:
2799+ - billing_infos
2800+ operationId: verify_billing_infos
2801+ summary: Verify a billing information's credit card
2802+ parameters:
2803+ - "$ref": "#/components/parameters/account_id"
2804+ - "$ref": "#/components/parameters/billing_info_id"
2805+ requestBody:
2806+ content:
2807+ application/json:
2808+ schema:
2809+ "$ref": "#/components/schemas/BillingInfoVerify"
2810+ required: false
2811+ responses:
2812+ '200':
2813+ description: Transaction information from verify.
2814+ content:
2815+ application/json:
2816+ schema:
2817+ "$ref": "#/components/schemas/Transaction"
2818+ '404':
2819+ description: Billing information not found, or incorrect site or account
2820+ ID.
2821+ content:
2822+ application/json:
2823+ schema:
2824+ "$ref": "#/components/schemas/Error"
2825+ default:
2826+ description: Unexpected error.
2827+ content:
2828+ application/json:
2829+ schema:
2830+ "$ref": "#/components/schemas/Error"
2831+ '422':
2832+ description: Invalid billing information, or error running the verification
2833+ transaction.
2834+ content:
2835+ application/json:
2836+ schema:
2837+ "$ref": "#/components/schemas/ErrorMayHaveTransaction"
2838+ x-code-samples: []
2839+ "/accounts/{account_id}/billing_infos/{billing_info_id}/verify_cvv":
2840+ post:
2841+ tags:
2842+ - billing_infos
2843+ operationId: verify_billing_infos_cvv
2844+ summary: Verify a billing information's credit card cvv
2845+ parameters:
2846+ - "$ref": "#/components/parameters/account_id"
2847+ - "$ref": "#/components/parameters/billing_info_id"
2848+ requestBody:
2849+ content:
2850+ application/json:
2851+ schema:
2852+ "$ref": "#/components/schemas/BillingInfoVerifyCVV"
2853+ responses:
2854+ '200':
2855+ description: Transaction information from verify.
2856+ content:
2857+ application/json:
2858+ schema:
2859+ "$ref": "#/components/schemas/Transaction"
2860+ '404':
2861+ description: Billing information not found, or incorrect site or account
2862+ ID.
2863+ content:
2864+ application/json:
2865+ schema:
2866+ "$ref": "#/components/schemas/Error"
2867+ default:
2868+ description: Unexpected error.
2869+ content:
2870+ application/json:
2871+ schema:
2872+ "$ref": "#/components/schemas/Error"
2873+ '422':
2874+ description: Invalid billing information, or error running the verification
2875+ transaction.
2876+ content:
2877+ application/json:
2878+ schema:
2879+ "$ref": "#/components/schemas/ErrorMayHaveTransaction"
2880+ '429':
2881+ description: Too many CVV verification attempts.
2882+ content:
2883+ application/json:
2884+ schema:
2885+ "$ref": "#/components/schemas/Error"
2886+ x-code-samples: []
27962887 "/accounts/{account_id}/coupon_redemptions":
27972888 get:
27982889 tags:
@@ -18896,6 +18987,8 @@ components:
1889618987 amazon_billing_agreement_id:
1889718988 type: string
1889818989 title: Amazon billing agreement ID
18990+ description: Only supported on Amazon V1. For Amazon V2, use token_id with
18991+ Recurly.js.
1889918992 paypal_billing_agreement_id:
1890018993 type: string
1890118994 title: PayPal billing agreement ID
@@ -18999,12 +19092,27 @@ components:
1899919092 type: string
1900019093 description: An identifier for a specific payment gateway.
1900119094 maxLength: 13
19095+ three_d_secure_action_result_token_id:
19096+ type: string
19097+ description: A token generated by Recurly.js after completing a 3-D Secure
19098+ device fingerprinting or authentication challenge.
1900219099 BillingInfoVerifyCVV:
1900319100 type: object
1900419101 properties:
1900519102 verification_value:
1900619103 type: string
1900719104 description: Unique security code for a credit card.
19105+ gateway_code:
19106+ type: string
19107+ description: An identifier for a specific payment gateway.
19108+ maxLength: 13
19109+ three_d_secure_action_result_token_id:
19110+ type: string
19111+ description: A token generated by Recurly.js after completing a 3-D Secure
19112+ device fingerprinting or authentication challenge.
19113+ token_id:
19114+ type: string
19115+ description: A token [generated by Recurly.js](https://recurly.com/developers/reference/recurly-js/#getting-a-token).
1900819116 Coupon:
1900919117 type: object
1901019118 properties:
@@ -20315,6 +20423,11 @@ components:
2031520423 title: Subtotal
2031620424 description: The summation of charges and credits, before discounts and
2031720425 taxes.
20426+ subtotal_after_discount:
20427+ type: number
20428+ format: float
20429+ title: Subtotal After Discount
20430+ description: The summation of charges and credits, after discounts applied.
2031820431 tax:
2031920432 type: number
2032020433 format: float
@@ -20958,7 +21071,7 @@ components:
2095821071 type: number
2095921072 format: float
2096021073 title: Total after discounts and taxes
20961- description: "`(quantity * unit_amount) - ( discount + tax) `"
21074+ description: "`(quantity * unit_amount) - discount + tax`"
2096221075 description:
2096321076 type: string
2096421077 title: Description
@@ -21327,12 +21440,12 @@ components:
2132721440 origin:
2132821441 title: Origin
2132921442 description: Origin `external_gift_card` is allowed if the Gift Cards feature
21330- is enabled on your site and `type` is `credit`. Set this value in order
21331- to track gift card credits from external gift cards (like InComm). It
21332- also skips billing information requirements. Origin `prepayment` is only
21333- allowed if `type ` is `charge` and `tax_exempt ` is left blank or set to
21334- true. This origin creates a charge and opposite credit on the account
21335- to be used for future invoices.
21443+ is enabled on your site, `type` is `credit` and `tax_exempt` is `true`
21444+ if you are using taxes. Set this value in order to track gift card credits
21445+ from external gift cards (like InComm). It also skips billing information
21446+ requirements. Origin `prepayment ` is only allowed if `type ` is `charge`
21447+ and `tax_exempt` is left blank or set to true. This origin creates a
21448+ charge and opposite credit on the account to be used for future invoices.
2133621449 "$ref": "#/components/schemas/LineItemCreateOriginEnum"
2133721450 custom_fields:
2133821451 "$ref": "#/components/schemas/CustomFields"
0 commit comments