mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
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:
@ -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,
|
||||
|
||||
@ -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",
|
||||
|
||||
Reference in New Issue
Block a user