payWithPix method

Future<ValueResult<DepositPixResponse>> payWithPix(
  1. String depositRequestId
)

Convenience method for PIX payments (one-step flow).

Delegates directly to CheckoutsService.createCheckout. The gateway is not involved — the response will contain a CheckoutResponse.pix payload.

Implementation

Future<ValueResult<DepositPixResponse>> payWithPix(
  String depositRequestId,
) async {
  return _checkoutService.createDepositPix(depositRequestId);
}