github pokepay/ios-sdk 2.0.15
2.0.15 Release

latest releases: 2.0.17, 2.0.16
3 months ago

Veritrans

Added GetVeritransToken API

Usage:

GetVeritransToken
VeritransAPI.Token.GetVeritransToken(cardNumber: cardNumber, cardExpiryDate: cardExpiryDate, securityCode: securityCode, tokenApiKey: tokenApiKey)

Use Veritrans Client for getting the token
let veritransClient = Pokepay.VeritransClient()
veritransClient.send(getVeritransToken)

CreditCard

Added CreateCreditCard, DeleteCreditCard, GetCreditCards, TopupWithCreditCardMdkToken, TopupWithCreditCardMembership APIs

Usage:

CreateCreditCard
BankAPI.CreditCard.CreateCreditCard(token: token, isCardholderNameSpecified: boolean, organizationCode: organizationCode, userId: userId)

DeleteCreditCard
BankAPI.CreditCard.DeleteCreditCard(cardRegisteredAt: cardRegisteredAt, organizationCode: organizationCode, userId: userId)

GetCreditCards
BankAPI.CreditCard.GetCreditCards(userId: userId, before: before, after: after, perPage: perPage, organizationCode: organizationCode)

TopupWithCreditCardMdkToken
BankAPI.CreditCard.TopupWithCreditCardMdkToken(userId: userId, token: token, accountId: accountId, amount: amount, organizationCode: organizationCode, isCardholderNameSpecified: boolean)

TopupWithCreditCardMdkToken
BankAPI.CreditCard.TopupWithCreditCardMdkToken(userId: userId, cardRegisteredAt: cardRegisteredAt, accountId: accountId, amount: amount, deleteCardIfAuthFail: boolean, organizationCode: organizationCode)

Don't miss a new ios-sdk release

NewReleases is sending notifications on new releases.