@factorialco/api-client 4.0.0-beta.2027010108 → 4.0.0-beta.2027010109
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.
|
@@ -1160,11 +1160,11 @@ export type BankingCardPayment = {
|
|
|
1160
1160
|
*/
|
|
1161
1161
|
card_id: string;
|
|
1162
1162
|
/**
|
|
1163
|
-
* The amount
|
|
1163
|
+
* The amount the card settled, in cents of `currency`, negative for a payment and positive for a refund. For a payment in another currency it is the converted amount, not what the merchant charged.
|
|
1164
1164
|
*/
|
|
1165
1165
|
amount_cents: number;
|
|
1166
1166
|
/**
|
|
1167
|
-
* The currency
|
|
1167
|
+
* The currency the card settled the payment in, as an ISO 4217 code.
|
|
1168
1168
|
*/
|
|
1169
1169
|
currency: string;
|
|
1170
1170
|
/**
|
|
@@ -1172,11 +1172,11 @@ export type BankingCardPayment = {
|
|
|
1172
1172
|
*/
|
|
1173
1173
|
merchant_name: string;
|
|
1174
1174
|
/**
|
|
1175
|
-
* The amount of the
|
|
1175
|
+
* The amount the merchant charged, in cents of `merchant_currency`, negative for a payment and positive for a refund. Its absolute value is what the receipt shows, while `amount_cents` is what the card settled.
|
|
1176
1176
|
*/
|
|
1177
1177
|
merchant_amount_cents: number;
|
|
1178
1178
|
/**
|
|
1179
|
-
* The currency
|
|
1179
|
+
* The currency the merchant charged in, as an ISO 4217 code. It differs from `currency` when the card paid abroad.
|
|
1180
1180
|
*/
|
|
1181
1181
|
merchant_currency: string;
|
|
1182
1182
|
/**
|
|
@@ -1196,7 +1196,7 @@ export type BankingCardPayment = {
|
|
|
1196
1196
|
*/
|
|
1197
1197
|
type: 'payment' | 'refund';
|
|
1198
1198
|
/**
|
|
1199
|
-
* The
|
|
1199
|
+
* The rate the card used to convert `merchant_amount_cents` into `amount_cents`; 1.0 when both currencies are the same.
|
|
1200
1200
|
*/
|
|
1201
1201
|
exchange_rate: number;
|
|
1202
1202
|
/**
|
|
@@ -1160,11 +1160,11 @@ export type BankingCardPayment = {
|
|
|
1160
1160
|
*/
|
|
1161
1161
|
card_id: string;
|
|
1162
1162
|
/**
|
|
1163
|
-
* The amount
|
|
1163
|
+
* The amount the card settled, in cents of `currency`, negative for a payment and positive for a refund. For a payment in another currency it is the converted amount, not what the merchant charged.
|
|
1164
1164
|
*/
|
|
1165
1165
|
amount_cents: number;
|
|
1166
1166
|
/**
|
|
1167
|
-
* The currency
|
|
1167
|
+
* The currency the card settled the payment in, as an ISO 4217 code.
|
|
1168
1168
|
*/
|
|
1169
1169
|
currency: string;
|
|
1170
1170
|
/**
|
|
@@ -1172,11 +1172,11 @@ export type BankingCardPayment = {
|
|
|
1172
1172
|
*/
|
|
1173
1173
|
merchant_name: string;
|
|
1174
1174
|
/**
|
|
1175
|
-
* The amount of the
|
|
1175
|
+
* The amount the merchant charged, in cents of `merchant_currency`, negative for a payment and positive for a refund. Its absolute value is what the receipt shows, while `amount_cents` is what the card settled.
|
|
1176
1176
|
*/
|
|
1177
1177
|
merchant_amount_cents: number;
|
|
1178
1178
|
/**
|
|
1179
|
-
* The currency
|
|
1179
|
+
* The currency the merchant charged in, as an ISO 4217 code. It differs from `currency` when the card paid abroad.
|
|
1180
1180
|
*/
|
|
1181
1181
|
merchant_currency: string;
|
|
1182
1182
|
/**
|
|
@@ -1196,7 +1196,7 @@ export type BankingCardPayment = {
|
|
|
1196
1196
|
*/
|
|
1197
1197
|
type: 'payment' | 'refund';
|
|
1198
1198
|
/**
|
|
1199
|
-
* The
|
|
1199
|
+
* The rate the card used to convert `merchant_amount_cents` into `amount_cents`; 1.0 when both currencies are the same.
|
|
1200
1200
|
*/
|
|
1201
1201
|
exchange_rate: number;
|
|
1202
1202
|
/**
|