payabli 3.0.18 → 3.0.19

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.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/.fern/metadata.json +3 -3
  3. data/lib/payabli/client.rb +1 -1
  4. data/lib/payabli/ghost_card/client.rb +48 -2
  5. data/lib/payabli/money_out/client.rb +56 -2
  6. data/lib/payabli/money_out/types/reissue_out_request.rb +2 -0
  7. data/lib/payabli/subscription/types/request_update_schedule.rb +2 -0
  8. data/lib/payabli/types/associated_vendor.rb +2 -0
  9. data/lib/payabli/types/bill_query_record_2.rb +2 -0
  10. data/lib/payabli/types/bill_response_data.rb +2 -0
  11. data/lib/payabli/types/bill_transaction_reference.rb +12 -0
  12. data/lib/payabli/types/delete_ghost_card_response.rb +12 -0
  13. data/lib/payabli/types/delete_ghost_card_response_data.rb +11 -0
  14. data/lib/payabli/types/device_entry_mode.rb +23 -0
  15. data/lib/payabli/types/device_query_record.rb +6 -0
  16. data/lib/payabli/types/device_query_record_operational_status.rb +13 -0
  17. data/lib/payabli/types/emv_auth_data.rb +14 -0
  18. data/lib/payabli/types/get_method_response_response_data_vendors_item.rb +2 -0
  19. data/lib/payabli/types/issue_1099.rb +23 -0
  20. data/lib/payabli/types/next_check_number_response.rb +10 -0
  21. data/lib/payabli/types/payout_subscription_vendor.rb +2 -0
  22. data/lib/payabli/types/query_device_data.rb +26 -0
  23. data/lib/payabli/types/transaction_query_records.rb +6 -0
  24. data/lib/payabli/types/transaction_query_records_customer.rb +6 -0
  25. data/lib/payabli/types/transfer_out_detail_vendor.rb +2 -0
  26. data/lib/payabli/types/v_card_get_response_associated_vendor.rb +2 -0
  27. data/lib/payabli/types/vendor_data.rb +2 -0
  28. data/lib/payabli/types/vendor_data_response.rb +2 -0
  29. data/lib/payabli/types/vendor_out_data.rb +2 -0
  30. data/lib/payabli/types/vendor_query_record.rb +2 -0
  31. data/lib/payabli/vendor/client.rb +1 -0
  32. data/lib/payabli/version.rb +1 -1
  33. data/lib/payabli.rb +9 -0
  34. data/reference.md +168 -2
  35. data/wiremock/wiremock-mappings.json +90 -25
  36. metadata +11 -2
