diff --git a/dist/paystack.yaml b/dist/paystack.yaml index 699e320..777a170 100644 --- a/dist/paystack.yaml +++ b/dist/paystack.yaml @@ -4272,6 +4272,7 @@ paths: tags: - Integration summary: Fetch Payment Session Timeout + description: Fetch the session timeout of a transaction operationId: integration_fetchPaymentSessionTimeout responses: '200': @@ -4290,6 +4291,7 @@ paths: tags: - Integration summary: Update Payment Session Timeout + description: Update the session timeout of a transaction operationId: integration_updatePaymentSessionTimeout requestBody: content: @@ -16122,8 +16124,8 @@ components: properties: timeout: description: Time in seconds before a transaction becomes invalid - type: string - example: '30' + type: integer + example: 30 ControlPanelUpdatePaymentSessionTimeoutResponse: type: object properties: diff --git a/src/assets/openapi/components/schemas/PaymentSession.yaml b/src/assets/openapi/components/schemas/PaymentSession.yaml index ae57d41..8c5f718 100644 --- a/src/assets/openapi/components/schemas/PaymentSession.yaml +++ b/src/assets/openapi/components/schemas/PaymentSession.yaml @@ -4,5 +4,5 @@ required: properties: timeout: description: Time in seconds before a transaction becomes invalid - type: string - example: '30' + type: integer + example: 30 diff --git a/src/assets/openapi/paths/integration_payment_session_timeout.yaml b/src/assets/openapi/paths/integration_payment_session_timeout.yaml index b9f1968..25f68a0 100644 --- a/src/assets/openapi/paths/integration_payment_session_timeout.yaml +++ b/src/assets/openapi/paths/integration_payment_session_timeout.yaml @@ -2,6 +2,7 @@ get: tags: - Integration summary: Fetch Payment Session Timeout + description: Fetch the session timeout of a transaction operationId: integration_fetchPaymentSessionTimeout responses: '200': @@ -21,6 +22,7 @@ put: tags: - Integration summary: Update Payment Session Timeout + description: Update the session timeout of a transaction operationId: integration_updatePaymentSessionTimeout requestBody: content: