mirror of
https://github.com/gcatanese/adyen-openapi.git
synced 2026-03-10 08:01:24 +00:00
spec release
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
"url" : "https://github.com/Adyen/adyen-openapi"
|
||||
},
|
||||
"version" : "1",
|
||||
"x-timestamp" : "2024-10-29T23:27:38Z"
|
||||
"x-timestamp" : "2024-11-04T21:26:21Z"
|
||||
},
|
||||
"tags" : [ {
|
||||
"name" : "Dispute Attachments"
|
||||
@@ -54,7 +54,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"x-sortIndex" : 0
|
||||
"x-sortIndex" : 2
|
||||
},
|
||||
"post" : {
|
||||
"tags" : [ "Dispute Attachments" ],
|
||||
@@ -92,7 +92,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"x-sortIndex" : 0
|
||||
"x-sortIndex" : 2
|
||||
}
|
||||
},
|
||||
"/disputes/{disputeId}/attachments/{attachmentId}" : {
|
||||
@@ -130,7 +130,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"x-sortIndex" : 0
|
||||
"x-sortIndex" : 2
|
||||
},
|
||||
"delete" : {
|
||||
"tags" : [ "Dispute Attachments" ],
|
||||
@@ -162,7 +162,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"x-sortIndex" : 0
|
||||
"x-sortIndex" : 2
|
||||
}
|
||||
},
|
||||
"/disputes" : {
|
||||
@@ -222,14 +222,14 @@
|
||||
"schema" : {
|
||||
"type" : "array",
|
||||
"items" : {
|
||||
"$ref" : "#/components/schemas/DisputeDTO"
|
||||
"$ref" : "#/components/schemas/DisputeResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"x-sortIndex" : 0
|
||||
"x-sortIndex" : 1
|
||||
},
|
||||
"post" : {
|
||||
"tags" : [ "Raise Disputes" ],
|
||||
@@ -240,7 +240,7 @@
|
||||
"content" : {
|
||||
"application/json" : {
|
||||
"schema" : {
|
||||
"$ref" : "#/components/schemas/DisputeDTO"
|
||||
"$ref" : "#/components/schemas/DisputeRequest"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -252,13 +252,13 @@
|
||||
"content" : {
|
||||
"application/json" : {
|
||||
"schema" : {
|
||||
"$ref" : "#/components/schemas/DisputeDTO"
|
||||
"$ref" : "#/components/schemas/DisputeResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"x-sortIndex" : 0
|
||||
"x-sortIndex" : 1
|
||||
}
|
||||
},
|
||||
"/disputes/{id}" : {
|
||||
@@ -282,13 +282,13 @@
|
||||
"content" : {
|
||||
"application/json" : {
|
||||
"schema" : {
|
||||
"$ref" : "#/components/schemas/DisputeDTO"
|
||||
"$ref" : "#/components/schemas/DisputeResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"x-sortIndex" : 0
|
||||
"x-sortIndex" : 1
|
||||
},
|
||||
"patch" : {
|
||||
"tags" : [ "Raise Disputes" ],
|
||||
@@ -308,7 +308,7 @@
|
||||
"content" : {
|
||||
"application/json" : {
|
||||
"schema" : {
|
||||
"$ref" : "#/components/schemas/PatchableDisputeDTO"
|
||||
"$ref" : "#/components/schemas/PatchableDisputeRequest"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -319,13 +319,13 @@
|
||||
"content" : {
|
||||
"application/json" : {
|
||||
"schema" : {
|
||||
"$ref" : "#/components/schemas/DisputeDTO"
|
||||
"$ref" : "#/components/schemas/DisputeResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"x-sortIndex" : 0
|
||||
"x-sortIndex" : 1
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -390,15 +390,10 @@
|
||||
"type" : "string",
|
||||
"enum" : [ "merchant", "cardholder" ]
|
||||
},
|
||||
"DisputeDTO" : {
|
||||
"DisputeRequest" : {
|
||||
"required" : [ "transactionId", "type" ],
|
||||
"type" : "object",
|
||||
"properties" : {
|
||||
"arn" : {
|
||||
"type" : "string",
|
||||
"description" : "The unique Acquirer Reference Number (arn) generated by the card scheme for each capture. You can use the `arn` to trace the transaction through its lifecycle.",
|
||||
"readOnly" : true
|
||||
},
|
||||
"description" : {
|
||||
"type" : "string",
|
||||
"description" : "Your description for the dispute."
|
||||
@@ -411,11 +406,6 @@
|
||||
"description" : "Additional information for raising a dispute of `type` **fraud**. Required for disputes of `type` **fraud**.",
|
||||
"$ref" : "#/components/schemas/FraudInfo"
|
||||
},
|
||||
"id" : {
|
||||
"type" : "string",
|
||||
"description" : "The unique identifier of the raised dispute.",
|
||||
"readOnly" : true
|
||||
},
|
||||
"notDeliveredInfo" : {
|
||||
"description" : "Additional information for raising a dispute of `type` **notDelivered**. Required for disputes of `type` **notDelivered**.",
|
||||
"$ref" : "#/components/schemas/NotDeliveredInfo"
|
||||
@@ -496,7 +486,51 @@
|
||||
"type" : "string",
|
||||
"enum" : [ "goods", "services" ]
|
||||
},
|
||||
"PatchableDisputeDTO" : {
|
||||
"DisputeResponse" : {
|
||||
"required" : [ "transactionId", "type" ],
|
||||
"type" : "object",
|
||||
"properties" : {
|
||||
"arn" : {
|
||||
"type" : "string",
|
||||
"description" : "The unique Acquirer Reference Number (arn) generated by the card scheme for each capture. You can use the `arn` to trace the transaction through its lifecycle.",
|
||||
"readOnly" : true
|
||||
},
|
||||
"description" : {
|
||||
"type" : "string",
|
||||
"description" : "Your description for the dispute."
|
||||
},
|
||||
"disputedAmount" : {
|
||||
"description" : "The amount for which you dispute the transaction. The disputed amount cannot be greater than the transaction amount. If you do not provide an amount, the entire transaction amount will be disputed.",
|
||||
"$ref" : "#/components/schemas/Amount"
|
||||
},
|
||||
"fraudInfo" : {
|
||||
"description" : "Additional information for raising a dispute of `type` **fraud**. Required for disputes of `type` **fraud**.",
|
||||
"$ref" : "#/components/schemas/FraudInfo"
|
||||
},
|
||||
"id" : {
|
||||
"type" : "string",
|
||||
"description" : "The unique identifier of the raised dispute.",
|
||||
"readOnly" : true
|
||||
},
|
||||
"notDeliveredInfo" : {
|
||||
"description" : "Additional information for raising a dispute of `type` **notDelivered**. Required for disputes of `type` **notDelivered**.",
|
||||
"$ref" : "#/components/schemas/NotDeliveredInfo"
|
||||
},
|
||||
"status" : {
|
||||
"description" : "The current status of the dispute.\n\nYou can update a dispute to **submitted** or **closed**.\n\nPossible values: **draft**, **submitted**, **closed**, **won**, **chargeback**, **secondPresentment**.",
|
||||
"$ref" : "#/components/schemas/DisputeStatus"
|
||||
},
|
||||
"transactionId" : {
|
||||
"type" : "string",
|
||||
"description" : "The unique reference of the transaction for which you are raising the dispute."
|
||||
},
|
||||
"type" : {
|
||||
"description" : "The type of the dispute.\n\nPossible values: **notDelivered**, **fraud**.",
|
||||
"$ref" : "#/components/schemas/DisputeType"
|
||||
}
|
||||
}
|
||||
},
|
||||
"PatchableDisputeRequest" : {
|
||||
"type" : "object",
|
||||
"properties" : {
|
||||
"fraudInfo" : {
|
||||
|
||||
Reference in New Issue
Block a user