@flowio/api-mock-generator 6.17.78 → 6.17.79

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 (3) hide show
  1. package/dist/api.json +290 -3
  2. package/package.json +2 -2
  3. package/src/api.json +290 -3
package/dist/api.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "key": "api"
11
11
  },
12
12
  "namespace": "io.flow.v0",
13
- "version": "0.18.63",
13
+ "version": "0.18.69",
14
14
  "info": {
15
15
  "license": {
16
16
  "name": "MIT",
@@ -76,7 +76,7 @@
76
76
  "application": {
77
77
  "key": "ben-test-internal"
78
78
  },
79
- "version": "0.22.49",
79
+ "version": "0.22.82",
80
80
  "enums": [],
81
81
  "interfaces": ["generate_load"],
82
82
  "unions": ["generate_load"],
@@ -3557,6 +3557,10 @@
3557
3557
  "name": "order_mismatched_currencies",
3558
3558
  "attributes": [],
3559
3559
  "description": "The order has transactions in a different currency than the presentment currency."
3560
+ }, {
3561
+ "name": "order_missing",
3562
+ "attributes": [],
3563
+ "description": "The order number is missing."
3560
3564
  }],
3561
3565
  "attributes": [],
3562
3566
  "description": "The type of check that was performed."
@@ -8869,10 +8873,26 @@
8869
8873
  "type": "payment_processor_transaction_details_card",
8870
8874
  "attributes": [],
8871
8875
  "discriminator_value": "card"
8876
+ }, {
8877
+ "type": "payment_processor_transaction_details_apm",
8878
+ "attributes": [],
8879
+ "discriminator_value": "apm"
8872
8880
  }],
8873
8881
  "attributes": [],
8874
8882
  "interfaces": ["payment_processor_transaction_details"],
8875
8883
  "discriminator": "discriminator"
8884
+ }, {
8885
+ "name": "payment_request_cancellation_reason",
8886
+ "plural": "payment_request_cancellation_reasons",
8887
+ "types": [{
8888
+ "type": "payment_request_cancellation_reason_order_missing",
8889
+ "attributes": [],
8890
+ "description": "The order number is missing.",
8891
+ "discriminator_value": "order_missing"
8892
+ }],
8893
+ "attributes": [],
8894
+ "interfaces": [],
8895
+ "discriminator": "type"
8876
8896
  }, {
8877
8897
  "name": "payment_source",
8878
8898
  "plural": "payment_sources",
@@ -39082,6 +39102,48 @@
39082
39102
  }],
39083
39103
  "attributes": [],
39084
39104
  "interfaces": []
39105
+ }, {
39106
+ "name": "payment_processor_transaction_details_apm",
39107
+ "plural": "payment_processor_transaction_details_apms",
39108
+ "fields": [{
39109
+ "name": "transaction_identifier",
39110
+ "type": "string",
39111
+ "required": false,
39112
+ "attributes": [],
39113
+ "annotations": [],
39114
+ "description": "The most specific PSP identifier for an authorization attempt / result"
39115
+ }, {
39116
+ "name": "capture_identifier",
39117
+ "type": "string",
39118
+ "required": false,
39119
+ "attributes": [],
39120
+ "annotations": [],
39121
+ "description": "The most specific PSP identifier for a capture. This will be populated if there is automatic capture in most cases. For Stripe this must be a charge id (starts with py_)"
39122
+ }, {
39123
+ "name": "method_type",
39124
+ "type": "string",
39125
+ "required": false,
39126
+ "attributes": [],
39127
+ "annotations": [],
39128
+ "description": "The PSP's identification of the payment method subtype, e.g. klarna"
39129
+ }, {
39130
+ "name": "result_status",
39131
+ "type": "string",
39132
+ "required": false,
39133
+ "attributes": [],
39134
+ "annotations": [],
39135
+ "description": "The transaction's raw result status"
39136
+ }, {
39137
+ "name": "reason_code",
39138
+ "type": "string",
39139
+ "required": false,
39140
+ "attributes": [],
39141
+ "annotations": [],
39142
+ "description": "The transaction's raw reason code"
39143
+ }],
39144
+ "attributes": [],
39145
+ "interfaces": ["payment_processor_transaction_details"],
39146
+ "description": "Data elements gathered from the PSP's authorization messages. Format will differ by PSP."
39085
39147
  }, {
39086
39148
  "name": "payment_processor_transaction_details_card",
39087
39149
  "plural": "payment_processor_transaction_details_cards",
@@ -39528,6 +39590,19 @@
39528
39590
  }],
