Skip to content

Commit

Permalink
fix: ading new payment mode
Browse files Browse the repository at this point in the history
  • Loading branch information
JannikZed committed Sep 14, 2023
1 parent d69aeb7 commit 28f9b74
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/types/payment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ export type Payment = {
* Maximum length [100]
* Get all methods by: https://inventory.zoho.eu/api/v1/meta/paymentmodes
*/
payment_mode: "braintree" | "paypal" | "banktransfer" | "Banküberweisung";
payment_mode:
| "braintree"
| "paypal"
| "banktransfer"
| "Banküberweisung"
| "authorizeNet";

payment_number: string;

Expand Down Expand Up @@ -142,7 +147,6 @@ export type CreatePaymentRes = {
amount: number;
unused_amount: number;


/**
* Denotes any additional bank charges. - Use this field for paypal etc. transaction costs.
*/
Expand Down Expand Up @@ -187,7 +191,6 @@ export type CreatePaymentRes = {
currency_symbol: string;
currency_code: string;


/**
* List of invoices associated with the payment. Each invoice object contains invoice_id,
* invoice_number, date, invoice_amount, amount_applied and balance_amount.
Expand Down

0 comments on commit 28f9b74

Please sign in to comment.