|
3990 | 3990 | "properties": {
|
3991 | 3991 | "city": {
|
3992 | 3992 | "type": "string",
|
3993 |
| - "description": "The address city", |
| 3993 | + "description": "The city, district, suburb, town, or village of the address.", |
3994 | 3994 | "example": "New York",
|
3995 | 3995 | "nullable": true,
|
3996 | 3996 | "maxLength": 50
|
|
4005 | 4005 | },
|
4006 | 4006 | "line1": {
|
4007 | 4007 | "type": "string",
|
4008 |
| - "description": "The first line of the address", |
| 4008 | + "description": "The first line of the street address or P.O. Box.", |
4009 | 4009 | "example": "123, King Street",
|
4010 | 4010 | "nullable": true,
|
4011 | 4011 | "maxLength": 200
|
4012 | 4012 | },
|
4013 | 4013 | "line2": {
|
4014 | 4014 | "type": "string",
|
4015 |
| - "description": "The second line of the address", |
| 4015 | + "description": "The second line of the street address or P.O. Box (e.g., apartment, suite, unit, or building).", |
4016 | 4016 | "example": "Powelson Avenue",
|
4017 | 4017 | "nullable": true,
|
4018 | 4018 | "maxLength": 50
|
4019 | 4019 | },
|
4020 | 4020 | "line3": {
|
4021 | 4021 | "type": "string",
|
4022 |
| - "description": "The third line of the address", |
| 4022 | + "description": "The third line of the street address, if applicable.", |
4023 | 4023 | "example": "Bridgewater",
|
4024 | 4024 | "nullable": true,
|
4025 | 4025 | "maxLength": 50
|
|
4899 | 4899 | },
|
4900 | 4900 | "AuthenticationType": {
|
4901 | 4901 | "type": "string",
|
4902 |
| - "description": "Pass this parameter to force 3DS or non 3DS auth for this payment. Some connectors will still force 3DS auth even in case of passing 'no_three_ds' here and vice versa. Default value is 'no_three_ds' if not set", |
| 4902 | + "description": "Specifies the type of cardholder authentication to be applied for a payment.\n\n- `ThreeDs`: Requests 3D Secure (3DS) authentication. If the card is enrolled, 3DS authentication will be activated, potentially shifting chargeback liability to the issuer.\n- `NoThreeDs`: Indicates that 3D Secure authentication should not be performed. The liability for chargebacks typically remains with the merchant. This is often the default if not specified.\n\nNote: The actual authentication behavior can also be influenced by merchant configuration and specific connector defaults. Some connectors might still enforce 3DS or bypass it regardless of this parameter.", |
4903 | 4903 | "enum": [
|
4904 | 4904 | "three_ds",
|
4905 | 4905 | "no_three_ds"
|
|
7081 | 7081 | },
|
7082 | 7082 | "CaptureMethod": {
|
7083 | 7083 | "type": "string",
|
7084 |
| - "description": "Default value if not passed is set to 'automatic' which results in Auth and Capture in one single API request. Pass 'manual' or 'manual_multiple' in case you want do a separate Auth and Capture by first authorizing and placing a hold on your customer's funds so that you can use the Payments/Capture endpoint later to capture the authorized amount. Pass 'manual' if you want to only capture the amount later once or 'manual_multiple' if you want to capture the funds multiple times later. Both 'manual' and 'manual_multiple' are only supported by a specific list of processors", |
| 7084 | + "description": "Specifies how the payment is captured.\n- `automatic`: Funds are captured immediately after successful authorization. This is the default behavior if the field is omitted.\n- `manual`: Funds are authorized but not captured. A separate request to the `/payments/{payment_id}/capture` endpoint is required to capture the funds.", |
7085 | 7085 | "enum": [
|
7086 | 7086 | "automatic",
|
7087 | 7087 | "manual",
|
|
7103 | 7103 | "properties": {
|
7104 | 7104 | "capture_id": {
|
7105 | 7105 | "type": "string",
|
7106 |
| - "description": "Unique identifier for the capture" |
| 7106 | + "description": "A unique identifier for this specific capture operation." |
7107 | 7107 | },
|
7108 | 7108 | "status": {
|
7109 | 7109 | "$ref": "#/components/schemas/CaptureStatus"
|
|
7124 | 7124 | },
|
7125 | 7125 | "connector": {
|
7126 | 7126 | "type": "string",
|
7127 |
| - "description": "The connector used for the payment" |
| 7127 | + "description": "The name of the payment connector that processed this capture." |
7128 | 7128 | },
|
7129 | 7129 | "authorized_attempt_id": {
|
7130 | 7130 | "type": "string",
|
7131 |
| - "description": "Unique identifier for the parent attempt on which this capture is made" |
| 7131 | + "description": "The ID of the payment attempt that was successfully authorized and subsequently captured by this operation." |
7132 | 7132 | },
|
7133 | 7133 | "connector_capture_id": {
|
7134 | 7134 | "type": "string",
|
|
7142 | 7142 | },
|
7143 | 7143 | "error_message": {
|
7144 | 7144 | "type": "string",
|
7145 |
| - "description": "If there was an error while calling the connector the error message is received here", |
| 7145 | + "description": "A human-readable message from the connector explaining why this capture operation failed, if applicable.", |
7146 | 7146 | "nullable": true
|
7147 | 7147 | },
|
7148 | 7148 | "error_code": {
|
7149 | 7149 | "type": "string",
|
7150 |
| - "description": "If there was an error while calling the connectors the code is received here", |
| 7150 | + "description": "The error code returned by the connector if this capture operation failed. This code is connector-specific.", |
7151 | 7151 | "nullable": true
|
7152 | 7152 | },
|
7153 | 7153 | "error_reason": {
|
7154 | 7154 | "type": "string",
|
7155 |
| - "description": "If there was an error while calling the connectors the reason is received here", |
| 7155 | + "description": "A more detailed reason from the connector explaining the capture failure, if available.", |
7156 | 7156 | "nullable": true
|
7157 | 7157 | },
|
7158 | 7158 | "reference_id": {
|
7159 | 7159 | "type": "string",
|
7160 |
| - "description": "Reference to the capture at connector side", |
| 7160 | + "description": "The connector's own reference or transaction ID for this specific capture operation. Useful for reconciliation.", |
7161 | 7161 | "nullable": true
|
7162 | 7162 | }
|
7163 | 7163 | }
|
|
9148 | 9148 | },
|
9149 | 9149 | "Currency": {
|
9150 | 9150 | "type": "string",
|
9151 |
| - "description": "The three letter ISO currency code in uppercase. Eg: 'USD' for the United States Dollar.", |
| 9151 | + "description": "The three-letter ISO 4217 currency code (e.g., \"USD\", \"EUR\") for the payment amount. This field is mandatory for creating a payment.", |
9152 | 9152 | "enum": [
|
9153 | 9153 | "AED",
|
9154 | 9154 | "AFN",
|
|
11308 | 11308 | },
|
11309 | 11309 | "FutureUsage": {
|
11310 | 11310 | "type": "string",
|
11311 |
| - "description": "Indicates that you intend to make future payments with the payment methods used for this Payment. Providing this parameter will attach the payment method to the Customer, if present, after the Payment is confirmed and any required actions from the user are complete.\n- On_session - Payment method saved only at hyperswitch when consent is provided by the user. CVV will asked during the returning user payment\n- Off_session - Payment method saved at both hyperswitch and Processor when consent is provided by the user. No input is required during the returning user payment.", |
| 11311 | + "description": "Specifies how the payment method can be used for future payments.\n- `off_session`: The payment method can be used for future payments when the customer is not present.\n- `on_session`: The payment method is intended for use only when the customer is present during checkout.\nIf omitted, defaults to `on_session`.", |
11312 | 11312 | "enum": [
|
11313 | 11313 | "off_session",
|
11314 | 11314 | "on_session"
|
|
12364 | 12364 | },
|
12365 | 12365 | "IntentStatus": {
|
12366 | 12366 | "type": "string",
|
12367 |
| - "description": "The status of the current payment that was made", |
| 12367 | + "description": "Represents the overall status of a payment intent.\nThe status transitions through various states depending on the payment method, confirmation, capture method, and any subsequent actions (like customer authentication or manual capture).", |
12368 | 12368 | "enum": [
|
12369 | 12369 | "succeeded",
|
12370 | 12370 | "failed",
|
|
17959 | 17959 | },
|
17960 | 17960 | "payment_token": {
|
17961 | 17961 | "type": "string",
|
17962 |
| - "description": "Provide a reference to a stored payment method", |
17963 | 17962 | "example": "187282ab-40ef-47a9-9206-5099ba31e432",
|
17964 | 17963 | "nullable": true
|
17965 | 17964 | }
|
|
24028 | 24027 | },
|
24029 | 24028 | "ThreeDsCompletionIndicator": {
|
24030 | 24029 | "type": "string",
|
| 24030 | + "description": "Indicates if 3DS method data was successfully completed or not", |
24031 | 24031 | "enum": [
|
24032 | 24032 | "Y",
|
24033 | 24033 | "N",
|
|
0 commit comments