payzu-pix 2.0.0

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 (172) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/README.md +231 -0
  4. data/Rakefile +10 -0
  5. data/docs/AccountApi.md +141 -0
  6. data/docs/ApiErrorDetailsInner.md +20 -0
  7. data/docs/BankStatement.md +42 -0
  8. data/docs/BankStatementListResponse.md +20 -0
  9. data/docs/BankStatementListResponsePagination.md +22 -0
  10. data/docs/CallbackDetail.md +34 -0
  11. data/docs/CallbackListResponse.md +20 -0
  12. data/docs/CallbackListResponsePagination.md +22 -0
  13. data/docs/CallbackSecretResponse.md +20 -0
  14. data/docs/CallbacksApi.md +587 -0
  15. data/docs/Defense.md +30 -0
  16. data/docs/DefenseFilesInner.md +24 -0
  17. data/docs/DefenseHistoryEntry.md +28 -0
  18. data/docs/DefenseHistoryEntryFilesInner.md +22 -0
  19. data/docs/DepositPending.md +62 -0
  20. data/docs/DepositPendingListResponse.md +24 -0
  21. data/docs/DictConsultResponse.md +30 -0
  22. data/docs/DownloadUserReport200Response.md +20 -0
  23. data/docs/EnqueuedCallback.md +18 -0
  24. data/docs/EnqueuedCallbackEnqueued.md +22 -0
  25. data/docs/EnqueuedCallbackItem.md +22 -0
  26. data/docs/ErrorResponse.md +32 -0
  27. data/docs/GetUser200Response.md +46 -0
  28. data/docs/GetUser200ResponseDailyWithdrawLimit.md +24 -0
  29. data/docs/GetUser200ResponseServiceFee.md +28 -0
  30. data/docs/GetUserBalance200Response.md +20 -0
  31. data/docs/GetUserTransactionById200Response.md +94 -0
  32. data/docs/GetUserTransactionById200ResponseAllOfCallbackLogInner.md +26 -0
  33. data/docs/GetUserTransactionById200ResponseAllOfInfractionInner.md +24 -0
  34. data/docs/GetUserTransactions200Response.md +22 -0
  35. data/docs/InfractionDetail.md +40 -0
  36. data/docs/InfractionDetailTransaction.md +30 -0
  37. data/docs/InfractionListResponse.md +20 -0
  38. data/docs/InfractionListResponsePagination.md +24 -0
  39. data/docs/InfractionsApi.md +413 -0
  40. data/docs/InternalTransferApi.md +153 -0
  41. data/docs/KeysAndDICTApi.md +217 -0
  42. data/docs/ListUserReports200Response.md +22 -0
  43. data/docs/PixKeyInfo.md +36 -0
  44. data/docs/PixOperationsApi.md +299 -0
  45. data/docs/PostInternalTransferRequest.md +30 -0
  46. data/docs/PostPixQrcodeReadRequest.md +18 -0
  47. data/docs/PostPixRequest.md +32 -0
  48. data/docs/PostUserReportRequest.md +24 -0
  49. data/docs/PostWithdrawQrcodeRequest.md +28 -0
  50. data/docs/PostWithdrawRequest.md +30 -0
  51. data/docs/ProofResponse.md +18 -0
  52. data/docs/QRCodeReadResponse.md +38 -0
  53. data/docs/Refund.md +34 -0
  54. data/docs/RefundRequest.md +22 -0
  55. data/docs/RefundsApi.md +79 -0
  56. data/docs/ReportJob.md +30 -0
  57. data/docs/ReportJobAccepted.md +30 -0
  58. data/docs/ReportJobDetail.md +30 -0
  59. data/docs/ReportsApi.md +881 -0
  60. data/docs/ResendUserCallbackSingle200Response.md +18 -0
  61. data/docs/ResendUserCallbacks200Response.md +20 -0
  62. data/docs/ResendUserCallbacksRequest.md +28 -0
  63. data/docs/ResendWebhookCallbacksRequest.md +30 -0
  64. data/docs/RotateCallbackSecretResponse.md +18 -0
  65. data/docs/RotateSecretResponse.md +18 -0
  66. data/docs/SentWebhookDetail.md +40 -0
  67. data/docs/SentWebhookDetailResponse.md +18 -0
  68. data/docs/SentWebhooksQuantity.md +18 -0
  69. data/docs/Summary.md +26 -0
  70. data/docs/SummaryBlock.md +24 -0
  71. data/docs/SummaryBlockGroupedInner.md +20 -0
  72. data/docs/SummaryBlockStatuses.md +26 -0
  73. data/docs/SummaryStatus.md +22 -0
  74. data/docs/Transaction.md +90 -0
  75. data/docs/TransactionWithRefunds.md +92 -0
  76. data/docs/Webhook.md +30 -0
  77. data/docs/WebhookCreateRequest.md +24 -0
  78. data/docs/WebhookEventType.md +15 -0
  79. data/docs/WebhookListResponse.md +18 -0
  80. data/docs/WebhookUpdateRequest.md +22 -0
  81. data/docs/WebhookWithSecret.md +32 -0
  82. data/docs/WebhooksApi.md +574 -0
  83. data/docs/WithdrawalsApi.md +299 -0
  84. data/git_push.sh +57 -0
  85. data/lib/payzu-pix/api/account_api.rb +136 -0
  86. data/lib/payzu-pix/api/callbacks_api.rb +577 -0
  87. data/lib/payzu-pix/api/infractions_api.rb +452 -0
  88. data/lib/payzu-pix/api/internal_transfer_api.rb +164 -0
  89. data/lib/payzu-pix/api/keys_and_dict_api.rb +234 -0
  90. data/lib/payzu-pix/api/pix_operations_api.rb +300 -0
  91. data/lib/payzu-pix/api/refunds_api.rb +96 -0
  92. data/lib/payzu-pix/api/reports_api.rb +968 -0
  93. data/lib/payzu-pix/api/webhooks_api.rb +542 -0
  94. data/lib/payzu-pix/api/withdrawals_api.rb +305 -0
  95. data/lib/payzu-pix/api_client.rb +441 -0
  96. data/lib/payzu-pix/api_error.rb +58 -0
  97. data/lib/payzu-pix/api_model_base.rb +88 -0
  98. data/lib/payzu-pix/configuration.rb +392 -0
  99. data/lib/payzu-pix/models/api_error_details_inner.rb +192 -0
  100. data/lib/payzu-pix/models/bank_statement.rb +296 -0
  101. data/lib/payzu-pix/models/bank_statement_list_response.rb +159 -0
  102. data/lib/payzu-pix/models/bank_statement_list_response_pagination.rb +169 -0
  103. data/lib/payzu-pix/models/callback_detail.rb +228 -0
  104. data/lib/payzu-pix/models/callback_list_response.rb +159 -0
  105. data/lib/payzu-pix/models/callback_list_response_pagination.rb +169 -0
  106. data/lib/payzu-pix/models/callback_secret_response.rb +158 -0
  107. data/lib/payzu-pix/models/defense.rb +234 -0
  108. data/lib/payzu-pix/models/defense_files_inner.rb +179 -0
  109. data/lib/payzu-pix/models/defense_history_entry.rb +225 -0
  110. data/lib/payzu-pix/models/defense_history_entry_files_inner.rb +168 -0
  111. data/lib/payzu-pix/models/deposit_pending.rb +407 -0
  112. data/lib/payzu-pix/models/deposit_pending_list_response.rb +180 -0
  113. data/lib/payzu-pix/models/dict_consult_response.rb +231 -0
  114. data/lib/payzu-pix/models/download_user_report200_response.rb +158 -0
  115. data/lib/payzu-pix/models/enqueued_callback.rb +147 -0
  116. data/lib/payzu-pix/models/enqueued_callback_enqueued.rb +170 -0
  117. data/lib/payzu-pix/models/enqueued_callback_item.rb +190 -0
  118. data/lib/payzu-pix/models/error_response.rb +336 -0
  119. data/lib/payzu-pix/models/get_user200_response.rb +334 -0
  120. data/lib/payzu-pix/models/get_user200_response_daily_withdraw_limit.rb +180 -0
  121. data/lib/payzu-pix/models/get_user200_response_service_fee.rb +199 -0
  122. data/lib/payzu-pix/models/get_user_balance200_response.rb +158 -0
  123. data/lib/payzu-pix/models/get_user_transaction_by_id200_response.rb +595 -0
  124. data/lib/payzu-pix/models/get_user_transaction_by_id200_response_all_of_callback_log_inner.rb +188 -0
  125. data/lib/payzu-pix/models/get_user_transaction_by_id200_response_all_of_infraction_inner.rb +202 -0
  126. data/lib/payzu-pix/models/get_user_transactions200_response.rb +170 -0
  127. data/lib/payzu-pix/models/infraction_detail.rb +293 -0
  128. data/lib/payzu-pix/models/infraction_detail_transaction.rb +213 -0
  129. data/lib/payzu-pix/models/infraction_list_response.rb +159 -0
  130. data/lib/payzu-pix/models/infraction_list_response_pagination.rb +179 -0
  131. data/lib/payzu-pix/models/list_user_reports200_response.rb +170 -0
  132. data/lib/payzu-pix/models/pix_key_info.rb +263 -0
  133. data/lib/payzu-pix/models/post_internal_transfer_request.rb +377 -0
  134. data/lib/payzu-pix/models/post_pix_qrcode_read_request.rb +174 -0
  135. data/lib/payzu-pix/models/post_pix_request.rb +382 -0
  136. data/lib/payzu-pix/models/post_user_report_request.rb +238 -0
  137. data/lib/payzu-pix/models/post_withdraw_qrcode_request.rb +302 -0
  138. data/lib/payzu-pix/models/post_withdraw_request.rb +350 -0
  139. data/lib/payzu-pix/models/proof_response.rb +148 -0
  140. data/lib/payzu-pix/models/qr_code_read_response.rb +283 -0
  141. data/lib/payzu-pix/models/refund.rb +257 -0
  142. data/lib/payzu-pix/models/refund_request.rb +215 -0
  143. data/lib/payzu-pix/models/report_job.rb +234 -0
  144. data/lib/payzu-pix/models/report_job_accepted.rb +237 -0
  145. data/lib/payzu-pix/models/report_job_detail.rb +237 -0
  146. data/lib/payzu-pix/models/resend_user_callback_single200_response.rb +148 -0
  147. data/lib/payzu-pix/models/resend_user_callbacks200_response.rb +158 -0
  148. data/lib/payzu-pix/models/resend_user_callbacks_request.rb +262 -0
  149. data/lib/payzu-pix/models/resend_webhook_callbacks_request.rb +274 -0
  150. data/lib/payzu-pix/models/rotate_callback_secret_response.rb +148 -0
  151. data/lib/payzu-pix/models/rotate_secret_response.rb +148 -0
  152. data/lib/payzu-pix/models/sent_webhook_detail.rb +261 -0
  153. data/lib/payzu-pix/models/sent_webhook_detail_response.rb +164 -0
  154. data/lib/payzu-pix/models/sent_webhooks_quantity.rb +148 -0
  155. data/lib/payzu-pix/models/summary.rb +188 -0
  156. data/lib/payzu-pix/models/summary_block.rb +179 -0
  157. data/lib/payzu-pix/models/summary_block_grouped_inner.rb +158 -0
  158. data/lib/payzu-pix/models/summary_block_statuses.rb +189 -0
  159. data/lib/payzu-pix/models/summary_status.rb +168 -0
  160. data/lib/payzu-pix/models/transaction.rb +588 -0
  161. data/lib/payzu-pix/models/transaction_with_refunds.rb +583 -0
  162. data/lib/payzu-pix/models/webhook.rb +210 -0
  163. data/lib/payzu-pix/models/webhook_create_request.rb +201 -0
  164. data/lib/payzu-pix/models/webhook_event_type.rb +47 -0
  165. data/lib/payzu-pix/models/webhook_list_response.rb +150 -0
  166. data/lib/payzu-pix/models/webhook_update_request.rb +171 -0
  167. data/lib/payzu-pix/models/webhook_with_secret.rb +220 -0
  168. data/lib/payzu-pix/version.rb +15 -0
  169. data/lib/payzu-pix.rb +119 -0
  170. data/payzu-pix.gemspec +41 -0
  171. data/spec/spec_helper.rb +111 -0
  172. metadata +283 -0
