Docs: Api reference docs update for Payments - Create (#4955)

Co-authored-by: Gorakhnath Yadav <gorakhnath.yadav@Gorakhnath-Yadav-J9J2YJH1J2.local>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Co-authored-by: Sanchith Hegde <22217505+SanchithHegde@users.noreply.github.com>
This commit is contained in:
GORAKHNATH YADAV
2024-06-28 17:02:38 +05:30
committed by GitHub
parent f03dc7a1c9
commit f55cae20af
9 changed files with 666 additions and 151 deletions

View File

@ -350,6 +350,7 @@ Never share your secret api keys. Keep them guarded and secure.
api_models::payments::PaymentsUpdateRequest,
api_models::payments::PaymentsConfirmRequest,
api_models::payments::PaymentsResponse,
api_models::payments::PaymentsCreateResponseOpenApi,
api_models::payments::PaymentsStartRequest,
api_models::payments::PaymentRetrieveBody,
api_models::payments::PaymentsRetrieveRequest,

View File

@ -191,7 +191,7 @@
),
),
responses(
(status = 200, description = "Payment created", body = PaymentsResponse),
(status = 200, description = "Payment created", body = PaymentsCreateResponseOpenApi),
(status = 400, description = "Missing Mandatory fields")
),
tag = "Payments",
@ -268,7 +268,7 @@ pub fn payments_retrieve() {}
)
),
responses(
(status = 200, description = "Payment updated", body = PaymentsResponse),
(status = 200, description = "Payment updated", body = PaymentsCreateResponseOpenApi),
(status = 400, description = "Missing mandatory fields")
),
tag = "Payments",
@ -326,7 +326,7 @@ pub fn payments_update() {}
)
),
responses(
(status = 200, description = "Payment confirmed", body = PaymentsResponse),
(status = 200, description = "Payment confirmed", body = PaymentsCreateResponseOpenApi),
(status = 400, description = "Missing mandatory fields")
),
tag = "Payments",