39529
39591
  "attributes": [],
39530
39592
  "interfaces": []
39593
+ }, {
39594
+ "name": "payment_request_cancellation_reason_order_missing",
39595
+ "plural": "payment_request_cancellation_reason_order_missings",
39596
+ "fields": [{
39597
+ "name": "description",
39598
+ "type": "string",
39599
+ "required": false,
39600
+ "attributes": [],
39601
+ "annotations": [],
39602
+ "description": "Additional provided information about why this payment request was cancelled."
39603
+ }],
39604
+ "attributes": [],
39605
+ "interfaces": []
39531
39606
  }, {
39532
39607
  "name": "payment_request_deleted",
39533
39608
  "plural": "payment_request_deleteds",
@@ -40151,6 +40226,13 @@
40151
40226
  "annotations": [],
40152
40227
  "description": "The payment ID in PayPal.",
40153
40228
  "example": "PAY-lkj23lk4j23l42341123"
40229
+ }, {
40230
+ "name": "internal_payment_id",
40231
+ "type": "string",
40232
+ "required": false,
40233
+ "attributes": [],
40234
+ "annotations": [],
40235
+ "description": "Internal payment ID (pmt-xxx)"
40154
40236
  }, {
40155
40237
  "name": "payment_method",
40156
40238
  "type": "string",
@@ -44849,6 +44931,24 @@
44849
44931
  }],
44850
44932
  "attributes": [],
44851
44933
  "interfaces": []
44934
+ }, {
44935
+ "name": "rejection_put_form",
44936
+ "plural": "rejection_put_forms",
44937
+ "fields": [{
44938
+ "name": "reason",
44939
+ "type": "merchant_rejected_reason",
44940
+ "required": true,
44941
+ "attributes": [],
44942
+ "annotations": []
44943
+ }, {
44944
+ "name": "description",
44945
+ "type": "string",
44946
+ "required": true,
44947
+ "attributes": [],
44948
+ "annotations": []
44949
+ }],
44950
+ "attributes": [],
44951
+ "interfaces": []
44852
44952
  }, {
44853
44953
  "name": "remote_area_by_weight_service_fee",
44854
44954
  "plural": "remote_area_by_weight_service_fees",
@@ -53599,7 +53699,7 @@
53599
53699
  "annotations": []
53600
53700
  }, {
53601
53701
  "name": "organization_transaction",
53602
- "type": "transaction_reference",
53702
+ "type": "transaction_metadata_channel_organization_transaction",
53603
53703
  "required": true,
53604
53704
  "attributes": [],
53605
53705
  "annotations": []
@@ -53642,6 +53742,25 @@
53642
53742
  }],
53643
53743
  "attributes": [],
53644
53744
  "interfaces": []
53745
+ }, {
53746
+ "name": "transaction_metadata_channel_organization_transaction",
53747
+ "plural": "transaction_metadata_channel_organization_transactions",
53748
+ "fields": [{
53749
+ "name": "id",
53750
+ "type": "string",
53751
+ "required": true,
53752
+ "attributes": [],
53753
+ "annotations": [],
53754
+ "description": "Globally unique identifier"
53755
+ }, {
53756
+ "name": "metadata",
53757
+ "type": "transaction_metadata_payment_transaction",
53758
+ "required": true,
53759
+ "attributes": [],
53760
+ "annotations": []
53761
+ }],
53762
+ "attributes": [],
53763
+ "interfaces": []
53645
53764
  }, {
53646
53765
  "name": "transaction_metadata_failed_payout",
53647
53766
  "plural": "transaction_metadata_failed_payouts",
@@ -91870,6 +91989,63 @@
91870
91989
  "type": "deactivation_put_form",
91871
91990
  "attributes": []
91872
91991
  }
