@flowio/api-mock-generator 6.17.57 → 6.17.59

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 +1619 -659
  2. package/package.json +2 -2
  3. package/src/api.json +1618 -658
package/dist/api.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "key": "api"
11
11
  },
12
12
  "namespace": "io.flow.v0",
13
- "version": "0.17.65",
13
+ "version": "0.17.82",
14
14
  "info": {
15
15
  "license": {
16
16
  "name": "MIT",
@@ -31,7 +31,7 @@
31
31
  "application": {
32
32
  "key": "apple-pay"
33
33
  },
34
- "version": "0.3.31",
34
+ "version": "0.3.32",
35
35
  "enums": ["apple_pay_contact_field", "apple_pay_line_item_type", "apple_pay_merchant_capability", "apple_pay_shipping_type", "apple_pay_supported_networks"],
36
36
  "interfaces": [],
37
37
  "unions": [],
@@ -46,7 +46,7 @@
46
46
  "application": {
47
47
  "key": "google-pay"
48
48
  },
49
- "version": "0.3.31",
49
+ "version": "0.3.32",
50
50
  "enums": ["auth_method", "billing_address_format", "card_gateway", "card_network", "payment_method_type", "tokenization_type", "total_price_status"],
51
51
  "interfaces": [],
52
52
  "unions": ["payment_method_token"],
@@ -61,27 +61,12 @@
61
61
  "application": {
62
62
  "key": "shopify-external"
63
63
  },
64
- "version": "0.3.31",
64
+ "version": "0.3.32",
65
65
  "enums": ["cancel_reason", "discount_status", "discount_type", "discrepancy_reason", "event", "financial_status_type", "format", "fulfillment_service", "fulfillment_status_type", "inventory_behaviour", "inventory_management", "inventory_policy", "kind_type", "localized_price", "order_status_type", "price_rule_allocation_method", "price_rule_customer_selection", "price_rule_target_selection", "price_rule_target_type", "price_rule_value_type", "published_scope", "restock_type", "shopify_customer_state", "shopify_discount_pagination_direction", "shopify_gift_card_status", "shopify_processing_method_type", "shopify_transaction_error_code", "shopify_transaction_status", "topic", "value_type", "weight_unit"],
66
66
  "interfaces": [],
67
67
  "unions": [],
68
68
  "models": ["collection", "collection_webhook", "count", "metafield", "metafield_form", "option", "price_rule", "price_rule_discount_code", "price_rule_form", "price_rule_greater_than_range", "price_rule_less_than_range", "price_rule_prerequisite_to_entitlement_purchase", "price_rule_prerequisite_to_entitlement_quantity_ratio", "product", "product_delete", "product_image", "product_variant", "request_metafield_form", "request_shopify_gift_card", "request_shopify_refund_form", "request_shopify_transaction_form", "response_collection", "response_metafield", "response_metafields", "response_orders_wrapper", "response_price_rule", "response_price_rule_discount_code", "response_price_rule_discount_codes", "response_price_rules", "response_product", "response_products", "response_shopify_gift_card", "response_shopify_gift_cards", "response_shopify_refund_single", "response_shopify_transaction", "response_shopify_transaction_single", "response_smart_collection", "response_variant", "shop", "shop_response", "shopify_address", "shopify_attribute", "shopify_cart_item_discount", "shopify_client_detail", "shopify_customer", "shopify_customer_address", "shopify_customer_delete", "shopify_customers_response_wrapper", "shopify_discount_application", "shopify_discount_code", "shopify_error", "shopify_external_cart", "shopify_external_cart_item", "shopify_fulfillment", "shopify_fulfillment_wrapper", "shopify_gift_card", "shopify_gift_card_adjustment", "shopify_gift_card_adjustment_form", "shopify_gift_card_adjustment_form_wrapper", "shopify_gift_card_adjustment_response_wrapper", "shopify_gift_card_adjustments_response_wrapper", "shopify_gift_card_form", "shopify_inventory_item", "shopify_inventory_item_delete", "shopify_inventory_level", "shopify_inventory_level_disconnect", "shopify_inventory_level_response_wrapper", "shopify_line_item", "shopify_line_item_form", "shopify_line_level_discount_allocation", "shopify_location", "shopify_location_delete", "shopify_locations_response_wrapper", "shopify_order", "shopify_order_count", "shopify_order_customer", "shopify_order_wrapper", "shopify_payment_detail", "shopify_property", "shopify_refund", "shopify_refund_form", "shopify_refund_line_item", "shopify_refund_line_item_form", "shopify_shipping_line", "shopify_tax_line", "shopify_transaction", "shopify_transaction_form", "shopify_transaction_gift_card_receipt", "shopify_webhook_customers_redact", "shopify_webhook_customers_redact_customer", "shopify_webhook_order", "shopify_webhook_order_cancelled", "shopify_webhook_order_line_item", "shopify_webhook_shop_redact", "smart_collection", "webhook", "webhook_form", "webhook_form_wrapper", "webhook_response_list", "webhook_response_single"],
69
69
  "annotations": []
70
- }, {
71
- "uri": "https://app.apibuilder.io/flow/billing-true-up/latest/service.json",
72
- "namespace": "io.flow.billing.true.up.v0",
73
- "organization": {
74
- "key": "flow"
75
- },
76
- "application": {
77
- "key": "billing-true-up"
78
- },
79
- "version": "0.19.94",
80
- "enums": ["true_up_surcharge_type"],
81
- "interfaces": ["label_invoice"],
82
- "unions": ["label_surcharge_detail"],
83
- "models": ["label_base", "label_destination", "label_invoice_request", "label_invoice_response_file", "label_invoice_response_file_form", "label_invoice_response_file_result", "label_invoice_response_form", "label_metadata", "label_response_units", "label_surcharge", "label_surcharge_detail_flat", "label_surcharge_detail_per_weight_unit", "label_surcharge_detail_percentage", "label_surcharge_form", "label_surcharge_single_form", "label_units", "metadata_proposition", "metadata_ratecard", "metadata_weights", "shipping_method_reference", "true_up_label_summary", "weights_dead", "weights_dimensional"],
84
- "annotations": []
85
70
  }, {
86
71
  "uri": "https://app.apibuilder.io/flow/ben-test-internal/latest/service.json",
87
72
  "namespace": "io.flow.ben.test.internal.v0",
@@ -91,7 +76,7 @@
91
76
  "application": {
92
77
  "key": "ben-test-internal"
93
78
  },
94
- "version": "0.19.94",
79
+ "version": "0.20.24",
95
80
  "enums": [],
96
81
  "interfaces": ["generate_load"],
97
82
  "unions": ["generate_load"],
@@ -1272,6 +1257,18 @@
1272
1257
  }, {
1273
1258
  "name": "organization_payout_deleted",
1274
1259
  "attributes": []
1260
+ }, {
1261
+ "name": "channel_pending_payout_transaction_upserted",
1262
+ "attributes": []
1263
+ }, {
1264
+ "name": "channel_pending_payout_transaction_deleted",
1265
+ "attributes": []
1266
+ }, {
1267
+ "name": "organization_pending_payout_transaction_upserted",
1268
+ "attributes": []
1269
+ }, {
1270
+ "name": "organization_pending_payout_transaction_deleted",
1271
+ "attributes": []
1275
1272
  }, {
1276
1273
  "name": "attribute_upserted",
1277
1274
  "attributes": []
@@ -3732,6 +3729,29 @@
3732
3729
  }],
3733
3730
  "attributes": [],
3734
3731
  "description": "Modeled from stripe: https://stripe.com/docs/api/payouts/failures"
3732
+ }, {
3733
+ "name": "pending_payout_transaction_reason_code",
3734
+ "plural": "pending_payout_transaction_reason_codes",
3735
+ "values": [{
3736
+ "name": "waiting_for_full_refund",
3737
+ "attributes": []
3738
+ }, {
3739
+ "name": "waiting_for_fulfillment",
3740
+ "attributes": []
3741
+ }, {
3742
+ "name": "waiting_for_in_transit",
3743
+ "attributes": []
3744
+ }, {
3745
+ "name": "waiting_for_next_payout_date",
3746
+ "attributes": []
3747
+ }, {
3748
+ "name": "waiting_for_tracking_info",
3749
+ "attributes": []
3750
+ }, {
3751
+ "name": "waiting_for_positive_account_balance",
3752
+ "attributes": []
3753
+ }],
3754
+ "attributes": []
3735
3755
  }, {
3736
3756
  "name": "permitted_http_method",
3737
3757
  "plural": "permitted_http_methods",
@@ -4897,29 +4917,6 @@
4897
4917
  "attributes": []
4898
4918
  }],
4899
4919
  "attributes": []
4900
- }, {
4901
- "name": "transaction_payout_pending_reason",
4902
- "plural": "transaction_payout_pending_reasons",
4903
- "values": [{
4904
- "name": "waiting_for_full_refund",
4905
- "attributes": []
4906
- }, {
4907
- "name": "waiting_for_fulfillment",
4908
- "attributes": []
4909
- }, {
4910
- "name": "waiting_for_in_transit",
4911
- "attributes": []
4912
- }, {
4913
- "name": "waiting_for_next_payout_date",
4914
- "attributes": []
4915
- }, {
4916
- "name": "external_fulfillment_missing_tracking_info",
4917
- "attributes": []
4918
- }, {
4919
- "name": "waiting_for_positive_account_balance",
4920
- "attributes": []
4921
- }],
4922
- "attributes": []
4923
4920
  }, {
4924
4921
  "name": "transaction_source",
4925
4922
  "plural": "transaction_sources",
@@ -6100,6 +6097,40 @@
6100
6097
  "annotations": []
6101
6098
  }],
6102
6099
  "attributes": []
6100
+ }, {
6101
+ "name": "payment_processor_transaction_details",
6102
+ "plural": "payment_processor_transaction_detailses",
6103
+ "fields": [{
6104
+ "name": "transaction_identifier",
6105
+ "type": "string",
6106
+ "required": false,
6107
+ "attributes": [],
6108
+ "annotations": [],
6109
+ "description": "The most specific PSP identifier for an authorization attempt / result"
6110
+ }, {
6111
+ "name": "method_type",
6112
+ "type": "string",
6113
+ "required": false,
6114
+ "attributes": [],
6115
+ "annotations": [],
6116
+ "description": "The PSP's identification of the payment method subtype, e.g. card brand or method method within a wallet"
6117
+ }, {
6118
+ "name": "result_status",
6119
+ "type": "string",
6120
+ "required": false,
6121
+ "attributes": [],
6122
+ "annotations": [],
6123
+ "description": "The transaction's raw result status"
6124
+ }, {
6125
+ "name": "reason_code",
6126
+ "type": "string",
6127
+ "required": false,
6128
+ "attributes": [],
6129
+ "annotations": [],
6130
+ "description": "The transaction's raw reason code"
6131
+ }],
6132
+ "attributes": [],
6133
+ "description": "PSP specific raw values for common transaction elements"
6103
6134
  }, {
6104
6135
  "name": "payout",
6105
6136
  "plural": "payouts",
@@ -6172,6 +6203,49 @@
6172
6203
  "annotations": []
6173
6204
  }],
6174
6205
  "attributes": []
6206
+ }, {
6207
+ "name": "pending_payout_transaction",
6208
+ "plural": "pending_payout_transactions",
6209
+ "fields": [{
6210
+ "name": "id",
6211
+ "type": "string",
6212
+ "required": true,
6213
+ "attributes": [],
6214
+ "annotations": [],
6215
+ "description": "The id of the actual transaction that is pending payout"
6216
+ }, {
6217
+ "name": "reason",
6218
+ "type": "pending_payout_transaction_reason",
6219
+ "required": true,
6220
+ "attributes": [],
6221
+ "annotations": []
6222
+ }, {
6223
+ "name": "timeout",
6224
+ "type": "pending_payout_transaction_timeout",
6225
+ "required": false,
6226
+ "attributes": [],
6227
+ "annotations": []
6228
+ }, {
6229
+ "name": "created_at",
6230
+ "type": "date-time-iso8601",
6231
+ "required": true,
6232
+ "attributes": [],
6233
+ "annotations": []
6234
+ }, {
6235
+ "name": "updated_at",
6236
+ "type": "date-time-iso8601",
6237
+ "required": true,
6238
+ "attributes": [],
6239
+ "annotations": []
6240
+ }, {
6241
+ "name": "deleted_at",
6242
+ "type": "date-time-iso8601",
6243
+ "required": false,
6244
+ "attributes": [],
6245
+ "annotations": []
6246
+ }],
6247
+ "attributes": [],
6248
+ "description": "A transaction that is pending payout."
6175
6249
  }, {
6176
6250
  "name": "ratecard_estimate",
6177
6251
  "plural": "ratecard_estimates",
@@ -6329,30 +6403,6 @@
6329
6403
  "annotations": []
6330
6404
  }],
6331
6405
  "attributes": []
6332
- }, {
6333
- "name": "transaction_payout",
6334
- "plural": "transaction_payouts",
6335
- "fields": [{
6336
- "name": "transaction",
6337
- "type": "transaction_reference",
6338
- "required": true,
6339
- "attributes": [],
6340
- "annotations": []
6341
- }, {
6342
- "name": "waiting_for",
6343
- "type": "transaction_payout_pending_reason",
6344
- "required": false,
6345
- "attributes": [],
6346
- "annotations": []
6347
- }, {
6348
- "name": "payout",
6349
- "type": "payout_reference",
6350
- "required": false,
6351
- "attributes": [],
6352
- "annotations": []
6353
- }],
6354
- "attributes": [],
6355
- "description": "Provides either the reference to the payout, or if no payout, a reason for what we are waiting for"
6356
6406
  }],
