API REFERENCE
CHARGES
Charges
5min
learn about managing charges overview charges represent the octifi loans that are issued to the end user you can interact with charges via the charges api in order to change the state of that charge, update metadata, or retrieve details charge authorization charge authorisation occurs after a user has successfully completed the octifi checkout flow and returns back to the merchant site authorizing the charge generates the charge id that will be used to reference this loan moving forward charge actions you can integrate various charge actions into your back end order management system, where you normally fulfill orders and process payments, refunds, and cancelations you can use the charges api to manage charges with the following actions read charge (charge/detail api) capture charges ( charge/capture) cancel/void charges ( charge/cancel) partially refund charges ( charge/refund) these action allow you to manage charges through various states such as authorized, captured, voided, etc charge apis check the swagger documentation for the /charge/ endpoint here /apis https //docs sg latitudepay com/apis authentication charge api should carry the following header authorization api key private api key charge api is a backend server side api hence it should carry private api key in the header