create method
Create a new refund
Implementation
Future<Refund> create(CreateRefundRequest request) async {
final response = await _http.post('/refunds', request.toJson());
return Refund.fromJson(response['data'] ?? response);
}
Create a new refund
Future<Refund> create(CreateRefundRequest request) async {
final response = await _http.post('/refunds', request.toJson());
return Refund.fromJson(response['data'] ?? response);
}