Usar en una aplicación

import LBFraudSDKiOS
...
let ironchipLBFraud = LBFraudSDK.init(apikey: "XXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")
//Call Ironchip Location Based Antifraud to Analyze transaction
//TransactionID (required,unique): transaction identifier request for fraud results
//UserID (required): User identifier
//ExtraData (optional): extra information for analysis 
// {
//   "concept": "Concept title",
//   "amount": "20",
// } two types of operations: login and transaction, if the operation is login send concept and empty amount
 
let data: [String: Any] = [
    "concept": "example1",
    "amount": "2",
    "operation": "transaction"
]

ironchipLBFraud.transactionPost(transactionId: "random_identifier_generated", userId: "user_1234", extraData: data)