update descriptions in financesV0.json

This commit is contained in:
andiec 2022-12-29 19:21:31 -05:00
parent bdcffc743f
commit b13082ef2e
1 changed files with 836 additions and 613 deletions

View File

@ -32,7 +32,7 @@
{
"name": "MaxResultsPerPage",
"in": "query",
"description": "The maximum number of results to return per page.",
"description": "The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with 'InvalidInput'.",
"required": false,
"type": "integer",
"default": 100,
@ -233,7 +233,7 @@
{
"name": "MaxResultsPerPage",
"in": "query",
"description": "The maximum number of results to return per page.",
"description": "The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with 'InvalidInput'.",
"required": false,
"type": "integer",
"default": 100,
@ -241,6 +241,22 @@
"minimum": 1,
"format": "int32"
},
{
"name": "PostedAfter",
"in": "query",
"description": "A date used for selecting financial events posted after (or at) a specified time. The date-time **must** be more than two minutes before the time of the request, in ISO 8601 date time format.",
"required": false,
"type": "string",
"format": "date-time"
},
{
"name": "PostedBefore",
"in": "query",
"description": "A date used for selecting financial events posted before (but not at) a specified time. The date-time must be later than `PostedAfter` and no later than two minutes before the request was submitted, in ISO 8601 date time format. If `PostedAfter` and `PostedBefore` are more than 180 days apart, no financial events are returned. You must specify the `PostedAfter` parameter if you specify the `PostedBefore` parameter. Default: Now minus two minutes.",
"required": false,
"type": "string",
"format": "date-time"
},
{
"name": "eventGroupId",
"in": "path",
@ -746,7 +762,7 @@
{
"name": "MaxResultsPerPage",
"in": "query",
"description": "The maximum number of results to return per page.",
"description": "The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with 'InvalidInput'.",
"required": false,
"type": "integer",
"default": 100,
@ -1023,7 +1039,7 @@
{
"name": "MaxResultsPerPage",
"in": "query",
"description": "The maximum number of results to return per page.",
"description": "The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with 'InvalidInput'.",
"required": false,
"type": "integer",
"default": 100,
@ -1306,6 +1322,36 @@
}
},
"definitions": {
"AdhocDisbursementEvent": {
"type": "object",
"properties": {
"TransactionType": {
"type": "string",
"description": "Indicates the type of transaction.\n\nExample: \"Disbursed to Amazon Gift Card balance\""
},
"PostedDate": {
"description": "The date and time when the financial event was posted.",
"$ref": "#/definitions/Date"
},
"TransactionId": {
"type": "string",
"description": "The identifier for the transaction."
},
"TransactionAmount": {
"description": "The amount of the transaction.",
"$ref": "#/definitions/Currency"
}
},
"description": "An event related to an Adhoc Disbursement."
},
"AdhocDisbursementEventList": {
"type": "array",
"items": {
"$ref": "#/definitions/AdhocDisbursementEvent"
},
"description": "A list of `AdhocDisbursement` events."
},
"AdjustmentEvent": {
"type": "object",
"properties": {
@ -1479,6 +1525,49 @@
"$ref": "#/definitions/ChargeInstrument"
}
},
"ChargeRefundEvent": {
"type": "object",
"properties": {
"PostedDate": {
"description": "The date and time when the financial event was posted.",
"$ref": "#/definitions/Date"
},
"ReasonCode": {
"type": "string",
"description": "The reason given for a charge refund.\n\nExample: `SubscriptionFeeCorrection`"
},
"ReasonCodeDescription": {
"type": "string",
"description": "A description of the Reason Code. \n\nExample: `SubscriptionFeeCorrection`"
},
"ChargeRefundTransactions": {
"description": "The amount of the charge refund credit.",
"$ref": "#/definitions/ChargeRefundTransaction"
}
},
"description": "An event related to charge refund."
},
"ChargeRefundEventList": {
"type": "array",
"items": {
"$ref": "#/definitions/ChargeRefundEvent"
},
"description": "A list of charge refund events."
},
"ChargeRefundTransaction": {
"type": "object",
"properties": {
"ChargeAmount": {
"description": "The amount of the charge refund credit.",
"$ref": "#/definitions/Currency"
},
"ChargeType": {
"type": "string",
"description": "The type of charge."
}
},
"description": "The charge refund transaction."
},
"CouponPaymentEvent": {
"type": "object",
"properties": {
@ -1622,6 +1711,40 @@
"$ref": "#/definitions/DirectPayment"
}
},
"FailedAdhocDisbursementEventList": {
"type": "object",
"properties": {
"FundsTransfersType": {
"type": "string",
"description": "The type of fund transfer. \n\nExample \"Refund\""
},
"TransferId": {
"type": "string",
"description": "The transfer identifier."
},
"DisbursementId": {
"type": "string",
"description": "The disbursement identifier."
},
"PaymentDisbursementType": {
"type": "string",
"description": "The type of payment for disbursement. \n\nExample `CREDIT_CARD`"
},
"Status": {
"type": "string",
"description": "The status of the failed `AdhocDisbursement`. \n\nExample `HARD_DECLINED`"
},
"TransferAmount": {
"description": "The amount of the Adhoc Disbursement.",
"$ref": "#/definitions/Currency"
},
"PostedDate": {
"description": "The date and time when the financial event was posted.",
"$ref": "#/definitions/Date"
}
},
"description": "Failed ad hoc disbursement event list."
},
"FBALiquidationEvent": {
"type": "object",
"properties": {
@ -1736,6 +1859,10 @@
"description": "A list of shipment events.",
"$ref": "#/definitions/ShipmentEventList"
},
"ShipmentSettleEventList": {
"description": "A list of Shipment Settle events.",
"$ref": "#/definitions/ShipmentSettleEventList"
},
"RefundEventList": {
"description": "A list of refund events.",
"$ref": "#/definitions/ShipmentEventList"
@ -1802,20 +1929,35 @@
"AffordabilityExpenseReversalEventList": {
"$ref": "#/definitions/AffordabilityExpenseEventList"
},
"TrialShipmentEventList": {
"$ref": "#/definitions/TrialShipmentEventList"
},
"ShipmentSettleEventList": {
"$ref": "#/definitions/ShipmentSettleEventList"
},
"TaxWithholdingEventList": {
"$ref": "#/definitions/TaxWithholdingEventList"
},
"RemovalShipmentEventList": {
"$ref": "#/definitions/RemovalShipmentEventList"
},
"RemovalShipmentAdjustmentEventList": {
"$ref": "#/definitions/RemovalShipmentAdjustmentEventList"
},
"TrialShipmentEventList": {
"$ref": "#/definitions/TrialShipmentEventList"
},
"TDSReimbursementEventList": {
"$ref": "#/definitions/TDSReimbursementEventList"
},
"AdhocDisbursementEventList": {
"$ref": "#/definitions/AdhocDisbursementEventList"
},
"TaxWithholdingEventList": {
"$ref": "#/definitions/TaxWithholdingEventList"
},
"ChargeRefundEventList": {
"$ref": "#/definitions/ChargeRefundEventList"
},
"FailedAdhocDisbursementEventList": {
"$ref": "#/definitions/FailedAdhocDisbursementEventList"
},
"ValueAddedServiceChargeEventList": {
"$ref": "#/definitions/ValueAddedServiceChargeEventList"
},
"CapacityReservationBillingEventList": {
"$ref": "#/definitions/CapacityReservationBillingEventList"
}
},
"description": "Contains all information related to a financial event."
@ -2575,6 +2717,13 @@
"$ref": "#/definitions/ShipmentEvent"
}
},
"ShipmentSettleEventList": {
"type": "array",
"description": "A list of `ShipmentEvent` items.",
"items": {
"$ref": "#/definitions/ShipmentEvent"
}
},
"ShipmentItem": {
"type": "object",
"properties": {
@ -2731,10 +2880,10 @@
},
"TaxWithholdingEventList": {
"type": "array",
"description": "List of TaxWithholding events.",
"items": {
"$ref": "#/definitions/TaxWithholdingEvent"
}
},
"description": "A list of `TaxWithholding` events."
},
"TaxWithheldComponent": {
"type": "object",
@ -2757,6 +2906,35 @@
"$ref": "#/definitions/TaxWithheldComponent"
}
},
"TDSReimbursementEvent": {
"type": "object",
"properties": {
"PostedDate": {
"description": "The date and time when the financial event was posted.",
"$ref": "#/definitions/Date"
},
"TDSOrderId": {
"type": "string",
"description": "The Tax-Deducted-at-Source (TDS) identifier."
},
"ReimbursedAmount": {
"description": "The amount reimbursed.",
"$ref": "#/definitions/Currency"
}
},
"description": "An event related to a Tax-Deducted-at-Source (TDS) reimbursement."
},
"TDSReimbursementEventList": {
"type": "array",
"items": {
"$ref": "#/definitions/TDSReimbursementEvent"
},
"description": "A list of `TDSReimbursementEvent` items."
},
"TrialShipmentEvent": {
"type": "object",
"properties": {
@ -2785,18 +2963,63 @@
},
"TrialShipmentEventList": {
"type": "array",
"description": "A list of information about trial shipment financial events.",
"items": {
"$ref": "#/definitions/TrialShipmentEvent"
},
"description": "A list of information about trial shipment financial events."
},
"ValueAddedServiceChargeEventList": {
"type": "object",
"properties": {
"TransactionType": {
"type": "string",
"description": "Indicates the type of transaction.\n\nExample: 'Other Support Service fees'"
},
"PostedDate": {
"description": "The date and time when the financial event was posted.",
"$ref": "#/definitions/Date"
},
"Description": {
"type": "string",
"description": "A short description of the service charge event."
},
"TransactionAmount": {
"description": "The amount of the service charge event.",
"$ref": "#/definitions/Currency"
}
},
"ShipmentSettleEventList": {
"description": "An event related to a value added service charge."
},
"CapacityReservationBillingEvent": {
"type": "object",
"properties": {
"TransactionType": {
"type": "string",
"description": "Indicates the type of transaction.\n\nExample: \"FBA Inventory Fee\""
},
"PostedDate": {
"description": "The date and time when the financial event was posted.",
"$ref": "#/definitions/Date"
},
"Description": {
"type": "string",
"description": "A short description of the capacity reservation billing event."
},
"TransactionAmount": {
"description": "The amount of the capacity reservation billing event.",
"$ref": "#/definitions/Currency"
}
},
"description": "An event related to a capacity reservation billing charge."
},
"CapacityReservationBillingEventList": {
"type": "array",
"description": "A list of information about shipment settle financial events.",
"items": {
"$ref": "#/definitions/ShipmentEvent"
}
"$ref": "#/definitions/CapacityReservationBillingEvent"
},
"description": "A list of `CapacityReservationBillingEvent` events."
},
"ErrorList": {
"type": "array",
"description": "A list of error responses returned when a request is unsuccessful.",