data/reference.md CHANGED
@@ -3519,6 +3519,14 @@ client.subscription.update_subscription(
3519
3519
  <dl>
3520
3520
  <dd>
3521
3521
 
3522
+ **invoice_data:** `Payabli::Types::BillData` — Object describing an invoice linked to the subscription. Replaces the subscription's existing invoice data entirely. Send `null` to remove it, or leave it out to keep the current invoice data. See [Update a subscription](/guides/pay-in-developer-subscriptions-manage#update-a-subscription) for details.
3523
+
3524
+ </dd>
3525
+ </dl>
3526
+
3527
+ <dl>
3528
+ <dd>
3529
+
3522
3530
  **payment_details:** `Payabli::Types::PaymentDetail` — Object describing details of the payment. For Regular subscriptions, skip a payment by setting `totalAmount` to 0; payments pause until you update it to a non-zero value, and `serviceFee` must also be 0 when `totalAmount` is 0. For BalanceDriven subscriptions, any `totalAmount` you send is accepted but ignored at run time. Each run charges the payor's live balance, and a zero balance is skipped.
3523
3531
 
3524
3532
  </dd>
@@ -12568,6 +12576,7 @@ See [Filters and Conditions Reference](/developers/developer-guides/pay-ops-repo
12568
12576
  - `customerShippingState` (ct, nct, eq, ne)
12569
12577
  - `customerShippingCountry` (ct, nct, eq, ne)
12570
12578
  - `deviceId` (ct, nct, in, nin, eq, ne)
12579
+ - `DeviceEntryMode` (eq, ne, in, nin). Filters by how the device read the card: `Chip`, `Contactless`, `Swipe`, `Manual`, `Fallback`, or `None`. Case-insensitive. Separate multiple values with `|`, for example `DeviceEntryMode(in)=Chip|Contactless`. `ne` and `nin` also return transactions with no entry mode, such as non-device transactions. An unrecognized value is ignored, so the filter isn't applied.
12571
12580
  - `AchSecCode` ( ct, nct, in, nin, eq, ne)
12572
12581
  - `AchHolderType` (ct, nct, in, nin, eq, and ne)
12573
12582
  - `additional-xxx` (ne, eq, ct, nct) where xxx is the additional field name related to customer data
@@ -12767,6 +12776,7 @@ See [Filters and Conditions Reference](/developers/developer-guides/pay-ops-repo
12767
12776
  - `customerShippingState` (ct, nct, eq, ne)
12768
12777
  - `customerShippingCountry` (ct, nct, eq, ne)
12769
12778
  - `deviceId` (ct, nct, in, nin, eq, ne)
12779
+ - `DeviceEntryMode` (eq, ne, in, nin). Filters by how the device read the card: `Chip`, `Contactless`, `Swipe`, `Manual`, `Fallback`, or `None`. Case-insensitive. Separate multiple values with `|`, for example `DeviceEntryMode(in)=Chip|Contactless`. `ne` and `nin` also return transactions with no entry mode, such as non-device transactions. An unrecognized value is ignored, so the filter isn't applied.
12770
12780
  - `AchSecCode` ( ct, nct, in, nin, eq, ne)
12771
12781
  - `AchHolderType`` (ct, nct, in, nin, eq, and ne)
12772
12782
  - `additional-xxx` (ne, eq, ct, nct) where xxx is the additional field name related to customer data
@@ -13342,6 +13352,7 @@ Accepted field names:
13342
13352
  - `batchId` (ne, eq, in, nin)
13343
13353
  - `detailType` (eq, ne, in, nin, ct, nct)
13344
13354
  - `detailMethod` (eq, ne, in, nin, ct, nct)
13355
+ - `paymentId` (ne, eq, in, nin): The payout's payment ID. Returns every transfer linked to that payout: the payout transfer, any refund and stale check refund transfers, and the billing fee transfer.
13345
13356
 
13346
13357
  </dd>
13347
13358
  </dl>
@@ -13471,6 +13482,7 @@ Accepted field names:
13471
13482
  - `batchId` (ne, eq, in, nin)
13472
13483
  - `detailType` (eq, ne, in, nin, ct, nct)
13473
13484
  - `detailMethod` (eq, ne, in, nin, ct, nct)
13485
+ - `paymentId` (ne, eq, in, nin): The payout's payment ID. Returns every transfer linked to that payout: the payout transfer, any refund and stale check refund transfers, and the billing fee transfer.
13474
13486
 
13475
13487
  </dd>
13476
13488
  </dl>
@@ -25330,6 +25342,7 @@ client.vendor.add_vendor(
25330
25342
  remit_zip: "31113",
25331
25343
  state: "FL",
25332
25344
  vendor_status: 1,
25345
+ issue_1099: true,
25333
25346
  zip: "33139"
25334
25347
  )
25335
25348
  ```
@@ -25914,7 +25927,7 @@ Creates a ghost card, a multi-use virtual debit card issued to a vendor for recu
25914
25927
 
25915
25928
  Unlike single-use virtual cards issued as part of a payout transaction, ghost cards aren't tied to a specific payout. They're issued directly to a vendor and can be reused up to a configurable number of times within the card's spending limits.
25916
25929
 
25917
- Only one ghost card can exist per vendor per paypoint. To issue a new card to the same vendor, cancel the existing card first.
25930
+ Only one active ghost card can exist per vendor per paypoint. If the vendor already has one, the request fails with error `7067`. To issue a new card to the same vendor, cancel the existing card first. Canceled and expired cards don't count toward this limit. See [Cancel ghost card](/developers/api-reference/cards/cancel-ghost-card).
25918
25931
  </dd>
25919
25932
  </dl>
25920
25933
  </dd>
@@ -26105,6 +26118,72 @@ client.ghost_card.create_ghost_card(
26105
26118
  </dl>
26106
26119
 
26107
26120
 
26121
+ </dd>
26122
+ </dl>
26123
+ </details>
26124
+
26125
+ <details><summary><code>client.ghost_card.<a href="/lib/payabli/ghost_card/client.rb">delete_ghost_card</a>(card_token:) -> Payabli::Types::DeleteGhostCardResponse</code></summary>
26126
+ <dl>
26127
+ <dd>
26128
+
26129
+ #### 📝 Description
26130
+
26131
+ <dl>
26132
+ <dd>
26133
+
26134
+ <dl>
26135
+ <dd>
26136
+
26137
+ Cancels a ghost card. This is always a soft delete: Payabli keeps the card record, including its transaction history.
26138
+
26139
+ Canceling a ghost card frees the vendor's slot, so you can issue a new ghost card to the same vendor. A card canceled with this endpoint can't be used, reactivated, or canceled again.
26140
+
26141
+ Requires the `vcard_delete` permission.
26142
+ </dd>
26143
+ </dl>
26144
+ </dd>
26145
+ </dl>
26146
+
26147
+ #### 🔌 Usage
26148
+
26149
+ <dl>
26150
+ <dd>
26151
+
26152
+ <dl>
26153
+ <dd>
26154
+
26155
+ ```ruby
26156
+ client.ghost_card.delete_ghost_card(card_token: "gc_abc123def456")
26157
+ ```
26158
+ </dd>
26159
+ </dl>
26160
+ </dd>
26161
+ </dl>
26162
+
26163
+ #### ⚙️ Parameters
26164
+
26165
+ <dl>
26166
+ <dd>
26167
+
26168
+ <dl>
26169
+ <dd>
26170
+
26171
+ **card_token:** `String` — Token that identifies the ghost card to cancel. This is the `ReferenceId` returned when the card was created.
26172
+
26173
+ </dd>
26174
+ </dl>
26175
+
26176
+ <dl>
26177
+ <dd>
26178
+
26179
+ **request_options:** `Payabli::GhostCard::RequestOptions`
26180
+
26181
+ </dd>
26182
+ </dl>
26183
+ </dd>
26184
+ </dl>
26185
+
26186
+
26108
26187
  </dd>
26109
26188
  </dl>
26110
26189
  </details>
@@ -27224,6 +27303,85 @@ client.money_out.update_check_payment_status(
27224
27303
  </dl>
27225
27304
 
27226
27305
 
27306
+ </dd>
27307
+ </dl>
27308
+ </details>
27309
+
27310
+ <details><summary><code>client.money_out.<a href="/lib/payabli/money_out/client.rb">get_next_check_number</a>(paypoint_id:, account_id:) -> Payabli::Types::NextCheckNumberResponse</code></summary>
27311
+ <dl>
27312
+ <dd>
27313
+
27314
+ #### 📝 Description
27315
+
27316
+ <dl>
27317
+ <dd>
27318
+
27319
+ <dl>
27320
+ <dd>
27321
+
27322
+ Returns a suggested check number for the next check payout from a paypoint's funding account. Payabli suggests the highest check number on the account's check payouts plus one, or `1` if the account has no check history. Canceled check payouts don't count toward the highest number.
27323
+
27324
+
27325
+ Use the suggested value with the `checkNumber` field when you reissue a check, or when you create a new check payout.
27326
+
27327
+
27328
+ Errors return HTTP `400`: `3005` when the paypoint ID is invalid or inactive, and `3758` when the account ID isn't valid for the paypoint.
27329
+ </dd>
27330
+ </dl>
27331
+ </dd>
27332
+ </dl>
27333
+
27334
+ #### 🔌 Usage
27335
+
27336
+ <dl>
27337
+ <dd>
27338
+
27339
+ <dl>
27340
+ <dd>
27341
+
27342
+ ```ruby
27343
+ client.money_out.get_next_check_number(
27344
+ paypoint_id: 3040,
27345
+ account_id: "123-456"
27346
+ )
27347
+ ```
27348
+ </dd>
27349
+ </dl>
27350
+ </dd>
27351
+ </dl>
27352
+
27353
+ #### ⚙️ Parameters
27354
+
27355
+ <dl>
27356
+ <dd>
27357
+
27358
+ <dl>
27359
+ <dd>
27360
+
27361
+ **paypoint_id:** `Integer` — The ID of the paypoint that owns the funding account.
27362
+
27363
+ </dd>
27364
+ </dl>
27365
+
27366
+ <dl>
27367
+ <dd>
27368
+
27369
+ **account_id:** `String` — The `accountId` of the bank account linked to the paypoint's check service, such as `123-456`. Find it in the paypoint's bank account details (`BankData`).
27370
+
27371
+ </dd>
27372
+ </dl>
27373
+
27374
+ <dl>
27375
+ <dd>
27376
+
27377
+ **request_options:** `Payabli::MoneyOut::RequestOptions`
27378
+
27379
+ </dd>
27380
+ </dl>
27381
+ </dd>
27382
+ </dl>
27383
+
27384
+
27227
27385
  </dd>
27228
27386
  </dl>
27229
27387
  </details>
@@ -27242,7 +27400,7 @@ client.money_out.update_check_payment_status(
27242
27400
 
27243
27401
  Reissues a payout transaction with a new payment method. This creates a new transaction linked to the original and marks the original transaction as reissued.
27244
27402
 
27245
- The original transaction must be in **Processing** or **Processed** status. The payment method in the request body is used directly. The endpoint doesn't fall back to vendor-managed payment methods.
27403
+ The original transaction must be in **Processing** or **Processed** status. An ACH payout with a **Returned** status can also be reissued. The payment method in the request body is used directly. The endpoint doesn't fall back to vendor-managed payment methods.
27246
27404
 
27247
27405
  The new transaction goes through the standard authorize-and-capture flow automatically. Both the original and new transactions are linked through their event histories for audit purposes.
27248
27406
 
@@ -27310,6 +27468,14 @@ client.money_out.reissue_out(
27310
27468
  <dl>
27311
27469
  <dd>
27312
27470
 
27471
+ **check_number:** `String`
27472
+
27473
+ </dd>
27474
+ </dl>
27475
+
27476
+ <dl>
27477
+ <dd>
27478
+
27313
27479
  **request_options:** `Payabli::MoneyOut::RequestOptions`
27314
27480
 
27315
27481
  </dd>