Ralph Hopman created FINERACT-2588:
--------------------------------------

             Summary: Include transactionId in payCharge response for Savings 
Account
                 Key: FINERACT-2588
                 URL: https://issues.apache.org/jira/browse/FINERACT-2588
             Project: Apache Fineract
          Issue Type: Improvement
          Components: Savings
            Reporter: Ralph Hopman
            Assignee: Ralph Hopman


The {{payCharge}} endpoint for Savings Account Charges currently does not 
return the {{transactionId}} in its {{CommandProcessingResult}} response. This 
makes it impossible for API consumers to reference the resulting charge payment 
transaction without making a separate lookup.
h3. Acceptance Criteria
 * The {{CommandProcessingResult}} returned by 
{{SavingsAccountWritePlatformService.payCharge()}} will include the 
{{transactionId}} of the created charge payment transaction.
 * The response JSON from {{POST 
/savingsaccounts/\{savingsAccountId}/charges/\{chargeId}?command=paycharge}} 
will contain a {{transactionId}} field.
 * A unit test will verify that the {{transactionId}} is present in the result.

h3. Impact

Minimal. This is a non-breaking, additive change to the API response.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to