You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api-reference/openapi_spec.json
+15-17Lines changed: 15 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -7817,7 +7817,7 @@
7817
7817
},
7818
7818
"ChargeRefunds": {
7819
7819
"type": "object",
7820
-
"description": "Charge object for refunds",
7820
+
"description": "Charge specific fields for controlling the revert of funds from either platform or connected account. Check sub-fields for more details.",
7821
7821
"required": [
7822
7822
"charge_id"
7823
7823
],
@@ -16251,13 +16251,6 @@
16251
16251
"example": true,
16252
16252
"nullable": true
16253
16253
},
16254
-
"capture_on": {
16255
-
"type": "string",
16256
-
"format": "date-time",
16257
-
"description": "A timestamp (ISO 8601 code) that determines when the payment should be captured.\nProviding this field will automatically set `capture` to true",
16258
-
"example": "2022-09-10T10:11:12Z",
16259
-
"nullable": true
16260
-
},
16261
16254
"capture_method": {
16262
16255
"allOf": [
16263
16256
{
@@ -18313,7 +18306,8 @@
18313
18306
}
18314
18307
}
18315
18308
}
18316
-
]
18309
+
],
18310
+
"description": "Custom payout link config for the particular payout, if payout link is to be generated."
18317
18311
},
18318
18312
"PayoutCreateRequest": {
18319
18313
"type": "object",
@@ -18332,15 +18326,15 @@
18332
18326
"properties": {
18333
18327
"payout_id": {
18334
18328
"type": "string",
18335
-
"description": "Unique identifier for the payout. This ensures idempotency for multiple payouts\nthat have been done by a single merchant. This field is auto generated and is returned in the API response.",
18329
+
"description": "Unique identifier for the payout. This ensures idempotency for multiple payouts that have been done by a single merchant. This field is auto generated and is returned in the API response, **not required to be included in the Payout Create/Update Request.**",
18336
18330
"example": "payout_mbabizu24mvu3mela5njyhpit4",
18337
18331
"nullable": true,
18338
18332
"maxLength": 30,
18339
18333
"minLength": 30
18340
18334
},
18341
18335
"merchant_id": {
18342
18336
"type": "string",
18343
-
"description": "This is an identifier for the merchant account. This is inferred from the API key\nprovided during the request",
18337
+
"description": "This is an identifier for the merchant account. This is inferred from the API key provided during the request, **not required to be included in the Payout Create/Update Request.**",
18344
18338
"example": "merchant_1668273825",
18345
18339
"nullable": true,
18346
18340
"maxLength": 255
@@ -18367,7 +18361,7 @@
18367
18361
"items": {
18368
18362
"$ref": "#/components/schemas/PayoutConnectors"
18369
18363
},
18370
-
"description": "This allows the merchant to manually select a connector with which the payout can go through",
18364
+
"description": "This field allows the merchant to manually select a connector with which the payout can go through.",
18371
18365
"example": [
18372
18366
"wise",
18373
18367
"adyen"
@@ -18376,7 +18370,7 @@
18376
18370
},
18377
18371
"confirm": {
18378
18372
"type": "boolean",
18379
-
"description": "The boolean value to create payout with connector",
18373
+
"description": "This field is used when merchant wants to confirm the payout, thus useful for the payout _Confirm_ request. Ideally merchants should _Create_ a payout, _Update_ it (if required), then _Confirm_ it.",
18380
18374
"default": false,
18381
18375
"example": true
18382
18376
},
@@ -18477,21 +18471,21 @@
18477
18471
},
18478
18472
"payout_token": {
18479
18473
"type": "string",
18480
-
"description": "Provide a reference to a stored payout method",
18474
+
"description": "Provide a reference to a stored payout method, used to process the payout.",
"description": "The business profile to use for this payout, if not passed the default business profile\nassociated with the merchant account will be used.",
18480
+
"description": "The business profile to use for this payout, especially if there are multiple business profiles associated with the account, otherwise default business profile associated with the merchant account will be used.",
18487
18481
"nullable": true
18488
18482
},
18489
18483
"priority": {
18490
18484
"$ref": "#/components/schemas/PayoutSendPriority"
18491
18485
},
18492
18486
"payout_link": {
18493
18487
"type": "boolean",
18494
-
"description": "Whether to get the payout link (if applicable)",
18488
+
"description": "Whether to get the payout link (if applicable). Merchant need to specify this during the Payout _Create_, this field can not be updated during Payout _Update_.",
18495
18489
"default": false,
18496
18490
"example": true,
18497
18491
"nullable": true
@@ -18713,6 +18707,7 @@
18713
18707
},
18714
18708
"PayoutEntityType": {
18715
18709
"type": "string",
18710
+
"description": "Type of entity to whom the payout is being carried out to, select from the given list of options",
18716
18711
"enum": [
18717
18712
"Individual",
18718
18713
"Company",
@@ -18953,7 +18948,8 @@
18953
18948
}
18954
18949
}
18955
18950
}
18956
-
]
18951
+
],
18952
+
"description": "The payout method information required for carrying out a payout"
18957
18953
},
18958
18954
"PayoutRequest": {
18959
18955
"oneOf": [
@@ -19034,6 +19030,7 @@
19034
19030
},
19035
19031
"PayoutSendPriority": {
19036
19032
"type": "string",
19033
+
"description": "The send method which will be required for processing payouts, check options for better understanding.",
19037
19034
"enum": [
19038
19035
"instant",
19039
19036
"fast",
@@ -19063,6 +19060,7 @@
19063
19060
},
19064
19061
"PayoutType": {
19065
19062
"type": "string",
19063
+
"description": "The payout_type of the payout request is a mandatory field for confirming the payouts. It should be specified in the Create request. If not provided, it must be updated in the Payout Update request before it can be confirmed.",
/// This is the instruction for capture/ debit the money from the users' card. On the other hand authorization refers to blocking the amount on the users' payment method.
/// Unique identifier for the payout. This ensures idempotency for multiple payouts
25
-
/// that have been done by a single merchant. This field is auto generated and is returned in the API response.
24
+
/// Unique identifier for the payout. This ensures idempotency for multiple payouts that have been done by a single merchant. This field is auto generated and is returned in the API response, **not required to be included in the Payout Create/Update Request.**
/// This is an identifier for the merchant account. This is inferred from the API key
35
-
/// provided during the request
33
+
/// This is an identifier for the merchant account. This is inferred from the API key provided during the request, **not required to be included in the Payout Create/Update Request.**
36
34
#[schema(max_length = 255, value_type = Option<String>, example = "merchant_1668273825")]
/// The boolean value to create payout with connector
57
+
/// This field is used when merchant wants to confirm the payout, thus useful for the payout _Confirm_ request. Ideally merchants should _Create_ a payout, _Update_ it (if required), then _Confirm_ it.
60
58
#[schema(value_type = bool, example = true,default = false)]
61
59
pubconfirm:Option<bool>,
62
60
63
-
/// The payout_type of the payout request can be specified here
61
+
/// The payout_type of the payout request can be specified here, this is a mandatory field to _Confirm_ the payout, i.e., should be passed in _Create_ request, if not then should be updated in the payout _Update_ request, then only it can be confirmed.
64
62
#[schema(value_type = PayoutType, example = "card")]
/// The business profile to use for this payout, if not passed the default business profile
149
-
/// associated with the merchant account will be used.
146
+
/// The business profile to use for this payout, especially if there are multiple business profiles associated with the account, otherwise default business profile associated with the merchant account will be used.
150
147
pubprofile_id:Option<String>,
151
148
152
-
/// The send method for processing payouts
149
+
/// The send method which will be required for processing payouts, check options for better understanding.
153
150
#[schema(value_type = PayoutSendPriority, example = "instant")]
/// Whether to get the payout link (if applicable)
153
+
/// Whether to get the payout link (if applicable). Merchant need to specify this during the Payout _Create_, this field can not be updated during Payout _Update_.
157
154
#[schema(default = false, example = true)]
158
155
pubpayout_link:Option<bool>,
159
156
160
-
/// custom payout link config for the particular payout
157
+
/// Custom payout link config for the particular payout, if payout link is to be generated.
Copy file name to clipboardExpand all lines: crates/common_enums/src/enums.rs
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2310,6 +2310,7 @@ pub enum PayoutStatus {
2310
2310
RequiresVendorAccountCreation,
2311
2311
}
2312
2312
2313
+
/// The payout_type of the payout request is a mandatory field for confirming the payouts. It should be specified in the Create request. If not provided, it must be updated in the Payout Update request before it can be confirmed.
2313
2314
#[derive(
2314
2315
Clone,
2315
2316
Copy,
@@ -2336,6 +2337,7 @@ pub enum PayoutType {
2336
2337
Wallet,
2337
2338
}
2338
2339
2340
+
/// Type of entity to whom the payout is being carried out to, select from the given list of options
2339
2341
#[derive(
2340
2342
Clone,
2341
2343
Copy,
@@ -2369,6 +2371,7 @@ pub enum PayoutEntityType {
2369
2371
Personal,
2370
2372
}
2371
2373
2374
+
/// The send method which will be required for processing payouts, check options for better understanding.
0 commit comments