Files
silver-octo-spoon/wolverine/a-frame-architecture/FinancialApi/FinancialApi.http
T

38 lines
721 B
HTTP

@FinancialApi_HostAddress = https://localhost:7010
### Apply Fee to an Account
POST {{FinancialApi_HostAddress}}/accounts/apply-fee
Accept: application/json
Content-Type: application/json
{
"accountId": 1,
"amount": 50.0
}
### Transfer Between Accounts
POST {{FinancialApi_HostAddress}}/accounts/transfer
Content-Type: application/json
{
"sourceAccountId": 1,
"destinationAccountId": 2,
"amount": 1000.00
}
### Reverse a Journal Entry
POST {{FinancialApi_HostAddress}}/journal/reverse
Content-Type: application/json
{
"originalJournalId": "FD2BFD8E-7C85-4CAD-A12B-CCBCD7C12B4A",
"reason": "Incorrect Account Fee"
}
### Events
GET {{FinancialApi_HostAddress}}/events
Content-Type: application/json