paymentStatus method
Retrieves the status of a Khipu payment.
The paymentId
parameter is the unique identifier of the payment.
Returns a Future that resolves to a KhipuPayment object representing the payment status.
Implementation
Future<KhipuPayment> paymentStatus({required String paymentId}) async {
return await _khipuNetwork.getPaymentById(id: paymentId);
}