|
6780 | 6780 | }
|
6781 | 6781 | }
|
6782 | 6782 | },
|
| 6783 | + "BillingConnectorAdditionalCardInfo": { |
| 6784 | + "type": "object", |
| 6785 | + "required": [ |
| 6786 | + "card_network" |
| 6787 | + ], |
| 6788 | + "properties": { |
| 6789 | + "card_network": { |
| 6790 | + "$ref": "#/components/schemas/CardNetwork" |
| 6791 | + }, |
| 6792 | + "card_issuer": { |
| 6793 | + "type": "string", |
| 6794 | + "description": "Card Issuer", |
| 6795 | + "example": "JP MORGAN CHASE", |
| 6796 | + "nullable": true |
| 6797 | + } |
| 6798 | + } |
| 6799 | + }, |
6783 | 6800 | "BillingConnectorPaymentDetails": {
|
6784 | 6801 | "type": "object",
|
6785 | 6802 | "required": [
|
|
6797 | 6814 | }
|
6798 | 6815 | }
|
6799 | 6816 | },
|
| 6817 | + "BillingConnectorPaymentMethodDetails": { |
| 6818 | + "oneOf": [ |
| 6819 | + { |
| 6820 | + "type": "object", |
| 6821 | + "required": [ |
| 6822 | + "type", |
| 6823 | + "value" |
| 6824 | + ], |
| 6825 | + "properties": { |
| 6826 | + "type": { |
| 6827 | + "type": "string", |
| 6828 | + "enum": [ |
| 6829 | + "card" |
| 6830 | + ] |
| 6831 | + }, |
| 6832 | + "value": { |
| 6833 | + "$ref": "#/components/schemas/BillingConnectorAdditionalCardInfo" |
| 6834 | + } |
| 6835 | + } |
| 6836 | + } |
| 6837 | + ], |
| 6838 | + "discriminator": { |
| 6839 | + "propertyName": "type" |
| 6840 | + } |
| 6841 | + }, |
6800 | 6842 | "BlikBankRedirectAdditionalData": {
|
6801 | 6843 | "type": "object",
|
6802 | 6844 | "properties": {
|
@@ -13400,16 +13442,17 @@
|
13400 | 13442 | },
|
13401 | 13443 | "MerchantConnectorDetails": {
|
13402 | 13444 | "type": "object",
|
| 13445 | + "required": [ |
| 13446 | + "connector_name", |
| 13447 | + "merchant_connector_creds" |
| 13448 | + ], |
13403 | 13449 | "properties": {
|
13404 |
| - "connector_account_details": { |
13405 |
| - "type": "object", |
13406 |
| - "description": "Account details of the Connector. You can specify up to 50 keys, with key names up to 40 characters long and values up to 500 characters long. Useful for storing additional, structured information on an object.", |
13407 |
| - "nullable": true |
| 13450 | + "connector_name": { |
| 13451 | + "$ref": "#/components/schemas/Connector" |
13408 | 13452 | },
|
13409 |
| - "metadata": { |
| 13453 | + "merchant_connector_creds": { |
13410 | 13454 | "type": "object",
|
13411 |
| - "description": "Metadata is useful for storing additional, unstructured information on an object.", |
13412 |
| - "nullable": true |
| 13455 | + "description": "The merchant connector credentials used for the payment" |
13413 | 13456 | }
|
13414 | 13457 | }
|
13415 | 13458 | },
|
|
17854 | 17897 | "billing_connector_payment_details",
|
17855 | 17898 | "payment_method_type",
|
17856 | 17899 | "payment_method_subtype",
|
17857 |
| - "connector" |
| 17900 | + "connector", |
| 17901 | + "billing_connector_payment_method_details" |
17858 | 17902 | ],
|
17859 | 17903 | "properties": {
|
17860 | 17904 | "total_retry_count": {
|
@@ -17894,11 +17938,32 @@
|
17894 | 17938 | "connector": {
|
17895 | 17939 | "$ref": "#/components/schemas/Connector"
|
17896 | 17940 | },
|
| 17941 | + "billing_connector_payment_method_details": { |
| 17942 | + "$ref": "#/components/schemas/BillingConnectorPaymentMethodDetails" |
| 17943 | + }, |
17897 | 17944 | "invoice_next_billing_time": {
|
17898 | 17945 | "type": "string",
|
17899 | 17946 | "format": "date-time",
|
17900 | 17947 | "description": "Invoice Next billing time",
|
17901 | 17948 | "nullable": true
|
| 17949 | + }, |
| 17950 | + "first_payment_attempt_pg_error_code": { |
| 17951 | + "type": "string", |
| 17952 | + "description": "First Payment Attempt Payment Gateway Error Code", |
| 17953 | + "example": "card_declined", |
| 17954 | + "nullable": true |
| 17955 | + }, |
| 17956 | + "first_payment_attempt_network_decline_code": { |
| 17957 | + "type": "string", |
| 17958 | + "description": "First Payment Attempt Network Error Code", |
| 17959 | + "example": "05", |
| 17960 | + "nullable": true |
| 17961 | + }, |
| 17962 | + "first_payment_attempt_network_advice_code": { |
| 17963 | + "type": "string", |
| 17964 | + "description": "First Payment Attempt Network Advice Code", |
| 17965 | + "example": "02", |
| 17966 | + "nullable": true |
17902 | 17967 | }
|
17903 | 17968 | }
|
17904 | 17969 | },
|
|
18027 | 18092 | "type": "string",
|
18028 | 18093 | "example": "187282ab-40ef-47a9-9206-5099ba31e432",
|
18029 | 18094 | "nullable": true
|
| 18095 | + }, |
| 18096 | + "merchant_connector_details": { |
| 18097 | + "allOf": [ |
| 18098 | + { |
| 18099 | + "$ref": "#/components/schemas/MerchantConnectorDetails" |
| 18100 | + } |
| 18101 | + ], |
| 18102 | + "nullable": true |
18030 | 18103 | }
|
18031 | 18104 | },
|
18032 | 18105 | "additionalProperties": false
|
|
18224 | 18297 | "type": "boolean",
|
18225 | 18298 | "description": "Indicates if 3ds challenge is forced",
|
18226 | 18299 | "nullable": true
|
| 18300 | + }, |
| 18301 | + "merchant_connector_details": { |
| 18302 | + "allOf": [ |
| 18303 | + { |
| 18304 | + "$ref": "#/components/schemas/MerchantConnectorDetails" |
| 18305 | + } |
| 18306 | + ], |
| 18307 | + "nullable": true |
18227 | 18308 | }
|
18228 | 18309 | },
|
18229 | 18310 | "additionalProperties": false
|
|
19010 | 19091 | "type": "boolean",
|
19011 | 19092 | "description": "Indicates if the redirection has to open in the iframe",
|
19012 | 19093 | "nullable": true
|
| 19094 | + }, |
| 19095 | + "merchant_connector_details": { |
| 19096 | + "allOf": [ |
| 19097 | + { |
| 19098 | + "$ref": "#/components/schemas/MerchantConnectorDetails" |
| 19099 | + } |
| 19100 | + ], |
| 19101 | + "nullable": true |
19013 | 19102 | }
|
19014 | 19103 | },
|
19015 | 19104 | "additionalProperties": false
|
@@ -19186,12 +19275,20 @@
|
19186 | 19275 | "type": "boolean",
|
19187 | 19276 | "description": "Indicates if the redirection has to open in the iframe",
|
19188 | 19277 | "nullable": true
|
| 19278 | + }, |
| 19279 | + "merchant_reference_id": { |
| 19280 | + "type": "string", |
| 19281 | + "description": "Unique identifier for the payment. This ensures idempotency for multiple payments\nthat have been done by a single merchant.", |
| 19282 | + "example": "pay_mbabizu24mvu3mela5njyhpit4", |
| 19283 | + "nullable": true, |
| 19284 | + "maxLength": 30, |
| 19285 | + "minLength": 30 |
19189 | 19286 | }
|
19190 | 19287 | }
|
19191 | 19288 | },
|
19192 | 19289 | "PaymentsRetrieveRequest": {
|
19193 | 19290 | "type": "object",
|
19194 |
| - "description": "Request for Payment Status", |
| 19291 | + "description": "Request body for Payment Status", |
19195 | 19292 | "properties": {
|
19196 | 19293 | "force_sync": {
|
19197 | 19294 | "type": "boolean",
|
|
19210 | 19307 | "type": "boolean",
|
19211 | 19308 | "description": "If enabled, provides whole connector response",
|
19212 | 19309 | "nullable": true
|
| 19310 | + }, |
| 19311 | + "merchant_connector_details": { |
| 19312 | + "allOf": [ |
| 19313 | + { |
| 19314 | + "$ref": "#/components/schemas/MerchantConnectorDetails" |
| 19315 | + } |
| 19316 | + ], |
| 19317 | + "nullable": true |
19213 | 19318 | }
|
19214 | 19319 | }
|
19215 | 19320 | },
|
|
19244 | 19349 | }
|
19245 | 19350 | }
|
19246 | 19351 | },
|
| 19352 | + "PaymentsStatusRequest": { |
| 19353 | + "type": "object", |
| 19354 | + "description": "Request for Payment Status", |
| 19355 | + "properties": { |
| 19356 | + "force_sync": { |
| 19357 | + "type": "boolean", |
| 19358 | + "description": "A boolean used to indicate if the payment status should be fetched from the connector\nIf this is set to true, the status will be fetched from the connector" |
| 19359 | + }, |
| 19360 | + "expand_attempts": { |
| 19361 | + "type": "boolean", |
| 19362 | + "description": "A boolean used to indicate if all the attempts needs to be fetched for the intent.\nIf this is set to true, attempts list will be available in the response." |
| 19363 | + }, |
| 19364 | + "param": { |
| 19365 | + "type": "string", |
| 19366 | + "description": "These are the query params that are sent in case of redirect response.\nThese can be ingested by the connector to take necessary actions.", |
| 19367 | + "nullable": true |
| 19368 | + }, |
| 19369 | + "all_keys_required": { |
| 19370 | + "type": "boolean", |
| 19371 | + "description": "If enabled, provides whole connector response", |
| 19372 | + "nullable": true |
| 19373 | + } |
| 19374 | + } |
| 19375 | + }, |
19247 | 19376 | "PaymentsUpdateIntentRequest": {
|
19248 | 19377 | "type": "object",
|
19249 | 19378 | "properties": {
|
|
0 commit comments