findById method
Find a payment by its id
Implementation
Future<Payment> findById(String id) async {
final response = await WebClient().get(
'${InvoiceNinjaAdmin.url}/api/v1/payments/$id',
token: InvoiceNinjaAdmin.token);
return PaymentItem.fromJson(response).data;
}