6357
6407
  "unions": [{
6358
6408
  "name": "abandoned_order_promotion_details",
@@ -6984,6 +7034,22 @@
6984
7034
  "type": "organization_payout_deleted",
6985
7035
  "attributes": [],
6986
7036
  "discriminator_value": "organization_payout_deleted"
7037
+ }, {
7038
+ "type": "channel_pending_payout_transaction_upserted",
7039
+ "attributes": [],
7040
+ "discriminator_value": "channel_pending_payout_transaction_upserted"
7041
+ }, {
7042
+ "type": "channel_pending_payout_transaction_deleted",
7043
+ "attributes": [],
7044
+ "discriminator_value": "channel_pending_payout_transaction_deleted"
7045
+ }, {
7046
+ "type": "organization_pending_payout_transaction_upserted",
7047
+ "attributes": [],
7048
+ "discriminator_value": "organization_pending_payout_transaction_upserted"
7049
+ }, {
7050
+ "type": "organization_pending_payout_transaction_deleted",
7051
+ "attributes": [],
7052
+ "discriminator_value": "organization_pending_payout_transaction_deleted"
6987
7053
  }, {
6988
7054
  "type": "attribute_upserted",
6989
7055
  "attributes": [],
@@ -7980,6 +8046,22 @@
7980
8046
  "attributes": [],
7981
8047
  "interfaces": [],
7982
8048
  "discriminator": "discriminator"
8049
+ }, {
8050
+ "name": "fuel_surcharge_rate",
8051
+ "plural": "fuel_surcharge_rates",
8052
+ "types": [{
8053
+ "type": "fuel_surcharge_percent",
8054
+ "attributes": [],
8055
+ "discriminator_value": "fuel_surcharge_percent"
8056
+ }, {
8057
+ "type": "fuel_surcharge_by_weight",
8058
+ "attributes": [],
8059
+ "discriminator_value": "fuel_surcharge_by_weight"
8060
+ }],
8061
+ "attributes": [],
8062
+ "interfaces": [],
8063
+ "discriminator": "discriminator",
8064
+ "description": "for exposing ratecard fuel surcharge"
7983
8065
  }, {
7984
8066
  "name": "gateway_authentication_data",
7985
8067
  "plural": "gateway_authentication_data",
@@ -8075,6 +8157,25 @@
8075
8157
  "attributes": [],
8076
8158
  "interfaces": [],
8077
8159
  "discriminator": "discriminator"
8160
+ }, {
8161
+ "name": "label_surcharge_detail",
8162
+ "plural": "label_surcharge_details",
8163
+ "types": [{
8164
+ "type": "label_surcharge_detail_flat",
8165
+ "attributes": [],
8166
+ "discriminator_value": "flat"
8167
+ }, {
8168
+ "type": "label_surcharge_detail_percentage",
8169
+ "attributes": [],
8170
+ "discriminator_value": "percentage"
8171
+ }, {
8172
+ "type": "label_surcharge_detail_per_weight_unit",
8173
+ "attributes": [],
8174
+ "discriminator_value": "per_weight_unit"
8175
+ }],
8176
+ "attributes": [],
8177
+ "interfaces": [],
8178
+ "discriminator": "discriminator"
8078
8179
  }, {
8079
8180
  "name": "localized_price",
8080
8181
  "plural": "localized_prices",
@@ -8596,6 +8697,17 @@
8596
8697
  "attributes": [],
8597
8698
  "interfaces": [],
8598
8699
  "discriminator": "discriminator"
8700
+ }, {
8701
+ "name": "payment_processor_transaction_details",
8702
+ "plural": "payment_processor_transaction_detailses",
8703
+ "types": [{
8704
+ "type": "payment_processor_transaction_details_card",
8705
+ "attributes": [],
8706
+ "discriminator_value": "card"
8707
+ }],
8708
+ "attributes": [],
8709
+ "interfaces": ["payment_processor_transaction_details"],
8710
+ "discriminator": "discriminator"
8599
8711
  }, {
8600
8712
  "name": "payment_source",
8601
8713
  "plural": "payment_sources",
@@ -9213,6 +9325,11 @@
9213
9325
  "attributes": [],
9214
9326
  "default": false,
9215
9327
  "discriminator_value": "trueup"
9328
+ }, {
9329
+ "type": "transaction_metadata_manual",
9330
+ "attributes": [],
9331
+ "default": false,
9332
+ "discriminator_value": "manual"
9216
9333
  }],
9217
9334
  "attributes": [],
9218
9335
  "interfaces": [],
@@ -15478,6 +15595,61 @@
15478
15595
  }],
15479
15596
  "attributes": [],
15480
15597
  "interfaces": []
15598
+ }, {
15599
+ "name": "channel_currency_pair",
15600
+ "plural": "channel_currency_pairs",
15601
+ "fields": [{
15602
+ "name": "id",
15603
+ "type": "string",
15604
+ "required": true,
15605
+ "attributes": [],
15606
+ "annotations": [],
15607
+ "description": "Unique identifier for this currency pair"
15608
+ }, {
15609
+ "name": "base",
15610
+ "type": "string",
15611
+ "required": true,
15612
+ "attributes": [],
15613
+ "annotations": [],
15614
+ "description": "The base currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
15615
+ }, {
15616
+ "name": "target",
15617
+ "type": "string",
15618
+ "required": true,
15619
+ "attributes": [],
15620
+ "annotations": [],
15621
+ "description": "The target currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
15622
+ }, {
15623
+ "name": "rate",
15624
+ "type": "channel_currency_rate",
15625
+ "required": true,
15626
+ "attributes": [],
15627
+ "annotations": []
15628
+ }],
15629
+ "attributes": [],
15630
+ "interfaces": [],
15631
+ "description": "Represents an organization-specific currency conversion rate at a point in time."
15632
+ }, {
15633
+ "name": "channel_currency_rate",
15634
+ "plural": "channel_currency_rates",
15635
+ "fields": [{
15636
+ "name": "id",
15637
+ "type": "string",
15638
+ "required": true,
15639
+ "attributes": [],
15640
+ "annotations": [],
15641
+ "description": "A global rate id that uniquely identifies this specific FX rate for this currency pair. Knowing this version id is sufficient to lookup exactly what FX rate was used at a point in time."
15642
+ }, {
15643
+ "name": "value",
15644
+ "type": "decimal",
15645
+ "required": true,
15646
+ "attributes": [],
15647
+ "annotations": [],
15648
+ "description": "The actual conversion rate from the base currency to target currency including any applicable margins."
15649
+ }],
15650
+ "attributes": [],
15651
+ "interfaces": [],
15652
+ "description": "A globally unique rate for a specific currency pair that uniquely identifies this specific FX rate for this currency pair. Knowing this version id is sufficient to lookup exactly what FX rate was used at a point in time."
15481
15653
  }, {
15482
15654
  "name": "channel_currency_upserted",
15483
15655
  "plural": "channel_currency_upserteds",
@@ -15871,6 +16043,111 @@
15871
16043
  }],
15872
16044
  "attributes": [],
15873
16045
  "interfaces": []
16046
+ }, {
16047
+ "name": "channel_pending_payout_transaction",
16048
+ "plural": "channel_pending_payout_transactions",
16049
+ "fields": [{
16050
+ "name": "id",
16051
+ "type": "string",
16052
+ "required": true,
16053
+ "attributes": [],
16054
+ "annotations": [],
16055
+ "description": "The id of the actual transaction that is pending payout"
16056
+ }, {
16057
+ "name": "reason",
16058
+ "type": "pending_payout_transaction_reason",
16059
+ "required": true,
16060
+ "attributes": [],
16061
+ "annotations": []
16062
+ }, {
16063
+ "name": "timeout",
16064
+ "type": "pending_payout_transaction_timeout",
16065
+ "required": false,
16066
+ "attributes": [],
16067
+ "annotations": []
16068
+ }, {
16069
+ "name": "created_at",
16070
+ "type": "date-time-iso8601",
16071
+ "required": true,
16072
+ "attributes": [],
16073
+ "annotations": []
16074
+ }, {
16075
+ "name": "updated_at",
16076
+ "type": "date-time-iso8601",
16077
+ "required": true,
16078
+ "attributes": [],
16079
+ "annotations": []
16080
+ }, {
16081
+ "name": "deleted_at",
16082
+ "type": "date-time-iso8601",
16083
+ "required": false,
16084
+ "attributes": [],
16085
+ "annotations": []
16086
+ }],
16087
+ "attributes": [],
16088
+ "interfaces": ["pending_payout_transaction"],
16089
+ "description": "A transaction that is pending payout."
16090
+ }, {
16091
+ "name": "channel_pending_payout_transaction_deleted",
16092
+ "plural": "channel_pending_payout_transaction_deleteds",
16093
+ "fields": [{
16094
+ "name": "event_id",
16095
+ "type": "string",
16096
+ "required": true,
16097
+ "attributes": [],
16098
+ "annotations": []
16099
+ }, {
16100
+ "name": "timestamp",
16101
+ "type": "date-time-iso8601",
16102
+ "required": true,
16103
+ "attributes": [],
16104
+ "annotations": []
16105
+ }, {
16106
+ "name": "channel_id",
16107
+ "type": "string",
16108
+ "required": true,
16109
+ "attributes": [],
16110
+ "annotations": []
16111
+ }, {
16112
+ "name": "id",
16113
+ "type": "string",
16114
+ "required": true,
16115
+ "attributes": [],
16116
+ "annotations": [],
16117
+ "description": "Globally unique identifier"
16118
+ }],
16119
+ "attributes": [],
16120
+ "interfaces": []
16121
+ }, {
16122
+ "name": "channel_pending_payout_transaction_upserted",
16123
+ "plural": "channel_pending_payout_transaction_upserteds",
16124
+ "fields": [{
16125
+ "name": "event_id",
16126
+ "type": "string",
16127
+ "required": true,
16128
+ "attributes": [],
16129
+ "annotations": []
16130
+ }, {
16131
+ "name": "timestamp",
16132
+ "type": "date-time-iso8601",
16133
+ "required": true,
16134
+ "attributes": [],
16135
+ "annotations": []
16136
+ }, {
16137
+ "name": "channel_id",
16138
+ "type": "string",
16139
+ "required": true,
16140
+ "attributes": [],
16141
+ "annotations": []
16142
+ }, {
16143
+ "name": "channel_pending_payout_transaction",
16144
+ "type": "channel_pending_payout_transaction",
16145
+ "required": true,
16146
+ "attributes": [],
16147
+ "annotations": []
16148
+ }],
16149
+ "attributes": [],
16150
+ "interfaces": []
15874
16151
  }, {
15875
16152
  "name": "channel_rate",
15876
16153
  "plural": "channel_rates",
@@ -16270,31 +16547,6 @@
16270
16547
  }],
16271
16548
  "attributes": [],
16272
16549
  "interfaces": []
16273
- }, {
16274
- "name": "channel_transaction_payout",
16275
- "plural": "channel_transaction_payouts",
16276
- "fields": [{
16277
- "name": "transaction",
16278
- "type": "transaction_reference",
16279
- "required": true,
16280
- "attributes": [],
16281
- "annotations": []
16282
- }, {
16283
- "name": "waiting_for",
16284
- "type": "transaction_payout_pending_reason",
16285
- "required": false,
16286
- "attributes": [],
16287
- "annotations": []
16288
- }, {
16289
- "name": "payout",
16290
- "type": "payout_reference",
16291
- "required": false,
16292
- "attributes": [],
16293
- "annotations": []
16294
- }],
16295
- "attributes": [],
16296
- "interfaces": ["transaction_payout"],
16297
- "description": "Provides either the reference to the payout, or if no payout, a reason for what we are waiting for"
16298
16550
  }, {
16299
16551
  "name": "channel_transaction_upserted",
16300
16552
  "plural": "channel_transaction_upserteds",
@@ -19207,6 +19459,18 @@
19207
19459
  }],
19208
19460
  "attributes": [],
19209
19461
  "interfaces": []
19462
+ }, {
19463
+ "name": "dead_weight",
19464
+ "plural": "dead_weights",
19465
+ "fields": [{
19466
+ "name": "weight",
19467
+ "type": "decimal",
19468
+ "required": true,
19469
+ "attributes": [],
19470
+ "annotations": []
19471
+ }],
19472
+ "attributes": [],
19473
+ "interfaces": []
19210
19474
  }, {
19211
19475
  "name": "default_bank_account_form",
19212
19476
  "plural": "default_bank_account_forms",
@@ -20426,6 +20690,37 @@
20426
20690
  }],
20427
20691
  "attributes": [],
20428
20692
  "interfaces": []
20693
+ }, {
20694
+ "name": "dimensional_weight",
20695
+ "plural": "dimensional_weights",
20696
+ "fields": [{
20697
+ "name": "weight",
20698
+ "type": "decimal",
20699
+ "required": true,
20700
+ "attributes": [],
20701
+ "annotations": [],
20702
+ "description": "The calculated dimensional weight"
20703
+ }, {
20704
+ "name": "length",
20705
+ "type": "decimal",
20706
+ "required": false,
20707
+ "attributes": [],
20708
+ "annotations": []
20709
+ }, {
20710
+ "name": "width",
20711
+ "type": "decimal",
20712
+ "required": false,
20713
+ "attributes": [],
20714
+ "annotations": []
20715
+ }, {
20716
+ "name": "height",
20717
+ "type": "decimal",
20718
+ "required": false,
20719
+ "attributes": [],
20720
+ "annotations": []
20721
+ }],
20722
+ "attributes": [],
20723
+ "interfaces": []
20429
20724
  }, {
20430
20725
  "name": "dimensions",
20431
20726
  "plural": "dimensionses",
@@ -23969,6 +24264,36 @@
23969
24264
  }],
23970
24265
  "attributes": [],
23971
24266
  "interfaces": []
24267
+ }, {
24268
+ "name": "fuel_surcharge_by_weight",
24269
+ "plural": "fuel_surcharge_by_weights",
24270
+ "fields": [{
24271
+ "name": "amount",
24272
+ "type": "decimal",
24273
+ "required": true,
24274
+ "attributes": [],
24275
+ "annotations": []
24276
+ }, {
24277
+ "name": "weight_unit",
24278
+ "type": "unit_of_measurement",
24279
+ "required": true,
24280
+ "attributes": [],
24281
+ "annotations": []
24282
+ }],
24283
+ "attributes": [],
24284
+ "interfaces": []
24285
+ }, {
24286
+ "name": "fuel_surcharge_percent",
24287
+ "plural": "fuel_surcharge_percents",
24288
+ "fields": [{
24289
+ "name": "percent",
24290
+ "type": "decimal",
24291
+ "required": true,
24292
+ "attributes": [],
24293
+ "annotations": []
24294
+ }],
24295
+ "attributes": [],
24296
+ "interfaces": []
23972
24297
  }, {
23973
24298
  "name": "fuel_surcharge_ratecard_fee",
23974
24299
  "plural": "fuel_surcharge_ratecard_fees",
@@ -23978,6 +24303,12 @@
23978
24303
  "required": true,
23979
24304
  "attributes": [],
23980
24305
  "annotations": []
24306
+ }, {
24307
+ "name": "fuel_surcharge_rate",
24308
+ "type": "fuel_surcharge_rate",
24309
+ "required": false,
24310
+ "attributes": [],
24311
+ "annotations": []
23981
24312
  }],
23982
24313
  "attributes": [],
23983
24314
  "interfaces": []
@@ -25140,6 +25471,13 @@
25140
25471
  "attributes": [],
25141
25472
  "annotations": [],
25142
25473
  "description": "Fees applicable for this estimate"
25474
+ }, {
25475
+ "name": "weight_break",
25476
+ "type": "decimal",
25477
+ "required": false,
25478
+ "attributes": [],
25479
+ "annotations": [],
25480
+ "description": "weight from the rate used to calculate cost"
25143
25481
  }, {
25144
25482
  "name": "total",
25145
25483
  "type": "double",
@@ -28068,6 +28406,27 @@
28068
28406
  }],
28069
28407
  "attributes": [],
28070
28408
  "interfaces": []
28409
+ }, {
28410
+ "name": "label_base",
28411
+ "plural": "label_bases",
28412
+ "fields": [{
28413
+ "name": "amount",
28414
+ "type": "decimal",
28415
+ "required": true,
28416
+ "attributes": [],
28417
+ "annotations": [],
28418
+ "description": "The base rate card charge (based on weight, before fees)"
28419
+ }, {
28420
+ "name": "weight",
28421
+ "type": "decimal",
28422
+ "required": true,
28423
+ "attributes": [],
28424
+ "annotations": [],
28425
+ "description": "The actual weight used for ratecard lookup",
28426
+ "minimum": 0
28427
+ }],
28428
+ "attributes": [],
28429
+ "interfaces": []
28071
28430
  }, {
28072
28431
  "name": "label_deleted_v2",
28073
28432
  "plural": "label_deleted_v2s",
@@ -28200,6 +28559,67 @@
28200
28559
  }],
28201
28560
  "attributes": [],
28202
28561
  "interfaces": []
28562
+ }, {
28563
+ "name": "label_surcharge",
28564
+ "plural": "label_surcharges",
28565
+ "fields": [{
28566
+ "name": "amount",
28567
+ "type": "decimal",
28568
+ "required": true,
28569
+ "attributes": [],
28570
+ "annotations": []
28571
+ }, {
28572
+ "name": "type",
28573
+ "type": "trueup_surcharge_type",
28574
+ "required": true,
28575
+ "attributes": [],
28576
+ "annotations": []
28577
+ }, {
28578
+ "name": "detail",
28579
+ "type": "label_surcharge_detail",
28580
+ "required": true,
28581
+ "attributes": [],
28582
+ "annotations": []
28583
+ }],
28584
+ "attributes": [],
28585
+ "interfaces": []
28586
+ }, {
28587
+ "name": "label_surcharge_detail_flat",
28588
+ "plural": "label_surcharge_detail_flats",
28589
+ "fields": [{
28590
+ "name": "placeholder",
28591
+ "type": "string",
28592
+ "required": false,
28593
+ "attributes": [],
28594
+ "annotations": []
28595
+ }],
28596
+ "attributes": [],
28597
+ "interfaces": []
28598
+ }, {
28599
+ "name": "label_surcharge_detail_per_weight_unit",
28600
+ "plural": "label_surcharge_detail_per_weight_units",
28601
+ "fields": [{
28602
+ "name": "fee",
28603
+ "type": "decimal",
28604
+ "required": true,
28605
+ "attributes": [],
28606
+ "annotations": [],
28607
+ "description": "eg. $0.04 / pound - the fee would be .04"
28608
+ }],
28609
+ "attributes": [],
28610
+ "interfaces": []
28611
+ }, {
28612
+ "name": "label_surcharge_detail_percentage",
28613
+ "plural": "label_surcharge_detail_percentages",
28614
+ "fields": [{
28615
+ "name": "percentage",
28616
+ "type": "decimal",
28617
+ "required": true,
28618
+ "attributes": [],
28619
+ "annotations": []
28620
+ }],
28621
+ "attributes": [],
28622
+ "interfaces": []
28203
28623
  }, {
28204
28624
  "name": "label_tracking_carrier_service",
28205
28625
  "plural": "label_tracking_carrier_services",
@@ -28296,6 +28716,34 @@
28296
28716
  }],
28297
28717
  "attributes": [],
28298
28718
  "interfaces": []
28719
+ }, {
28720
+ "name": "label_units",
28721
+ "plural": "label_units",
28722
+ "fields": [{
28723
+ "name": "currency",
28724
+ "type": "string",
28725
+ "required": true,
28726
+ "attributes": [],
28727
+ "annotations": [],
28728
+ "example": "USD"
28729
+ }, {
28730
+ "name": "weight",
28731
+ "type": "unit_of_weight",
28732
+ "required": true,
28733
+ "attributes": [],
28734
+ "annotations": [],
28735
+ "example": "pound"
28736
+ }, {
28737
+ "name": "length",
28738
+ "type": "unit_of_length",
28739
+ "required": true,
28740
+ "attributes": [],
28741
+ "annotations": [],
28742
+ "example": "pound"
28743
+ }],
28744
+ "attributes": [],
28745
+ "interfaces": [],
28746
+ "description": "Describes the units that are then used consistently throughout all the data in the label invoice request"
28299
28747
  }, {
28300
28748
  "name": "label_upserted",
28301
28749
  "plural": "label_upserteds",
@@ -35530,6 +35978,113 @@
35530
35978
  }],
35531
35979
  "attributes": [],
35532
35980
  "interfaces": []
35981
+ }, {
35982
+ "name": "organization_pending_payout_transaction",
35983
+ "plural": "organization_pending_payout_transactions",
35984
+ "fields": [{
35985
+ "name": "id",
35986
+ "type": "string",
35987
+ "required": true,
35988
+ "attributes": [],
35989
+ "annotations": [],
35990
+ "description": "The id of the actual transaction that is pending payout"
35991
+ }, {
35992
+ "name": "reason",
35993
+ "type": "pending_payout_transaction_reason",
35994
+ "required": true,
35995
+ "attributes": [],
35996
+ "annotations": []
35997
+ }, {
35998
+ "name": "timeout",
35999
+ "type": "pending_payout_transaction_timeout",
36000
+ "required": false,
36001
+ "attributes": [],
36002
+ "annotations": []
36003
+ }, {
36004
+ "name": "created_at",
36005
+ "type": "date-time-iso8601",
36006
+ "required": true,
36007
+ "attributes": [],
36008
+ "annotations": []
36009
+ }, {
36010
+ "name": "updated_at",
36011
+ "type": "date-time-iso8601",
36012
+ "required": true,
36013
+ "attributes": [],
36014
+ "annotations": []
36015
+ }, {
36016
+ "name": "deleted_at",
36017
+ "type": "date-time-iso8601",
36018
+ "required": false,
36019
+ "attributes": [],
36020
+ "annotations": []
36021
+ }],
36022
+ "attributes": [],
36023
+ "interfaces": ["pending_payout_transaction"],
36024
+ "description": "A transaction that is pending payout."
36025
+ }, {
36026
+ "name": "organization_pending_payout_transaction_deleted",
36027
+ "plural": "organization_pending_payout_transaction_deleteds",
36028
+ "fields": [{
36029
+ "name": "event_id",
36030
+ "type": "string",
36031
+ "required": true,
36032
+ "attributes": [],
36033
+ "annotations": []
36034
+ }, {
36035
+ "name": "timestamp",
36036
+ "type": "date-time-iso8601",
36037
+ "required": true,
36038
+ "attributes": [],
36039
+ "annotations": []
36040
+ }, {
36041
+ "name": "organization",
36042
+ "type": "string",
36043
+ "required": true,
36044
+ "attributes": [],
36045
+ "annotations": [],
36046
+ "description": "Refers to your organization's account identifier"
36047
+ }, {
36048
+ "name": "id",
36049
+ "type": "string",
36050
+ "required": true,
36051
+ "attributes": [],
36052
+ "annotations": [],
36053
+ "description": "Globally unique identifier"
36054
+ }],
36055
+ "attributes": [],
36056
+ "interfaces": []
36057
+ }, {
36058
+ "name": "organization_pending_payout_transaction_upserted",
36059
+ "plural": "organization_pending_payout_transaction_upserteds",
36060
+ "fields": [{
36061
+ "name": "event_id",
36062
+ "type": "string",
36063
+ "required": true,
36064
+ "attributes": [],
36065
+ "annotations": []
36066
+ }, {
36067
+ "name": "timestamp",
36068
+ "type": "date-time-iso8601",
36069
+ "required": true,
36070
+ "attributes": [],
36071
+ "annotations": []
36072
+ }, {
36073
+ "name": "organization",
36074
+ "type": "string",
36075
+ "required": true,
36076
+ "attributes": [],
36077
+ "annotations": [],
36078
+ "description": "Refers to your organization's account identifier"
36079
+ }, {
36080
+ "name": "organization_pending_payout_transaction",
36081
+ "type": "organization_pending_payout_transaction",
36082
+ "required": true,
36083
+ "attributes": [],
36084
+ "annotations": []
36085
+ }],
36086
+ "attributes": [],
36087
+ "interfaces": []
35533
36088
  }, {
35534
36089
  "name": "organization_put_form",
35535
36090
  "plural": "organization_put_forms",
@@ -35998,31 +36553,6 @@
35998
36553
  }],
35999
36554
  "attributes": [],
36000
36555
  "interfaces": []
36001
- }, {
36002
- "name": "organization_transaction_payout",
36003
- "plural": "organization_transaction_payouts",
36004
- "fields": [{
36005
- "name": "transaction",
36006
- "type": "transaction_reference",
36007
- "required": true,
36008
- "attributes": [],
36009
- "annotations": []
36010
- }, {
36011
- "name": "waiting_for",
36012
- "type": "transaction_payout_pending_reason",
36013
- "required": false,
36014
- "attributes": [],
36015
- "annotations": []
36016
- }, {
36017
- "name": "payout",
36018
- "type": "payout_reference",
36019
- "required": false,
36020
- "attributes": [],
36021
- "annotations": []
36022
- }],
36023
- "attributes": [],
36024
- "interfaces": ["transaction_payout"],
36025
- "description": "Provides either the reference to the payout, or if no payout, a reason for what we are waiting for"
36026
36556
  }, {
36027
36557
  "name": "organization_transaction_upserted",
36028
36558
  "plural": "organization_transaction_upserteds",
@@ -38262,6 +38792,13 @@
38262
38792
  "attributes": [],
38263
38793
  "annotations": [],
38264
38794
  "description": "Information about the payment processor account that was used for the operation"
38795
+ }, {
38796
+ "name": "transaction_details",
38797
+ "type": "payment_processor_transaction_details",
38798
+ "required": false,
38799
+ "attributes": [],
38800
+ "annotations": [],
38801
+ "description": "Raw values from the PSP for common transaction data elements"
38265
38802
  }],
38266
38803
  "attributes": [],
38267
38804
  "interfaces": [],
@@ -38356,6 +38893,62 @@
38356
38893
  }],
38357
38894
  "attributes": [],
38358
38895
  "interfaces": []
