adminBillingRefund abstract method

  1. @POST.new('/admin/billing/users/{userId}/refund')
Future<void> adminBillingRefund({
  1. @Path.new('userId') required String userId,
  2. @Body.new() required AdminBillingRefundRequest body,
})

Issue a refund for a user payment.

Issue a full or partial refund for a user payment through Stripe.

userId - The userId.

body - Name not received - field will be skipped.

Implementation

@POST('/admin/billing/users/{userId}/refund')
Future<void> adminBillingRefund({
  @Path('userId') required String userId,
  @Body() required AdminBillingRefundRequest body,
});