@@ -0,0 +1,28 @@
1
+ # PayZuPix::PostWithdrawQrcodeRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **qr_code** | **String** | Pix QR Code payload (EMV format). | |
8
+ | **amount** | **Float** | Amount in BRL, with at most 2 decimal places. Optional: if not provided, uses the QR Code's embedded value. | [optional] |
9
+ | **callback_url** | **String** | URL for transaction notifications (http or https). | [optional] |
10
+ | **description** | **String** | Optional description for the payment. | [optional] |
11
+ | **client_reference** | **String** | External reference for this withdrawal. Repeating it with the same amount and QR Code returns the existing withdrawal; with different data, the request is rejected with PZC210. | [optional] |
12
+ | **virtual_account** | **String** | Virtual sub-account (up to 50 characters) to correlate stores, branches, marketplaces. Returned in the callback. | [optional] |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'payzu-pix'
18
+
19
+ instance = PayZuPix::PostWithdrawQrcodeRequest.new(
20
+ qr_code: 00020101021226770014br.gov.bcb.pix2555api.payzu/pix/qr/v2/013318d6-2d7d-479e-8bb3-b5c7b9da688c5204000053039865802BR5916PAYZU 6007SAOPAULO6217051320260118278956304EC55,
21
+ amount: 20,
22
+ callback_url: https://webhook.cool/,
23
+ description: Pagamento via QR Code,
24
+ client_reference: order-123,
25
+ virtual_account: loja-centro-01
26
+ )
27
+ ```
28
+
@@ -0,0 +1,30 @@
1
+ # PayZuPix::PostWithdrawRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **amount** | **Float** | Amount in BRL, with at most 2 decimal places. Must be >= 0.01. | |
8
+ | **pix_key** | **String** | Destination Pix key in the format of pixType: CPF or CNPJ with valid check digits and no punctuation, phone as +55 followed by area code and number, email, or random key (EVP). | |
9
+ | **pix_type** | **String** | Pix key type. | |
10
+ | **callback_url** | **String** | URL for transaction notifications (http or https). | [optional] |
11
+ | **client_reference** | **String** | External reference for this withdrawal. Repeating it with the same amount and key returns the existing withdrawal; with different data, the request is rejected with PZC210. | [optional] |
12
+ | **description** | **String** | Optional description. | [optional] |
13
+ | **virtual_account** | **String** | Virtual sub-account (up to 50 characters) to correlate stores, branches, marketplaces. Returned in the callback. | [optional] |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'payzu-pix'
19
+
20
+ instance = PayZuPix::PostWithdrawRequest.new(
21
+ amount: 2,
22
+ pix_key: teste@teste.com,
23
+ pix_type: email,
24
+ callback_url: https://webhook.cool/,
25
+ client_reference: withdraw_98765,
26
+ description: Weekly payout,
27
+ virtual_account: loja-centro-01
28
+ )
29
+ ```
30
+
@@ -0,0 +1,18 @@
1
+ # PayZuPix::ProofResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **base64** | **String** | PDF receipt as a base64 data URI (`data:application/pdf;base64,...`), returned when type=base64. | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'payzu-pix'
13
+
14
+ instance = PayZuPix::ProofResponse.new(
15
+ base64: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,38 @@
1
+ # PayZuPix::QRCodeReadResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **qr_code_type** | **String** | Type of QR Code. | [optional] |
8
+ | **name** | **String** | Name of the payment receiver. | [optional] |
9
+ | **document** | **String** | CPF or CNPJ of the receiver. | [optional] |
10
+ | **amount** | **Float** | Amount to be paid (may differ from originalAmount for dynamic QR Codes). | [optional] |
11
+ | **original_amount** | **Float** | Original amount embedded in the QR Code. | [optional] |
12
+ | **txid** | **String** | Transaction identifier. | [optional] |
13
+ | **additional_info** | **String** | Additional information or description. | [optional] |
14
+ | **expires_in** | **Float** | Seconds until QR Code expires (0 for static QR Codes). | [optional] |
15
+ | **created_at** | **Time** | Creation date of the QR Code (for dynamic QR Codes). | [optional] |
16
+ | **amount_editable** | **Boolean** | Whether the payer can change the amount. | [optional] |
17
+ | **due_date** | **String** | Due date of the charge, when the QR Code has one. | [optional] |
18
+
19
+ ## Example
20
+
21
+ ```ruby
22
+ require 'payzu-pix'
23
+
24
+ instance = PayZuPix::QRCodeReadResponse.new(
25
+ qr_code_type: null,
26
+ name: null,
27
+ document: null,
28
+ amount: null,
29
+ original_amount: null,
30
+ txid: null,
31
+ additional_info: null,
32
+ expires_in: null,
33
+ created_at: null,
34
+ amount_editable: null,
35
+ due_date: null
36
+ )
37
+ ```
38
+
data/docs/Refund.md ADDED
@@ -0,0 +1,34 @@
1
+ # PayZuPix::Refund
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | Refund identifier. | [optional] |
8
+ | **amount** | **Float** | Refunded amount in BRL. | [optional] |
9
+ | **reason** | **String** | Refund reason. | [optional] |
10
+ | **description** | **String** | Refund description. | [optional] |
11
+ | **status** | **String** | Refund status. | [optional] |
12
+ | **end_to_end_id** | **String** | End-to-end ID of the refund Pix. | [optional] |
13
+ | **refunded_at** | **Time** | When the refund was completed. | [optional] |
14
+ | **created_at** | **Time** | When the refund was requested. | [optional] |
15
+ | **updated_at** | **Time** | Last change to the refund. | [optional] |
16
+
17
+ ## Example
18
+
19
+ ```ruby
20
+ require 'payzu-pix'
21
+
22
+ instance = PayZuPix::Refund.new(
23
+ id: null,
24
+ amount: null,
25
+ reason: null,
26
+ description: null,
27
+ status: null,
28
+ end_to_end_id: null,
29
+ refunded_at: null,
30
+ created_at: null,
31
+ updated_at: null
32
+ )
33
+ ```
34
+
@@ -0,0 +1,22 @@
1
+ # PayZuPix::RefundRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **amount** | **Float** | Amount in BRL to refund. Omit to refund the full transaction amount. Partial refunds are allowed up to the original amount. | [optional] |
8
+ | **description** | **String** | Free-text description for the refund. | [optional] |
9
+ | **client_reference** | **String** | Idempotency key. Reusing it with the same amount replays the existing refund; reusing it with a different amount is rejected. | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'payzu-pix'
15
+
16
+ instance = PayZuPix::RefundRequest.new(
17
+ amount: 30.5,
18
+ description: Estorno solicitado pelo cliente,
19
+ client_reference: refund-2026-0001
20
+ )
21
+ ```
22
+
@@ -0,0 +1,79 @@
1
+ # PayZuPix::RefundsApi
2
+
3
+ All URIs are relative to *https://api.payzu.processamento.com/v1*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**post_refund**](RefundsApi.md#post_refund) | **POST** /refund/{transactionId} | Refund a Pix |
8
+
9
+
10
+ ## post_refund
11
+
12
+ > <TransactionWithRefunds> post_refund(transaction_id, refund_request)
13
+
14
+ Refund a Pix
15
+
16
+ Refund a received Pix charge. Provide `amount` for a partial refund, or omit it to refund the full amount. Processing is **asynchronous**: the response returns the transaction with `refundStatus: PENDING`; completion is confirmed later by webhook. Send `{}` to refund the full amount. Token permission: `WITHDRAW`.
17
+
18
+ ### Examples
19
+
20
+ ```ruby
21
+ require 'time'
22
+ require 'payzu-pix'
23
+ # setup authorization
24
+ PayZuPix.configure do |config|
25
+ # Configure Bearer authorization: BearerAuth
26
+ config.access_token = 'YOUR_BEARER_TOKEN'
27
+ end
28
+
29
+ api_instance = PayZuPix::RefundsApi.new
30
+ transaction_id = 'PAYZU20260814T6NX1CV9MK000000' # String | ID of the transaction to refund.
31
+ refund_request = PayZuPix::RefundRequest.new # RefundRequest |
32
+
33
+ begin
34
+ # Refund a Pix
35
+ result = api_instance.post_refund(transaction_id, refund_request)
36
+ p result
37
+ rescue PayZuPix::ApiError => e
38
+ puts "Error when calling RefundsApi->post_refund: #{e}"
39
+ end
40
+ ```
41
+
42
+ #### Using the post_refund_with_http_info variant
43
+
44
+ This returns an Array which contains the response data, status code and headers.
45
+
46
+ > <Array(<TransactionWithRefunds>, Integer, Hash)> post_refund_with_http_info(transaction_id, refund_request)
47
+
48
+ ```ruby
49
+ begin
50
+ # Refund a Pix
51
+ data, status_code, headers = api_instance.post_refund_with_http_info(transaction_id, refund_request)
52
+ p status_code # => 2xx
53
+ p headers # => { ... }
54
+ p data # => <TransactionWithRefunds>
55
+ rescue PayZuPix::ApiError => e
56
+ puts "Error when calling RefundsApi->post_refund_with_http_info: #{e}"
57
+ end
58
+ ```
59
+
60
+ ### Parameters
61
+
62
+ | Name | Type | Description | Notes |
63
+ | ---- | ---- | ----------- | ----- |
64
+ | **transaction_id** | **String** | ID of the transaction to refund. | |
65
+ | **refund_request** | [**RefundRequest**](RefundRequest.md) | | |
66
+
67
+ ### Return type
68
+
69
+ [**TransactionWithRefunds**](TransactionWithRefunds.md)
70
+
71
+ ### Authorization
72
+
73
+ [BearerAuth](../README.md#BearerAuth)
74
+
75
+ ### HTTP request headers
76
+
77
+ - **Content-Type**: application/json
78
+ - **Accept**: application/json
79
+
data/docs/ReportJob.md ADDED
@@ -0,0 +1,30 @@
1
+ # PayZuPix::ReportJob
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | Report identifier (UUID), generated when the report is requested. | [optional] |
8
+ | **status** | **String** | Generation progress: PENDING, RUNNING, COMPLETED or FAILED. | [optional] |
9
+ | **created_at** | **Time** | Date and time the report generation was requested. | [optional] |
10
+ | **updated_at** | **Time** | Date and time of the last change to the report record. | [optional] |
11
+ | **expires_at** | **Time** | When the file expires from storage (typically 7 days after creation) | [optional] |
12
+ | **params** | **Object** | Filters used to generate the report. | [optional] |
13
+ | **written_rows** | **Integer** | Rows written to the file. Null until the report is COMPLETED. | [optional] |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'payzu-pix'
19
+
20
+ instance = PayZuPix::ReportJob.new(
21
+ id: null,
22
+ status: null,
23
+ created_at: null,
24
+ updated_at: null,
25
+ expires_at: null,
26
+ params: null,
27
+ written_rows: null
28
+ )
29
+ ```
30
+
@@ -0,0 +1,30 @@
1
+ # PayZuPix::ReportJobAccepted
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | Report identifier (UUID), generated when the report is requested. | [optional] |
8
+ | **status** | **String** | Generation progress: PENDING, RUNNING, COMPLETED or FAILED. | [optional] |
9
+ | **created_at** | **Time** | Date and time the report generation was requested. | [optional] |
10
+ | **updated_at** | **Time** | Date and time of the last change to the report record. | [optional] |
11
+ | **params** | **Hash&lt;String, Object&gt;** | Filters used when the report was created. | [optional] |
12
+ | **written_rows** | **Integer** | Rows written to the file. Null until the report is COMPLETED. | [optional] |
13
+ | **storage_expires_at** | **Time** | Date the report file expires. | [optional] |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'payzu-pix'
19
+
20
+ instance = PayZuPix::ReportJobAccepted.new(
21
+ id: null,
22
+ status: null,
23
+ created_at: null,
24
+ updated_at: null,
25
+ params: null,
26
+ written_rows: null,
27
+ storage_expires_at: null
28
+ )
29
+ ```
30
+
@@ -0,0 +1,30 @@
1
+ # PayZuPix::ReportJobDetail
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | Report identifier (UUID), generated when the report is requested. | [optional] |
8
+ | **status** | **String** | Generation progress: PENDING, RUNNING, COMPLETED or FAILED. | [optional] |
9
+ | **created_at** | **Time** | Date and time the report generation was requested. | [optional] |
10
+ | **updated_at** | **Time** | Date and time of the last change to the report record. | [optional] |
11
+ | **expires_at** | **Time** | When the file expires from storage (usually 7 days after creation) | [optional] |
12
+ | **params** | **Hash&lt;String, Object&gt;** | Filters used when the report was created. | [optional] |
13
+ | **written_rows** | **Integer** | Rows written to the file. Null until the report is COMPLETED. | [optional] |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'payzu-pix'
19
+
20
+ instance = PayZuPix::ReportJobDetail.new(
21
+ id: null,
22
+ status: null,
23
+ created_at: null,
24
+ updated_at: null,
25
+ expires_at: null,
26
+ params: null,
27
+ written_rows: null
28
+ )
29
+ ```
30
+