38896
+ }, {
38897
+ "name": "payment_processor_transaction_details_card",
38898
+ "plural": "payment_processor_transaction_details_cards",
38899
+ "fields": [{
38900
+ "name": "transaction_identifier",
38901
+ "type": "string",
38902
+ "required": false,
38903
+ "attributes": [],
38904
+ "annotations": [],
38905
+ "description": "The most specific PSP identifier for an authorization attempt / result"
38906
+ }, {
38907
+ "name": "method_type",
38908
+ "type": "string",
38909
+ "required": false,
38910
+ "attributes": [],
38911
+ "annotations": [],
38912
+ "description": "The PSP's identification of the payment method subtype, e.g. card brand or payment method within a wallet"
38913
+ }, {
38914
+ "name": "result_status",
38915
+ "type": "string",
38916
+ "required": false,
38917
+ "attributes": [],
38918
+ "annotations": [],
38919
+ "description": "The transaction's raw result status"
38920
+ }, {
38921
+ "name": "reason_code",
38922
+ "type": "string",
38923
+ "required": false,
38924
+ "attributes": [],
38925
+ "annotations": [],
38926
+ "description": "The transaction's raw reason code"
38927
+ }, {
38928
+ "name": "avs_result_code",
38929
+ "type": "string",
38930
+ "required": false,
38931
+ "attributes": [],
38932
+ "annotations": [],
38933
+ "description": "The transaction's raw avs code"
38934
+ }, {
38935
+ "name": "cvv_result_code",
38936
+ "type": "string",
38937
+ "required": false,
38938
+ "attributes": [],
38939
+ "annotations": [],
38940
+ "description": "The transaction's raw cvv code"
38941
+ }, {
38942
+ "name": "threeds_result_code",
38943
+ "type": "string",
38944
+ "required": false,
38945
+ "attributes": [],
38946
+ "annotations": [],
38947
+ "description": "The transaction's raw 3ds code"
38948
+ }],
38949
+ "attributes": [],
38950
+ "interfaces": ["payment_processor_transaction_details"],
38951
+ "description": "Data elements gathered from the PSP's authorization messages. Format will differ by PSP."
38359
38952
  }, {
38360
38953
  "name": "payment_reference",
38361
38954
  "plural": "payment_references",
@@ -39434,32 +40027,35 @@
39434
40027
  "attributes": [],
39435
40028
  "interfaces": []
39436
40029
  }, {
39437
- "name": "pending_transaction",
39438
- "plural": "pending_transactions",
40030
+ "name": "pending_payout_transaction_reason",
40031
+ "plural": "pending_payout_transaction_reasons",
39439
40032
  "fields": [{
39440
- "name": "id",
39441
- "type": "string",
40033
+ "name": "code",
40034
+ "type": "pending_payout_transaction_reason_code",
39442
40035
  "required": true,
39443
40036
  "attributes": [],
39444
- "annotations": [],
39445
- "description": "The id of the actual transaction that is pending payout."
40037
+ "annotations": []
39446
40038
  }, {
39447
- "name": "reason",
39448
- "type": "transaction_payout_pending_reason",
40039
+ "name": "created_at",
40040
+ "type": "date-time-iso8601",
39449
40041
  "required": true,
39450
40042
  "attributes": [],
39451
40043
  "annotations": []
39452
- }, {
39453
- "name": "reason_set_at",
40044
+ }],
40045
+ "attributes": [],
40046
+ "interfaces": []
40047
+ }, {
40048
+ "name": "pending_payout_transaction_timeout",
40049
+ "plural": "pending_payout_transaction_timeouts",
40050
+ "fields": [{
40051
+ "name": "created_at",
39454
40052
  "type": "date-time-iso8601",
39455
40053
  "required": true,
39456
40054
  "attributes": [],
39457
- "annotations": [],
39458
- "description": "The time at which this specific reason for this transaction was set. For example, the time at which it was identified that this transaction is waiting for fulfillment."
40055
+ "annotations": []
39459
40056
  }],
39460
40057
  "attributes": [],
39461
- "interfaces": [],
39462
- "description": "A transaction that is pending payout."
40058
+ "interfaces": []
39463
40059
  }, {
39464
40060
  "name": "percent_margin",
39465
40061
  "plural": "percent_margins",
@@ -46666,19 +47262,19 @@
46666
47262
  "plural": "shipping_label_hop_cost_itemized_estimates",
46667
47263
  "fields": [{
46668
47264
  "name": "units",
46669
- "type": "io.flow.billing.true.up.v0.models.label_units",
47265
+ "type": "label_units",
46670
47266
  "required": true,
46671
47267
  "attributes": [],
46672
47268
  "annotations": []
46673
47269
  }, {
46674
47270
  "name": "base",
46675
- "type": "io.flow.billing.true.up.v0.models.label_base",
47271
+ "type": "label_base",
46676
47272
  "required": true,
46677
47273
  "attributes": [],
46678
47274
  "annotations": []
46679
47275
  }, {
46680
47276
  "name": "surcharges",
46681
- "type": "[io.flow.billing.true.up.v0.models.label_surcharge]",
47277
+ "type": "[label_surcharge]",
46682
47278
  "required": true,
46683
47279
  "attributes": [],
46684
47280
  "annotations": []
@@ -46728,6 +47324,12 @@
46728
47324
  "required": true,
46729
47325
  "attributes": [],
46730
47326
  "annotations": []
47327
+ }, {
47328
+ "name": "weight_break",
47329
+ "type": "decimal",
47330
+ "required": false,
47331
+ "attributes": [],
47332
+ "annotations": []
46731
47333
  }],
46732
47334
  "attributes": [],
46733
47335
  "interfaces": []
@@ -52547,6 +53149,31 @@
52547
53149
  }],
52548
53150
  "attributes": [],
52549
53151
  "interfaces": []
53152
+ }, {
53153
+ "name": "transaction_metadata_manual",
53154
+ "plural": "transaction_metadata_manuals",
53155
+ "fields": [{
53156
+ "name": "original",
53157
+ "type": "transaction_metadata_original_transaction",
53158
+ "required": true,
53159
+ "attributes": [],
53160
+ "annotations": []
53161
+ }],
53162
+ "attributes": [],
53163
+ "interfaces": []
53164
+ }, {
53165
+ "name": "transaction_metadata_original_transaction",
53166
+ "plural": "transaction_metadata_original_transactions",
53167
+ "fields": [{
53168
+ "name": "id",
53169
+ "type": "string",
53170
+ "required": true,
53171
+ "attributes": [],
53172
+ "annotations": [],
53173
+ "description": "Globally unique identifier"
53174
+ }],
53175
+ "attributes": [],
53176
+ "interfaces": []
52550
53177
  }, {
52551
53178
  "name": "transaction_metadata_shipping_label",
52552
53179
  "plural": "transaction_metadata_shipping_labels",
@@ -52556,6 +53183,31 @@
52556
53183
  "required": false,
52557
53184
  "attributes": [],
52558
53185
  "annotations": []
53186
+ }, {
53187
+ "name": "carrier",
53188
+ "type": "transaction_metadata_shipping_label_carrier",
53189
+ "required": true,
53190
+ "attributes": [],
53191
+ "annotations": []
53192
+ }],
53193
+ "attributes": [],
53194
+ "interfaces": []
53195
+ }, {
53196
+ "name": "transaction_metadata_shipping_label_carrier",
53197
+ "plural": "transaction_metadata_shipping_label_carriers",
53198
+ "fields": [{
53199
+ "name": "id",
53200
+ "type": "string",
53201
+ "required": true,
53202
+ "attributes": [],
53203
+ "annotations": [],
53204
+ "description": "The carrier id of this label. See https://api.flow.io/reference/carriers"
53205
+ }, {
53206
+ "name": "tracking_number",
53207
+ "type": "string",
53208
+ "required": true,
53209
+ "attributes": [],
53210
+ "annotations": []
52559
53211
  }],
52560
53212
  "attributes": [],
52561
53213
  "interfaces": []
@@ -52563,6 +53215,12 @@
52563
53215
  "name": "transaction_metadata_trueup",
52564
53216
  "plural": "transaction_metadata_trueups",
52565
53217
  "fields": [{
53218
+ "name": "original",
53219
+ "type": "transaction_metadata_original_transaction",
53220
+ "required": true,
53221
+ "attributes": [],
53222
+ "annotations": []
53223
+ }, {
52566
53224
  "name": "estimate",
52567
53225
  "type": "transaction_metadata_trueup_data",
52568
53226
  "required": true,
@@ -52610,6 +53268,18 @@
52610
53268
  "required": true,
52611
53269
  "attributes": [],
52612
53270
  "annotations": []
53271
+ }, {
53272
+ "name": "dead",
53273
+ "type": "dead_weight",
53274
+ "required": false,
53275
+ "attributes": [],
53276
+ "annotations": []
53277
+ }, {
53278
+ "name": "dimensional",
53279
+ "type": "dimensional_weight",
53280
+ "required": false,
53281
+ "attributes": [],
53282
+ "annotations": []
52613
53283
  }],
52614
53284
  "attributes": [],
52615
53285
  "interfaces": []
@@ -80620,6 +81290,111 @@
80620
81290
  }
80621
81291
  }],
80622
81292
  "path": "/channel/:channel/bank/accounts"
81293
+ }, {
81294
+ "type": "channel_currency_pair",
81295
+ "plural": "channel_currency_pairs",
81296
+ "operations": [{
81297
+ "method": "GET",
81298
+ "path": "/channel/:channel_id/currency/pairs",
81299
+ "parameters": [{
81300
+ "name": "channel_id",
81301
+ "type": "string",
81302
+ "location": "Path",
81303
+ "required": true
81304
+ }, {
81305
+ "name": "id",
81306
+ "type": "[string]",
81307
+ "location": "Query",
81308
+ "required": false,
81309
+ "description": "Filter by one or more IDs of this resource",
81310
+ "maximum": 100
81311
+ }, {
81312
+ "name": "limit",
81313
+ "type": "long",
81314
+ "location": "Query",
81315
+ "required": true,
81316
+ "description": "The maximum number of results to return",
81317
+ "default": "25",
81318
+ "minimum": 1,
81319
+ "maximum": 1000
81320
+ }, {
81321
+ "name": "offset",
81322
+ "type": "long",
81323
+ "location": "Query",
81324
+ "required": true,
81325
+ "description": "The number of results to skip before returning results",
81326
+ "default": "0",
81327
+ "minimum": 0
81328
+ }, {
81329
+ "name": "sort",
81330
+ "type": "string",
81331
+ "location": "Query",
81332
+ "required": true,
81333
+ "default": "id"
81334
+ }],
81335
+ "responses": [{
81336
+ "code": {
81337
+ "integer": {
81338
+ "value": 200
81339
+ }
81340
+ },
81341
+ "type": "[channel_currency_pair]",
81342
+ "description": "Successful response",
81343
+ "attributes": []
81344
+ }, {
81345
+ "code": {
81346
+ "integer": {
81347
+ "value": 401
81348
+ }
81349
+ },
81350
+ "type": "unit",
81351
+ "description": "Authorization failed",
81352
+ "attributes": []
81353
+ }, {
81354
+ "code": {
81355
+ "integer": {
81356
+ "value": 404
81357
+ }
81358
+ },
81359
+ "type": "unit",
81360
+ "description": "Resource was not found",
81361
+ "attributes": []
81362
+ }, {
81363
+ "code": {
81364
+ "integer": {
81365
+ "value": 422
81366
+ }
81367
+ },
81368
+ "type": "generic_error",
81369
+ "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.",
81370
+ "attributes": []
81371
+ }],
81372
+ "attributes": [{
81373
+ "name": "sort",
81374
+ "value": {
81375
+ "values": [{
81376
+ "value": "id"
81377
+ }, {
81378
+ "value": "base"
81379
+ }, {
81380
+ "value": "target"
81381
+ }]
81382
+ }
81383
+ }, {
81384
+ "name": "linter",
81385
+ "value": {
81386
+ "ignore": ["get", "sort_parameter_default", "common_parameter_types"]
81387
+ }
81388
+ }]
81389
+ }],
81390
+ "attributes": [{
81391
+ "name": "docs",
81392
+ "value": {
81393
+ "module": "general"
81394
+ }
81395
+ }],
81396
+ "path": "/channel/:channel_id/currency/pairs",
81397
+ "description": "Represents an organization-specific currency conversion rate at a point in time."
80623
81398
  }, {
80624
81399
  "type": "channel_default_bank_account",
80625
81400
  "plural": "channel_default_bank_accounts",
@@ -80964,36 +81739,136 @@
80964
81739
  "attributes": []
80965
81740
  }],
80966
81741
  "attributes": []
