Create a Transaction

To start rewarding partners for a sale your need to call the following method each time there is a sale: 

kiflo('transaction', {
        // transactionObject,
    function(response) {
        // handle success
    function(error) {
        // handle error


kiflo('transaction', {
    currency: 'USD',
    properties: {
        name: 'John_02032020_P1',
        amount: 255.00,
        ... // your custom transaction properties
    customer: {
        email: '' // Here the customer email is used 
                                   // to attach the customer to the transaction


Name Type Description
currency (required) string The currency of the transaction. A currency ISO 4217 code is expected (USD,EUR,JPY...)
properties (required) object The properties of the transaction visible on your Kiflo account. A name and amount is required.
customer (required) object The user attached to the transaction. Use one of your customer property (email, extarnalId,...).

Can I automate transactions creation?

Yes. Integrate Kiflo with your payment providers like Stripe, Recurly, Chargify, Charebee...

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.