From b899ef3bb489fb21f13f17b834ba36a34bf90b44 Mon Sep 17 00:00:00 2001 From: shashank_attarde Date: Wed, 4 Oct 2023 20:33:52 +0530 Subject: [PATCH] fix: update openapi spec --- openapi/openapi_spec.json | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/openapi/openapi_spec.json b/openapi/openapi_spec.json index efa7ebb32cfe..355b59f48205 100644 --- a/openapi/openapi_spec.json +++ b/openapi/openapi_spec.json @@ -8080,6 +8080,14 @@ "merchant_name": { "type": "string", "nullable": true + }, + "payment_type": { + "allOf": [ + { + "$ref": "#/components/schemas/api_enums.PaymentType" + } + ], + "nullable": true } } }, @@ -8395,7 +8403,8 @@ "type": "object", "required": [ "amount", - "currency" + "currency", + "payment_type" ], "properties": { "payment_id": { @@ -8731,6 +8740,9 @@ "type": "string", "description": "The business profile to use for this payment, if not passed the default business profile\nassociated with the merchant account will be used.", "nullable": true + }, + "payment_type": { + "$ref": "#/components/schemas/api_enums.PaymentType" } } }, @@ -9070,6 +9082,9 @@ "type": "string", "description": "The business profile to use for this payment, if not passed the default business profile\nassociated with the merchant account will be used.", "nullable": true + }, + "payment_type": { + "$ref": "#/components/schemas/api_enums.PaymentType" } } },