80967
- }, {
80968
- "method": "PUT",
80969
- "path": "/channel/:channel_id/organizations/:key",
80970
- "parameters": [{
80971
- "name": "channel_id",
80972
- "type": "string",
80973
- "location": "Path",
80974
- "required": true
80975
- }, {
80976
- "name": "key",
80977
- "type": "string",
80978
- "location": "Path",
80979
- "required": true
80980
- }],
81742
+ }, {
81743
+ "method": "PUT",
81744
+ "path": "/channel/:channel_id/organizations/:key",
81745
+ "parameters": [{
81746
+ "name": "channel_id",
81747
+ "type": "string",
81748
+ "location": "Path",
81749
+ "required": true
81750
+ }, {
81751
+ "name": "key",
81752
+ "type": "string",
81753
+ "location": "Path",
81754
+ "required": true
81755
+ }],
81756
+ "responses": [{
81757
+ "code": {
81758
+ "integer": {
81759
+ "value": 200
81760
+ }
81761
+ },
81762
+ "type": "channel_organization",
81763
+ "description": "Successful response",
81764
+ "attributes": []
81765
+ }, {
81766
+ "code": {
81767
+ "integer": {
81768
+ "value": 201
81769
+ }
81770
+ },
81771
+ "type": "channel_organization",
81772
+ "description": "Operation succeeded and the resource was created",
81773
+ "attributes": []
81774
+ }, {
81775
+ "code": {
81776
+ "integer": {
81777
+ "value": 401
81778
+ }
81779
+ },
81780
+ "type": "unit",
81781
+ "description": "Authorization failed",
81782
+ "attributes": []
81783
+ }, {
81784
+ "code": {
81785
+ "integer": {
81786
+ "value": 404
81787
+ }
81788
+ },
81789
+ "type": "unit",
81790
+ "description": "Resource was not found",
81791
+ "attributes": []
81792
+ }, {
81793
+ "code": {
81794
+ "integer": {
81795
+ "value": 422
81796
+ }
81797
+ },
81798
+ "type": "generic_error",
81799
+ "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.",
81800
+ "attributes": []
81801
+ }],
81802
+ "attributes": [],
81803
+ "body": {
81804
+ "type": "channel_organization_put_form",
81805
+ "attributes": []
81806
+ }
81807
+ }, {
81808
+ "method": "DELETE",
81809
+ "path": "/channel/:channel_id/organizations/:key",
81810
+ "parameters": [{
81811
+ "name": "channel_id",
81812
+ "type": "string",
81813
+ "location": "Path",
81814
+ "required": true
81815
+ }, {
81816
+ "name": "key",
81817
+ "type": "string",
81818
+ "location": "Path",
81819
+ "required": true
81820
+ }],
81821
+ "responses": [{
81822
+ "code": {
81823
+ "integer": {
81824
+ "value": 204
81825
+ }
81826
+ },
81827
+ "type": "unit",
81828
+ "description": "Operation succeeded. No content is returned",
81829
+ "attributes": []
81830
+ }, {
81831
+ "code": {
81832
+ "integer": {
81833
+ "value": 401
81834
+ }
81835
+ },
81836
+ "type": "unit",
81837
+ "description": "Authorization failed",
81838
+ "attributes": []
81839
+ }, {
81840
+ "code": {
81841
+ "integer": {
81842
+ "value": 404
81843
+ }
81844
+ },
81845
+ "type": "unit",
81846
+ "description": "Resource was not found",
81847
+ "attributes": []
81848
+ }],
81849
+ "attributes": []
81850
+ }],
81851
+ "attributes": [{
81852
+ "name": "docs",
81853
+ "value": {
81854
+ "module": "general"
81855
+ }
81856
+ }],
81857
+ "path": "/channel/:channel_id/organizations"
81858
+ }, {
81859
+ "type": "channel_organization_authorization",
81860
+ "plural": "channel_organization_authorizations",
81861
+ "operations": [{
81862
+ "method": "POST",
81863
+ "path": "/channel/organization/authorizations",
81864
+ "parameters": [],
80981
81865
  "responses": [{
80982
- "code": {
80983
- "integer": {
80984
- "value": 200
80985
- }
80986
- },
80987
- "type": "channel_organization",
80988
- "description": "Successful response",
80989
- "attributes": []
80990
- }, {
80991
81866
  "code": {
80992
81867
  "integer": {
80993
81868
  "value": 201
80994
81869
  }
80995
81870
  },
80996
- "type": "channel_organization",
81871
+ "type": "channel_organization_authorization",
80997
81872
  "description": "Operation succeeded and the resource was created",
80998
81873
  "attributes": []
80999
81874
  }, {
@@ -81026,31 +81901,79 @@
81026
81901
  }],
81027
81902
  "attributes": [],
81028
81903
  "body": {
81029
- "type": "channel_organization_put_form",
81904
+ "type": "channel_organization_authorization_form",
81030
81905
  "attributes": []
81031
81906
  }
81032
- }, {
81033
- "method": "DELETE",
81034
- "path": "/channel/:channel_id/organizations/:key",
81907
+ }],
81908
+ "attributes": [{
81909
+ "name": "docs",
81910
+ "value": {
81911
+ "module": "general"
81912
+ }
81913
+ }],
81914
+ "path": "/channel/organization/authorizations"
81915
+ }, {
81916
+ "type": "channel_payout",
81917
+ "plural": "channel_payouts",
81918
+ "operations": [{
81919
+ "method": "GET",
81920
+ "path": "/channel/:channel/billing/payouts",
81035
81921
  "parameters": [{
81036
- "name": "channel_id",
81922
+ "name": "channel",
81037
81923
  "type": "string",
81038
81924
  "location": "Path",
81039
81925
  "required": true
81040
81926
  }, {
81041
- "name": "key",
81927
+ "name": "id",
81928
+ "type": "[string]",
81929
+ "location": "Query",
81930
+ "required": false,
81931
+ "description": "Filter by one or more IDs of this resource",
81932
+ "maximum": 100
81933
+ }, {
81934
+ "name": "since",
81935
+ "type": "date-time-iso8601",
81936
+ "location": "Query",
81937
+ "required": false,
81938
+ "description": "If specified, we return all transactions where created_at >= the provided timestamp"
81939
+ }, {
81940
+ "name": "updated_since",
81941
+ "type": "date-time-iso8601",
81942
+ "location": "Query",
81943
+ "required": false,
81944
+ "description": "If specified, we return all transactions where updated_at >= the provided timestamp"
81945
+ }, {
81946
+ "name": "limit",
81947
+ "type": "long",
81948
+ "location": "Query",
81949
+ "required": true,
81950
+ "description": "The maximum number of results to return",
81951
+ "default": "25",
81952
+ "minimum": 1,
81953
+ "maximum": 100
81954
+ }, {
81955
+ "name": "offset",
81956
+ "type": "long",
81957
+ "location": "Query",
81958
+ "required": true,
81959
+ "description": "The number of results to skip before returning results",
81960
+ "default": "0",
81961
+ "minimum": 0
81962
+ }, {
81963
+ "name": "sort",
81042
81964
  "type": "string",
81043
- "location": "Path",
81044
- "required": true
81965
+ "location": "Query",
81966
+ "required": true,
81967
+ "default": "-created_at"
81045
81968
  }],
81046
81969
  "responses": [{
81047
81970
  "code": {
81048
81971
  "integer": {
81049
- "value": 204
81972
+ "value": 200
81050
81973
  }
81051
81974
  },
81052
- "type": "unit",
81053
- "description": "Operation succeeded. No content is returned",
81975
+ "type": "[channel_payout]",
81976
+ "description": "Successful response",
81054
81977
  "attributes": []
81055
81978
  }, {
81056
81979
  "code": {
@@ -81070,31 +81993,56 @@
81070
81993
  "type": "unit",
81071
81994
  "description": "Resource was not found",
81072
81995
  "attributes": []
81996
+ }, {
81997
+ "code": {
81998
+ "integer": {
81999
+ "value": 422
82000
+ }
82001
+ },
82002
+ "type": "generic_error",
82003
+ "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.",
82004
+ "attributes": []
82005
+ }],
82006
+ "attributes": [{
82007
+ "name": "sort",
82008
+ "value": {
82009
+ "values": [{
82010
+ "value": "id"
82011
+ }, {
82012
+ "value": "created_at"
82013
+ }, {
82014
+ "value": "updated_at"
82015
+ }]
82016
+ }
82017
+ }, {
82018
+ "name": "linter",
82019
+ "value": {
82020
+ "ignore": ["versions"]
82021
+ }
82022
+ }]
82023
+ }, {
82024
+ "method": "GET",
82025
+ "path": "/channel/:channel/billing/payouts/:id",
82026
+ "parameters": [{
82027
+ "name": "channel",
82028
+ "type": "string",
82029
+ "location": "Path",
82030
+ "required": true
82031
+ }, {
82032
+ "name": "id",
82033
+ "type": "string",
82034
+ "location": "Path",
82035
+ "required": true,
82036
+ "description": "Filter by one or more IDs of this resource"
81073
82037
  }],
81074
- "attributes": []
81075
- }],
81076
- "attributes": [{
81077
- "name": "docs",
81078
- "value": {
81079
- "module": "general"
81080
- }
81081
- }],
81082
- "path": "/channel/:channel_id/organizations"
81083
- }, {
81084
- "type": "channel_organization_authorization",
81085
- "plural": "channel_organization_authorizations",
81086
- "operations": [{
81087
- "method": "POST",
81088
- "path": "/channel/organization/authorizations",
81089
- "parameters": [],
81090
82038
  "responses": [{
81091
82039
  "code": {
81092
82040
  "integer": {
81093
- "value": 201
82041
+ "value": 200
81094
82042
  }
81095
82043
  },
81096
- "type": "channel_organization_authorization",
81097
- "description": "Operation succeeded and the resource was created",
82044
+ "type": "channel_payout",
82045
+ "description": "Successful response",
81098
82046
  "attributes": []
81099
82047
  }, {
81100
82048
  "code": {
@@ -81114,21 +82062,8 @@
81114
82062
  "type": "unit",
81115
82063
  "description": "Resource was not found",
81116
82064
  "attributes": []
81117
- }, {
81118
- "code": {
81119
- "integer": {
81120
- "value": 422
81121
- }
81122
- },
81123
- "type": "generic_error",
81124
- "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.",
81125
- "attributes": []
81126
82065
  }],
81127
- "attributes": [],
81128
- "body": {
81129
- "type": "channel_organization_authorization_form",
81130
- "attributes": []
81131
- }
82066
+ "attributes": []
81132
82067
  }],
81133
82068
  "attributes": [{
81134
82069
  "name": "docs",
@@ -81136,13 +82071,13 @@
81136
82071
  "module": "general"
81137
82072
  }
81138
82073
  }],
81139
- "path": "/channel/organization/authorizations"
82074
+ "path": "/channel/:channel/billing/payouts"
81140
82075
  }, {
81141
- "type": "channel_payout",
81142
- "plural": "channel_payouts",
82076
+ "type": "channel_pending_payout_transaction",
82077
+ "plural": "channel_pending_payout_transactions",
81143
82078
  "operations": [{
81144
82079
  "method": "GET",
81145
- "path": "/channel/:channel/billing/payouts",
82080
+ "path": "/channel/:channel/billing/pending/payout/transactions",
81146
82081
  "parameters": [{
81147
82082
  "name": "channel",
81148
82083
  "type": "string",
@@ -81160,13 +82095,13 @@
81160
82095
  "type": "date-time-iso8601",
81161
82096
  "location": "Query",
81162
82097
  "required": false,
81163
- "description": "If specified, we return all transactions where created_at >= the provided timestamp"
82098
+ "description": "If specified, we return all pending payout transactions where created_at >= the provided timestamp"
81164
82099
  }, {
81165
82100
  "name": "updated_since",
81166
82101
  "type": "date-time-iso8601",
81167
82102
  "location": "Query",
81168
82103
  "required": false,
81169
- "description": "If specified, we return all transactions where updated_at >= the provided timestamp"
82104
+ "description": "If specified, we return all pending payout transactions where updated_at >= the provided timestamp"
81170
82105
  }, {
81171
82106
  "name": "limit",
81172
82107
  "type": "long",
@@ -81197,7 +82132,7 @@
81197
82132
  "value": 200
81198
82133
  }
81199
82134
  },
81200
- "type": "[channel_payout]",
82135
+ "type": "[channel_pending_payout_transaction]",
81201
82136
  "description": "Successful response",
81202
82137
  "attributes": []
81203
82138
  }, {
@@ -81242,12 +82177,12 @@
81242
82177
  }, {
81243
82178
  "name": "linter",
81244
82179
  "value": {
81245
- "ignore": ["versions"]
82180
+ "ignore": ["get", "versions"]
81246
82181
  }
81247
82182
  }]
81248
82183
  }, {
81249
82184
  "method": "GET",
81250
- "path": "/channel/:channel/billing/payouts/:id",
82185
+ "path": "/channel/:channel/billing/pending/payout/transactions/:id",
81251
82186
  "parameters": [{
81252
82187
  "name": "channel",
81253
82188
  "type": "string",
@@ -81266,7 +82201,7 @@
81266
82201
  "value": 200
81267
82202
  }
81268
82203
  },
81269
- "type": "channel_payout",
82204
+ "type": "channel_pending_payout_transaction",
81270
82205
  "description": "Successful response",
81271
82206
  "attributes": []
81272
82207
  }, {
@@ -81287,6 +82222,15 @@
81287
82222
  "type": "unit",
81288
82223
  "description": "Resource was not found",
81289
82224
  "attributes": []
82225
+ }, {
82226
+ "code": {
82227
+ "integer": {
82228
+ "value": 422
82229
+ }
82230
+ },
82231
+ "type": "generic_error",
82232
+ "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.",
82233
+ "attributes": []
81290
82234
  }],
81291
82235
  "attributes": []
81292
82236
  }],
@@ -81296,7 +82240,8 @@
81296
82240
  "module": "general"
81297
82241
  }
81298
82242
  }],
81299
- "path": "/channel/:channel/billing/payouts"
82243
+ "path": "/channel/:channel/billing/pending/payout/transactions",
82244
+ "description": "A transaction that is pending payout."
81300
82245
  }, {
81301
82246
  "type": "channel_rate",
81302
82247
  "plural": "channel_rates",
@@ -81944,77 +82889,6 @@
81944
82889
  }
81945
82890
  }],
81946
82891
  "path": "/channel/:channel/billing/transactions"
