Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(payment_methods_session_v2): update flow of Payment Method Session #7157

Open
wants to merge 5 commits into
base: payment_methods_session
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
openapi changes
  • Loading branch information
ShivanshMathurJuspay committed Feb 3, 2025
commit be7e5f12b790f4140754d11bcc3e1af31195e8d4
68 changes: 39 additions & 29 deletions api-reference-v2/openapi_spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -2516,6 +2516,45 @@
"ephemeral_key": []
}
]
},
"put": {
"tags": [
"Payment Method Session"
],
"summary": "Payment Method Session - Update",
"description": "Update the payment method session",
"operationId": "Update the payment method session",
"parameters": [
{
"name": "id",
"in": "path",
"description": "The unique identifier for the Payment Method Session",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "The payment method session is updated successfully",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PaymentMethodsSessionResponse"
}
}
}
},
"404": {
"description": "The request is invalid"
}
},
"security": [
{
"ephemeral_key": []
}
]
}
},
"/v2/payment-method-session/:id/list-payment-methods": {
Expand Down Expand Up @@ -14585,35 +14624,6 @@
}
}
},
"PaymentMethodsSessionUpdateRequest": {
"type": "object",
"properties": {
"billing": {
"allOf": [
{
"$ref": "#/components/schemas/Address"
}
],
"nullable": true
},
"psp_tokenization": {
"allOf": [
{
"$ref": "#/components/schemas/PspTokenization"
}
],
"nullable": true
},
"network_tokenization": {
"allOf": [
{
"$ref": "#/components/schemas/NetworkTokenization"
}
],
"nullable": true
}
}
},
"PaymentProcessingDetails": {
"type": "object",
"required": [
Expand Down
Loading