diff --git a/Sloth.Api/Controllers/v2/TransactionsController.cs b/Sloth.Api/Controllers/v2/TransactionsController.cs index 84e4b3b8..478bce7b 100644 --- a/Sloth.Api/Controllers/v2/TransactionsController.cs +++ b/Sloth.Api/Controllers/v2/TransactionsController.cs @@ -106,7 +106,7 @@ public async Task GetByProcessorId(string id) /// /// /// - [HttpGet("processortrackingnumber/{id}")] + [HttpGet("processortrackingnumber/{id?}")] [ProducesResponseType(typeof(Transaction), 200)] public async Task> GetAllByProcessorId(string id) { @@ -134,7 +134,7 @@ public async Task> GetAllByProcessorId(string id) /// /// /// - [HttpGet("kfskey/{id}")] + [HttpGet("kfskey/{id?}")] [ProducesResponseType(typeof(IList), 200)] public async Task> GetByKfsKey(string id) {