81947
- }, {
81948
- "type": "channel_transaction_payout",
81949
- "plural": "channel_transaction_payouts",
81950
- "operations": [{
81951
- "method": "GET",
81952
- "path": "/channel/:channel/billing/transaction/payouts",
81953
- "parameters": [{
81954
- "name": "channel",
81955
- "type": "string",
81956
- "location": "Path",
81957
- "required": true
81958
- }, {
81959
- "name": "transaction_id",
81960
- "type": "[string]",
81961
- "location": "Query",
81962
- "required": true,
81963
- "minimum": 1,
81964
- "maximum": 100
81965
- }],
81966
- "responses": [{
81967
- "code": {
81968
- "integer": {
81969
- "value": 200
81970
- }
81971
- },
81972
- "type": "[channel_transaction_payout]",
81973
- "description": "Successful response",
81974
- "attributes": []
81975
- }, {
81976
- "code": {
81977
- "integer": {
81978
- "value": 401
81979
- }
81980
- },
81981
- "type": "unit",
81982
- "description": "Authorization failed",
81983
- "attributes": []
81984
- }, {
81985
- "code": {
81986
- "integer": {
81987
- "value": 404
81988
- }
81989
- },
81990
- "type": "unit",
81991
- "description": "Resource was not found",
81992
- "attributes": []
81993
- }, {
81994
- "code": {
81995
- "integer": {
81996
- "value": 422
81997
- }
81998
- },
81999
- "type": "generic_error",
82000
- "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.",
82001
- "attributes": []
82002
- }],
82003
- "attributes": [{
82004
- "name": "linter",
82005
- "value": {
82006
- "ignore": ["get", "versions"]
82007
- }
82008
- }]
82009
- }],
82010
- "attributes": [{
82011
- "name": "docs",
82012
- "value": {
82013
- "module": "general"
82014
- }
82015
- }],
82016
- "path": "/channel/:channel/billing/transaction/payouts",
82017
- "description": "Provides either the reference to the payout, or if no payout, a reason for what we are waiting for"
82018
82892
  }, {
82019
82893
  "type": "channel_vies_registration",
82020
82894
  "plural": "channel_vies_registrations",
@@ -82963,6 +83837,54 @@
82963
83837
  "type": "country_of_origin",
82964
83838
  "plural": "country_of_origins",
82965
83839
  "operations": [{
83840
+ "method": "GET",
83841
+ "path": "/:organization/shopify/merchant/config/country/of/origin",
83842
+ "parameters": [{
83843
+ "name": "organization",
83844
+ "type": "string",
83845
+ "location": "Path",
83846
+ "required": true,
83847
+ "description": "Refers to your organization's account identifier"
83848
+ }],
83849
+ "responses": [{
83850
+ "code": {
83851
+ "integer": {
83852
+ "value": 200
83853
+ }
83854
+ },
83855
+ "type": "country_of_origin",
83856
+ "description": "Successful response",
83857
+ "attributes": []
83858
+ }, {
83859
+ "code": {
83860
+ "integer": {
83861
+ "value": 401
83862
+ }
83863
+ },
83864
+ "type": "unit",
83865
+ "description": "Authorization failed",
83866
+ "attributes": []
83867
+ }, {
83868
+ "code": {
83869
+ "integer": {
83870
+ "value": 404
83871
+ }
83872
+ },
83873
+ "type": "unit",
83874
+ "description": "Resource was not found",
83875
+ "attributes": []
83876
+ }, {
83877
+ "code": {
83878
+ "integer": {
83879
+ "value": 422
83880
+ }
83881
+ },
83882
+ "type": "generic_error",
83883
+ "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.",
83884
+ "attributes": []
83885
+ }],
83886
+ "attributes": []
83887
+ }, {
82966
83888
  "method": "PUT",
82967
83889
  "path": "/:organization/shopify/merchant/config/country/of/origin",
82968
83890
  "parameters": [{
@@ -90369,6 +91291,116 @@
90369
91291
  "type": "organization_onboarding_state",
90370
91292
  "plural": "organization_onboarding_states",
90371
91293
  "operations": [{
91294
+ "method": "PUT",
91295
+ "path": "/channel/:channel/organization/:organization/activate",
91296
+ "parameters": [{
91297
+ "name": "channel",
91298
+ "type": "string",
91299
+ "location": "Path",
91300
+ "required": true
91301
+ }, {
91302
+ "name": "organization",
91303
+ "type": "string",
91304
+ "location": "Path",
91305
+ "required": true,
91306
+ "description": "Refers to your organization's account identifier"
91307
+ }],
91308
+ "responses": [{
91309
+ "code": {
91310
+ "integer": {
91311
+ "value": 201
91312
+ }
91313
+ },
91314
+ "type": "organization_onboarding_state",
91315
+ "description": "Operation succeeded and the resource was created",
91316
+ "attributes": []
91317
+ }, {
91318
+ "code": {
91319
+ "integer": {
91320
+ "value": 401
91321
+ }
91322
+ },
91323
+ "type": "unit",
91324
+ "description": "Authorization failed",
91325
+ "attributes": []
91326
+ }, {
91327
+ "code": {
91328
+ "integer": {
91329
+ "value": 404
91330
+ }
91331
+ },
91332
+ "type": "unit",
91333
+ "description": "Resource was not found",
91334
+ "attributes": []
91335
+ }, {
91336
+ "code": {
91337
+ "integer": {
91338
+ "value": 422
91339
+ }
91340
+ },
91341
+ "type": "generic_error",
91342
+ "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.",
91343
+ "attributes": []
91344
+ }],
91345
+ "attributes": []
91346
+ }, {
91347
+ "method": "PUT",
91348
+ "path": "/channel/:channel/organization/:organization/deactivate",
91349
+ "parameters": [{
91350
+ "name": "channel",
91351
+ "type": "string",
91352
+ "location": "Path",
91353
+ "required": true
91354
+ }, {
91355
+ "name": "organization",
91356
+ "type": "string",
91357
+ "location": "Path",
91358
+ "required": true,
91359
+ "description": "Refers to your organization's account identifier"
91360
+ }],
91361
+ "responses": [{
91362
+ "code": {
91363
+ "integer": {
91364
+ "value": 201
91365
+ }
91366
+ },
91367
+ "type": "organization_onboarding_state",
91368
+ "description": "Operation succeeded and the resource was created",
91369
+ "attributes": []
91370
+ }, {
91371
+ "code": {
91372
+ "integer": {
91373
+ "value": 401
91374
+ }
91375
+ },
91376
+ "type": "unit",
91377
+ "description": "Authorization failed",
91378
+ "attributes": []
91379
+ }, {
91380
+ "code": {
91381
+ "integer": {
91382
+ "value": 404
91383
+ }
91384
+ },
91385
+ "type": "unit",
91386
+ "description": "Resource was not found",
91387
+ "attributes": []
91388
+ }, {
91389
+ "code": {
91390
+ "integer": {
91391
+ "value": 422
91392
+ }
91393
+ },
91394
+ "type": "generic_error",
91395
+ "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.",
91396
+ "attributes": []
91397
+ }],
91398
+ "attributes": [],
91399
+ "body": {
91400
+ "type": "deactivation_put_form",
91401
+ "attributes": []
91402
+ }
91403
+ }, {
90372
91404
  "method": "GET",
90373
91405
  "path": "/:organization/onboarding/state",
90374
91406
  "parameters": [{
@@ -90515,11 +91547,173 @@
90515
91547
  "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.",
90516
91548
  "attributes": []
90517
91549
  }],
90518
- "attributes": [],
90519
- "body": {
90520
- "type": "deactivation_put_form",
90521
- "attributes": []
90522
- }
91550
+ "attributes": [],
91551
+ "body": {
91552
+ "type": "deactivation_put_form",
91553
+ "attributes": []
91554
+ }
91555
+ }],
91556
+ "attributes": [{
91557
+ "name": "docs",
91558
+ "value": {
91559
+ "module": "general"
91560
+ }
91561
+ }],
91562
+ "path": ""
91563
+ }, {
91564
+ "type": "organization_payout",
91565
+ "plural": "organization_payouts",
91566
+ "operations": [{
91567
+ "method": "GET",
91568
+ "path": "/:organization/billing/payouts",
91569
+ "parameters": [{
91570
+ "name": "organization",
91571
+ "type": "string",
91572
+ "location": "Path",
91573
+ "required": true,
91574
+ "description": "Refers to your organization's account identifier"
91575
+ }, {
91576
+ "name": "id",
91577
+ "type": "[string]",
91578
+ "location": "Query",
91579
+ "required": false,
91580
+ "description": "Filter by one or more IDs of this resource",
91581
+ "maximum": 100
91582
+ }, {
91583
+ "name": "since",
91584
+ "type": "date-time-iso8601",
91585
+ "location": "Query",
91586
+ "required": false,
91587
+ "description": "If specified, we return all transactions where created_at >= the provided timestamp"
91588
+ }, {
91589
+ "name": "updated_since",
91590
+ "type": "date-time-iso8601",
91591
+ "location": "Query",
91592
+ "required": false,
91593
+ "description": "If specified, we return all transactions where updated_at >= the provided timestamp"
91594
+ }, {
91595
+ "name": "limit",
91596
+ "type": "long",
91597
+ "location": "Query",
91598
+ "required": true,
91599
+ "description": "The maximum number of results to return",
91600
+ "default": "25",
91601
+ "minimum": 1,
91602
+ "maximum": 100
91603
+ }, {
91604
+ "name": "offset",
91605
+ "type": "long",
91606
+ "location": "Query",
91607
+ "required": true,
91608
+ "description": "The number of results to skip before returning results",
91609
+ "default": "0",
91610
+ "minimum": 0
91611
+ }, {
91612
+ "name": "sort",
91613
+ "type": "string",
91614
+ "location": "Query",
91615
+ "required": true,
91616
+ "default": "-created_at"
91617
+ }],
91618
+ "responses": [{
91619
+ "code": {
91620
+ "integer": {
91621
+ "value": 200
91622
+ }
91623
+ },
91624
+ "type": "[organization_payout]",
91625
+ "description": "Successful response",
91626
+ "attributes": []
91627
+ }, {
91628
+ "code": {
91629
+ "integer": {
91630
+ "value": 401
91631
+ }
91632
+ },
91633
+ "type": "unit",
91634
+ "description": "Authorization failed",
91635
+ "attributes": []
91636
+ }, {
91637
+ "code": {
91638
+ "integer": {
91639
+ "value": 404
91640
+ }
91641
+ },
91642
+ "type": "unit",
91643
+ "description": "Resource was not found",
91644
+ "attributes": []
91645
+ }, {
91646
+ "code": {
91647
+ "integer": {
91648
+ "value": 422
91649
+ }
91650
+ },
91651
+ "type": "generic_error",
91652
+ "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.",
91653
+ "attributes": []
91654
+ }],
91655
+ "attributes": [{
91656
+ "name": "sort",
91657
+ "value": {
91658
+ "values": [{
91659
+ "value": "id"
91660
+ }, {
91661
+ "value": "created_at"
91662
+ }, {
91663
+ "value": "updated_at"
91664
+ }]
91665
+ }
91666
+ }, {
91667
+ "name": "linter",
91668
+ "value": {
91669
+ "ignore": ["versions"]
91670
+ }
91671
+ }]
91672
+ }, {
91673
+ "method": "GET",
91674
+ "path": "/:organization/billing/payouts/:id",
91675
+ "parameters": [{
91676
+ "name": "organization",
91677
+ "type": "string",
91678
+ "location": "Path",
91679
+ "required": true,
91680
+ "description": "Refers to your organization's account identifier"
91681
+ }, {
91682
+ "name": "id",
91683
+ "type": "string",
91684
+ "location": "Path",
91685
+ "required": true,
91686
+ "description": "Filter by one or more IDs of this resource"
91687
+ }],
91688
+ "responses": [{
91689
+ "code": {
91690
+ "integer": {
91691
+ "value": 200
91692
+ }
91693
+ },
91694
+ "type": "organization_payout",
91695
+ "description": "Successful response",
91696
+ "attributes": []
91697
+ }, {
91698
+ "code": {
91699
+ "integer": {
91700
+ "value": 401
91701
+ }
91702
+ },
91703
+ "type": "unit",
91704
+ "description": "Authorization failed",
91705
+ "attributes": []
91706
+ }, {
91707
+ "code": {
91708
+ "integer": {
91709
+ "value": 404
91710
+ }
91711
+ },
91712
+ "type": "unit",
91713
+ "description": "Resource was not found",
91714
+ "attributes": []
91715
+ }],
91716
+ "attributes": []
90523
91717
  }],
90524
91718
  "attributes": [{
90525
91719
  "name": "docs",
@@ -90527,13 +91721,13 @@
90527
91721
  "module": "general"
90528
91722
  }
90529
91723
  }],
90530
- "path": "/:organization/onboarding/state"
91724
+ "path": "/:organization/billing/payouts"
90531
91725
  }, {
90532
- "type": "organization_payout",
90533
- "plural": "organization_payouts",
91726
+ "type": "organization_pending_payout_transaction",
91727
+ "plural": "organization_pending_payout_transactions",
90534
91728
  "operations": [{
90535
91729
  "method": "GET",
90536
- "path": "/:organization/billing/payouts",
91730
+ "path": "/:organization/billing/pending/payout/transactions",
90537
91731
  "parameters": [{
90538
91732
  "name": "organization",
90539
91733
  "type": "string",
@@ -90552,13 +91746,13 @@
90552
91746
  "type": "date-time-iso8601",
90553
91747
  "location": "Query",
90554
91748
  "required": false,
90555
- "description": "If specified, we return all transactions where created_at >= the provided timestamp"
91749
+ "description": "If specified, we return all pending payout transactions where created_at >= the provided timestamp"
90556
91750
  }, {
90557
91751
  "name": "updated_since",
90558
91752
  "type": "date-time-iso8601",
90559
91753
  "location": "Query",
90560
91754
  "required": false,
90561
- "description": "If specified, we return all transactions where updated_at >= the provided timestamp"
91755
+ "description": "If specified, we return all pending payout transactions where updated_at >= the provided timestamp"
90562
91756
  }, {
90563
91757
  "name": "limit",
90564
91758
  "type": "long",
@@ -90589,7 +91783,7 @@
90589
91783
  "value": 200
90590
91784
  }
90591
91785
  },
90592
- "type": "[organization_payout]",
91786
+ "type": "[organization_pending_payout_transaction]",
90593
91787
  "description": "Successful response",
90594
91788
  "attributes": []
90595
91789
  }, {
@@ -90634,12 +91828,12 @@
90634
91828
  }, {
90635
91829
  "name": "linter",
90636
91830
  "value": {
90637
- "ignore": ["versions"]
91831
+ "ignore": ["get", "versions"]
90638
91832
  }
90639
91833
  }]
90640
91834
  }, {
90641
91835
  "method": "GET",
90642
- "path": "/:organization/billing/payouts/:id",
91836
+ "path": "/:organization/billing/pending/payout/transactions/:id",
90643
91837
  "parameters": [{
90644
91838
  "name": "organization",
90645
91839
  "type": "string",
@@ -90659,7 +91853,7 @@
90659
91853
  "value": 200
90660
91854
  }
90661
91855
  },
90662
- "type": "organization_payout",
91856
+ "type": "organization_pending_payout_transaction",
90663
91857
  "description": "Successful response",
90664
91858
  "attributes": []
90665
91859
  }, {
@@ -90680,6 +91874,15 @@
90680
91874
  "type": "unit",
90681
91875
  "description": "Resource was not found",
90682
91876
  "attributes": []
91877
+ }, {
91878
+ "code": {
91879
+ "integer": {
91880
+ "value": 422
91881
+ }
91882
+ },
91883
+ "type": "generic_error",
91884
+ "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.",
91885
+ "attributes": []
90683
91886
  }],
90684
91887
  "attributes": []
90685
91888
  }],