91992
+ }, {
91993
+ "method": "PUT",
91994
+ "path": "/channel/:channel/organization/:organization/reject",
91995
+ "parameters": [{
91996
+ "name": "channel",
91997
+ "type": "string",
91998
+ "location": "Path",
91999
+ "required": true
92000
+ }, {
92001
+ "name": "organization",
92002
+ "type": "string",
92003
+ "location": "Path",
92004
+ "required": true,
92005
+ "description": "Refers to your organization's account identifier"
92006
+ }],
92007
+ "responses": [{
92008
+ "code": {
92009
+ "integer": {
92010
+ "value": 201
92011
+ }
92012
+ },
92013
+ "type": "organization_onboarding_state",
92014
+ "description": "Operation succeeded and the resource was created",
92015
+ "attributes": []
92016
+ }, {
92017
+ "code": {
92018
+ "integer": {
92019
+ "value": 401
92020
+ }
92021
+ },
92022
+ "type": "unit",
92023
+ "description": "Authorization failed",
92024
+ "attributes": []
92025
+ }, {
92026
+ "code": {
92027
+ "integer": {
92028
+ "value": 404
92029
+ }
92030
+ },
92031
+ "type": "unit",
92032
+ "description": "Resource was not found",
92033
+ "attributes": []
92034
+ }, {
92035
+ "code": {
92036
+ "integer": {
92037
+ "value": 422
92038
+ }
92039
+ },
92040
+ "type": "generic_error",
92041
+ "description": "One or more errors were found with the data sent in the request. The body of the response contains specific details on what data failed validation.",
92042
+ "attributes": []
92043
+ }],
92044
+ "attributes": [],
92045
+ "body": {
92046
+ "type": "rejection_put_form",
92047
+ "attributes": []
92048
+ }
91873
92049
  }, {
91874
92050
  "method": "GET",
91875
92051
  "path": "/:organization/onboarding/state",
@@ -92022,6 +92198,58 @@
92022
92198
  "type": "deactivation_put_form",
92023
92199
  "attributes": []
92024
92200
  }
92201
+ }, {
92202
+ "method": "PUT",
92203
+ "path": "/:organization/onboarding/state/reject",
92204
+ "parameters": [{
92205
+ "name": "organization",
92206
+ "type": "string",
92207
+ "location": "Path",
92208
+ "required": true,
92209
+ "description": "Refers to your organization's account identifier"
92210
+ }],
92211
+ "responses": [{
92212
+ "code": {
92213
+ "integer": {
92214
+ "value": 201
92215
+ }
92216
+ },
92217
+ "type": "organization_onboarding_state",
92218
+ "description": "Operation succeeded and the resource was created",
92219
+ "attributes": []
92220
+ }, {
92221
+ "code": {
92222
+ "integer": {
92223
+ "value": 401
92224
+ }
92225
+ },
92226
+ "type": "unit",
92227
+ "description": "Authorization failed",
92228
+ "attributes": []
92229
+ }, {
92230
+ "code": {
92231
+ "integer": {
92232
+ "value": 404
92233
+ }
92234
+ },
92235
+ "type": "unit",
92236
+ "description": "Resource was not found",
92237
+ "attributes": []
92238
+ }, {
92239
+ "code": {
92240
+ "integer": {
92241
+ "value": 422
92242
+ }
92243
+ },
92244
+ "type": "generic_error",
92245
+ "description": "One or more errors were found with the data sent in the request. The body of the response contains specific details on what data failed validation.",
92246
+ "attributes": []
92247
+ }],
92248
+ "attributes": [],
92249
+ "body": {
92250
+ "type": "rejection_put_form",
92251
+ "attributes": []
92252
+ }
92025
92253
  }],
