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

@ -19,6 +19,7 @@ pub mod diesel_exports {
};
}
/// The status of the attempt
#[derive(
Clone,
Copy,
@ -205,6 +206,7 @@ impl AttemptStatus {
}
}
/// Pass this parameter to force 3DS or non 3DS auth for this payment. Some connectors will still force 3DS auth even in case of passing 'no_three_ds' here and vice versa. Default value is 'no_three_ds' if not set
#[derive(
Clone,
Copy,
@ -232,6 +234,7 @@ pub enum AuthenticationType {
NoThreeDs,
}
/// The status of the capture
#[derive(
Clone,
Copy,
@ -308,6 +311,7 @@ pub enum BlocklistDataKind {
ExtendedCardBin,
}
/// Default value if not passed is set to 'automatic' which results in Auth and Capture in one single API request. Pass 'manual' or 'manual_multiple' in case you want do a separate Auth and Capture by first authorizing and placing a hold on your customer's funds so that you can use the Payments/Capture endpoint later to capture the authorized amount. Pass 'manual' if you want to only capture the amount later once or 'manual_multiple' if you want to capture the funds multiple times later. Both 'manual' and 'manual_multiple' are only supported by a specific list of processors
#[derive(
Clone,
Copy,
@ -1164,6 +1168,7 @@ pub enum MerchantStorageScheme {
RedisKv,
}
/// The status of the current payment that was made
#[derive(
Clone,
Copy,
@ -1197,6 +1202,7 @@ pub enum IntentStatus {
PartiallyCapturedAndCapturable,
}
/// Indicates that you intend to make future payments with this Payments payment method. Providing this parameter will attach the payment method to the Customer, if present, after the Payment is confirmed and any required actions from the user are complete.
#[derive(
Clone,
Copy,
@ -1251,6 +1257,7 @@ pub enum PaymentMethodIssuerCode {
JpBacs,
}
/// Payment Method Status
#[derive(
Clone,
Copy,
@ -1603,6 +1610,7 @@ pub enum CardNetwork {
Maestro,
}
/// Stage of the dispute
#[derive(
Clone,
Copy,
@ -1627,6 +1635,7 @@ pub enum DisputeStage {
PreArbitration,
}
/// Status of the dispute
#[derive(
Clone,
Debug,
@ -2499,6 +2508,7 @@ pub enum RoleScope {
Organization,
}
/// Indicates the transaction status
#[derive(
Clone,
Default,