@@ -90689,7 +91892,8 @@
90689
91892
  "module": "general"
90690
91893
  }
90691
91894
  }],
90692
- "path": "/:organization/billing/payouts"
91895
+ "path": "/:organization/billing/pending/payout/transactions",
91896
+ "description": "A transaction that is pending payout."
90693
91897
  }, {
90694
91898
  "type": "organization_token",
90695
91899
  "plural": "organization_tokens",
@@ -90878,78 +92082,6 @@
90878
92082
  }
90879
92083
  }],
90880
92084
  "path": "/tokens/channel/organization"
90881
- }, {
90882
- "type": "organization_transaction_payout",
90883
- "plural": "organization_transaction_payouts",
90884
- "operations": [{
90885
- "method": "GET",
90886
- "path": "/:organization/billing/transaction/payouts",
90887
- "parameters": [{
90888
- "name": "organization",
90889
- "type": "string",
90890
- "location": "Path",
90891
- "required": true,
90892
- "description": "Refers to your organization's account identifier"
90893
- }, {
90894
- "name": "transaction_id",
90895
- "type": "[string]",
90896
- "location": "Query",
90897
- "required": true,
90898
- "minimum": 1,
90899
- "maximum": 100
90900
- }],
90901
- "responses": [{
90902
- "code": {
90903
- "integer": {
90904
- "value": 200
90905
- }
90906
- },
90907
- "type": "[organization_transaction_payout]",
90908
- "description": "Successful response",
90909
- "attributes": []
90910
- }, {
90911
- "code": {
90912
- "integer": {
90913
- "value": 401
90914
- }
90915
- },
90916
- "type": "unit",
90917
- "description": "Authorization failed",
90918
- "attributes": []
90919
- }, {
90920
- "code": {
90921
- "integer": {
90922
- "value": 404
90923
- }
90924
- },
90925
- "type": "unit",
90926
- "description": "Resource was not found",
90927
- "attributes": []
90928
- }, {
90929
- "code": {
90930
- "integer": {
90931
- "value": 422
90932
- }
90933
- },
90934
- "type": "generic_error",
90935
- "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.",
90936
- "attributes": []
90937
- }],
90938
- "attributes": [{
90939
- "name": "linter",
90940
- "value": {
90941
- "ignore": ["get", "versions"]
90942
- }
90943
- }]
90944
- }],
90945
- "attributes": [{
90946
- "name": "docs",
90947
- "value": {
90948
- "module": "general"
90949
- }
90950
- }],
90951
- "path": "/:organization/billing/transaction/payouts",
90952
- "description": "Provides either the reference to the payout, or if no payout, a reason for what we are waiting for"
90953
92085
  }, {
90954
92086
  "type": "package_dimensions",
90955
92087
  "plural": "package_dimensionses",
@@ -91774,157 +92906,31 @@
91774
92906
  "attributes": []
91775
92907
  }],
91776
92908
  "attributes": [],
