Create Transaction

  • amount
    Type: integer
    required

    The value of the transaction in cents. For example 1 KES would be 100

  • channel
    Type: string
    max length:  
    32
    required

    The channel identifier in the format '<COUNTRY>.<OPERATOR>'

  • currency
    Type: string
    min length:  
    3
    max length:  
    3
    required

    The ISO 4217 currency code for this Transaction

  • msisdn
    Type: string
    max length:  
    16
    required

    The MSISDN for the Transaction, in full international format

  • sourcereference
    Type: string
    max length:  
    32
    required

    A unique identifier supplied from your application. This can be used to cross reference records between your application and Tola. Recent Duplicates (within 48hrs) will be rejected.

  • type
    Type: string enum
    required

    The type of transaction

    values
    • disbursement
    • charge
  • target
    Type: string
    max length:  
    16

    The account identifier (or paybill number), only supply this when the default needs to be overriden.

Examples
{
  "msisdn": "254000000001",
  "type": "disbursement",
  "channel": "KENYA.SAFARICOM",
  "currency": "KES",
  "amount": 100,
  "sourcereference": "8FD2KuZNJnBPLKmz"
}