mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 09:07:09 +08:00
feat(payment_methods): add external_vault_details for payments v2 sdk session call (#8003)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -8110,6 +8110,7 @@
|
||||
"gpayments",
|
||||
"hipay",
|
||||
"helcim",
|
||||
"hyperswitch_vault",
|
||||
"inespay",
|
||||
"iatapay",
|
||||
"itaubank",
|
||||
@ -10712,6 +10713,14 @@
|
||||
"type": "string",
|
||||
"description": "Merchant Connector id to be stored for vault connector",
|
||||
"nullable": true
|
||||
},
|
||||
"vault_sdk": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/VaultSdk"
|
||||
}
|
||||
],
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -12210,6 +12219,33 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"HyperswitchVaultSessionDetails": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"payment_method_session_id",
|
||||
"client_secret",
|
||||
"publishable_key",
|
||||
"profile_id"
|
||||
],
|
||||
"properties": {
|
||||
"payment_method_session_id": {
|
||||
"type": "string",
|
||||
"description": "Session ID for Hyperswitch Vault"
|
||||
},
|
||||
"client_secret": {
|
||||
"type": "string",
|
||||
"description": "Client secret for Hyperswitch Vault"
|
||||
},
|
||||
"publishable_key": {
|
||||
"type": "string",
|
||||
"description": "Publishable key for Hyperswitch Vault"
|
||||
},
|
||||
"profile_id": {
|
||||
"type": "string",
|
||||
"description": "Profile ID for Hyperswitch Vault"
|
||||
}
|
||||
}
|
||||
},
|
||||
"IfStatement": {
|
||||
"type": "object",
|
||||
"description": "Represents an IF statement with conditions and optional nested IF statements\n\n```text\npayment.method = card {\npayment.method.cardtype = (credit, debit) {\npayment.method.network = (amex, rupay, diners)\n}\n}\n```",
|
||||
@ -18824,6 +18860,14 @@
|
||||
"$ref": "#/components/schemas/SessionToken"
|
||||
},
|
||||
"description": "The list of session token object"
|
||||
},
|
||||
"vault_details": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/VaultSessionDetails"
|
||||
}
|
||||
],
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -24333,6 +24377,39 @@
|
||||
"propertyName": "type"
|
||||
}
|
||||
},
|
||||
"VaultSdk": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"vgs_sdk",
|
||||
"hyperswitch_sdk"
|
||||
]
|
||||
},
|
||||
"VaultSessionDetails": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "object",
|
||||
"required": [
|
||||
"vgs"
|
||||
],
|
||||
"properties": {
|
||||
"vgs": {
|
||||
"$ref": "#/components/schemas/VgsSessionDetails"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"required": [
|
||||
"hyperswitch_vault"
|
||||
],
|
||||
"properties": {
|
||||
"hyperswitch_vault": {
|
||||
"$ref": "#/components/schemas/HyperswitchVaultSessionDetails"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"Venmo": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
@ -24358,6 +24435,23 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"VgsSessionDetails": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"external_vault_id",
|
||||
"sdk_env"
|
||||
],
|
||||
"properties": {
|
||||
"external_vault_id": {
|
||||
"type": "string",
|
||||
"description": "The identifier of the external vault"
|
||||
},
|
||||
"sdk_env": {
|
||||
"type": "string",
|
||||
"description": "The environment for the external vault initiation"
|
||||
}
|
||||
}
|
||||
},
|
||||
"VoucherData": {
|
||||
"oneOf": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user