PaymentsAdapter

interface PaymentsAdapter

PaymentsAdapter interface for handling payments.

Functions

Link copied to clipboard
abstract fun cancelByPaymentId(paymentId: String)

Cancels a payment by its payment ID.

Link copied to clipboard

Creates a payment based on the provided PaymentDto.

Link copied to clipboard
abstract fun finapiPaymentWebFormCallback(paymentId: String, createPaymentFinApiWebFormCallbackDto: CreatePaymentFinApiWebFormCallbackDto): StatusResponseDto

Callback function for handling finAPI WebForm payment callbacks.

Link copied to clipboard
abstract fun findAllPayments(paymentSearchRequestDto: PaymentSearchRequestDto): PaymentResponseListDto

Finds all payments based on the provided payment search request.

Link copied to clipboard

Retrieves the payment status by the given paymentId.