API REFERENCE
CHECKOUT
Checkout Object
3min
this step is done internally by the octifi websdk js are you using octifi websdk js? if you are using octifi websdk js you can safely skip this page what is a checkout object? once the customer decides to pay with octifi, the hosted checkout (octifi websdk js) calls the backend to create a checkout object and return a checkout token to the merchant via callback checkout api returns a checkout token /checkout/create for details see checkout apis in the api reference this api uses a public api key and normally used in the frontend authorization api key public api key checkout only authorise the payment what is the difference between checkout and charge? in a nutshell customer checkout is step 1 charge/create is the step 2 charge/capture is step 3 notes charge api takes checkout token as a parameter charge capture api should be called from the backend (server side) and requires a private key more details about charge are here /charges https //docs sg latitudepay com/charges api /charge/create/{checkout token}/ for details see charge apis in the api reference