92026
92254
  "attributes": [{
92027
92255
  "name": "docs",
@@ -93193,6 +93421,65 @@
93193
93421
  "type": "payment_request_form",
93194
93422
  "attributes": []
93195
93423
  }
93424
+ }, {
93425
+ "method": "POST",
93426
+ "path": "/:organization/payment/requests/:id/cancel",
93427
+ "parameters": [{
93428
+ "name": "organization",
93429
+ "type": "string",
93430
+ "location": "Path",
93431
+ "required": true,
93432
+ "description": "Refers to your organization's account identifier"
93433
+ }, {
93434
+ "name": "id",
93435
+ "type": "string",
93436
+ "location": "Path",
93437
+ "required": true,
93438
+ "description": "Filter by one or more IDs of this resource"
93439
+ }],
93440
+ "responses": [{
93441
+ "code": {
93442
+ "integer": {
93443
+ "value": 200
93444
+ }
93445
+ },
93446
+ "type": "payment_request",
93447
+ "description": "Successful response",
93448
+ "attributes": []
93449
+ }, {
93450
+ "code": {
93451
+ "integer": {
93452
+ "value": 401
93453
+ }
93454
+ },
93455
+ "type": "unit",
93456
+ "description": "Authorization failed",
93457
+ "attributes": []
93458
+ }, {
93459
+ "code": {
93460
+ "integer": {
93461
+ "value": 404
93462
+ }
93463
+ },
93464
+ "type": "unit",
93465
+ "description": "Resource was not found",
93466
+ "attributes": []
93467
+ }, {
93468
+ "code": {
93469
+ "integer": {
93470
+ "value": 422
93471
+ }
93472
+ },
93473
+ "type": "generic_error",
93474
+ "description": "One or more errors were found with the data sent in the request. The body of the response contains specific details on what data failed validation.",
93475
+ "attributes": []
93476
+ }],
93477
+ "attributes": [],
93478
+ "description": "Cancels the payment request.",
93479
+ "body": {
93480
+ "type": "payment_request_cancellation_reason",
93481
+ "attributes": []
93482
+ }
93196
93483
  }, {
93197
93484
  "method": "POST",
93198
93485
  "path": "/:organization/payment/requests/:id/capture",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-mock-generator",
3
- "version": "6.17.78",
3
+ "version": "6.17.79",
4
4
  "description": "A mock data generator based on our API specifications for JavaScript",
5
5
  "keywords": [
6
6
  "flowcommerce",
@@ -28,5 +28,5 @@
28
28
  "apibuilder-js": "0.0.13",
29
29
  "apibuilder-mock-generator": "0.0.13"
30
30
  },
31
- "gitHead": "15b5319239e2dc57a7ee0b2171f4f54fc4172c16"
31
+ "gitHead": "25d6ba675365a3fb318abcc4bc935dd549089238"
32
32
  }
package/src/api.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "key" : "api"
11
11
  },
12
12
  "namespace" : "io.flow.v0",
13
- "version" : "0.18.63",
13
+ "version" : "0.18.69",
14
14
  "info" : {
15
15
  "license" : {
16
16
  "name" : "MIT",
@@ -76,7 +76,7 @@
76
76
  "application" : {
77
77
  "key" : "ben-test-internal"
78
78
  },
79
- "version" : "0.22.49",
79
+ "version" : "0.22.82",
80
80
  "enums" : [ ],
81
81
  "interfaces" : [ "generate_load" ],
82
82
  "unions" : [ "generate_load" ],
@@ -3557,6 +3557,10 @@
3557
3557
  "name" : "order_mismatched_currencies",
3558
3558
  "attributes" : [ ],
3559
3559
  "description" : "The order has transactions in a different currency than the presentment currency."
3560
+ }, {
3561
+ "name" : "order_missing",
3562
+ "attributes" : [ ],
3563
+ "description" : "The order number is missing."
3560
3564
  } ],
3561
3565
  "attributes" : [ ],
3562
3566
  "description" : "The type of check that was performed."
@@ -8869,10 +8873,26 @@
8869
8873
  "type" : "payment_processor_transaction_details_card",
8870
8874
  "attributes" : [ ],
8871
8875
  "discriminator_value" : "card"
8876
+ }, {
8877
+ "type" : "payment_processor_transaction_details_apm",
8878
+ "attributes" : [ ],
8879
+ "discriminator_value" : "apm"
8872
8880
  } ],
8873
8881
  "attributes" : [ ],
8874
8882
  "interfaces" : [ "payment_processor_transaction_details" ],
8875
8883
  "discriminator" : "discriminator"
8884
+ }, {
8885
+ "name" : "payment_request_cancellation_reason",
8886
+ "plural" : "payment_request_cancellation_reasons",
8887
+ "types" : [ {
8888
+ "type" : "payment_request_cancellation_reason_order_missing",
8889
+ "attributes" : [ ],
8890
+ "description" : "The order number is missing.",
8891
+ "discriminator_value" : "order_missing"
8892
+ } ],
8893
+ "attributes" : [ ],
8894
+ "interfaces" : [ ],
8895
+ "discriminator" : "type"
8876
8896
  }, {
8877
8897
  "name" : "payment_source",
8878
8898
  "plural" : "payment_sources",
@@ -39082,6 +39102,48 @@
39082
39102
  } ],
39083
39103
  "attributes" : [ ],
39084
39104
  "interfaces" : [ ]
39105
+ }, {
39106
+ "name" : "payment_processor_transaction_details_apm",
39107
+ "plural" : "payment_processor_transaction_details_apms",
39108
+ "fields" : [ {
39109
+ "name" : "transaction_identifier",
39110
+ "type" : "string",
39111
+ "required" : false,
39112
+ "attributes" : [ ],
39113
+ "annotations" : [ ],
39114
+ "description" : "The most specific PSP identifier for an authorization attempt / result"
39115
+ }, {
39116
+ "name" : "capture_identifier",
39117
+ "type" : "string",
39118
+ "required" : false,
39119
+ "attributes" : [ ],
39120
+ "annotations" : [ ],
39121
+ "description" : "The most specific PSP identifier for a capture. This will be populated if there is automatic capture in most cases. For Stripe this must be a charge id (starts with py_)"
39122
+ }, {
39123
+ "name" : "method_type",
39124
+ "type" : "string",
39125
+ "required" : false,
39126
+ "attributes" : [ ],
39127
+ "annotations" : [ ],
39128
+ "description" : "The PSP's identification of the payment method subtype, e.g. klarna"
39129
+ }, {
39130
+ "name" : "result_status",
39131
+ "type" : "string",
39132
+ "required" : false,
39133
+ "attributes" : [ ],
39134
+ "annotations" : [ ],
39135
+ "description" : "The transaction's raw result status"
39136
+ }, {
39137
+ "name" : "reason_code",
39138
+ "type" : "string",
39139
+ "required" : false,
39140
+ "attributes" : [ ],
39141
+ "annotations" : [ ],
39142
+ "description" : "The transaction's raw reason code"
39143
+ } ],
39144
+ "attributes" : [ ],
39145
+ "interfaces" : [ "payment_processor_transaction_details" ],
39146
+ "description" : "Data elements gathered from the PSP's authorization messages. Format will differ by PSP."
39085
39147
  }, {
39086
39148
  "name" : "payment_processor_transaction_details_card",
39087
39149
  "plural" : "payment_processor_transaction_details_cards",
@@ -39528,6 +39590,19 @@
39528
39590
  } ],
39529
39591
  "attributes" : [ ],
39530
39592
  "interfaces" : [ ]
39593
+ }, {
39594
+ "name" : "payment_request_cancellation_reason_order_missing",
39595
+ "plural" : "payment_request_cancellation_reason_order_missings",
39596
+ "fields" : [ {
39597
+ "name" : "description",
39598
+ "type" : "string",
39599
+ "required" : false,
39600
+ "attributes" : [ ],
39601
+ "annotations" : [ ],
39602
+ "description" : "Additional provided information about why this payment request was cancelled."
39603
+ } ],
39604
+ "attributes" : [ ],
39605
+ "interfaces" : [ ]
39531
39606
  }, {
39532
39607
  "name" : "payment_request_deleted",
39533
39608
  "plural" : "payment_request_deleteds",
@@ -40151,6 +40226,13 @@
40151
40226
  "annotations" : [ ],
40152
40227
  "description" : "The payment ID in PayPal.",
40153
40228
  "example" : "PAY-lkj23lk4j23l42341123"
40229
+ }, {
40230
+ "name" : "internal_payment_id",
40231
+ "type" : "string",
40232
+ "required" : false,
40233
+ "attributes" : [ ],
40234
+ "annotations" : [ ],
40235
+ "description" : "Internal payment ID (pmt-xxx)"
40154
40236
  }, {
40155
40237
  "name" : "payment_method",
40156
40238
  "type" : "string",
@@ -44849,6 +44931,24 @@
44849
44931
  } ],
44850
44932
  "attributes" : [ ],
44851
44933
  "interfaces" : [ ]
