You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Include is Optional. Related resource available to include: customer, account, transaction. See [Getting Related Resources](https://developers.unit.co/#intro-getting-related-resources)
* Optional. Filters the results by the specified account id.
69
+
* default: empty
70
+
*/
71
+
accountId?: string
72
+
73
+
/**
74
+
* Optional. Filters the results by the specified customer id.
75
+
* default: empty
76
+
*/
77
+
customerId?: string
78
+
79
+
/**
80
+
* Optional. Filter Chargebacks by [Tags](https://docs.unit.co/#tags).
81
+
* default: empty
82
+
*/
83
+
tags?: Tags
84
+
85
+
/**
86
+
* Optional. Filters the Chargebacks that occurred after the specified date. e.g. 2020-01-13T16:01:19.346Z
87
+
*/
88
+
since?: string
89
+
90
+
/**
91
+
* Optional. Filters the Chargebacks that occurred before the specified date. e.g. 2020-01-02T20:06:23.486Z
92
+
*/
93
+
until?: string
94
+
95
+
/**
96
+
* Optional. Leave empty or provide sort=createdAt for ascending order. Provide sort=-createdAt (leading minus sign) for descending order.
97
+
* default: sort=-createdAt
98
+
*/
99
+
sort?: Sort
100
+
101
+
/**
102
+
* Optional. A comma-separated list of related resources to include in the response. Related resources include: customer, account, transaction. See [Getting Related Resources](https://docs.unit.co/about-jsonapi/#intro-getting-related-resources).
103
+
*/
104
+
include?: string
105
+
}
106
+
107
+
exportinterfaceCreateChargebackRequest{
108
+
/**
109
+
* Type of the resource to be created, the value is always chargeback.
110
+
*/
111
+
type: "chargeback"
112
+
113
+
attributes: {
114
+
/**
115
+
* The amount (in cents) to charge the account and credit the counterparty.
116
+
*/
117
+
amount: number
118
+
119
+
/**
120
+
* Description of the chargeback (maximum of 50 characters).
121
+
*/
122
+
description: string
123
+
}&BaseCreateRequestAttributes
124
+
125
+
relationships: {
126
+
/**
127
+
* The Deposit Account the funds will be debited from.
0 commit comments