From 73a848f69a651c687ccaef3662c8fdb36fa0b906 Mon Sep 17 00:00:00 2001 From: Alessandro Digilio Date: Mon, 22 Dec 2025 12:44:55 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20align=20code=20and=20openapi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- openapi.json | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/openapi.json b/openapi.json index b14665f..f31d11d 100644 --- a/openapi.json +++ b/openapi.json @@ -284,26 +284,27 @@ "schema": { "type": "object", "properties": { - "paymentMethodId": { + "tokenId": { "type": "string", "format": "uuid", - "description": "ID of the payment method to use for the payment. If not specified, the customer's default payment method is used, if present." - }, + "description": "ID of the tokenized payment method to use for the charge." + } }, "required": [ - "paymentMethodId" + "tokenId" ], "oneOf": [ { "title": "Existing payment request", "properties": { - "intentId": { + "paymentRequestId": { "type": "string", - "format": "uuid" + "format": "uuid", + "description": "UUID of the existing payment request to charge." } }, "required": [ - "intentId" + "paymentRequestId" ] }, { @@ -3114,7 +3115,7 @@ "card", "bancomat_pay" ] - }, + } }, "oneOf": [ {