POCardsRepository

Provides functionality related to cards.

Functions

Link copied to clipboard

Allows to fetch card issuer information based on IIN.

Link copied to clipboard
abstract fun tokenize(request: POCardTokenizationRequest, callback: ProcessOutCallback<POCard>)

Tokenizes a card. You can use the card for a single payment by creating a card token with it. If you want to use the card for multiple payments then you can use the card token to create a reusable customer token. Note that once you have used the card token either for a payment or to create a customer token, the card token becomes invalid and you cannot use it for any further actions.

Link copied to clipboard
abstract suspend fun updateCard(request: POCardUpdateRequest): ProcessOutResult<POCard>
abstract fun updateCard(request: POCardUpdateRequest, callback: ProcessOutCallback<POCard>)

Updates card information.

Link copied to clipboard
abstract suspend fun updateCVC(cardId: String, request: POCardUpdateCVCRequest): ProcessOutResult<POCard>
abstract fun updateCVC(cardId: String, request: POCardUpdateCVCRequest, callback: ProcessOutCallback<POCard>)

Updates card CVC.