refundStarsCharge method
Future<Result<UpdatesBase> >
refundStarsCharge({
- required InputUserBase userId,
- required String chargeId,
Refund Stars Charge.
ID: 25ae8f4a.
Implementation
Future<Result<UpdatesBase>> refundStarsCharge({
required InputUserBase userId,
required String chargeId,
}) async {
// Preparing the request.
final request = PaymentsRefundStarsCharge(
userId: userId,
chargeId: chargeId,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<UpdatesBase>();
}