44934
+ }, {
44935
+ "name" : "rejection_put_form",
44936
+ "plural" : "rejection_put_forms",
44937
+ "fields" : [ {
44938
+ "name" : "reason",
44939
+ "type" : "merchant_rejected_reason",
44940
+ "required" : true,
44941
+ "attributes" : [ ],
44942
+ "annotations" : [ ]
44943
+ }, {
44944
+ "name" : "description",
44945
+ "type" : "string",
44946
+ "required" : true,
44947
+ "attributes" : [ ],
44948
+ "annotations" : [ ]
44949
+ } ],
44950
+ "attributes" : [ ],
44951
+ "interfaces" : [ ]
44852
44952
  }, {
44853
44953
  "name" : "remote_area_by_weight_service_fee",
44854
44954
  "plural" : "remote_area_by_weight_service_fees",
@@ -53599,7 +53699,7 @@
53599
53699
  "annotations" : [ ]
53600
53700
  }, {
53601
53701
  "name" : "organization_transaction",
53602
- "type" : "transaction_reference",
53702
+ "type" : "transaction_metadata_channel_organization_transaction",
53603
53703
  "required" : true,
53604
53704
  "attributes" : [ ],
53605
53705
  "annotations" : [ ]
@@ -53642,6 +53742,25 @@
53642
53742
  } ],
53643
53743
  "attributes" : [ ],
53644
53744
  "interfaces" : [ ]
53745
+ }, {
53746
+ "name" : "transaction_metadata_channel_organization_transaction",
53747
+ "plural" : "transaction_metadata_channel_organization_transactions",
53748
+ "fields" : [ {
53749
+ "name" : "id",
53750
+ "type" : "string",
53751
+ "required" : true,
53752
+ "attributes" : [ ],
53753
+ "annotations" : [ ],
53754
+ "description" : "Globally unique identifier"
53755
+ }, {
53756
+ "name" : "metadata",
53757
+ "type" : "transaction_metadata_payment_transaction",
53758
+ "required" : true,
53759
+ "attributes" : [ ],
53760
+ "annotations" : [ ]
53761
+ } ],
53762
+ "attributes" : [ ],
53763
+ "interfaces" : [ ]
53645
53764
  }, {
53646
53765
  "name" : "transaction_metadata_failed_payout",
53647
53766
  "plural" : "transaction_metadata_failed_payouts",
@@ -91870,6 +91989,63 @@
91870
91989
  "type" : "deactivation_put_form",
91871
91990
  "attributes" : [ ]
91872
91991
  }
91992
+ }, {
91993
+ "method" : "PUT",
91994
+ "path" : "/channel/:channel/organization/:organization/reject",
91995
+ "parameters" : [ {
91996
+ "name" : "channel",
91997
+ "type" : "string",
91998
+ "location" : "Path",
91999
+ "required" : true
92000
+ }, {
92001
+ "name" : "organization",
92002
+ "type" : "string",
92003
+ "location" : "Path",
92004
+ "required" : true,
92005
+ "description" : "Refers to your organization's account identifier"
92006
+ } ],
92007
+ "responses" : [ {
92008
+ "code" : {
92009
+ "integer" : {
92010
+ "value" : 201
92011
+ }
92012
+ },
92013
+ "type" : "organization_onboarding_state",
92014
+ "description" : "Operation succeeded and the resource was created",
92015
+ "attributes" : [ ]
92016
+ }, {
92017
+ "code" : {
92018
+ "integer" : {
92019
+ "value" : 401
92020
+ }
92021
+ },
92022
+ "type" : "unit",
92023
+ "description" : "Authorization failed",
92024
+ "attributes" : [ ]
92025
+ }, {
92026
+ "code" : {
92027
+ "integer" : {
92028
+ "value" : 404
92029
+ }
92030
+ },
92031
+ "type" : "unit",
92032
+ "description" : "Resource was not found",
92033
+ "attributes" : [ ]
92034
+ }, {
92035
+ "code" : {
92036
+ "integer" : {
92037
+ "value" : 422
92038
+ }
92039
+ },
92040
+ "type" : "generic_error",
92041
+ "description" : "One or more errors were found with the data sent in the request. The body of the response contains specific details on what data failed validation.",
92042
+ "attributes" : [ ]
92043
+ } ],
92044
+ "attributes" : [ ],
92045
+ "body" : {
92046
+ "type" : "rejection_put_form",
92047
+ "attributes" : [ ]
92048
+ }
91873
92049
  }, {
91874
92050
  "method" : "GET",
91875
92051
  "path" : "/:organization/onboarding/state",
@@ -92022,6 +92198,58 @@
92022
92198
  "type" : "deactivation_put_form",
92023
92199
  "attributes" : [ ]
92024
92200
  }
