payabli 3.0.10 → 3.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.fern/metadata.json +4 -4
- data/lib/payabli/client.rb +1 -1
- data/lib/payabli/money_out/client.rb +88 -6
- data/lib/payabli/money_out/types/payout_request.rb +23 -0
- data/lib/payabli/money_out/types/request_out_authorize.rb +1 -23
- data/lib/payabli/ocr/client.rb +16 -13
- data/lib/payabli/ocr/types/ocr_document_form_request.rb +11 -0
- data/lib/payabli/ocr/types/ocr_document_json_request.rb +19 -0
- data/lib/payabli/types/authorize_payout_body.rb +31 -0
- data/lib/payabli/types/bill_details_response.rb +4 -0
- data/lib/payabli/types/bill_query_record_2.rb +4 -0
- data/lib/payabli/types/bill_response_data.rb +4 -0
- data/lib/payabli/types/query_payout_transaction_records_item.rb +2 -0
- data/lib/payabli/types/query_summary.rb +1 -1
- data/lib/payabli/version.rb +1 -1
- data/lib/payabli.rb +4 -1
- data/reference.md +155 -80
- data/wiremock/wiremock-mappings.json +59 -33
- metadata +6 -3
- data/lib/payabli/types/file_content_image_only.rb +0 -15
data/reference.md
CHANGED
|
@@ -9090,10 +9090,13 @@ See [Filters and Conditions Reference](/developers/developer-guides/pay-ops-repo
|
|
|
9090
9090
|
- `chargebackDate` (gt, ge, lt, le, eq, ne)
|
|
9091
9091
|
- `transId` (ne, eq, ct, nct)
|
|
9092
9092
|
- `method` (in, nin, eq, ne)
|
|
9093
|
+
- `amount` (gt, ge, lt, le, eq, ne): the chargeback or return's own amount (the top-level `netAmount` in the response), unlike `netAmount`, which matches the original transaction's net
|
|
9094
|
+
- `totalAmount` (gt, ge, lt, le, eq, ne): the original transaction's gross amount, including service and pending fees (`transaction.totalAmount` in the response)
|
|
9093
9095
|
- `netAmount` (gt, ge, lt, le, eq, ne)
|
|
9094
9096
|
- `reasonCode` (in, nin, eq, ne)
|
|
9095
9097
|
- `reason` (ct, nct, eq, ne)
|
|
9096
9098
|
- `replyDate` (gt, ge, lt, le, eq, ne)
|
|
9099
|
+
- `replyBy` (gt, ge, lt, le, eq, ne): alias of `replyDate`, matching the `replyBy` field in the response
|
|
9097
9100
|
- `caseNumber` (ct, nct, eq, ne)
|
|
9098
9101
|
- `status` (in, nin, eq, ne)
|
|
9099
9102
|
- `accountType` (in, nin, eq, ne)
|
|
@@ -9148,7 +9151,7 @@ Example: `netAmount(gt)=20` returns all records with a `netAmount` greater than
|
|
|
9148
9151
|
<dl>
|
|
9149
9152
|
<dd>
|
|
9150
9153
|
|
|
9151
|
-
**sort_by:** `String` — The field name to use for sorting results. Use `desc(field_name)` to sort descending by `field_name`, and use `asc(field_name)` to sort ascending by `field_name`.
|
|
9154
|
+
**sort_by:** `String` — The field name to use for sorting results. Use `desc(field_name)` to sort descending by `field_name`, and use `asc(field_name)` to sort ascending by `field_name`. For this endpoint, you can also sort by `amount` and `totalAmount`.
|
|
9152
9155
|
|
|
9153
9156
|
</dd>
|
|
9154
9157
|
</dl>
|
|
@@ -9268,10 +9271,13 @@ Collection of field names, conditions, and values used to filter the query.
|
|
|
9268
9271
|
- `chargebackDate` (gt, ge, lt, le, eq, ne)
|
|
9269
9272
|
- `transId` (ne, eq, ct, nct)
|
|
9270
9273
|
- `method` (in, nin, eq, ne)
|
|
9274
|
+
- `amount` (gt, ge, lt, le, eq, ne): the chargeback or return's own amount (the top-level `netAmount` in the response), unlike `netAmount`, which matches the original transaction's net
|
|
9275
|
+
- `totalAmount` (gt, ge, lt, le, eq, ne): the original transaction's gross amount, including service and pending fees (`transaction.totalAmount` in the response)
|
|
9271
9276
|
- `netAmount` (gt, ge, lt, le, eq, ne)
|
|
9272
9277
|
- `reasonCode` (in, nin, eq, ne)
|
|
9273
9278
|
- `reason` (ct, nct, eq, ne)
|
|
9274
9279
|
- `replyDate` (gt, ge, lt, le, eq, ne)
|
|
9280
|
+
- `replyBy` (gt, ge, lt, le, eq, ne): alias of `replyDate`, matching the `replyBy` field in the response
|
|
9275
9281
|
- `caseNumber` (ct, nct, eq, ne)
|
|
9276
9282
|
- `status` (in, nin, eq, ne)
|
|
9277
9283
|
- `accountType` (in, nin, eq, ne)
|
|
@@ -9327,7 +9333,7 @@ Example: `netAmount(gt)=20` returns all records with a `netAmount` greater than
|
|
|
9327
9333
|
<dl>
|
|
9328
9334
|
<dd>
|
|
9329
9335
|
|
|
9330
|
-
**sort_by:** `String` — The field name to use for sorting results. Use `desc(field_name)` to sort descending by `field_name`, and use `asc(field_name)` to sort ascending by `field_name`.
|
|
9336
|
+
**sort_by:** `String` — The field name to use for sorting results. Use `desc(field_name)` to sort descending by `field_name`, and use `asc(field_name)` to sort ascending by `field_name`. For this endpoint, you can also sort by `amount` and `totalAmount`.
|
|
9331
9337
|
|
|
9332
9338
|
</dd>
|
|
9333
9339
|
</dl>
|
|
@@ -10908,6 +10914,7 @@ Accepted field names:
|
|
|
10908
10914
|
- `vendorName` (ct, nct, eq, ne)
|
|
10909
10915
|
- `paymentMethod` (ct, nct, eq, ne, in, nin)
|
|
10910
10916
|
- `paymentId` (ct, nct, eq, ne)
|
|
10917
|
+
- `orderId` (ne, eq)
|
|
10911
10918
|
- `parentOrgId` (ne, eq, nin, in)
|
|
10912
10919
|
- `batchNumber` (ct, nct, eq, ne)
|
|
10913
10920
|
- `totalAmount` (gt, ge, lt, le, eq, ne)
|
|
@@ -11093,6 +11100,7 @@ Accepted field names:
|
|
|
11093
11100
|
- `parentOrgId` (ne, eq, nin, in)
|
|
11094
11101
|
- `paymentMethod` (ct, nct, eq, ne, in, nin)
|
|
11095
11102
|
- `paymentId` (ct, nct, eq, ne)
|
|
11103
|
+
- `orderId` (ne, eq)
|
|
11096
11104
|
- `batchNumber` (ct, nct, eq, ne)
|
|
11097
11105
|
- `totalAmount` (gt, ge, lt, le, eq, ne)
|
|
11098
11106
|
- `paypointLegal` (ne, eq, ct, nct)
|
|
@@ -14852,7 +14860,7 @@ Accepted comparison operators - enclosed between parentheses:
|
|
|
14852
14860
|
<dl>
|
|
14853
14861
|
<dd>
|
|
14854
14862
|
|
|
14855
|
-
Use this endpoint to upload
|
|
14863
|
+
Use this endpoint to upload a document file for OCR processing as `multipart/form-data`, with the file in a field named `file`. The accepted file formats include PDF, JPG, JPEG, PNG, and GIF. Specify the desired type of result (either 'bill' or 'invoice') in the path parameter `typeResult`. The response will contain the OCR processing results, including extracted data such as bill number, vendor information, bill items, and more. To send the file as a Base64-encoded string in a JSON body instead, use `ocrDocumentJson`.
|
|
14856
14864
|
</dd>
|
|
14857
14865
|
</dl>
|
|
14858
14866
|
</dd>
|
|
@@ -14890,14 +14898,6 @@ client.ocr.ocr_document_form(type_result: "typeResult")
|
|
|
14890
14898
|
<dl>
|
|
14891
14899
|
<dd>
|
|
14892
14900
|
|
|
14893
|
-
**request:** `Payabli::Types::FileContentImageOnly`
|
|
14894
|
-
|
|
14895
|
-
</dd>
|
|
14896
|
-
</dl>
|
|
14897
|
-
|
|
14898
|
-
<dl>
|
|
14899
|
-
<dd>
|
|
14900
|
-
|
|
14901
14901
|
**request_options:** `Payabli::Ocr::RequestOptions`
|
|
14902
14902
|
|
|
14903
14903
|
</dd>
|
|
@@ -14960,7 +14960,31 @@ client.ocr.ocr_document_json(type_result: "typeResult")
|
|
|
14960
14960
|
<dl>
|
|
14961
14961
|
<dd>
|
|
14962
14962
|
|
|
14963
|
-
**
|
|
14963
|
+
**ftype:** `Payabli::Types::FileContentFtype`
|
|
14964
|
+
|
|
14965
|
+
</dd>
|
|
14966
|
+
</dl>
|
|
14967
|
+
|
|
14968
|
+
<dl>
|
|
14969
|
+
<dd>
|
|
14970
|
+
|
|
14971
|
+
**filename:** `String` — The name of the file to be uploaded
|
|
14972
|
+
|
|
14973
|
+
</dd>
|
|
14974
|
+
</dl>
|
|
14975
|
+
|
|
14976
|
+
<dl>
|
|
14977
|
+
<dd>
|
|
14978
|
+
|
|
14979
|
+
**furl:** `String` — Optional URL link to the file
|
|
14980
|
+
|
|
14981
|
+
</dd>
|
|
14982
|
+
</dl>
|
|
14983
|
+
|
|
14984
|
+
<dl>
|
|
14985
|
+
<dd>
|
|
14986
|
+
|
|
14987
|
+
**f_content:** `String` — Base64-encoded file content
|
|
14964
14988
|
|
|
14965
14989
|
</dd>
|
|
14966
14990
|
</dl>
|
|
@@ -26215,7 +26239,7 @@ Same-day ACH has a daily cutoff. Capture the transaction before the cutoff, or p
|
|
|
26215
26239
|
<dl>
|
|
26216
26240
|
<dd>
|
|
26217
26241
|
|
|
26218
|
-
**
|
|
26242
|
+
**request:** `Payabli::Types::AuthorizePayoutBody`
|
|
26219
26243
|
|
|
26220
26244
|
</dd>
|
|
26221
26245
|
</dl>
|
|
@@ -26223,87 +26247,61 @@ Same-day ACH has a daily cutoff. Capture the transaction before the cutoff, or p
|
|
|
26223
26247
|
<dl>
|
|
26224
26248
|
<dd>
|
|
26225
26249
|
|
|
26226
|
-
**
|
|
26250
|
+
**request_options:** `Payabli::MoneyOut::RequestOptions`
|
|
26227
26251
|
|
|
26228
26252
|
</dd>
|
|
26229
26253
|
</dl>
|
|
26230
|
-
|
|
26231
|
-
<dl>
|
|
26232
|
-
<dd>
|
|
26233
|
-
|
|
26234
|
-
**order_id:** `String`
|
|
26235
|
-
|
|
26236
26254
|
</dd>
|
|
26237
26255
|
</dl>
|
|
26238
26256
|
|
|
26239
|
-
<dl>
|
|
26240
|
-
<dd>
|
|
26241
26257
|
|
|
26242
|
-
**order_description:** `String`
|
|
26243
|
-
|
|
26244
26258
|
</dd>
|
|
26245
26259
|
</dl>
|
|
26260
|
+
</details>
|
|
26246
26261
|
|
|
26262
|
+
<details><summary><code>client.money_out.<a href="/lib/payabli/money_out/client.rb">cancel_all_out</a>(request) -> Payabli::Types::CaptureAllOutResponse</code></summary>
|
|
26247
26263
|
<dl>
|
|
26248
26264
|
<dd>
|
|
26249
26265
|
|
|
26250
|
-
|
|
26251
|
-
|
|
26252
|
-
</dd>
|
|
26253
|
-
</dl>
|
|
26266
|
+
#### 📝 Description
|
|
26254
26267
|
|
|
26255
26268
|
<dl>
|
|
26256
26269
|
<dd>
|
|
26257
26270
|
|
|
26258
|
-
**payment_details:** `Payabli::Types::RequestOutAuthorizePaymentDetails` — Object containing payment details.
|
|
26259
|
-
|
|
26260
|
-
</dd>
|
|
26261
|
-
</dl>
|
|
26262
|
-
|
|
26263
26271
|
<dl>
|
|
26264
26272
|
<dd>
|
|
26265
26273
|
|
|
26266
|
-
|
|
26267
|
-
|
|
26274
|
+
Cancels an array of payout transactions.
|
|
26268
26275
|
</dd>
|
|
26269
26276
|
</dl>
|
|
26270
|
-
|
|
26271
|
-
<dl>
|
|
26272
|
-
<dd>
|
|
26273
|
-
|
|
26274
|
-
**invoice_data:** `Internal::Types::Array[Payabli::Types::RequestOutAuthorizeInvoiceData]` — Bills to pay with this payout, each referenced by `billId`.
|
|
26275
|
-
|
|
26276
26277
|
</dd>
|
|
26277
26278
|
</dl>
|
|
26278
26279
|
|
|
26280
|
+
#### 🔌 Usage
|
|
26281
|
+
|
|
26279
26282
|
<dl>
|
|
26280
26283
|
<dd>
|
|
26281
26284
|
|
|
26282
|
-
**account_id:** `String`
|
|
26283
|
-
|
|
26284
|
-
</dd>
|
|
26285
|
-
</dl>
|
|
26286
|
-
|
|
26287
26285
|
<dl>
|
|
26288
26286
|
<dd>
|
|
26289
26287
|
|
|
26290
|
-
|
|
26291
|
-
|
|
26288
|
+
```ruby
|
|
26289
|
+
client.money_out.cancel_all_out(request: %w[2-29 2-28 2-27])
|
|
26290
|
+
```
|
|
26291
|
+
</dd>
|
|
26292
|
+
</dl>
|
|
26292
26293
|
</dd>
|
|
26293
26294
|
</dl>
|
|
26294
26295
|
|
|
26296
|
+
#### ⚙️ Parameters
|
|
26297
|
+
|
|
26295
26298
|
<dl>
|
|
26296
26299
|
<dd>
|
|
26297
26300
|
|
|
26298
|
-
**subscription_id:** `Integer`
|
|
26299
|
-
|
|
26300
|
-
</dd>
|
|
26301
|
-
</dl>
|
|
26302
|
-
|
|
26303
26301
|
<dl>
|
|
26304
26302
|
<dd>
|
|
26305
26303
|
|
|
26306
|
-
**
|
|
26304
|
+
**request:** `Internal::Types::Array[String]`
|
|
26307
26305
|
|
|
26308
26306
|
</dd>
|
|
26309
26307
|
</dl>
|
|
@@ -26323,7 +26321,7 @@ Same-day ACH has a daily cutoff. Capture the transaction before the cutoff, or p
|
|
|
26323
26321
|
</dl>
|
|
26324
26322
|
</details>
|
|
26325
26323
|
|
|
26326
|
-
<details><summary><code>client.money_out.<a href="/lib/payabli/money_out/client.rb">
|
|
26324
|
+
<details><summary><code>client.money_out.<a href="/lib/payabli/money_out/client.rb">cancel_out_get</a>(reference_id:) -> Payabli::Types::PayabliApiResponse0000</code></summary>
|
|
26327
26325
|
<dl>
|
|
26328
26326
|
<dd>
|
|
26329
26327
|
|
|
@@ -26335,7 +26333,7 @@ Same-day ACH has a daily cutoff. Capture the transaction before the cutoff, or p
|
|
|
26335
26333
|
<dl>
|
|
26336
26334
|
<dd>
|
|
26337
26335
|
|
|
26338
|
-
|
|
26336
|
+
Cancel a payout transaction by ID.
|
|
26339
26337
|
</dd>
|
|
26340
26338
|
</dl>
|
|
26341
26339
|
</dd>
|
|
@@ -26350,7 +26348,7 @@ Cancels an array of payout transactions.
|
|
|
26350
26348
|
<dd>
|
|
26351
26349
|
|
|
26352
26350
|
```ruby
|
|
26353
|
-
client.money_out.
|
|
26351
|
+
client.money_out.cancel_out_get(reference_id: "129-219")
|
|
26354
26352
|
```
|
|
26355
26353
|
</dd>
|
|
26356
26354
|
</dl>
|
|
@@ -26365,7 +26363,7 @@ client.money_out.cancel_all_out(request: %w[2-29 2-28 2-27])
|
|
|
26365
26363
|
<dl>
|
|
26366
26364
|
<dd>
|
|
26367
26365
|
|
|
26368
|
-
**
|
|
26366
|
+
**reference_id:** `String` — The ID for the payout transaction.
|
|
26369
26367
|
|
|
26370
26368
|
</dd>
|
|
26371
26369
|
</dl>
|
|
@@ -26385,7 +26383,7 @@ client.money_out.cancel_all_out(request: %w[2-29 2-28 2-27])
|
|
|
26385
26383
|
</dl>
|
|
26386
26384
|
</details>
|
|
26387
26385
|
|
|
26388
|
-
<details><summary><code>client.money_out.<a href="/lib/payabli/money_out/client.rb">
|
|
26386
|
+
<details><summary><code>client.money_out.<a href="/lib/payabli/money_out/client.rb">cancel_out_delete</a>(reference_id:) -> Payabli::Types::PayabliApiResponse0000</code></summary>
|
|
26389
26387
|
<dl>
|
|
26390
26388
|
<dd>
|
|
26391
26389
|
|
|
@@ -26412,7 +26410,7 @@ Cancel a payout transaction by ID.
|
|
|
26412
26410
|
<dd>
|
|
26413
26411
|
|
|
26414
26412
|
```ruby
|
|
26415
|
-
client.money_out.
|
|
26413
|
+
client.money_out.cancel_out_delete(reference_id: "129-219")
|
|
26416
26414
|
```
|
|
26417
26415
|
</dd>
|
|
26418
26416
|
</dl>
|
|
@@ -26447,7 +26445,7 @@ client.money_out.cancel_out_get(reference_id: "129-219")
|
|
|
26447
26445
|
</dl>
|
|
26448
26446
|
</details>
|
|
26449
26447
|
|
|
26450
|
-
<details><summary><code>client.money_out.<a href="/lib/payabli/money_out/client.rb">
|
|
26448
|
+
<details><summary><code>client.money_out.<a href="/lib/payabli/money_out/client.rb">capture_all_out</a>(request) -> Payabli::Types::CaptureAllOutResponse</code></summary>
|
|
26451
26449
|
<dl>
|
|
26452
26450
|
<dd>
|
|
26453
26451
|
|
|
@@ -26459,7 +26457,7 @@ client.money_out.cancel_out_get(reference_id: "129-219")
|
|
|
26459
26457
|
<dl>
|
|
26460
26458
|
<dd>
|
|
26461
26459
|
|
|
26462
|
-
|
|
26460
|
+
Captures an array of authorized payout transactions for settlement. The maximum number of transactions that can be captured in a single request is 500.
|
|
26463
26461
|
</dd>
|
|
26464
26462
|
</dl>
|
|
26465
26463
|
</dd>
|
|
@@ -26474,7 +26472,7 @@ Cancel a payout transaction by ID.
|
|
|
26474
26472
|
<dd>
|
|
26475
26473
|
|
|
26476
26474
|
```ruby
|
|
26477
|
-
client.money_out.
|
|
26475
|
+
client.money_out.capture_all_out(body: %w[2-29 2-28 2-27])
|
|
26478
26476
|
```
|
|
26479
26477
|
</dd>
|
|
26480
26478
|
</dl>
|
|
@@ -26489,7 +26487,27 @@ client.money_out.cancel_out_delete(reference_id: "129-219")
|
|
|
26489
26487
|
<dl>
|
|
26490
26488
|
<dd>
|
|
26491
26489
|
|
|
26492
|
-
**
|
|
26490
|
+
**auto_convert_same_day_ach:** `Internal::Types::Boolean`
|
|
26491
|
+
|
|
26492
|
+
Controls what happens to a payout authorized with `sameDayACH` set to `true` when you capture it after the same-day ACH cutoff. When `true`, Payabli converts the payout to a standard ACH payment and captures it. When `false`, the capture is declined.
|
|
26493
|
+
|
|
26494
|
+
This parameter has no effect on payouts that weren't authorized for same-day ACH.
|
|
26495
|
+
|
|
26496
|
+
</dd>
|
|
26497
|
+
</dl>
|
|
26498
|
+
|
|
26499
|
+
<dl>
|
|
26500
|
+
<dd>
|
|
26501
|
+
|
|
26502
|
+
**idempotency_key:** `String` — _Optional but recommended_ A unique ID that you can include to prevent duplicating objects or transactions in the case that a request is sent more than once. This key isn't generated in Payabli, you must generate it yourself. This key persists for 2 minutes. After 2 minutes, you can reuse the key if needed.
|
|
26503
|
+
|
|
26504
|
+
</dd>
|
|
26505
|
+
</dl>
|
|
26506
|
+
|
|
26507
|
+
<dl>
|
|
26508
|
+
<dd>
|
|
26509
|
+
|
|
26510
|
+
**request:** `Internal::Types::Array[String]`
|
|
26493
26511
|
|
|
26494
26512
|
</dd>
|
|
26495
26513
|
</dl>
|
|
@@ -26509,7 +26527,7 @@ client.money_out.cancel_out_delete(reference_id: "129-219")
|
|
|
26509
26527
|
</dl>
|
|
26510
26528
|
</details>
|
|
26511
26529
|
|
|
26512
|
-
<details><summary><code>client.money_out.<a href="/lib/payabli/money_out/client.rb">
|
|
26530
|
+
<details><summary><code>client.money_out.<a href="/lib/payabli/money_out/client.rb">capture_out</a>(reference_id:) -> Payabli::Types::AuthCapturePayoutResponse</code></summary>
|
|
26513
26531
|
<dl>
|
|
26514
26532
|
<dd>
|
|
26515
26533
|
|
|
@@ -26521,7 +26539,9 @@ client.money_out.cancel_out_delete(reference_id: "129-219")
|
|
|
26521
26539
|
<dl>
|
|
26522
26540
|
<dd>
|
|
26523
26541
|
|
|
26524
|
-
Captures
|
|
26542
|
+
Captures a single authorized payout transaction by ID. If the transaction was authorized with `autoCapture` set to `true`, you don't need to call this endpoint to capture the transaction for processing.
|
|
26543
|
+
|
|
26544
|
+
If a velocity fraud alert is triggered, the endpoint returns a `202` response with `responseCode` `9051`, and the capture is held for risk review rather than rejected. If a risk policy blocks the transaction, the endpoint returns a `422` response with `responseCode` `9005`, a terminal rejection.
|
|
26525
26545
|
</dd>
|
|
26526
26546
|
</dl>
|
|
26527
26547
|
</dd>
|
|
@@ -26536,7 +26556,7 @@ Captures an array of authorized payout transactions for settlement. The maximum
|
|
|
26536
26556
|
<dd>
|
|
26537
26557
|
|
|
26538
26558
|
```ruby
|
|
26539
|
-
client.money_out.
|
|
26559
|
+
client.money_out.capture_out(reference_id: "129-219")
|
|
26540
26560
|
```
|
|
26541
26561
|
</dd>
|
|
26542
26562
|
</dl>
|
|
@@ -26551,11 +26571,7 @@ client.money_out.capture_all_out(body: %w[2-29 2-28 2-27])
|
|
|
26551
26571
|
<dl>
|
|
26552
26572
|
<dd>
|
|
26553
26573
|
|
|
26554
|
-
**
|
|
26555
|
-
|
|
26556
|
-
Controls what happens to a payout authorized with `sameDayACH` set to `true` when you capture it after the same-day ACH cutoff. When `true`, Payabli converts the payout to a standard ACH payment and captures it. When `false`, the capture is declined.
|
|
26557
|
-
|
|
26558
|
-
This parameter has no effect on payouts that weren't authorized for same-day ACH.
|
|
26574
|
+
**reference_id:** `String` — The ID for the payout transaction.
|
|
26559
26575
|
|
|
26560
26576
|
</dd>
|
|
26561
26577
|
</dl>
|
|
@@ -26563,7 +26579,11 @@ This parameter has no effect on payouts that weren't authorized for same-day ACH
|
|
|
26563
26579
|
<dl>
|
|
26564
26580
|
<dd>
|
|
26565
26581
|
|
|
26566
|
-
**
|
|
26582
|
+
**auto_convert_same_day_ach:** `Internal::Types::Boolean`
|
|
26583
|
+
|
|
26584
|
+
Controls what happens to a payout authorized with `sameDayACH` set to `true` when you capture it after the same-day ACH cutoff. When `true`, Payabli converts the payout to a standard ACH payment and captures it. When `false`, the capture is declined.
|
|
26585
|
+
|
|
26586
|
+
This parameter has no effect on payouts that weren't authorized for same-day ACH.
|
|
26567
26587
|
|
|
26568
26588
|
</dd>
|
|
26569
26589
|
</dl>
|
|
@@ -26571,7 +26591,7 @@ This parameter has no effect on payouts that weren't authorized for same-day ACH
|
|
|
26571
26591
|
<dl>
|
|
26572
26592
|
<dd>
|
|
26573
26593
|
|
|
26574
|
-
**
|
|
26594
|
+
**idempotency_key:** `String` — _Optional but recommended_ A unique ID that you can include to prevent duplicating objects or transactions in the case that a request is sent more than once. This key isn't generated in Payabli, you must generate it yourself. This key persists for 2 minutes. After 2 minutes, you can reuse the key if needed.
|
|
26575
26595
|
|
|
26576
26596
|
</dd>
|
|
26577
26597
|
</dl>
|
|
@@ -26591,7 +26611,7 @@ This parameter has no effect on payouts that weren't authorized for same-day ACH
|
|
|
26591
26611
|
</dl>
|
|
26592
26612
|
</details>
|
|
26593
26613
|
|
|
26594
|
-
<details><summary><code>client.money_out.<a href="/lib/payabli/money_out/client.rb">
|
|
26614
|
+
<details><summary><code>client.money_out.<a href="/lib/payabli/money_out/client.rb">payout</a>(request) -> Payabli::Types::AuthCapturePayoutResponse</code></summary>
|
|
26595
26615
|
<dl>
|
|
26596
26616
|
<dd>
|
|
26597
26617
|
|
|
@@ -26603,9 +26623,13 @@ This parameter has no effect on payouts that weren't authorized for same-day ACH
|
|
|
26603
26623
|
<dl>
|
|
26604
26624
|
<dd>
|
|
26605
26625
|
|
|
26606
|
-
|
|
26626
|
+
Authorizes a payout and captures it in the same request, returning the capture result. Use this endpoint when you need the capture outcome synchronously: it does the same work as calling `POST /MoneyOut/authorize` followed by `GET /MoneyOut/capture/{referenceId}`, in a single call.
|
|
26607
26627
|
|
|
26608
|
-
|
|
26628
|
+
Risk and fraud review runs at both the authorize and capture stages, exactly as it does for the two-call flow.
|
|
26629
|
+
|
|
26630
|
+
Payabli ignores the `autoCapture` field in the request body, since this endpoint always captures inline.
|
|
26631
|
+
|
|
26632
|
+
If the capture fails, the payout stays authorized. Retry the capture with `GET /MoneyOut/capture/{referenceId}` using the `referenceId` from the error response rather than resubmitting, which would create a second payout. See the [Manage payouts guide](/guides/pay-out-developer-payouts-manage#authorize-and-capture-in-one-call) for details.
|
|
26609
26633
|
</dd>
|
|
26610
26634
|
</dl>
|
|
26611
26635
|
</dd>
|
|
@@ -26620,7 +26644,22 @@ If a velocity fraud alert is triggered, the endpoint returns a `202` response wi
|
|
|
26620
26644
|
<dd>
|
|
26621
26645
|
|
|
26622
26646
|
```ruby
|
|
26623
|
-
client.money_out.
|
|
26647
|
+
client.money_out.payout(
|
|
26648
|
+
entry_point: "8cfec329267",
|
|
26649
|
+
order_description: "Window Painting",
|
|
26650
|
+
payment_method: {
|
|
26651
|
+
method_: "managed"
|
|
26652
|
+
},
|
|
26653
|
+
payment_details: {
|
|
26654
|
+
total_amount: 47
|
|
26655
|
+
},
|
|
26656
|
+
vendor_data: {
|
|
26657
|
+
vendor_number: "VEN-123"
|
|
26658
|
+
},
|
|
26659
|
+
invoice_data: [{
|
|
26660
|
+
bill_id: 54323
|
|
26661
|
+
}]
|
|
26662
|
+
)
|
|
26624
26663
|
```
|
|
26625
26664
|
</dd>
|
|
26626
26665
|
</dl>
|
|
@@ -26635,7 +26674,35 @@ client.money_out.capture_out(reference_id: "129-219")
|
|
|
26635
26674
|
<dl>
|
|
26636
26675
|
<dd>
|
|
26637
26676
|
|
|
26638
|
-
**
|
|
26677
|
+
**same_day_ach:** `Internal::Types::Boolean`
|
|
26678
|
+
|
|
26679
|
+
When `true`, Payabli authorizes the payout for same-day ACH processing instead of standard ACH. Same-day ACH must be enabled for the paypoint, otherwise the authorization fails with a `400` response and `responseCode` `3492`. Only ACH payouts honor this flag. Wire and RTP payouts ignore it.
|
|
26680
|
+
|
|
26681
|
+
Because this endpoint captures immediately, pass `autoConvertSameDayAch` with a value of `true` to fall back to standard ACH if the capture runs after the same-day ACH cutoff.
|
|
26682
|
+
|
|
26683
|
+
</dd>
|
|
26684
|
+
</dl>
|
|
26685
|
+
|
|
26686
|
+
<dl>
|
|
26687
|
+
<dd>
|
|
26688
|
+
|
|
26689
|
+
**do_not_create_bills:** `Internal::Types::Boolean` — When `true`, Payabli won't automatically create a bill for this payout transaction.
|
|
26690
|
+
|
|
26691
|
+
</dd>
|
|
26692
|
+
</dl>
|
|
26693
|
+
|
|
26694
|
+
<dl>
|
|
26695
|
+
<dd>
|
|
26696
|
+
|
|
26697
|
+
**allow_duplicated_bills:** `Internal::Types::Boolean` — When `true`, the payout bypasses the requirement for unique bills, identified by vendor invoice number. This allows you to make more than one payout for a bill, like a split payment.
|
|
26698
|
+
|
|
26699
|
+
</dd>
|
|
26700
|
+
</dl>
|
|
26701
|
+
|
|
26702
|
+
<dl>
|
|
26703
|
+
<dd>
|
|
26704
|
+
|
|
26705
|
+
**update_vendor_payment_method:** `Internal::Types::Boolean` — When `true`, Payabli updates the vendor's stored default payment method to the method used in this payout.
|
|
26639
26706
|
|
|
26640
26707
|
</dd>
|
|
26641
26708
|
</dl>
|
|
@@ -26645,7 +26712,7 @@ client.money_out.capture_out(reference_id: "129-219")
|
|
|
26645
26712
|
|
|
26646
26713
|
**auto_convert_same_day_ach:** `Internal::Types::Boolean`
|
|
26647
26714
|
|
|
26648
|
-
Controls what happens to a payout authorized with `sameDayACH` set to `true` when
|
|
26715
|
+
Controls what happens to a payout authorized with `sameDayACH` set to `true` when the capture runs after the same-day ACH cutoff. When `true`, Payabli converts the payout to a standard ACH payment and captures it. When `false`, the capture is declined.
|
|
26649
26716
|
|
|
26650
26717
|
This parameter has no effect on payouts that weren't authorized for same-day ACH.
|
|
26651
26718
|
|
|
@@ -26663,6 +26730,14 @@ This parameter has no effect on payouts that weren't authorized for same-day ACH
|
|
|
26663
26730
|
<dl>
|
|
26664
26731
|
<dd>
|
|
26665
26732
|
|
|
26733
|
+
**request:** `Payabli::Types::AuthorizePayoutBody`
|
|
26734
|
+
|
|
26735
|
+
</dd>
|
|
26736
|
+
</dl>
|
|
26737
|
+
|
|
26738
|
+
<dl>
|
|
26739
|
+
<dd>
|
|
26740
|
+
|
|
26666
26741
|
**request_options:** `Payabli::MoneyOut::RequestOptions`
|
|
26667
26742
|
|
|
26668
26743
|
</dd>
|