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)