Skip to content

Conversation

@TaprootFreak
Copy link
Contributor

Summary

  • Add bankRefund URL to TransactionUrl for PUT /transaction/{id}/bank-refund
  • Add BankRefundData interface with creditor fields (name, address, houseNumber, zip, city, country)
  • Add setTransactionBankRefund() hook function to submit bank refund with creditor data
  • Export BankRefundData and RefundBankDetails from package index

Context

Enables frontend to submit creditor data when customers request bank refunds for buy transactions. The backend already has the PUT /transaction/{id}/bank-refund endpoint that accepts BankRefundDto.

Files Changed

  • packages/react/src/definitions/transaction.ts - URL + interface
  • packages/react/src/hooks/transaction.hook.ts - hook function
  • packages/react/src/index.ts - exports

- Add bankRefund URL to TransactionUrl
- Add BankRefundData interface with creditor fields (name, address, etc.)
- Add setTransactionBankRefund() hook function for PUT /transaction/{id}/bank-refund
- Export BankRefundData and RefundBankDetails from index.ts

Enables frontend to submit creditor data (name, address, zip, city, country)
when customers request bank refunds for buy transactions.
@TaprootFreak TaprootFreak merged commit 0eec49e into develop Jan 5, 2026
1 check passed
@TaprootFreak TaprootFreak deleted the feature/bank-refund-endpoint branch January 5, 2026 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants