-
Notifications
You must be signed in to change notification settings - Fork 28
/
model_defense_document.go
executable file
·20 lines (19 loc) · 1.38 KB
/
model_defense_document.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
* Dispute service API
*
* This API provides endpoints for dispute management. You can use the API to retrieve defense reasons, supply defense ducoments, delete defense documents, upload chargebacks or accept disputes. For more information on using the APIs, refer to [Dispute service](https://docs.adyen.com/risk-management/disputes-api). ## Authentication Each request to the Dispute API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_API_key\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ```
*
* API version: 1
* Contact: support@adyen.com
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package disputes
// DefenseDocument struct for DefenseDocument
type DefenseDocument struct {
// The content of the defense document
Content string `json:"content"`
// The content type of the defense document
ContentType string `json:"contentType"`
// The typecode for the defense document type
DefenseDocumentTypeCode string `json:"defenseDocumentTypeCode"`
}