adminBillingRefund abstract method
- @POST.new('/admin/billing/users/{userId}/refund')
- @Path.new('userId') required String userId,
- @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,
});