Collection
public class Collection: TransactionProcess, TransactionPath
A Collection transaction is the counterpart to a Pre-authorization transaction. While the Pre-auth transaction reserves funds on a Consumer’s card, the Collection initiates the transfer of those reserved funds into your judo account.
collection by ID and amount
muJudoSession.collection(receiptId, amount: amount).completion({ (dict, error) -> () in
if let error = error {
// error
} else {
// success
}
})
-
path variable for a collection of a pre-authorization
Declaration
Swift
public static var path: String { get { return "/transactions/collections" } }