91777
- "description": "Reverses the authorization hold if the authorization is not captured yet otherwise refunds the payment entirely."
91778
- }, {
91779
- "method": "POST",
91780
- "path": "/:organization/payment/requests/:id/reversal",
91781
- "parameters": [{
91782
- "name": "organization",
91783
- "type": "string",
91784
- "location": "Path",
91785
- "required": true,
91786
- "description": "Refers to your organization's account identifier"
91787
- }, {
91788
- "name": "id",
91789
- "type": "string",
91790
- "location": "Path",
91791
- "required": true,
91792
- "description": "Filter by one or more IDs of this resource"
91793
- }],
91794
- "responses": [{
91795
- "code": {
91796
- "integer": {
91797
- "value": 200
91798
- }
91799
- },
91800
- "type": "payment_request",
91801
- "description": "Successful response",
91802
- "attributes": []
91803
- }, {
91804
- "code": {
91805
- "integer": {
91806
- "value": 401
91807
- }
91808
- },
91809
- "type": "unit",
91810
- "description": "Authorization failed",
91811
- "attributes": []
91812
- }, {
91813
- "code": {
91814
- "integer": {
91815
- "value": 404
91816
- }
91817
- },
91818
- "type": "unit",
91819
- "description": "Resource was not found",
91820
- "attributes": []
91821
- }, {
91822
- "code": {
91823
- "integer": {
91824
- "value": 422
91825
- }
91826
- },
91827
- "type": "generic_error",
91828
- "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.",
91829
- "attributes": []
91830
- }],
91831
- "attributes": [],
91832
- "description": "Reverses payment authorization",
91833
- "body": {
91834
- "type": "payment_reversal_form",
91835
- "attributes": []
91836
- }
91837
- }, {
91838
- "method": "POST",
91839
- "path": "/:organization/payment/requests/:id/reverse",
91840
- "parameters": [{
91841
- "name": "organization",
91842
- "type": "string",
91843
- "location": "Path",
91844
- "required": true,
91845
- "description": "Refers to your organization's account identifier"
91846
- }, {
91847
- "name": "id",
91848
- "type": "string",
91849
- "location": "Path",
91850
- "required": true,
91851
- "description": "Filter by one or more IDs of this resource"
91852
- }],
91853
- "responses": [{
91854
- "code": {
91855
- "integer": {
91856
- "value": 200
91857
- }
91858
- },
91859
- "type": "payment_request",
91860
- "description": "Successful response",
91861
- "attributes": []
91862
- }, {
91863
- "code": {
91864
- "integer": {
91865
- "value": 401
91866
- }
91867
- },
91868
- "type": "unit",
91869
- "description": "Authorization failed",
91870
- "attributes": []
91871
- }, {
91872
- "code": {
91873
- "integer": {
91874
- "value": 404
91875
- }
91876
- },
91877
- "type": "unit",
91878
- "description": "Resource was not found",
91879
- "attributes": []
91880
- }, {
91881
- "code": {
91882
- "integer": {
91883
- "value": 422
91884
- }
91885
- },
91886
- "type": "generic_error",
91887
- "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.",
91888
- "attributes": []
91889
- }],
91890
- "attributes": [],
91891
- "description": "Reverses payment authorization",
91892
- "deprecation": {
91893
- "description": "Use POST /:id/reversal"
91894
- },
91895
- "body": {
91896
- "type": "payment_reversal_form",
91897
- "attributes": []
91898
- }
91899
- }],
91900
- "attributes": [{
91901
- "name": "docs",
91902
- "value": {
91903
- "module": "general"
91904
- }
91905
- }],
91906
- "path": "/:organization/payment/requests"
91907
- }, {
91908
- "type": "payment_request_bundle",
91909
- "plural": "payment_request_bundles",
91910
- "operations": [{
92909
+ "description": "Reverses the authorization hold if the authorization is not captured yet otherwise refunds the payment entirely."
92910
+ }, {
91911
92911
  "method": "POST",
91912
- "path": "/:organization/payment/request/bundles",
92912
+ "path": "/:organization/payment/requests/:id/reversal",
91913
92913
  "parameters": [{
91914
92914
  "name": "organization",
91915
92915
  "type": "string",
91916
92916
  "location": "Path",
91917
92917
  "required": true,
91918
92918
  "description": "Refers to your organization's account identifier"
92919
+ }, {
92920
+ "name": "id",
92921
+ "type": "string",
92922
+ "location": "Path",
92923
+ "required": true,
92924
+ "description": "Filter by one or more IDs of this resource"
91919
92925
  }],
91920
92926
  "responses": [{
91921
92927
  "code": {
91922
92928
  "integer": {
91923
- "value": 201
92929
+ "value": 200
91924
92930
  }
91925
92931
  },
91926
- "type": "payment_request_bundle",
91927
- "description": "Operation succeeded and the resource was created",
92932
+ "type": "payment_request",
92933
+ "description": "Successful response",
91928
92934
  "attributes": []
91929
92935
  }, {
91930
92936
  "code": {
@@ -91935,6 +92941,15 @@
91935
92941
  "type": "unit",
91936
92942
  "description": "Authorization failed",
91937
92943
  "attributes": []
92944
+ }, {
92945
+ "code": {
92946
+ "integer": {
92947
+ "value": 404
92948
+ }
92949
+ },
92950
+ "type": "unit",
92951
+ "description": "Resource was not found",
92952
+ "attributes": []
91938
92953
  }, {
91939
92954
  "code": {
91940
92955
  "integer": {
@@ -91946,14 +92961,14 @@
91946
92961
  "attributes": []
91947
92962
  }],
91948
92963
  "attributes": [],
91949
- "description": "Creates a new payment request bundle",
92964
+ "description": "Reverses payment authorization",
91950
92965
  "body": {
91951
- "type": "payment_request_bundle_form",
92966
+ "type": "payment_reversal_form",
91952
92967
  "attributes": []
91953
92968
  }
91954
92969
  }, {
91955
- "method": "GET",
91956
- "path": "/:organization/payment/request/bundles/:id",
92970
+ "method": "POST",
92971
+ "path": "/:organization/payment/requests/:id/reverse",
91957
92972
  "parameters": [{
91958
92973
  "name": "organization",
91959
92974
  "type": "string",
@@ -91973,7 +92988,7 @@
91973
92988
  "value": 200
91974
92989
  }
91975
92990
  },
91976
- "type": "payment_request_bundle",
92991
+ "type": "payment_request",
91977
92992
  "description": "Successful response",
91978
92993
  "attributes": []
91979
92994
  }, {
@@ -91994,33 +93009,54 @@
91994
93009
  "type": "unit",
91995
93010
  "description": "Resource was not found",
91996
93011
  "attributes": []
93012
+ }, {
93013
+ "code": {
93014
+ "integer": {
93015
+ "value": 422
93016
+ }
93017
+ },
93018
+ "type": "generic_error",
93019
+ "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.",
93020
+ "attributes": []
91997
93021
  }],
91998
93022
  "attributes": [],
91999
- "description": "Returns information about a specific payment request bundle"
92000
- }, {
92001
- "method": "PUT",
92002
- "path": "/:organization/payment/request/bundles/:id",
93023
+ "description": "Reverses payment authorization",
93024
+ "deprecation": {
93025
+ "description": "Use POST /:id/reversal"
93026
+ },
93027
+ "body": {
93028
+ "type": "payment_reversal_form",
93029
+ "attributes": []
93030
+ }
93031
+ }],
93032
+ "attributes": [{
93033
+ "name": "docs",
93034
+ "value": {
93035
+ "module": "general"
93036
+ }
93037
+ }],
93038
+ "path": "/:organization/payment/requests"
93039
+ }, {
93040
+ "type": "payment_request_bundle",
93041
+ "plural": "payment_request_bundles",
93042
+ "operations": [{
93043
+ "method": "POST",
93044
+ "path": "/:organization/payment/request/bundles",
92003
93045
  "parameters": [{
92004
93046
  "name": "organization",
92005
93047
  "type": "string",
92006
93048
  "location": "Path",
92007
93049
  "required": true,
92008
93050
  "description": "Refers to your organization's account identifier"
92009
- }, {
92010
- "name": "id",
92011
- "type": "string",
92012
- "location": "Path",
92013
- "required": true,
92014
- "description": "Filter by one or more IDs of this resource"
92015
93051
  }],
92016
93052
  "responses": [{
92017
93053
  "code": {
92018
93054
  "integer": {
92019
- "value": 200
93055
+ "value": 201
92020
93056
  }
92021
93057
  },
92022
93058
  "type": "payment_request_bundle",
92023
- "description": "Successful response",
93059
+ "description": "Operation succeeded and the resource was created",
92024
93060
  "attributes": []
92025
93061
  }, {
92026
93062
  "code": {
@@ -92031,15 +93067,6 @@
92031
93067
  "type": "unit",
92032
93068
  "description": "Authorization failed",
92033
93069
  "attributes": []
92034
- }, {
92035
- "code": {
92036
- "integer": {
92037
- "value": 404
92038
- }
92039
- },
92040
- "type": "unit",
92041
- "description": "Resource was not found",
92042
- "attributes": []
92043
93070
  }, {
92044
93071
  "code": {
92045
93072
  "integer": {
@@ -92051,25 +93078,14 @@
92051
93078
  "attributes": []
92052
93079
  }],
92053
93080
  "attributes": [],
92054
- "description": "Updates payment request bundle",
93081
+ "description": "Creates a new payment request bundle",
92055
93082
  "body": {
92056
93083
  "type": "payment_request_bundle_form",
92057
93084
  "attributes": []
92058
93085
  }
92059
- }],
92060
- "attributes": [{
92061
- "name": "docs",
92062
- "value": {
92063
- "module": "general"
92064
- }
92065
- }],
92066
- "path": "/:organization/payment/request/bundles"
92067
- }, {
92068
- "type": "pending_transaction",
92069
- "plural": "pending_transactions",
92070
- "operations": [{
93086
+ }, {
92071
93087
  "method": "GET",
92072
- "path": "/:organization/billing/pending/transactions",
93088
+ "path": "/:organization/payment/request/bundles/:id",
92073
93089
  "parameters": [{
92074
93090
  "name": "organization",
92075
93091
  "type": "string",
@@ -92078,46 +93094,10 @@
92078
93094
  "description": "Refers to your organization's account identifier"
92079
93095
  }, {
92080
93096
  "name": "id",
92081
- "type": "[string]",
92082
- "location": "Query",
92083
- "required": false,
92084
- "description": "Filter by one or more IDs of this resource",
92085
- "maximum": 100
92086
- }, {
92087
- "name": "since",
92088
- "type": "date-time-iso8601",
92089
- "location": "Query",
92090
- "required": false,
92091
- "description": "If specified, we return all transactions where created_at >= the provided timestamp"
92092
- }, {
92093
- "name": "updated_since",
92094
- "type": "date-time-iso8601",
92095
- "location": "Query",
92096
- "required": false,
92097
- "description": "If specified, we return all transactions where updated_at >= the provided timestamp"
92098
- }, {
92099
- "name": "limit",
92100
- "type": "long",
92101
- "location": "Query",
92102
- "required": true,
92103
- "description": "The maximum number of results to return",
92104
- "default": "25",
92105
- "minimum": 1,
92106
- "maximum": 100
92107
- }, {
92108
- "name": "offset",
92109
- "type": "long",
92110
- "location": "Query",
92111
- "required": true,
92112
- "description": "The number of results to skip before returning results",
92113
- "default": "0",
92114
- "minimum": 0
92115
- }, {
92116
- "name": "sort",
92117
93097
  "type": "string",
92118
- "location": "Query",
93098
+ "location": "Path",
92119
93099
  "required": true,
92120
- "default": "-created_at"
93100
+ "description": "Filter by one or more IDs of this resource"
92121
93101
  }],
92122
93102
  "responses": [{
92123
93103
  "code": {
@@ -92125,7 +93105,7 @@
92125
93105
  "value": 200
92126
93106
  }
92127
93107
  },
92128
- "type": "[pending_transaction]",
93108
+ "type": "payment_request_bundle",
92129
93109
  "description": "Successful response",
92130
93110
  "attributes": []
92131
93111
  }, {
@@ -92146,36 +93126,12 @@
92146
93126
  "type": "unit",
92147
93127
  "description": "Resource was not found",
92148
93128
  "attributes": []
92149
- }, {
92150
- "code": {
92151
- "integer": {
92152
- "value": 422
92153
- }
92154
- },
92155
- "type": "generic_error",
92156
- "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.",
92157
- "attributes": []
92158
93129
  }],
92159
- "attributes": [{
92160
- "name": "sort",
92161
- "value": {
92162
- "values": [{
92163
- "value": "id"
92164
- }, {
92165
- "value": "created_at"
92166
- }, {
92167
- "value": "updated_at"
92168
- }]
92169
- }
92170
- }, {
92171
- "name": "linter",
92172
- "value": {
92173
- "ignore": ["versions"]
92174
- }
92175
- }]
93130
+ "attributes": [],
93131
+ "description": "Returns information about a specific payment request bundle"
92176
93132
  }, {
92177
- "method": "GET",
92178
- "path": "/:organization/billing/pending/transactions/:id",
93133
+ "method": "PUT",
93134
+ "path": "/:organization/payment/request/bundles/:id",
92179
93135
  "parameters": [{
92180
93136
  "name": "organization",
92181
93137
  "type": "string",
@@ -92195,7 +93151,7 @@
92195
93151
  "value": 200
92196
93152
  }
92197
93153
  },
92198
- "type": "pending_transaction",
93154
+ "type": "payment_request_bundle",
92199
93155
  "description": "Successful response",
92200
93156
  "attributes": []
92201
93157
  }, {
@@ -92226,7 +93182,12 @@
92226
93182
  "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.",
92227
93183
  "attributes": []
92228
93184
  }],
92229
- "attributes": []
93185
+ "attributes": [],
93186
+ "description": "Updates payment request bundle",
93187
+ "body": {
93188
+ "type": "payment_request_bundle_form",
93189
+ "attributes": []
93190
+ }
92230
93191
  }],
92231
93192
  "attributes": [{
92232
93193
  "name": "docs",
@@ -92234,8 +93195,7 @@
92234
93195
  "module": "general"
92235
93196
  }
92236
93197
  }],
92237
- "path": "/:organization/billing/pending/transactions",
92238
- "description": "A transaction that is pending payout."
93198
+ "path": "/:organization/payment/request/bundles"
92239
93199
  }, {
92240
93200
  "type": "permission_check",
92241
93201
  "plural": "permission_checks",
@@ -93062,13 +94022,19 @@
93062
94022
  "plural": "sessions",
93063
94023
  "operations": [{
93064
94024
  "method": "POST",
93065
- "path": "/sessions/shopify/organizations/:organization",
94025
+ "path": "/sessions/organizations/:organization",
93066
94026
  "parameters": [{
93067
94027
  "name": "organization",
93068
94028
  "type": "string",
93069
94029
  "location": "Path",
93070
94030
  "required": true,
93071
94031
  "description": "Refers to your organization's account identifier"
94032
+ }, {
94033
+ "name": "context",
94034
+ "type": "string",
94035
+ "location": "Query",
94036
+ "required": false,
94037
+ "description": "The session context"
93072
94038
  }],
93073
94039
  "responses": [{
93074
94040
  "code": {
@@ -93102,7 +94068,7 @@
93102
94068
  }
93103
94069
  }, {
93104
94070
  "method": "GET",
93105
- "path": "/sessions/shopify/:session",
94071
+ "path": "/sessions/:session",
93106
94072
  "parameters": [{
93107
94073
  "name": "session",
93108
94074
  "type": "string",
@@ -93137,12 +94103,18 @@
93137
94103
  }]
93138
94104
  }, {
93139
94105
  "method": "PUT",
93140
- "path": "/sessions/shopify/:session",
94106
+ "path": "/sessions/:session",
93141
94107
  "parameters": [{
93142
94108
  "name": "session",
93143
94109
  "type": "string",
93144
94110
  "location": "Path",
93145
94111
  "required": true
94112
+ }, {
94113
+ "name": "context",
94114
+ "type": "string",
94115
+ "location": "Query",
94116
+ "required": false,
94117
+ "description": "The session context"
93146
94118
  }],
93147
94119
  "responses": [{
93148
94120
  "code": {
@@ -93185,7 +94157,7 @@
93185
94157
  }
93186
94158
  }, {
93187
94159
  "method": "DELETE",
93188
- "path": "/sessions/shopify/:session",
94160
+ "path": "/sessions/:session",
93189
94161
  "parameters": [{
93190
94162
  "name": "session",
93191
94163
  "type": "string",
@@ -93223,7 +94195,7 @@
93223
94195
  "attributes": []
93224
94196
  }, {
93225
94197
  "method": "PUT",
93226
- "path": "/sessions/shopify/:session/clear",
94198
+ "path": "/sessions/:session/clear",
93227
94199
  "parameters": [{
93228
94200
  "name": "session",
93229
94201
  "type": "string",
@@ -93268,7 +94240,7 @@
93268
94240
  "description": "Clears the session geo parameters"
93269
94241
  }, {
93270
94242
  "method": "PUT",
93271
- "path": "/sessions/shopify/:session/organizations/:organization",
94243
+ "path": "/sessions/:session/organizations/:organization",
93272
94244
  "parameters": [{
93273
94245
  "name": "session",
93274
94246
  "type": "string",
@@ -93280,6 +94252,12 @@
93280
94252
  "location": "Path",
93281
94253
  "required": true,
93282
94254
  "description": "Refers to your organization's account identifier"
94255
+ }, {
94256
+ "name": "context",
94257
+ "type": "string",
94258
+ "location": "Query",
94259
+ "required": false,
94260
+ "description": "The session context"
93283
94261
  }],
93284
94262
  "responses": [{
93285
94263
  "code": {
@@ -93313,12 +94291,18 @@
93313
94291
  }
93314
94292
  }, {
93315
94293
  "method": "PUT",
93316
- "path": "/sessions/shopify/:session/reset",
94294
+ "path": "/sessions/:session/reset",
93317
94295
  "parameters": [{
93318
94296
  "name": "session",
93319
94297
  "type": "string",
93320
94298
  "location": "Path",
93321
94299
  "required": true
94300
+ }, {
94301
+ "name": "context",
94302
+ "type": "string",
94303
+ "location": "Query",
94304
+ "required": false,
94305
+ "description": "The session context"
93322
94306
  }],
93323
94307
  "responses": [{
93324
94308
  "code": {
@@ -93362,19 +94346,13 @@
93362
94346
  }
93363
94347
  }, {
93364
94348
  "method": "POST",
93365
- "path": "/sessions/organizations/:organization",
94349
+ "path": "/sessions/shopify/organizations/:organization",
93366
94350
  "parameters": [{
93367
94351
  "name": "organization",
93368
94352
  "type": "string",
93369
94353
  "location": "Path",
93370
94354
  "required": true,
93371
94355
  "description": "Refers to your organization's account identifier"
93372
- }, {
93373
- "name": "context",
93374
- "type": "string",
93375
- "location": "Query",
93376
- "required": false,
93377
- "description": "The session context"
93378
94356
  }],
93379
94357
  "responses": [{
93380
94358
  "code": {
@@ -93408,7 +94386,7 @@
93408
94386
  }
93409
94387
  }, {
93410
94388
  "method": "GET",
93411
- "path": "/sessions/:session",
94389
+ "path": "/sessions/shopify/:session",
93412
94390
  "parameters": [{
93413
94391
  "name": "session",
93414
94392
  "type": "string",
@@ -93443,18 +94421,12 @@
93443
94421
  }]
93444
94422
  }, {
93445
94423
  "method": "PUT",
93446
- "path": "/sessions/:session",
94424
+ "path": "/sessions/shopify/:session",
93447
94425
  "parameters": [{
93448
94426
  "name": "session",
93449
94427
  "type": "string",
93450
94428
  "location": "Path",
93451
94429
  "required": true
93452
- }, {
93453
- "name": "context",
93454
- "type": "string",
93455
- "location": "Query",
93456
- "required": false,
93457
- "description": "The session context"
93458
94430
  }],
93459
94431
  "responses": [{
93460
94432
  "code": {
@@ -93497,7 +94469,7 @@
93497
94469
  }
93498
94470
  }, {
93499
94471
  "method": "DELETE",
93500
- "path": "/sessions/:session",
94472
+ "path": "/sessions/shopify/:session",
93501
94473
  "parameters": [{
93502
94474
  "name": "session",
93503
94475
  "type": "string",
@@ -93535,7 +94507,7 @@
93535
94507
  "attributes": []
93536
94508
  }, {
93537
94509
  "method": "PUT",
93538
- "path": "/sessions/:session/clear",
94510
+ "path": "/sessions/shopify/:session/clear",
93539
94511
  "parameters": [{
93540
94512
  "name": "session",
93541
94513
  "type": "string",
@@ -93580,7 +94552,7 @@
93580
94552
  "description": "Clears the session geo parameters"
93581
94553
  }, {
93582
94554
  "method": "PUT",
93583
- "path": "/sessions/:session/organizations/:organization",
94555
+ "path": "/sessions/shopify/:session/organizations/:organization",
93584
94556
  "parameters": [{
93585
94557
  "name": "session",
93586
94558
  "type": "string",
@@ -93592,12 +94564,6 @@
93592
94564
  "location": "Path",
93593
94565
  "required": true,
93594
94566
  "description": "Refers to your organization's account identifier"
93595
- }, {
93596
- "name": "context",
93597
- "type": "string",
93598
- "location": "Query",
93599
- "required": false,
93600
- "description": "The session context"
93601
94567
  }],
93602
94568
  "responses": [{
93603
94569
  "code": {
@@ -93631,18 +94597,12 @@
93631
94597
  }
93632
94598
  }, {
93633
94599
  "method": "PUT",
93634
- "path": "/sessions/:session/reset",
94600
+ "path": "/sessions/shopify/:session/reset",
93635
94601
  "parameters": [{
93636
94602
  "name": "session",
93637
94603
  "type": "string",
93638
94604
  "location": "Path",
93639
94605
  "required": true
93640
- }, {
93641
- "name": "context",
93642
- "type": "string",
93643
- "location": "Query",
93644
- "required": false,
93645
- "description": "The session context"
93646
94606
  }],
93647
94607
  "responses": [{
93648
94608
  "code": {