92201
+ }, {
92202
+ "method" : "PUT",
92203
+ "path" : "/:organization/onboarding/state/reject",
92204
+ "parameters" : [ {
92205
+ "name" : "organization",
92206
+ "type" : "string",
92207
+ "location" : "Path",
92208
+ "required" : true,
92209
+ "description" : "Refers to your organization's account identifier"
92210
+ } ],
92211
+ "responses" : [ {
92212
+ "code" : {
92213
+ "integer" : {
92214
+ "value" : 201
92215
+ }
92216
+ },
92217
+ "type" : "organization_onboarding_state",
92218
+ "description" : "Operation succeeded and the resource was created",
92219
+ "attributes" : [ ]
92220
+ }, {
92221
+ "code" : {
92222
+ "integer" : {
92223
+ "value" : 401
92224
+ }
92225
+ },
92226
+ "type" : "unit",
92227
+ "description" : "Authorization failed",
92228
+ "attributes" : [ ]
92229
+ }, {
92230
+ "code" : {
92231
+ "integer" : {
92232
+ "value" : 404
92233
+ }
92234
+ },
92235
+ "type" : "unit",
92236
+ "description" : "Resource was not found",
92237
+ "attributes" : [ ]
92238
+ }, {
92239
+ "code" : {
92240
+ "integer" : {
92241
+ "value" : 422
92242
+ }
92243
+ },
92244
+ "type" : "generic_error",
92245
+ "description" : "One or more errors were found with the data sent in the request. The body of the response contains specific details on what data failed validation.",
92246
+ "attributes" : [ ]
92247
+ } ],
92248
+ "attributes" : [ ],
92249
+ "body" : {
92250
+ "type" : "rejection_put_form",
92251
+ "attributes" : [ ]
92252
+ }
92025
92253
  } ],
92026
92254
  "attributes" : [ {
92027
92255
  "name" : "docs",
@@ -93193,6 +93421,65 @@
93193
93421
  "type" : "payment_request_form",
93194
93422
  "attributes" : [ ]
93195
93423
  }
93424
+ }, {
93425
+ "method" : "POST",
93426
+ "path" : "/:organization/payment/requests/:id/cancel",
93427
+ "parameters" : [ {
93428
+ "name" : "organization",
93429
+ "type" : "string",
93430
+ "location" : "Path",
93431
+ "required" : true,
93432
+ "description" : "Refers to your organization's account identifier"
93433
+ }, {
93434
+ "name" : "id",
93435
+ "type" : "string",
93436
+ "location" : "Path",
93437
+ "required" : true,
93438
+ "description" : "Filter by one or more IDs of this resource"
93439
+ } ],
93440
+ "responses" : [ {
93441
+ "code" : {
93442
+ "integer" : {
93443
+ "value" : 200
93444
+ }
93445
+ },
93446
+ "type" : "payment_request",
93447
+ "description" : "Successful response",
93448
+ "attributes" : [ ]
93449
+ }, {
93450
+ "code" : {
93451
+ "integer" : {
93452
+ "value" : 401
93453
+ }
93454
+ },
93455
+ "type" : "unit",
93456
+ "description" : "Authorization failed",
93457
+ "attributes" : [ ]
93458
+ }, {
93459
+ "code" : {
93460
+ "integer" : {
93461
+ "value" : 404
93462
+ }
93463
+ },
93464
+ "type" : "unit",
93465
+ "description" : "Resource was not found",
93466
+ "attributes" : [ ]
93467
+ }, {
93468
+ "code" : {
93469
+ "integer" : {
93470
+ "value" : 422
93471
+ }
93472
+ },
93473
+ "type" : "generic_error",
93474
+ "description" : "One or more errors were found with the data sent in the request. The body of the response contains specific details on what data failed validation.",
93475
+ "attributes" : [ ]
93476
+ } ],
93477
+ "attributes" : [ ],
93478
+ "description" : "Cancels the payment request.",
93479
+ "body" : {
93480
+ "type" : "payment_request_cancellation_reason",
93481
+ "attributes" : [ ]
93482
+ }
93196
93483
  }, {
93197
93484
  "method" : "POST",
93198
93485
  "path" : "/:organization/payment/requests/:id/capture",