FreshbooksAPI

FREE
By dimashirokov
Updated 8 months ago
Business Software
-/10
Popularity Score
-
Latency
-
Success Rate

FreshbooksAPI API Documentation

Send invoices, track time, manage receipts, expenses

View API Details
POSTcreateExpense
POSTcreateSingleClient
POSTcreateSingleInvoice
POSTcreateSingleItem
POSTcreateSinglePayment
POSTcreateSingleTax
POSTdeleteSingleClient
POSTdeleteSingleExpense
POSTdeleteSingleInvoice
POSTdeleteSingleItem
POSTdeleteSinglePayment
POSTdeleteSingleStaff
POSTdeleteSingleTax
POSTgetAccessToken
POSTgetAllExpenseCategories
POSTgetAllExpenses
POSTgetClients
POSTgetExpense
POSTgetIdentityInfo
POSTgetInvoices
POSTgetItems
POSTgetPayments
POSTgetSingleClient
POSTgetSingleExpenseCategory
POSTgetSingleInvoice
POSTgetSingleItem
POSTgetSinglePayment
POSTgetSingleStaff
POSTgetSingleTax
POSTgetStaffs
POSTgetSystemInfo
POSTgetTaxes
POSTrefreshAccessToken
POSTupdateSingleClient
POSTupdateSingleExpense
POSTupdateSingleInvoice
POSTupdateSingleItem
POSTupdateSinglePayment
POSTupdateSingleStaff
POSTupdateSingleTax
POSTupdateSinglePayment

This endpoint allows to update payment.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
invoiceIdNUMBER
REQUIREDid of related invoice.
accessTokenSTRING
REQUIREDAccess token obtained from getAccessToken method.
paymentIdSTRING
REQUIREDThe ID of the payment.
accountIdSTRING
REQUIREDThe ID of the account.
Optional Parameters
typeSTRING
OPTIONAL"Check", "Credit", "Cash", etc.
overpaymentIdNUMBER
OPTIONALid of related overpayment if relevant.
amountSTRING
OPTIONALamount paid on invoice, to two decimal places.
codeSTRING
OPTIONALthree-letter currency code.
visStateSELECT
OPTIONAL0 for active, 1 for deleted.
fromCreditSELECT
OPTIONALwhether or not the payment was converted from a Credit on a Client's account.
creditIdNUMBER
OPTIONALid of related credit.
gatewaySTRING
OPTIONALthe payment processor used, if any.
noteSTRING
OPTIONALnotes on payment, often used for credit card reference number.
clientIdSTRING
OPTIONALid of client who made the payment.
dateDATEPICKER
OPTIONALdate the payment was made, YYYY-MM-DD format.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication