cURL
curl --request POST \ --url https://api.example.com/api/vendor-credits/{vendorCreditId}/refunds \ --header 'Content-Type: application/json' \ --data ' { "amount": 100, "exchangeRate": 1, "depositAccountId": 1, "description": "Refund for vendor credit", "date": "2021-01-01", "branchId": 1 } '
The amount of the refund
100
The exchange rate of the refund
1
The id of the deposit account
The description of the refund
"Refund for vendor credit"
The date of the refund
"2021-01-01"
The id of the branch